/* ============================================================
   Harmony Learning Group — Unified Multi-Location Stylesheet
   Based on the approved "Nature & Community" design system
   ============================================================ */

:root {
  --maroon:    #7A2940;
  --maroon-dk: #581C2D;
  --warm-tan:  #B89468;
  --beige:     #F5EDDE;
  --beige-md:  #DECCAA;
  --sage:      #8A9E88;
  --sage-lt:   #C8D6C7;
  --grey-lt:   #F2F1EF;
  --grey-md:   #E5E3DE;
  --text:      #1E1614;
  --text-lt:   #5A4A42;
  --white:     #FDFCFA;
  --serif:     'Lora', 'Georgia', serif;
  --sans:      'Nunito', 'Helvetica Neue', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.125rem;
  color: var(--text);
  background: var(--grey-lt);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--beige-md);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 62px; width: auto; display: block; }
.nav-menu-btn {
  background: transparent;
  border: 1.5px solid var(--beige-md);
  border-radius: 5px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-menu-btn span { display: block; width: 22px; height: 2px; background: var(--maroon); border-radius: 1px; }
@media(min-width:960px){ .nav-menu-btn { display: none; } }
.desktop-nav { display: none; align-items: center; gap: 0; }
@media(min-width:960px){ .desktop-nav { display: flex; } }
.desktop-nav > a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-lt);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.desktop-nav > a:hover,
.desktop-nav > a.active { color: var(--maroon); }

/* ── DROPDOWN ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-lt);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active { color: var(--maroon); }
.nav-arrow { font-size: 0.58rem; transition: transform 0.2s; display: inline-block; margin-top: 1px; }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--beige-md);
  border-radius: 6px;
  min-width: 248px;
  padding: 0.5rem 0;
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  z-index: 200;
}
/* Transparent bridge — fills the gap between button and menu so hover never drops */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.js-open { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-lt);
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover { color: var(--maroon); background: var(--beige); }
.nav-dropdown-menu a.active { color: var(--maroon); }

/* ── NAV CTA ── */
.nav-cta {
  margin-left: 0.75rem;
  background: var(--maroon) !important;
  color: var(--white) !important;
  padding: 0.58rem 1.35rem !important;
  border-radius: 4px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--maroon-dk) !important; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--beige-md);
  padding: 0.5rem 1.5rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--grey-md);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--maroon); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-sub {
  font-size: 0.85rem !important;
  padding-left: 1.1rem !important;
  color: var(--text-lt) !important;
  font-weight: 600 !important;
}
.mobile-cta {
  color: var(--maroon) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  border-bottom: none !important;
}

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--maroon-dk);
  padding: 2.75rem 1.5rem 2.5rem;
  text-align: center;
}
.page-hero-inner { max-width: 700px; margin: 0 auto; }
.page-hero .eyebrow {
  display: inline-block;
  color: var(--warm-tan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.72;
}

/* ── LAYOUT ── */
.section-pad {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.section-bg-beige {
  background: var(--beige);
  border-top: 1px solid var(--beige-md);
  border-bottom: 1px solid var(--beige-md);
}
.section-bg-grey { background: var(--grey-lt); }
.section-bg-white { background: var(--white); }

/* ── TYPOGRAPHY HELPERS ── */
.leaf-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--warm-tan);
  margin-bottom: 0.7rem;
}
.big-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.5vw, 2.7rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.16;
  margin-bottom: 0.75rem;
}
.sub-text {
  font-size: 1.02rem;
  color: var(--text-lt);
  max-width: 560px;
  line-height: 1.78;
  margin-bottom: 2.75rem;
}

/* ── BUTTONS ── */
.btn-maroon {
  display: inline-block;
  background: var(--maroon);
  color: var(--white);
  padding: 0.9rem 2.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}
.btn-maroon:hover { background: var(--maroon-dk); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
  padding: 0.88rem 2.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--maroon-dk);
  padding: 0.9rem 2.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-white:hover { background: var(--beige); }
.btn-border-white {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.42);
  color: rgba(255,255,255,0.88);
  padding: 0.88rem 2.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn-border-white:hover { border-color: var(--white); color: var(--white); }

/* ── FOOTER ── */
.footer {
  background: var(--maroon-dk);
  color: rgba(255,255,255,0.78);
  padding: 4.5rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media(min-width:700px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand img { height: 62px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 0.87rem; line-height: 1.78; max-width: 280px; color: rgba(255,255,255,0.65); }
.footer h4 {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--warm-tan);
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer ul li { margin-bottom: 0.55rem; }
.footer ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.68); transition: color 0.15s; }
.footer ul li a:hover { color: var(--white); }
.footer-contact p { font-size: 0.87rem; line-height: 1.9; }
.footer-contact a { color: rgba(255,255,255,0.68); }
.footer-contact a:hover { color: var(--white); }
.footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

/* ── FORMS ── */
.form-group { margin-bottom: 1.35rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.88rem 1rem;
  border: 1.5px solid var(--beige-md);
  border-radius: 5px;
  font-size: 0.97rem;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--maroon); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media(min-width:600px){ .form-row { grid-template-columns: 1fr 1fr; gap: 1rem; } }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--beige-md);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: var(--warm-tan);
  box-shadow: 0 8px 32px rgba(122,41,64,0.08);
}

/* ── WIDE NAV COMPRESSION (960–1179px) ── */
@media(min-width:960px) and (max-width:1179px){
  .desktop-nav > a, .nav-dropdown-toggle { padding: 0.4rem 0.5rem; font-size: 0.8rem; }
  .nav-cta { margin-left: 0.4rem !important; padding: 0.55rem 1rem !important; font-size: 0.72rem !important; }
  .nav-logo img { height: 48px; }
}

/* ══════════════════════════════════════════════
   MOBILE POLISH  (< 960px)
   ══════════════════════════════════════════════ */
@media(max-width:959px) {

  /* ── Nav: tighter, more anchored ── */
  .nav-inner {
    height: 68px;
    padding: 0 1.1rem;
  }
  .nav-logo img { height: 48px; }
  .navbar { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }

  /* ── Mobile menu: larger, easier to tap ── */
  .mobile-menu a {
    font-size: 1.08rem;
    padding: 0.95rem 0;
  }
  .mobile-sub { font-size: 0.97rem !important; }
  .mobile-cta { font-size: 1.08rem !important; }

  /* ── Body & base text ── */
  body { font-size: 1.05rem; }

  /* ── Headings ── */
  .big-title {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
    margin-bottom: 0.65rem;
  }
  .sub-text {
    font-size: 1.02rem;
    margin-bottom: 2rem;
  }
  .leaf-label { font-size: 0.72rem; }

  /* ── Interior page hero ── */
  .page-hero { padding: 2rem 1.25rem 1.85rem; }
  .page-hero h1 { font-size: clamp(2rem, 7.5vw, 3rem); }
  .page-hero p { font-size: 1rem; }

  /* ── Section padding: tighter on mobile ── */
  .section-pad { padding: 3.25rem 1.25rem; }

  /* ── Buttons: slightly larger tap targets ── */
  .btn-maroon,
  .btn-outline,
  .btn-white,
  .btn-border-white {
    font-size: 0.87rem;
    padding: 0.9rem 1.9rem;
  }

  /* ── Footer: tighter on mobile ── */
  .footer { padding: 3.5rem 1.25rem 1.75rem; }
  .footer-grid { gap: 2rem; margin-bottom: 2.5rem; }
  .footer-brand img { height: 50px; }
  .footer-brand p { font-size: 0.9rem; }
  .footer ul li a { font-size: 0.9rem; }
}

/* ══════════════════════════════════════════════
   MONTESSORI MAIN — MULTI-LOCATION ADDITIONS
   ══════════════════════════════════════════════ */

/* ── TEXT WORDMARK (temporary brand — replace when final logo arrives) ── */
.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-wordmark .wm-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.01em;
}
.nav-wordmark .wm-sub {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--warm-tan);
}
.footer .nav-wordmark .wm-name { color: var(--white); }
.footer .nav-wordmark .wm-sub { color: var(--warm-tan); }

/* ── CAMPUS AVAILABILITY TAG ── */
.avail-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.65rem;
  border-radius: 2px;
  margin-top: 0.75rem;
}
.avail-both { background: var(--sage-lt); color: #3D4F3C; }
.avail-chesterton { background: var(--beige-md); color: var(--maroon-dk); }
.avail-valparaiso { background: var(--beige-md); color: var(--maroon-dk); }

/* ── CAMPUS SELECTOR CARDS ── */
.campus-sel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media(min-width:760px){ .campus-sel-grid { grid-template-columns: 1fr 1fr; } }
.campus-sel-card {
  background: var(--white);
  border: 1px solid var(--beige-md);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.campus-sel-card:hover {
  border-color: var(--warm-tan);
  box-shadow: 0 8px 32px rgba(122,41,64,0.1);
}
.campus-sel-img { height: 210px; overflow: hidden; background: var(--beige-md); }
.campus-sel-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.campus-sel-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; flex: 1; }
.campus-sel-body .campus-city {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--warm-tan);
  margin-bottom: 0.4rem;
}
.campus-sel-body h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.campus-sel-body p { font-size: 0.92rem; color: var(--text-lt); line-height: 1.7; flex: 1; margin-bottom: 1.35rem; }
.campus-sel-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── CAMPUS QUICK-FACTS BAR (campus landing pages) ── */
.facts-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--beige-md);
  border: 1px solid var(--beige-md);
  border-radius: 8px;
  overflow: hidden;
}
@media(min-width:700px){ .facts-bar { grid-template-columns: repeat(3,1fr); } }
.fact-item { background: var(--white); padding: 1.5rem 1.5rem; }
.fact-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--warm-tan);
  margin-bottom: 0.35rem;
}
.fact-val { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.5; }
.fact-val a { color: var(--maroon); }
.fact-val a:hover { text-decoration: underline; }
.fact-sub { font-size: 0.8rem; color: var(--text-lt); font-weight: 400; margin-top: 0.15rem; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2.5rem;
}
@media(min-width:700px){ .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; object-position: center; }

/* ── MAP ── */
.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--beige-md);
  margin-top: 2.5rem;
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-placeholder-box {
  background: var(--grey-lt);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-lt);
  text-align: center;
  padding: 1.5rem;
}
.map-placeholder-box a { color: var(--maroon); font-weight: 700; }
.map-placeholder-box a:hover { text-decoration: underline; }
.map-placeholder-box small { font-size: 0.75rem; opacity: 0.7; }

/* ── FOOTER LOCATION BLOCKS ── */
.footer-loc { margin-bottom: 1.5rem; }
.footer-loc .floc-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.25rem;
}
.footer-loc p { font-size: 0.85rem; line-height: 1.75; color: rgba(255,255,255,0.65); }
.footer-loc a { color: rgba(255,255,255,0.68); }
.footer-loc a:hover { color: var(--white); }
