/* ── TWEMOJI ─────────────────────────────────── */
img.emoji {
  height: 1em;
  width: 1em;
  margin: 0 .05em 0 .1em;
  vertical-align: -0.1em;
  display: inline;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #F2EEE6;
  --white:      #FFFFFF;
  --card:       #F8F5EF;
  --text:       #1C1C1A;
  --text-mid:   #4D4A42;
  --text-light: #8A8579;
  --sage:       #6B8F6E;
  --sage-dark:  #3D5E40;
  --sage-pale:  #DDE6DA;
  --terra:      #7A5C42;
  --border:     #CEC9BE;
  --nav-h:      72px;

  --serif:  'Josefin Sans', 'Gill Sans', system-ui, sans-serif;
  --italic: 'Lora', Georgia, serif;
  --body:   'Nunito', 'Avenir', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

p { max-width: 65ch; }
p + p { margin-top: 1.5rem; }

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

.eyebrow {
  display: block;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 16px;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--sage-dark);
  color: #fff;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 2px solid var(--sage-dark);
  transition: background .2s, color .2s;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover { background: transparent; color: var(--sage-dark); }
.btn-primary.full { width: 100%; display: block; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 2px solid var(--text);
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--text); color: #fff; }

.btn-sage {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--sage);
  transition: background .2s, color .2s;
}
.btn-sage:hover { background: transparent; color: var(--sage-dark); border-color: var(--sage-dark); }

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--text);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 2px solid #fff;
  transition: background .2s, color .2s;
}
.btn-white:hover { background: transparent; color: #fff; }

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(242, 238, 230, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--italic);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  display: block;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link-contact {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color .2s;
}
.nav-link-contact:hover { color: var(--terra); }

.nav-menu-btn {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color .2s;
}
.nav-menu-btn:hover { color: var(--terra); }

/* ── SIDE MENU PANEL ──────────────────────────── */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(21, 21, 21, 0.45);
  z-index: 400;
}
.menu-overlay.open { display: block; }

.menu-panel {
  position: fixed;
  top: 0; right: 0;
  width: 360px;
  height: 100vh;
  background: var(--bg);
  z-index: 500;
  padding: 72px 56px 56px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  border-left: 1px solid var(--border);
}
.menu-panel.open { transform: translateX(0); }

.menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-mid);
  transition: color .2s;
  line-height: 1;
}
.menu-close:hover { color: var(--terra); }

.menu-nav {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.menu-nav a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 100;
  color: var(--text);
  letter-spacing: 1px;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
}
.menu-nav a:hover { color: var(--terra); padding-left: 8px; }
.menu-nav li:first-child a { border-top: 1px solid var(--border); }

.menu-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 48px;
}
.menu-footer a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  transition: color .2s;
}
.menu-footer a:hover { color: var(--sage-dark); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  padding-top: var(--nav-h);
  background: var(--bg);
  position: relative;
}

.hero-body {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  padding: 64px 64px 0 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px 80px 0;
}

.hero-text h1 {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
}

.h1-top {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 200;
  font-style: normal;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.h1-main {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.h1-sub {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 200;
  font-style: normal;
  color: var(--sage);
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  padding: 18px 40px;
  font-size: 12px;
  letter-spacing: 3px;
}

.hero-img {
  position: relative;
  z-index: 2;
  margin-bottom: -90px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-img img {
  width: 88%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-sage-bar {
  position: relative;
  z-index: 1;
  background: var(--sage);
  color: #fff;
  padding: 110px 64px 36px 64px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--serif);
  letter-spacing: 1px;
}
.bar-name {
  font-size: 14px;
  font-weight: 400;
}
.hero-sage-bar strong {
  font-weight: 700;
  letter-spacing: 2.5px;
}
.bar-creds {
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: 1.5px;
  opacity: 0.88;
}
.bar-sep { display: none; }

/* ── WELCOME / QUOTE ──────────────────────────── */
.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg);
}

.welcome-text {
  padding: 120px 72px 120px 48px;
  border-right: 1px solid var(--border);
}
.welcome-text p {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 24px;
}
.welcome-text p:last-child { margin-bottom: 0; }
.welcome-text strong { color: var(--text); font-weight: 500; }

.welcome-quote {
  padding: 120px 48px 120px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--italic);
  font-size: 52px;
  line-height: 1;
  color: var(--sage);
  opacity: 0.5;
  font-style: italic;
}
.quote-mark.open { align-self: flex-start; margin-bottom: -8px; }
.quote-mark.close { align-self: flex-end; margin-top: -8px; }

.welcome-quote-img {
  width: 25%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 20px;
}

.welcome-quote blockquote {
  font-family: var(--italic);
  font-size: clamp(17px, 2vw, 24px);
  font-style: italic;
  font-weight: 400;
  color: var(--sage-dark);
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-align: left;
  padding: 0 16px;
  max-width: 52ch;
}

/* ── ABOUT BRENDA ─────────────────────────────── */
.about {
  background: var(--bg);
  padding: 88px 0 100px;
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items: center;
  position: relative;
}
.about-img {
  position: relative;
  z-index: 1;
}
.about-img img {
  width: 100%;
  height: auto;
  display: block;
}
.about-box {
  position: relative;
  z-index: 2;
  background: var(--terra);
  color: #fff;
  margin-left: -60px;
  padding: 56px 56px 56px 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-box h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 10px;
}
.about-role {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 0;
}
.about-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.35);
  margin: 22px 0 26px;
}
.about-box p {
  font-size: 15.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-box p strong { font-weight: 500; color: #fff; }
.about-box p:last-of-type { margin-bottom: 36px; }

/* ── WORK WITH ME ─────────────────────────────── */
.work {
  padding: 120px 48px;
  background: var(--bg);
}
.work-title {
  font-family: var(--italic);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  font-style: italic;
  color: var(--terra);
  text-align: center;
  margin-bottom: 64px;
}
.work-title em { font-style: italic; }

.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.work-card {
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.work-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.work-card:hover .work-card-img img { transform: scale(1.04); }

.work-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  z-index: 1;
}
.work-card-text {
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-label {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}
.work-card-text h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.work-card-text > p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 12px;
  flex: 1;
}
.work-price {
  font-family: var(--serif);
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  color: var(--sage-dark) !important;
  margin-bottom: 20px !important;
}

/* ── LITTLE EXPLORERS ─────────────────────────── */
.school-section { background: var(--bg) !important; }
.school-section .playgroup-img-wrap { aspect-ratio: 16/9; }
.playgroup:not(.school-section) .playgroup-img-wrap { aspect-ratio: 16/9; min-height: 380px; }
.playgroup {
  background: var(--card);
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.playgroup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.playgroup-text .eyebrow { margin-bottom: 16px; }
.playgroup-text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}
.playgroup-text h2 em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
}
.playgroup-text > p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}
.offer-list {
  list-style: none;
  margin-bottom: 28px;
}
.offer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
}
.offer-list li:first-child { border-top: 1px solid var(--border); }
.offer-list li span { font-size: 18px; flex-shrink: 0; }
.pg-tagline {
  font-family: var(--italic);
  font-style: italic;
  font-size: 17px;
  color: var(--sage-dark);
  max-width: 100%;
  word-break: break-word;
}

.playgroup-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 0;
}
.playgroup-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.playgroup-info {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px;
  margin-top: -1px;
}
.pg-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.pg-info-row:last-of-type { border-bottom: none; margin-bottom: 20px; }
.pg-info-row span {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  flex-shrink: 0;
}
.pg-info-row strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.playgroup-info .btn-primary { width: 100%; }

/* ── PHILOSOPHY ───────────────────────────────── */
.philosophy {
  background: var(--terra);
  padding: 120px 48px;
}
.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.philosophy-title {
  font-family: var(--italic);
  font-size: clamp(32px, 4vw, 52px);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  text-align: center;
  margin-bottom: 64px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.2);
}
.pillar {
  background: rgba(122,92,66,0.6);
  padding: 40px 28px;
  text-align: center;
}
.pi {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 20px;
}
.pillar h4 {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.pillar p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ── TESTIMONIALS ─────────────────────────────── */
.testimonials {
  padding: 120px 48px;
  background: var(--bg);
}
.testi-title {
  font-family: var(--italic);
  font-size: clamp(30px, 4vw, 48px);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  text-align: center;
  margin-bottom: 56px;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.testi-card {
  background: var(--card);
  padding: 40px 36px;
  border: 1px solid var(--border);
  position: relative;
}
.tcard-q {
  font-family: var(--italic);
  font-size: 64px;
  color: var(--sage);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 4px;
}
.testi-card p {
  font-family: var(--italic);
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.testi-card cite {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  font-style: normal;
}

/* ── CONTACT ──────────────────────────────────── */
.contact {
  background: var(--card);
  padding: 96px 48px;
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 96px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}
.contact-left h2 em {
  font-family: var(--italic);
  font-style: italic;
}
.contact-left > p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-links a {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  transition: color .2s;
}
.contact-links a:hover { color: var(--sage-dark); }

.contact-form {
  background: var(--white);
  padding: 48px;
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sage-dark); background: #fff; }
.form-group textarea { resize: vertical; }
.form-note { font-size: 14px; color: var(--sage-dark); margin-top: 12px; text-align: center; min-height: 20px; }
.field-error { font-size: 12px; color: #b03a2e; margin-top: 4px; display: none; }
.form-group input:invalid:not(:placeholder-shown) + .field-error,
.form-group input.touched:invalid + .field-error { display: block; }
.form-group input:invalid:not(:placeholder-shown),
.form-group input.touched:invalid { border-color: #b03a2e; }
.form-group input:valid:not(:placeholder-shown) { border-color: var(--sage); }

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: var(--text);
  padding: 56px 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.footer-brand strong {
  font-family: var(--italic);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-nav a {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--sage); }
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}
.footer-info a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color .2s;
}
.footer-info a:hover { color: var(--sage); }
.footer-info p {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  margin-top: 8px;
}

/* ── CONSULTING PAGE ──────────────────────────── */
.consulting-hero {
  background: var(--sage);
  padding: 120px 48px 80px;
  margin-top: var(--nav-h);
}
.consulting-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.consulting-hero h1 {
  font-family: var(--serif);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}
.consulting-hero h2 {
  font-family: var(--italic);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.consulting-hero p {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  max-width: 70ch;
}

.consulting-intro {
  background: var(--bg);
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.consulting-intro-inner {
  max-width: 860px;
  margin: 0 auto;
}
.consulting-intro p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
}

.consulting-areas {
  background: var(--card);
  padding: 88px 48px;
  border-bottom: 1px solid var(--border);
}
.consulting-areas-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.consulting-areas-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.area-item {
  padding: 32px 36px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.area-item:nth-child(even) { border-right: none; }
.area-item:nth-last-child(-n+2) { border-bottom: none; }
.area-item h3 {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}
.area-item p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

.consulting-how {
  background: var(--bg);
  padding: 88px 48px;
  border-bottom: 1px solid var(--border);
}
.consulting-how-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.consulting-how h2 {
  font-family: var(--italic);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--terra);
  grid-column: span 2;
  margin-bottom: 8px;
}
.how-list {
  list-style: none;
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.how-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.how-list li:nth-child(odd)  { padding-right: 24px; }
.how-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--border); }
.how-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

.consulting-cta {
  background: var(--terra);
  padding: 88px 48px;
}
.consulting-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.consulting-cta h2 {
  font-family: var(--italic);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-bottom: 24px;
}
.consulting-cta p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .consulting-hero { padding: 80px 24px 56px; }
  .consulting-intro { padding: 56px 24px; }
  .consulting-areas { padding: 56px 24px; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-item { border-right: none; }
  .area-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .area-item:last-child { border-bottom: none; }
  .consulting-how { padding: 56px 24px; }
  .consulting-how-inner { grid-template-columns: 1fr; }
  .how-list { grid-template-columns: 1fr; }
  .how-list li:nth-child(even) { padding-left: 0; border-left: none; }
  .consulting-cta { padding: 64px 24px; }
}

/* ── EVENT POPUP ─────────────────────────────── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }

.popup-card {
  width: 500px;
  max-width: 94vw;
  max-height: 94vh;
  overflow-y: auto;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 72px rgba(0,0,0,0.45);
  scrollbar-width: none;
}
.popup-card::-webkit-scrollbar { display: none; }

/* imagen fondo */
.popup-img-section {
  position: relative;
  min-height: 400px;
  background: var(--sage-dark);
  display: flex;
  flex-direction: column;
}
.popup-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* barra título superior */
.popup-title-bar {
  position: relative;
  z-index: 2;
  background: rgba(107,143,110,0.90);
  backdrop-filter: blur(4px);
  padding: 16px 24px 12px;
  text-align: center;
}
.popup-title-bar h2 {
  font-family: var(--serif);
  font-size: clamp(16px, 3.5vw, 19px);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}
.popup-title-bar p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}

/* spacer transparente entre título e info */
.popup-img-spacer { flex: 1; min-height: 80px; position: relative; z-index: 1; flex-shrink: 0; }

/* panel info */
.popup-info-panel {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  margin: 0 16px 14px;
  border-radius: 8px;
  padding: 10px 16px;
  display: inline-block;
  width: calc(100% - 32px);
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.15);
}
.popup-info-panel p {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* footer terracota */
.popup-footer {
  background: rgba(122,92,66,0.60);
  backdrop-filter: blur(6px);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.popup-footer-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.popup-footer-text { flex: 1; }
.popup-footer-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  margin-bottom: 2px;
}
.popup-footer-text span {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  display: block;
  line-height: 1.5;
}

/* X close */
.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
}
.popup-close:hover { background: rgba(0,0,0,0.55); }

@media (max-width: 480px) {
  .popup-overlay { padding: 0; align-items: flex-end; }
  .popup-card { border-radius: 16px 16px 0 0; width: 100%; max-width: 100%; }
  .popup-img-section { min-height: 380px; }
  .popup-title-bar { padding: 12px 16px 10px; }
  .popup-info-panel { margin: 0 10px 12px; padding: 7px 12px; }
  .popup-footer { padding: 12px 16px; }
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
  .work-cards { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-link-contact { display: none; }
  .menu-panel { width: 100%; }

  .hero-body { grid-template-columns: 1fr; padding: 0 28px; }
  .hero-text { padding: 56px 0 40px; }
  .hero-img { margin-bottom: -60px; }
  .hero-img img { width: 100%; height: 72vw; min-height: 280px; }
  .hero-sage-bar { padding: 76px 28px 28px; }
  .h1-main { font-size: clamp(40px, 13vw, 64px); letter-spacing: 0.12em; }

  .welcome { grid-template-columns: 1fr; }
  .welcome-text { padding: 64px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .welcome-quote { padding: 56px 24px; }

  .about-inner { grid-template-columns: 1fr; padding: 0 24px; }
  .about-img img { width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: center top; }
  .about-box { margin-left: 0; padding: 48px 28px; }

  .work { padding: 72px 24px; }
  .work-cards { grid-template-columns: 1fr; }

  .playgroup { padding: 72px 24px; }
  .playgroup-inner { grid-template-columns: 1fr; gap: 40px; }
  .playgroup-img-wrap,
  .playgroup:not(.school-section) .playgroup-img-wrap,
  .school-section .playgroup-img-wrap { min-height: 0; aspect-ratio: 16/9; width: 100%; }

  .philosophy { padding: 72px 24px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }

  .testimonials { padding: 72px 24px; }
  .testi-grid { grid-template-columns: 1fr; }

  .contact { padding: 72px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 48px 24px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-brand p { text-align: center; max-width: 100%; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer-info { text-align: center; align-items: center; }
  .footer-info p { text-align: center; }
  .footer-social { justify-content: center; }
  .pillar p { text-align: center; max-width: 100%; }

  p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.75;
    padding-left: 0;
    padding-right: 0;
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  p + p { margin-top: 1.25rem; }

  .playgroup-text h2,
  .consulting-hero h1,
  .work-title,
  .about-box h2,
  .philosophy-title,
  .gallery-title { text-align: left; }

  .btn-primary, .btn-ghost, .btn-sage, .btn-white {
    text-align: center;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { display: block; width: 100%; }

  .playgroup-info .btn-primary { display: block; width: 100%; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { text-align: center; padding: 16px 28px; width: 100%; box-sizing: border-box; }
  .pillars { grid-template-columns: 1fr; }
}

/* ── GALLERY ──────────────────────────────────── */
.gallery {
  background: var(--bg);
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}
.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-title {
  font-family: var(--italic);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  font-style: italic;
  color: var(--terra);
  margin-bottom: 48px;
}
.gallery-slider { position: relative; }
.gallery-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;          /* Firefox */
}
.gallery-grid::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
.g-item {
  flex: 0 0 calc((100% - 24px) / 3);   /* ~3 visibles en desktop */
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  scroll-snap-align: start;
}
.gs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--terra);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: background .2s, color .2s, border-color .2s;
}
.gs-arrow:hover { background: var(--sage); color: #fff; border-color: var(--sage); }
.gs-prev { left: -14px; }
.gs-next { right: -14px; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .3s ease;
  display: block;
}
.g-item:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

/* ── LIGHTBOX ──────────────────────────────────── */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,13,11,0.94);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.lb-overlay.open { display: flex; }

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
}
.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lb-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
  z-index: 9001;
}
.lb-close:hover { color: #fff; }

.lb-prev,
.lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 16px 20px;
  transition: color .2s;
  z-index: 9001;
}
.lb-prev:hover, .lb-next:hover { color: #fff; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 1024px) {
  .g-item { flex: 0 0 calc((100% - 12px) / 2); }   /* 2 visibles */
}
@media (max-width: 768px) {
  .gallery { padding: 72px 24px; }
  .g-item { flex: 0 0 78%; }                        /* 1 + peek del siguiente */
  .gs-prev { left: 4px; }
  .gs-next { right: 4px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
}
@media (max-width: 480px) {
  .g-item { flex: 0 0 85%; }
}

/* ── WHATSAPP FLOTANTE ─────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.38);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  color: #fff;
}
.wa-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-float span { display: none; }

/* ── FOOTER SOCIAL ─────────────────────────────── */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-social:hover { color: var(--sage); }
.footer-social svg { width: 16px; height: 16px; flex-shrink: 0; }
