/* Handprints Website — shared site styles. Extracted from landing-page reference implementation. */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
    :root {
      --cream:        #FFEDDB;
      --cream-pale:   #FFF8F2;
      --cream-mid:    #F1DACD;
      --cream-dark:   #E3B7A0;
      --cream-border: #EDCDBB;
      --brown-dark:   #332F2C;
      --brown:        #5F524B;
      --brown-mid:    #8E7B70;
      --brown-light:  #BF9270;
      --cta:          #B5751A;
      --cta-hover:    #8C5510;
      --cta-shadow:   rgba(181,117,26,.28);
      --book:         #4A7C59;
      --book-hover:   #35614A;
      --book-light:   #D4E8D9;
      --error:        #DC2626;
      --radius:       16px;
      --radius-sm:    10px;
      --radius-lg:    24px;
      --shadow:       0 4px 24px rgba(95,82,75,.10);
      --shadow-lg:    0 12px 48px rgba(95,82,75,.16);
      --font:         'Poppins', sans-serif;
      --nav-h:        68px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font);
      background: var(--cream);
      color: var(--brown);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ── SKIP LINK ─────────────────────────────────────────────────── */
    .skip-link {
      position: absolute; top: -40px; left: 0;
      background: var(--brown-dark); color: #fff;
      padding: 8px 16px; z-index: 9999;
      transition: top .15s; text-decoration: none; font-size: 14px;
    }
    .skip-link:focus { top: 0; }

    /* ── NAV ───────────────────────────────────────────────────────── */
    /* Use a class selector so only .nav-bar is sticky — not any random <nav>
       like the breadcrumbs, which would otherwise slide over the header. */
    .nav-bar {
      position: sticky; top: 0; z-index: 100;
      height: var(--nav-h);
      background: rgba(255,237,219,.96);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--cream-border);
      display: flex; align-items: center;
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 24px;
      width: 100%; display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center; gap: 24px;
    }
    .nav-brand { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
    .nav-brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
    /* Stack the two brand lines vertically (match landing-page behaviour) */
    .nav-brand > div { display: flex; flex-direction: column; }
    .nav-brand-name { display: block; font-size: 18px; font-weight: 800; color: var(--cta); line-height: 1.1; font-family: var(--font); letter-spacing: -.01em; }
    .nav-brand-sub  { display: block; font-size: 10px; font-weight: 500; color: var(--brown); letter-spacing: .1em; text-transform: uppercase; font-family: var(--font); margin-top: 3px; white-space: nowrap; }
    .nav-links { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 4px; }
    .nav-link {
      text-decoration: none; color: var(--brown); font-weight: 500; font-size: 14px;
      padding: 8px 14px; border-radius: 8px; transition: background .15s, color .15s;
    }
    .nav-link:hover { background: var(--cream-mid); color: var(--brown-dark); }

    /* Faint-box highlight on Availability Check to draw the eye without
       shouting like the primary CTA. */
    .nav-avail-highlight {
      border: 1px solid var(--cream-border);
      background: rgba(255,255,255,.55);
    }
    .nav-avail-highlight:hover {
      border-color: var(--cta);
      background: var(--cream-mid);
    }


    /* Parent-child nav (Our Childcare mega menu) */
    .nav-dropdown { position: relative; }
    .nav-dropdown-btn {
      background: transparent; border: none;
      font-family: var(--font); font-weight: 500; font-size: 14px;
      color: var(--brown); cursor: pointer;
      padding: 8px 14px; border-radius: 8px;
      display: inline-flex; align-items: center; gap: 6px;
      transition: background .15s, color .15s;
    }
    .nav-dropdown-btn:hover,
    .nav-dropdown[data-open="true"] .nav-dropdown-btn {
      background: var(--cream-mid); color: var(--brown-dark);
    }
    .nav-dropdown-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
    .nav-dropdown[data-open="true"] .nav-dropdown-btn .chev { transform: rotate(180deg); }
    .nav-dropdown-panel {
      position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
      min-width: 480px; max-width: 92vw;
      background: #fff; border: 1px solid var(--cream-border);
      border-radius: 16px; box-shadow: 0 20px 60px rgba(95,82,75,.18);
      padding: 24px; z-index: 110;
      margin-top: 8px;
      display: none;
    }
    /* Invisible hover-bridge between button and panel — prevents the cursor
       from falling into a "dead zone" and closing the menu on its way down. */
    .nav-dropdown-panel::before {
      content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
    }
    .nav-dropdown[data-open="true"] .nav-dropdown-panel { display: grid; }
    .nav-dropdown-panel {
      grid-template-columns: repeat(2, 1fr); gap: 20px 28px;
    }
    .nav-dropdown-col h4 {
      font-family: var(--font); font-size: 11px; font-weight: 700;
      letter-spacing: .08em; text-transform: uppercase;
      color: var(--cta); margin-bottom: 10px;
      padding-bottom: 8px; border-bottom: 1px solid var(--cream-border);
    }
    .nav-dropdown-col a {
      display: block;
      padding: 8px 10px; border-radius: 8px;
      color: var(--brown-dark); text-decoration: none;
      font-family: var(--font); font-size: 14px; font-weight: 500;
      line-height: 1.35;
      transition: background .12s, color .12s;
    }
    .nav-dropdown-col a:hover { background: var(--cream-mid); color: var(--cta); }
    .nav-dropdown-col a small {
      display: block; font-size: 11.5px; font-weight: 400;
      color: var(--brown-mid); margin-top: 2px;
    }

    /* Mobile: dropdown content expands inline within .nav-mobile-panel */
    .nav-mobile-group { border-bottom: 1px solid var(--cream-border); padding-bottom: 8px; margin-bottom: 8px; }
    .nav-mobile-group > h4 {
      font-family: var(--font); font-size: 11px; font-weight: 700;
      letter-spacing: .08em; text-transform: uppercase;
      color: var(--cta); padding: 16px 14px 4px;
      margin: 0;
    }
    .nav-mobile-group > a, .nav-mobile-group > a:visited {
      padding-left: 22px !important;
      font-size: 16px !important;
      font-weight: 600 !important;
      border-bottom: none !important;
    }
    /* Nav "Book a Tour" — green (matches the funding-section tone) so it pops
       against the cream header without clashing with the gold --cta accent. */
    .nav-cta, .btn.btn-cta.nav-cta {
      background: var(--book); color: #fff; border: none; cursor: pointer;
      font-family: var(--font); font-size: 14px; font-weight: 700;
      padding: 11px 20px; border-radius: 10px; flex-shrink: 0;
      display: inline-flex; align-items: center; gap: 8px;
      text-decoration: none; transition: all .2s;
      box-shadow: 0 2px 10px rgba(74,124,89,.28);
    }
    .nav-cta:hover, .btn.btn-cta.nav-cta:hover {
      background: var(--book-hover); transform: translateY(-1px);
      box-shadow: 0 4px 18px rgba(74,124,89,.35);
    }
    .nav-cta:focus-visible { outline: 3px solid var(--book); outline-offset: 3px; }

    /* ── HERO ──────────────────────────────────────────────────────── */
    .hero {
      padding: 44px 24px 48px;
      min-height: calc(100svh - var(--nav-h));
      display: flex; align-items: center;
    }
    .hero-inner {
      max-width: 1200px; margin: 0 auto; width: 100%;
      display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
    }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--cream-mid); border: 1px solid var(--cream-border);
      border-radius: 100px; padding: 6px 16px; margin-bottom: 14px;
      font-size: 12px; font-weight: 700; color: var(--brown);
      letter-spacing: .06em; text-transform: uppercase;
    }
    .hero-eyebrow .star { color: #F59E0B; }
    .hero-h1 {
      font-size: clamp(36px, 4.8vw, 58px);
      font-weight: 900; line-height: 1.05; letter-spacing: -.02em;
      color: var(--brown-dark); margin-bottom: 16px;
    }
    .hero-h1 em { font-style: normal; color: var(--cta); }
    .hero-sub {
      font-size: 18px; font-weight: 300; line-height: 1.6;
      color: var(--brown); margin-bottom: 20px; max-width: 460px;
    }
    .hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
    @media (max-width: 1024px) and (min-width: 769px) {
      .hero          { padding: 40px 24px 44px; }
      .hero-inner    { grid-template-columns: 1.1fr 0.9fr; gap: 36px; }
      .hero-h1       { font-size: clamp(34px, 4.4vw, 48px); }
      .hero-sub      { font-size: 16px; margin-bottom: 18px; }
      .hero-pills    { margin-bottom: 18px; }
    }
    .pill {
      display: inline-flex; align-items: center; gap: 7px;
      background: #fff; border: 1px solid var(--cream-border);
      border-radius: 100px; padding: 7px 14px;
      font-size: 13px; font-weight: 600; color: var(--brown);
      box-shadow: 0 1px 4px rgba(95,82,75,.07);
    }
    .pill svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--cta); }
    .hero-ctas { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
    .hero-ctas .btn { width: 100%; justify-content: center; }

    /* Buttons */
    .btn {
      font-family: var(--font); border: none; cursor: pointer;
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      text-decoration: none; font-weight: 700; border-radius: 12px;
      transition: all .2s ease; line-height: 1;
    }
    .btn:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
    .btn-lg  { font-size: 17px; padding: 17px 30px; }
    .btn-md  { font-size: 15px; padding: 14px 24px; }
    .btn-sm  { font-size: 14px; padding: 11px 20px; }
    .btn-cta {
      background: var(--cta); color: #fff;
      box-shadow: 0 4px 18px var(--cta-shadow);
    }
    .btn-cta:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 8px 28px var(--cta-shadow); }
    .btn-ghost {
      background: transparent; color: var(--brown);
      border: 1.5px solid var(--cream-border);
    }
    .btn-ghost:hover { background: var(--cream-mid); border-color: var(--brown-light); }
    .btn-white {
      background: #fff; color: var(--brown-dark);
      box-shadow: 0 4px 18px rgba(0,0,0,.18);
    }
    .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.22); }
    .btn-outline-white {
      background: transparent; color: #fff;
      border: 2px solid rgba(255,255,255,.35);
    }
    .btn-outline-white:hover { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }

    /* Hero visual */
    .hero-visual { position: relative; }
    .hero-img-main {
      width: 100%; border-radius: var(--radius-lg);
      object-fit: cover; aspect-ratio: 4/3;
      box-shadow: var(--shadow-lg); display: block;
      border: 3px solid rgba(255,255,255,.85);
    }
    .hero-badge {
      position: absolute; bottom: -18px; left: -18px;
      background: #fff; border-radius: var(--radius);
      padding: 14px 18px; box-shadow: var(--shadow-lg);
      display: flex; align-items: center; gap: 12px;
      border: 1px solid var(--cream-border);
    }
    .hero-badge-icon {
      width: 42px; height: 42px; border-radius: 10px;
      background: rgba(181,117,26,.1);
      display: grid; place-items: center; flex-shrink: 0;
    }
    .hero-badge-icon svg { width: 20px; height: 20px; color: var(--cta); }
    .hero-badge strong { display: block; font-size: 14px; font-weight: 800; color: var(--brown-dark); }
    .hero-badge span   { font-size: 12px; color: var(--brown-mid); }
    .hero-ofsted {
      position: absolute; top: -22px; right: -14px;
      background: #fff; border-radius: 16px;
      padding: 10px 14px; display: flex; align-items: center; gap: 10px;
      box-shadow: 0 8px 28px rgba(0,0,0,.13);
      pointer-events: none; animation: float 4s ease-in-out infinite;
    }
    .hero-ofsted-icon {
      width: 38px; height: 38px; border-radius: 10px;
      background: #003B6F; display: grid; place-items: center; flex-shrink: 0;
    }
    .hero-ofsted-icon svg { width: 22px; height: 22px; }
    .hero-ofsted strong { display: block; font-size: 13px; font-weight: 800; color: var(--brown-dark); line-height: 1.1; }
    .hero-ofsted span   { font-size: 11px; color: var(--brown-mid); }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(-6px); }
    }

    /* ── STATS BAR ─────────────────────────────────────────────────── */
    .stats-bar { background: var(--brown-dark); padding: 22px 24px; }
    .stats-inner {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    }
    .stat { display: flex; align-items: center; gap: 14px; }
    .stat-ico {
      width: 42px; height: 42px; border-radius: 10px;
      background: rgba(255,255,255,.1); display: grid; place-items: center; flex-shrink: 0;
    }
    .stat-ico svg { width: 20px; height: 20px; }
    .stat-num   { font-size: 26px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.02em; }
    .stat-lbl   { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }

    /* ── BOOKING SECTION ───────────────────────────────────────────── */
    .booking-section {
      padding: 88px 24px;
      background: linear-gradient(160deg, var(--cream) 0%, var(--cream-mid) 100%);
    }
    .booking-inner {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start;
    }
    .booking-left { position: sticky; top: calc(var(--nav-h) + 20px); }

    .eyebrow {
      font-size: 11px; font-weight: 800; letter-spacing: .14em;
      text-transform: uppercase; color: var(--cta); margin-bottom: 14px;
      display: block;
    }
    .section-h2 {
      font-size: clamp(28px, 4vw, 46px); font-weight: 900; line-height: 1.1;
      letter-spacing: -.02em; color: var(--brown-dark); margin-bottom: 16px;
    }
    .section-h2 em { font-style: normal; color: var(--cta); }
    .section-sub {
      font-size: 16px; font-weight: 400; line-height: 1.75;
      color: var(--brown); margin-bottom: 32px;
    }

    /* Tour feature list */
    .tour-features { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
    .tour-feat { display: flex; align-items: flex-start; gap: 16px; }
    .tour-feat-ico {
      width: 44px; height: 44px; flex-shrink: 0;
      background: #fff; border: 1.5px solid var(--cream-border);
      border-radius: 12px; display: grid; place-items: center;
      box-shadow: 0 2px 8px rgba(95,82,75,.07);
    }
    .tour-feat-ico svg { width: 20px; height: 20px; color: var(--cta); }
    .tour-feat strong { display: block; font-size: 15px; font-weight: 700; color: var(--brown-dark); margin-bottom: 2px; }
    .tour-feat span   { font-size: 13px; color: var(--brown); line-height: 1.5; }

    /* Urgency + guarantee */
    .urgency-bar {
      display: flex; align-items: center; gap: 12px;
      background: rgba(181,117,26,.08);
      border: 1px solid rgba(181,117,26,.22);
      border-radius: 12px; padding: 14px 18px; margin-bottom: 16px;
    }
    .pulse-dot {
      position: relative; width: 12px; height: 12px; flex-shrink: 0;
    }
    .pulse-dot::before, .pulse-dot::after {
      content: ''; position: absolute; inset: 0; border-radius: 50%;
    }
    .pulse-dot::before {
      background: #E8610A;
      animation: pulse-core 1.8s ease-in-out infinite;
    }
    .pulse-dot::after {
      background: rgba(232,97,10,.35);
      animation: pulse-ring 1.8s ease-in-out infinite;
    }
    @keyframes pulse-core {
      0%, 100% { transform: scale(1); }
      50%       { transform: scale(.8); }
    }
    @keyframes pulse-ring {
      0%        { transform: scale(1);   opacity: .6; }
      70%       { transform: scale(2.4); opacity: 0; }
      100%      { transform: scale(2.4); opacity: 0; }
    }
    .urgency-bar p { font-size: 13px; font-weight: 600; color: var(--brown); }
    .guarantee {
      display: flex; align-items: center; gap: 9px;
      font-size: 13px; color: var(--brown-mid); font-weight: 500;
    }
    .guarantee svg { width: 16px; height: 16px; color: var(--book); flex-shrink: 0; }

    /* Calendly wrapper */
    .cal-wrapper {
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--cream-border);
      overflow: hidden;
    }
    /* Hide Calendly's 3-dot spinner — the iframe loads at page-open so the calendar is ready by the time visitors scroll. */
    .calendly-inline-widget .calendly-spinner { display: none !important; }
    .cal-header {
      background: var(--brown-dark); padding: 20px 24px;
      display: flex; align-items: center; gap: 14px;
    }
    .cal-header img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
    .cal-header strong { display: block; font-size: 15px; font-weight: 700; color: #fff; }
    .cal-header span   { font-size: 12px; color: rgba(255,255,255,.6); }
    .cal-badge {
      margin-left: auto; background: var(--book); color: #fff;
      font-size: 11px; font-weight: 800; padding: 4px 12px;
      border-radius: 100px; letter-spacing: .04em; flex-shrink: 0;
    }

    /* ── TRUST STRIP (existing, between booking and testimonials) ──── */
    .trust-strip {
      background: var(--cream-mid);
      border-top: 1px solid var(--cream-border);
      border-bottom: 1px solid var(--cream-border);
      padding: 18px 24px; overflow: hidden;
    }
    .trust-strip-inner {
      max-width: 1200px; margin: 0 auto;
      display: flex; align-items: center; justify-content: center;
      flex-wrap: wrap; gap: 28px;
    }
    .trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brown); white-space: nowrap; }
    .trust-item svg { width: 16px; height: 16px; color: var(--cta); }
    .trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--cream-border); flex-shrink: 0; }

    /* ── TESTIMONIALS ──────────────────────────────────────────────── */
    .testimonials { padding: 88px 24px; }
    .testimonials-inner { max-width: 1200px; margin: 0 auto; }
    .section-header { text-align: center; margin-bottom: 52px; }
    .section-header .section-h2 { margin-bottom: 12px; }
    .section-header p { font-size: 16px; font-weight: 400; color: var(--brown); max-width: 520px; margin: 0 auto; }

    .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .testi-card {
      background: #fff; border-radius: var(--radius); padding: 28px 26px;
      box-shadow: var(--shadow); border: 1px solid var(--cream-border);
      display: flex; flex-direction: column; gap: 16px;
      transition: transform .2s, box-shadow .2s;
    }
    .testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .testi-stars { font-size: 18px; letter-spacing: 2px; color: #F59E0B; }
    .testi-quote {
      font-size: 15px; font-weight: 300; line-height: 1.75;
      color: var(--brown); font-style: italic; flex: 1;
    }
    .testi-author {
      display: flex; align-items: center; gap: 12px;
      padding-top: 16px; border-top: 1px solid var(--cream-border);
    }
    .testi-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--cream-border); }
    .testi-name { font-size: 14px; font-weight: 700; color: var(--brown-dark); }
    .testi-role { font-size: 12px; color: var(--brown-mid); }
    .testi-cta { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
    .testi-reviews-link {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 14px; font-weight: 600; color: var(--brown);
      text-decoration: none; border-bottom: 1px solid transparent;
      transition: color .2s, border-color .2s;
    }
    .testi-reviews-link:hover { color: var(--cta); border-bottom-color: var(--cta); }
    .testi-reviews-link:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 4px; }
    .testi-reviews-link svg:first-child { color: #4285F4; }

    /* Main form tabs */
    .main-tab-btn {
      padding: 14px 12px; border: none;
      cursor: pointer; font-family: var(--font); font-size: 13px;
      letter-spacing: .01em; transition: background .2s, color .2s, border-color .2s;
      display: flex; align-items: center; justify-content: center; gap: 7px;
    }
    .main-tab-btn--active {
      border-bottom: 3px solid var(--cta);
      background: #fff; color: var(--brown-dark); font-weight: 700;
    }
    .main-tab-btn--inactive {
      border-bottom: 3px solid transparent;
      background: var(--cream); color: var(--brown-mid); font-weight: 600;
    }
    .main-tab-btn--inactive:hover { background: var(--cream-mid); color: var(--brown-dark); }
    .main-tab-btn:focus-visible { outline: 3px solid var(--cta); outline-offset: -3px; }

    /* Book a Tour — eye-catching gold treatment so parents see the
       higher-value action even when the Enquiry tab is "active" */
    #main-tab-tour.main-tab-btn--inactive {
      background: linear-gradient(135deg, #C98820 0%, var(--cta) 55%, #9D6315 100%);
      color: #fff; font-weight: 700;
      border-bottom: 3px solid #9D6315;
      box-shadow: inset 0 -2px 0 rgba(0,0,0,.08), 0 2px 10px rgba(181,117,26,.22);
      position: relative;
    }
    #main-tab-tour.main-tab-btn--inactive svg { stroke: #fff; }
    #main-tab-tour.main-tab-btn--inactive:hover {
      background: linear-gradient(135deg, #D89528 0%, #C98820 55%, #A86A17 100%);
      color: #fff;
    }
    /* Soft pulse ring to draw the eye without being noisy */
    #main-tab-tour.main-tab-btn--inactive::after {
      content: ''; position: absolute; inset: 0;
      border-radius: inherit; pointer-events: none;
      box-shadow: 0 0 0 0 rgba(181,117,26,.55);
      animation: tour-pulse 2.4s ease-out infinite;
    }
    @keyframes tour-pulse {
      0%   { box-shadow: 0 0 0 0 rgba(181,117,26,.55); }
      70%  { box-shadow: 0 0 0 10px rgba(181,117,26,0); }
      100% { box-shadow: 0 0 0 0 rgba(181,117,26,0); }
    }
    @media (prefers-reduced-motion: reduce) {
      #main-tab-tour.main-tab-btn--inactive::after { animation: none; }
    }

    /* ── WHY SECTION ───────────────────────────────────────────────── */
    .why-section { padding: 88px 24px; background: var(--cream-mid); }
    .why-inner { max-width: 1200px; margin: 0 auto; }
    .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
    .why-card {
      background: var(--cream); border-radius: var(--radius); padding: 24px;
      border: 1px solid var(--cream-border);
      transition: transform .2s, box-shadow .2s;
    }
    .why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
    .why-ico {
      width: 48px; height: 48px; border-radius: 12px;
      background: var(--cream-mid); display: grid; place-items: center; margin-bottom: 16px;
      border: 1px solid var(--cream-border);
    }
    .why-ico svg { width: 22px; height: 22px; color: var(--cta); }
    .why-card h3 { font-size: 16px; font-weight: 800; color: var(--brown-dark); margin-bottom: 8px; }
    .why-card p  { font-size: 14px; font-weight: 400; line-height: 1.65; color: var(--brown); }

    /* ── INSIDE THE NURSERY (tabbed: rooms / routine / gallery) ────── */
    .inside-section { padding: 88px 24px; background: var(--cream); }
    .inside-inner { max-width: 1200px; margin: 0 auto; }

    /* Staff-to-child ratios banner */
    .ratios-banner {
      margin: 36px auto 8px; max-width: 820px;
      background: #fff; border: 1px solid var(--cream-border);
      border-radius: var(--radius); padding: 20px 24px;
      box-shadow: var(--shadow); text-align: center;
    }
    .ratios-heading {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 13px; font-weight: 700; color: var(--book);
      letter-spacing: .01em; margin-bottom: 14px;
    }
    .ratios-heading svg { width: 18px; height: 18px; flex-shrink: 0; }
    .ratios-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ratio-item {
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      padding: 10px 8px; border-left: 1px solid var(--cream-border);
    }
    .ratio-item:first-child { border-left: none; }
    .ratio-num {
      font-size: 30px; font-weight: 900; color: var(--cta);
      letter-spacing: -.02em; line-height: 1;
    }
    .ratio-lbl {
      font-size: 13px; font-weight: 700; color: var(--brown-dark);
      display: flex; flex-direction: column; align-items: center; gap: 2px;
    }
    .ratio-lbl small { font-size: 11px; font-weight: 500; color: var(--brown-mid); }

    /* Tab strip */
    .inside-tabs {
      display: flex; justify-content: center; gap: 4px;
      margin: 28px auto 36px; max-width: 640px;
      background: var(--cream-mid); border: 1px solid var(--cream-border);
      border-radius: 14px; padding: 6px;
    }
    .inside-tab {
      flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
      border: none; background: transparent; padding: 10px 14px;
      font-family: var(--font); font-size: 14px; font-weight: 600;
      color: var(--brown); cursor: pointer; border-radius: 10px;
      transition: background .18s, color .18s, box-shadow .18s;
    }
    .inside-tab svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--cta); }
    .inside-tab:hover:not(.inside-tab--active) { background: rgba(255,255,255,.6); color: var(--brown-dark); }
    .inside-tab--active {
      background: #fff; color: var(--brown-dark); font-weight: 700;
      box-shadow: 0 2px 8px rgba(95,82,75,.12);
    }
    .inside-tab:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }

    .inside-panel { animation: inside-fade .26s ease-out both; }
    .inside-panel[hidden] { display: none; }
    @keyframes inside-fade {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .inside-panel-intro {
      text-align: center; max-width: 560px; margin: 0 auto 32px;
      font-size: 15px; color: var(--brown); line-height: 1.7;
    }
    .inside-cta { text-align: center; margin-top: 40px; }

    /* Scroll-spy active state on top nav */
    .nav-link.is-active { background: var(--cream-mid); color: var(--brown-dark); font-weight: 700; }

    /* ── ROOMS (nested inside .inside-section) ─────────────────────── */
    .rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
    .room-card {
      background: #fff; border-radius: var(--radius); overflow: hidden;
      box-shadow: var(--shadow); border: 1px solid var(--cream-border);
      transition: transform .2s, box-shadow .2s;
    }
    .room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .room-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
    .room-body { padding: 22px 20px; }
    .room-badge {
      display: inline-block; background: var(--cream-mid);
      border: 1px solid var(--cream-border); border-radius: 100px;
      padding: 3px 12px; font-size: 11px; font-weight: 700;
      color: var(--brown); letter-spacing: .05em; text-transform: uppercase;
      margin-bottom: 10px;
    }
    .room-card h3 { font-size: 18px; font-weight: 800; color: var(--brown-dark); margin-bottom: 8px; }
    .room-card p  { font-size: 14px; font-weight: 400; line-height: 1.65; color: var(--brown); margin-bottom: 14px; }
    .room-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
    .room-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--brown); }
    .room-list li svg { width: 14px; height: 14px; color: var(--book); flex-shrink: 0; }
    .rooms-cta { text-align: center; margin-top: 40px; }

    /* ── GALLERY ───────────────────────────────────────────────────── */
    .gallery-section { padding: 88px 24px; background: var(--cream); }
    .gallery-inner { max-width: 1200px; margin: 0 auto; }
    .gallery-grid {
      display: grid; grid-template-columns: repeat(12, 1fr);
      gap: 10px; margin-top: 44px;
    }
    .gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); display: block; }
    .g1 { grid-column: 1 / 7; grid-row: 1 / 3; }
    .g1 img { aspect-ratio: 4/3; height: 100%; }
    .g2 { grid-column: 7 / 10; } .g2 img { aspect-ratio: 1; }
    .g3 { grid-column: 10 / 13; } .g3 img { aspect-ratio: 1; }
    .g4 { grid-column: 7 / 10; } .g4 img { aspect-ratio: 1; }
    .g5 { grid-column: 10 / 13; } .g5 img { aspect-ratio: 1; }
    .gallery-cta { text-align: center; margin-top: 36px; }

    /* ── FUNDING BAND ──────────────────────────────────────────────── */
    .funding-band {
      background: var(--book); padding: 40px 24px;
    }
    .funding-inner {
      max-width: 1200px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    }
    .funding-text strong { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
    .funding-text p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.8); max-width: 540px; }
    .funding-pills { display: flex; gap: 10px; flex-wrap: wrap; }
    .funding-pill {
      background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
      color: #fff; border-radius: 10px; padding: 10px 18px;
      font-size: 14px; font-weight: 700; text-align: center;
    }
    .funding-pill small { display: block; font-size: 11px; font-weight: 400; opacity: .75; margin-top: 2px; }

    /* ── LEAD FORM FALLBACK ────────────────────────────────────────── */
    .form-section { padding: 88px 24px; background: var(--cream-dark); }
    .form-inner { max-width: 660px; margin: 0 auto; }
    .form-header { text-align: center; margin-bottom: 32px; }
    .form-header .eyebrow { color: var(--brown); }
    .form-card {
      background: #fff; border-radius: var(--radius-lg); padding: 36px 40px;
      box-shadow: 0 32px 80px rgba(51,47,44,.13), 0 0 0 1.5px rgba(191,146,112,.2);
      border: none;
    }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
    .form-label {
      font-size: 10px; font-weight: 700; letter-spacing: .09em;
      text-transform: uppercase; color: var(--brown-mid);
    }
    .form-input, .form-select {
      height: 44px; border: 1.5px solid var(--cream-border);
      border-radius: 10px; padding: 0 14px;
      font-family: var(--font); font-size: 14px; color: var(--brown-dark);
      background: var(--cream); outline: none; width: 100%;
      transition: border-color .15s, box-shadow .15s; appearance: none;
    }
    .form-input:focus, .form-select:focus {
      border-color: var(--cta);
      box-shadow: 0 0 0 3px rgba(181,117,26,.12);
    }
    .form-input.err { border-color: var(--error); }
    .form-err { font-size: 12px; color: var(--error); display: none; margin-top: 3px; }
    .form-input.err + .form-err { display: block; }
    .form-submit {
      width: 100%; height: 48px;
      background: linear-gradient(135deg, var(--cta) 0%, #9D6315 100%);
      color: #fff; border: none; cursor: pointer; font-family: var(--font);
      font-size: 15px; font-weight: 700; letter-spacing: .02em; border-radius: 12px;
      display: flex; align-items: center; justify-content: center; gap: 9px;
      transition: all .2s; margin-top: 6px;
      box-shadow: 0 4px 20px rgba(181,117,26,.35), 0 1px 0 rgba(255,255,255,.15) inset;
    }
    .form-submit:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(181,117,26,.45); }
    .form-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
    .form-privacy {
      display: flex; align-items: center; justify-content: center; gap: 7px;
      margin-top: 12px; font-size: 11px; color: var(--brown-mid);
    }
    .form-privacy svg { width: 12px; height: 12px; color: var(--book); flex-shrink: 0; }
    .form-success { display: none; text-align: center; padding: 36px 24px; }
    .form-success .suc-ico {
      width: 64px; height: 64px;
      background: linear-gradient(135deg, #c8e6d0, var(--book-light));
      border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px;
      box-shadow: 0 6px 22px rgba(74,124,89,.2);
    }
    .form-success h3 { font-size: 22px; font-weight: 800; color: var(--brown-dark); margin-bottom: 10px; letter-spacing: -.3px; }
    .form-success p  { font-size: 14px; color: var(--brown-mid); margin-bottom: 28px; line-height: 1.65; }
    /* Message label */
    .msg-label { font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brown-mid); margin-bottom: 6px; display: block; }
    .method-label { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brown); margin: 12px 0 8px; display: block; }
    .method-chips { display: flex; gap: 8px; }
    .method-chip {
      flex: 1; cursor: pointer; text-align: center;
      background: var(--cream); border: 1.5px solid var(--cream-border);
      border-radius: 10px; padding: 10px 8px;
      font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--brown);
      transition: all .15s; display: flex; flex-direction: column; align-items: center; gap: 5px;
    }
    .method-chip:hover { background: var(--cream-mid); border-color: var(--brown-mid); color: var(--brown-dark); }
    .method-chip.selected { background: rgba(181,117,26,.08); border-color: var(--cta); color: var(--brown-dark); }
    .method-chip svg { width: 16px; height: 16px; color: var(--brown-mid); transition: color .15s; }
    .method-chip.selected svg { color: var(--cta); }
    .form-textarea {
      width: 100%; min-height: 82px; border: 1.5px solid var(--cream-border);
      border-radius: 10px; padding: 12px 14px; resize: none;
      font-family: var(--font); font-size: 14px; color: var(--brown-dark);
      background: var(--cream); outline: none; line-height: 1.5;
      transition: border-color .15s, box-shadow .15s;
    }
    .form-textarea:focus { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(181,117,26,.12); }

    /* ── BOTTOM CTA ────────────────────────────────────────────────── */
    .bottom-cta { background: var(--brown-dark); padding: 96px 24px; text-align: center; }
    .bottom-cta-inner { max-width: 680px; margin: 0 auto; }
    .bottom-cta .micro-label {
      font-size: 11px; font-weight: 800; letter-spacing: .14em;
      text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 20px;
    }
    .bottom-cta h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 18px; }
    .bottom-cta p  { font-size: 18px; font-weight: 300; color: rgba(255,255,255,.65); margin-bottom: 40px; }
    .bottom-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

    /* ── FOOTER ────────────────────────────────────────────────────── */
    footer { background: #1E1B19; padding: 56px 24px 32px; }
    body.brand-mucky-pups footer { background: #3D1F0E; }
    .footer-inner {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
    }
    .footer-brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
    .footer-brand-name { font-size: 18px; font-weight: 800; color: #fff; }
    .footer-brand p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; margin-top: 8px; }
    .footer-col h4 {
      font-size: 11px; font-weight: 800; letter-spacing: .12em;
      text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 18px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
    .footer-col ul li a   { text-decoration: none; font-size: 14px; color: rgba(255,255,255,.65); transition: color .15s; }
    .footer-col ul li a:hover { color: #fff; }
    .footer-col ul li span { font-size: 14px; color: rgba(255,255,255,.55); }
    .footer-bottom {
      max-width: 1200px; margin: 36px auto 0;
      padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
      font-size: 12px; color: rgba(255,255,255,.3);
    }
    .footer-bottom a { color: rgba(255,255,255,.3); text-decoration: none; }
    .footer-bottom a:hover { color: rgba(255,255,255,.6); }

    /* ── MOBILE STICKY BAR ─────────────────────────────────────────── */
    .mobile-bar {
      display: none;
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
      background: var(--cream); border-top: 1px solid var(--cream-border);
      padding: 12px 16px 16px; gap: 10px;
      box-shadow: 0 -4px 24px rgba(95,82,75,.14);
    }
    .mobile-bar a {
      flex: 1; text-align: center; padding: 14px 12px;
      border-radius: 10px; font-family: var(--font); font-size: 15px; font-weight: 700;
      text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .mobile-bar-book { background: var(--cta); color: #fff; }
    .mobile-bar-call { background: var(--cream-mid); color: var(--brown-dark); border: 1.5px solid var(--cream-border); }

    /* ── WHATSAPP FLOAT ────────────────────────────────────────────── */
    .wa-float {
      position: fixed; bottom: 28px; right: 24px; z-index: 998;
      width: 54px; height: 54px; background: #25D366; color: #fff;
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 20px rgba(37,211,102,.4);
      text-decoration: none; transition: transform .2s, box-shadow .2s;
    }
    .wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
    @media (max-width: 768px) { .wa-float { bottom: 88px; right: 16px; width: 48px; height: 48px; } }

    /* ── MANAGER SPOTLIGHT ──────────────────────────────────────────── */
    .team-section    { padding: 96px 32px; background: var(--cream-pale); }
    .team-inner      { max-width: 900px; margin: 0 auto; }
    .spotlight-card  {
      display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
      background: var(--cream); border-radius: var(--radius-lg);
      padding: 48px; border: 1px solid var(--cream-border);
      box-shadow: var(--shadow); margin-top: 56px;
    }
    .spotlight-avatar-wrap { text-align: center; }
    .team-avatar  {
      width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
      border: 4px solid #fff; box-shadow: 0 6px 24px rgba(95,82,75,.18);
      display: block;
    }
    .team-avatar-placeholder {
      width: 140px; height: 140px; border-radius: 50%;
      background: linear-gradient(135deg, var(--cta) 0%, var(--cta-hover) 100%);
      color: #fff; font-size: 36px; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      border: 4px solid #fff; box-shadow: 0 6px 24px rgba(95,82,75,.18);
    }
    .spotlight-role-badge {
      display: inline-block; margin-top: 12px;
      font-size: 11px; font-weight: 700; color: var(--cta);
      text-transform: uppercase; letter-spacing: .08em;
      background: rgba(181,117,26,.1); padding: 4px 12px; border-radius: 100px;
    }
    .spotlight-body  {}
    .spotlight-name  { font-size: 26px; font-weight: 900; color: var(--brown-dark); margin-bottom: 6px; letter-spacing: -.02em; }
    .spotlight-exp   { font-size: 13px; font-weight: 600; color: var(--book); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
    .spotlight-quote {
      font-size: 16px; line-height: 1.75; color: var(--brown);
      border-left: 3px solid var(--cta); padding-left: 18px;
      font-style: italic; margin-bottom: 20px;
    }
    .spotlight-tags  { display: flex; flex-wrap: wrap; gap: 8px; }
    .spotlight-tag   {
      font-size: 12px; font-weight: 600; color: var(--brown-dark);
      background: #fff; border: 1px solid var(--cream-border);
      padding: 5px 12px; border-radius: 100px;
    }
    @media (max-width: 768px) {
      .spotlight-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; text-align: center; }
      .spotlight-quote { text-align: left; }
      .spotlight-exp, .spotlight-tags { justify-content: center; }
    }

    /* ── DAILY ROUTINE ──────────────────────────────────────────────── */
    .routine-section { padding: 96px 32px; background: var(--cream-mid); }
    .routine-inner   { max-width: 960px; margin: 0 auto; }
    .routine-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 52px; }
    .routine-item    {
      display: flex; align-items: flex-start; gap: 14px;
      background: #fff; border-radius: var(--radius-sm); padding: 16px 18px;
      border: 1px solid var(--cream-border); box-shadow: 0 2px 10px rgba(95,82,75,.06);
    }
    .routine-time {
      font-size: 13px; font-weight: 800; color: var(--cta);
      white-space: nowrap; min-width: 52px; padding-top: 1px;
    }
    .routine-label { font-size: 14px; font-weight: 600; color: var(--brown-dark); }
    .routine-note  { font-size: 12.5px; color: var(--brown-mid); margin-top: 2px; line-height: 1.4; }
    @media (max-width: 768px) { .routine-grid { grid-template-columns: 1fr; } }

    /* ── FAQ ────────────────────────────────────────────────────────── */
    .faq-section { padding: 96px 32px; background: var(--cream-pale); }
    .faq-inner   { max-width: 820px; margin: 0 auto; }
    .faq-list    { margin-top: 52px; display: flex; flex-direction: column; gap: 12px; }
    .faq-item    {
      border: 1.5px solid var(--cream-border); border-radius: var(--radius);
      overflow: hidden; background: var(--cream);
      transition: border-color .2s;
    }
    .faq-item.faq-open { border-color: var(--cta); background: #fff; }
    .faq-q {
      width: 100%; background: none; border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      padding: 20px 22px; text-align: left;
      font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--brown-dark);
      transition: color .15s;
    }
    .faq-item.faq-open .faq-q { color: var(--cta); }
    .faq-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s; color: var(--brown-mid); }
    .faq-item.faq-open .faq-chevron { transform: rotate(180deg); color: var(--cta); }
    .faq-a {
      max-height: 0; overflow: hidden;
      transition: max-height .35s ease, padding .35s ease;
      padding: 0 22px;
    }
    .faq-item.faq-open .faq-a { max-height: 300px; padding: 0 22px 20px; }
    .faq-a p  { font-size: 14.5px; color: var(--brown); line-height: 1.75; }
    .faq-a a  { color: var(--cta); font-weight: 600; }

    /* ── CAL STEPS ──────────────────────────────────────────────────── */
    .cal-steps { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; background: var(--cream); border-bottom: 1px solid var(--cream-border); }
    .cal-step  { display: flex; align-items: flex-start; gap: 12px; }
    .cal-step-num {
      width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
      background: var(--cta); color: #fff;
      font-size: 12px; font-weight: 800; font-family: var(--font);
      display: flex; align-items: center; justify-content: center;
    }
    .cal-step strong { display: block; font-size: 13px; font-weight: 700; color: var(--brown-dark); }
    .cal-step span   { font-size: 12px; color: var(--brown-mid); }

    /* ── ANIMATIONS ────────────────────────────────────────────────── */
    @media (prefers-reduced-motion: no-preference) {
      .fade-up {
        opacity: 0; transform: translateY(32px);
        transition: opacity .65s ease, transform .65s ease;
      }
      .fade-up.in { opacity: 1; transform: none; }
    }

    /* ── RESPONSIVE ────────────────────────────────────────────────── */
    @media (max-width: 1024px) {
      .booking-inner { grid-template-columns: 1fr; gap: 44px; }
      .booking-left  { position: static; }
      .footer-inner  { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      /* Nav */
      .nav-links       { display: none; }
      .nav-inner       { padding: 0 16px; }
      .nav-brand img   { width: 38px; height: 38px; }
      .nav-brand > div { flex-direction: row; align-items: baseline; gap: 4px; }
      .nav-brand-name  { font-size: 15px; white-space: nowrap; }
      .nav-brand-sub   { font-size: 15px; font-weight: 800; letter-spacing: normal; text-transform: none; color: var(--cta); margin-top: 0; white-space: nowrap; }
      .nav-cta         { font-size: 13px; padding: 10px 14px; }

      /* Tighter section rhythm on mobile — ~37% of desktop padding */
      .booking-section,
      .testimonials,
      .why-section,
      .inside-section,
      .form-section     { padding-top: 33px; padding-bottom: 33px; }
      .team-section,
      .routine-section,
      .faq-section,
      .bottom-cta       { padding-top: 36px; padding-bottom: 36px; }

      /* Hero — centre-aligned on mobile */
      .hero            { padding: 24px 20px 36px; min-height: auto; }
      .hero-inner      { grid-template-columns: 1fr; gap: 20px; text-align: center; }
      .hero-inner > div:first-child { display: flex; flex-direction: column; align-items: center; }
      .hero-visual     {
        display: block; order: -2;
        max-width: 300px; margin: 0 auto;
      }
      .hero-img-main   { height: auto; aspect-ratio: 5/3; border-width: 2px; }
      .hero-badge      { bottom: -14px; left: 50%; right: auto; transform: translateX(-50%); padding: 8px 14px; gap: 0; white-space: nowrap; }
      .hero-badge-icon { display: none; }
      .hero-badge strong { display: inline; font-size: 12px; }
      .hero-badge strong::after { content: ' · '; color: var(--brown-mid); font-weight: 400; margin: 0 2px; }
      .hero-badge span   { font-size: 12px; color: var(--brown-dark); }
      .hero-ofsted     { display: none; }
      .hero-eyebrow    { display: none; }
      .hero-h1         { margin-bottom: 12px; }
      .hero-sub        { order: 0; max-width: 100%; margin: 0 auto 16px; font-size: 16px; line-height: 1.55; }
      .hero-ctas       { order: 1; max-width: 100%; align-items: center; gap: 10px; margin-bottom: 22px; }
      .hero-ctas .btn  { width: auto; font-size: 15px; padding: 14px 24px; }
      .hero-pills      { order: 2; justify-content: center; gap: 6px; margin-bottom: 0; }
      .pill            { padding: 6px 11px; font-size: 12px; }

      /* Stats */
      .stats-inner  { grid-template-columns: 1fr 1fr; }
      .stat-num     { font-size: 15px; }
      .stat-lbl     { font-size: 11px; }

      /* Funded hours */
      .funding-grid { grid-template-columns: 1fr !important; gap: 32px !important; text-align: center; }
      .funding-grid > div:first-child > div:first-child { justify-content: center; }

      /* Testimonials */
      .testi-grid   { grid-template-columns: 1fr; }

      /* Why / Rooms / Form */
      .why-grid     { grid-template-columns: 1fr; }
      .rooms-grid   { grid-template-columns: 1fr; }
      .form-row     { grid-template-columns: 1fr; }
      .form-card    { padding: 28px 20px; }

      /* Manager spotlight */
      .spotlight-card  { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; text-align: center; }
      .spotlight-quote { text-align: left; }
      .spotlight-exp, .spotlight-tags { justify-content: center; }
      .team-avatar     { margin: 0 auto; }

      /* Gallery */
      .gallery-grid { grid-template-columns: 1fr 1fr; }
      .g1 { grid-column: 1 / 3; grid-row: auto; }
      .g2, .g3, .g4, .g5 { grid-column: span 1; }

      /* Bottom CTA buttons — auto-width, centred */
      .bottom-cta-btns { flex-direction: column; align-items: center; }
      .bottom-cta-btns .btn { width: auto; justify-content: center; }

      /* Footer */
      .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; text-align: center; }

      /* Mobile bar */
      .mobile-bar { display: flex; }
      body { padding-bottom: 76px; }
    }
  

/* ===== next style block ===== */


    #lightbox.lb-visible { opacity:1 !important; pointer-events:all !important; }
    #lightbox.lb-visible #lb-card { transform:translateY(0) scale(1) !important; }
    @media(max-width:480px){
      #lb-card { border-radius:22px !important; max-height:92vh; overflow-y:auto; }
    }
    @media(max-width:400px){
      /* Tighten lightbox tab buttons so labels don't wrap on very small phones */
      #lb-tab-enquiry, #lb-tab-tour { font-size:11px !important; padding:10px 8px !important; gap:4px !important; }
    }


/* ===== Multi-page site additions ===== */

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  grid-column: 3; justify-self: end;
  background: transparent; border: none;
  padding: 8px; margin-left: 4px; cursor: pointer;
  color: var(--brown-dark); border-radius: 10px;
}
.nav-toggle:hover { background: var(--cream-mid); }
.nav-toggle:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }

.nav-mobile-panel {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--cream);
  padding: 24px 20px 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
  z-index: 50; overflow-y: auto;
}
.nav-mobile-panel.is-open { transform: none; }
.nav-mobile-panel a {
  display: flex; align-items: center;
  padding: 16px 14px; border-radius: 12px;
  font-size: 18px; font-weight: 700; color: var(--brown-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--cream-border);
}
.nav-mobile-panel a:last-child { border-bottom: none; }
.nav-mobile-panel a:hover { background: var(--cream-mid); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (min-width: 901px) {
  .nav-mobile-panel { display: none; }
}

/* Footer social tiles */
.footer-socials { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: background .2s, color .2s;
  text-decoration: none;
}
.footer-social:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Generic breadcrumb + section intro for sub-pages */
.crumbs {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px 0;
  font-size: 13px; color: var(--brown-mid);
}
.crumbs a { color: var(--brown); text-decoration: none; }
.crumbs a:hover { color: var(--cta); }
.crumbs span { margin: 0 6px; color: var(--cream-dark); }

/* Sub-page hero (shorter than landing hero) */
.page-hero {
  padding: 48px 24px 56px;
  background: var(--cream);
  text-align: center;
}
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.page-hero .eyebrow { display: inline-block; margin-bottom: 12px; color: var(--cta); }
.page-hero h1 {
  font-family: var(--font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900; line-height: 1.1; letter-spacing: -.02em;
  color: var(--brown-dark); margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--cta); }
.page-hero p {
  font-size: 18px; font-weight: 300; line-height: 1.6;
  color: var(--brown); max-width: 600px; margin: 0 auto;
}
.page-hero .hero-ctas { max-width: 420px; margin: 28px auto 0; }
@media (max-width: 768px) {
  .page-hero { padding: 28px 20px 36px; }
  .page-hero h1 { font-size: clamp(28px, 7vw, 36px); }
  .page-hero p { font-size: 16px; }
}


/* ═══ Mobile nav — Availability Check pulsing highlight ═══ */
@keyframes nav-avail-text-pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.8; }
  100% { opacity: 1; }
}
@keyframes nav-avail-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 97, 10, 0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(232, 97, 10, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 97, 10, 0); }
}
.nav-mobile-panel .nav-check-availability {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: var(--cta) !important;
  font-weight: 800 !important;
  animation: nav-avail-text-pulse 1.6s ease-in-out infinite;
}
.nav-mobile-panel a[href="/gallery/"] {
  border-bottom: 1px solid var(--cream-border);
}
.nav-mobile-panel .nav-check-availability::before {
  content: '';
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #E8610A;
  flex-shrink: 0;
  animation: nav-avail-dot-pulse 1.6s ease-out infinite;
}

/* ═══ Availability-check lightbox (shared, used on every sub-page) ═══ */
.av-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(20,16,14,.65); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity .25s;
}
.av-lightbox:not([hidden]) { opacity: 1; }
.av-lightbox[hidden] { display: none !important; }
.av-lb-card {
  width: 100%; max-width: 500px; max-height: 92vh; overflow-y: auto;
  background: var(--cream-pale);
  border-radius: 24px; padding: 32px 28px 28px;
  box-shadow: 0 40px 120px rgba(0,0,0,.4);
  position: relative;
}
.av-lb-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.06); border: none; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--brown-dark); transition: background .15s;
}
.av-lb-close:hover { background: rgba(0,0,0,.12); }
.av-lb-card h3 {
  font-family: var(--font); font-size: 24px; font-weight: 900;
  color: var(--brown-dark); margin: 8px 0 10px; letter-spacing: -.01em;
}
.av-lb-card > p {
  font-family: var(--font); font-size: 14.5px; color: var(--brown);
  line-height: 1.55; margin-bottom: 20px;
}
/* Social-proof row with pulsating dot */
.av-lb-proof {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,140,0,.08);
  border: 1px solid rgba(255,140,0,.2);
  border-radius: 100px;
  padding: 6px 12px 6px 10px;
  font-family: var(--font); font-size: 12.5px; font-weight: 600; color: var(--brown-dark);
  margin-bottom: 6px;
}
.av-lb-proof strong { color: var(--cta); font-weight: 800; }
.av-lb-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #F97316; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(249,115,22,.6);
  animation: av-pulse 2s ease-out infinite;
}
@keyframes av-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(249,115,22,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}
.av-form { display: flex; flex-direction: column; gap: 12px; }
.av-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.av-field { display: flex; flex-direction: column; }
.av-field label {
  font-family: var(--font); font-size: 10.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--brown-mid); margin-bottom: 5px;
}
.av-field input,
.av-field textarea {
  font-family: var(--font); font-size: 14.5px; color: var(--brown-dark);
  padding: 10px 12px; border: 1.5px solid var(--cream-border); border-radius: 10px;
  background: #fff; outline: none;
  transition: border-color .18s, box-shadow .18s;
  width: 100%; resize: vertical;
}
.av-field input:focus,
.av-field textarea:focus {
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(181,117,26,.15);
}
.av-submit { justify-content: center; margin-top: 6px; }
.av-privacy {
  font-family: var(--font); font-size: 11.5px; color: var(--brown-mid);
  text-align: center; margin-top: 2px;
}
@media (max-width: 480px) {
  .av-lb-card { padding: 28px 22px 22px; }
  .av-row { grid-template-columns: 1fr; }
}

/* ── Per-nursery theme overrides ──────────────────────────────────
   `<body class="brand-xxx">` is set per location by build.py from
   LOCATIONS[…][body_class]. Handprints (the default) uses the root
   tokens above. Mucky Pups overrides whatever tokens its palette
   needs — added in Milestone 3 once the owner confirms colours. */
body.brand-handprints {
  /* uses the root tokens verbatim — no overrides */
}
body.brand-mucky-pups {
  /* overrides go here in M3 */
}

/* ── MP: hide the fee calculator on /fees-and-funding/ until owner ──
   confirms the rates. Remove this rule (or set display:block) to
   re-enable. */
body.brand-mucky-pups #our-fees {
  display: none;
}

/* ── Nursery switcher strip (sits above the nav on per-nursery pages) ─── */
.loc-switcher {
  background: var(--brown-dark);
  color: rgba(255, 237, 219, .85);
  font-family: var(--font);
  font-size: 12.5px;
  line-height: 1.4;
}
.loc-switcher-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.loc-switcher-current { opacity: .85; }
.loc-switcher-current strong { color: #fff; font-weight: 700; }
.loc-switcher-link {
  color: rgba(255, 237, 219, .9);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 237, 219, .18);
  transition: background .15s, border-color .15s, color .15s;
}
.loc-switcher-link:hover {
  background: rgba(255, 237, 219, .08);
  border-color: rgba(255, 237, 219, .35);
  color: #fff;
}
@media (max-width: 640px) {
  .loc-switcher-inner { padding: 6px 16px; font-size: 11.5px; gap: 4px 10px; }
}
