/* Meru International School — homepage sections */
:root {
  --meru-navy: #0a1f44;
  --meru-gold: #c9a227;
  --muted: #5d6575;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 2rem 0;
}

.section--tight {
  padding: 2.25rem 0;
}

.title-center {
  text-align: center;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.02em;
}

.title-gold {
  color: var(--meru-gold);
  font-weight: 800;
  text-transform: uppercase;
}

.subtitle {
  text-align: center;
  margin: 0 0 1rem 0;
  color: var(--meru-navy);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.lead {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  color: #2b2f39;
  line-height: 1.7;
  font-size: 0.98rem;
}

.h2-split {
  text-align: center;
  margin: 0 0 2rem 0;
  color: var(--meru-gold);
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.card-lite h3 {
  margin: 0 0 0.75rem 0;
  color: var(--meru-navy);
  font-size: 1.25rem;
  font-weight: 800;
}

.card-lite p {
  margin: 0;
  color: #2b2f39;
  line-height: 1.75;
  font-size: 0.95rem;
}

.branches {
  text-align: center;
}

.branches-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.branch-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.branch-img {
  width: 100%;
  height: clamp(190px, 22vw, 280px);
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.12);
  display: block;
}

.branch-name {
  margin: 0.85rem 0 0 0;
  color: var(--meru-gold);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.director {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.director h3 {
  margin: 0 0 0.75rem 0;
  color: var(--meru-navy);
  font-weight: 900;
}

.director blockquote {
  margin: 0 0 1rem 0;
  padding: 0;
  color: #111;
  font-weight: 700;
  font-style: italic;
}

.director p {
  margin: 0;
  color: #2b2f39;
  line-height: 1.75;
  font-size: 0.95rem;
}

.director-img {
  width: 100%;
  height: clamp(240px, 28vw, 360px);
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.12);
  display: block;
}

/* Chairman vision */
.chairman {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.chairman-img {
  width: 100%;
  height: clamp(220px, 24vw, 320px);
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.12);
  display: block;
}

.chairman h3 {
  margin: 0 0 0.75rem 0;
  color: var(--meru-navy);
  font-weight: 900;
}

.chairman p {
  margin: 0;
  color: #2b2f39;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* Contact block like screenshot */
.contact-strip {
  padding-top: 1.5rem;
}

.contact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.contact-top > * {
  min-width: 0;
  position: relative;
}

.contact-photo {
  width: 100%;
  height: clamp(180px, 18vw, 240px);
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.12);
  display: block;
}

.contact-card {
  text-align: center;
  align-self: center;
  z-index: 2;
}

.contact-title {
  margin: 0 0 1rem 0;
  color: var(--meru-gold);
  font-weight: 900;
  text-transform: capitalize;
}

.form {
  display: grid;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}

.field {
  width: 100%;
  border: 1px solid #e6e6e6;
  background: #f5f5f5;
  padding: 0.7rem 0.9rem;
  border-radius: 3px;
  font-size: 0.95rem;
  outline: none;
}

.field:focus {
  border-color: rgba(10, 31, 68, 0.35);
  box-shadow: 0 0 0 3px rgba(10, 31, 68, 0.08);
  background: #fff;
}

.btn {
  justify-self: start;
  background: var(--meru-gold);
  color: #111;
  border: 0;
  padding: 0.55rem 0.85rem;
  border-radius: 3px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(0.96);
}

.contact-map {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(10, 31, 68, 0.12);
  margin-top: 1.5rem;
}

.map {
  width: 100% !important;
  height: clamp(220px, 20vw, 260px);
  border: 0;
  display: block;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  .two-col,
  .branches-grid,
  .director,
  .chairman,
  .contact-top {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.25rem 0;
  }
}

