/* ============================================================
   BOSQUE AZUL — styles
   Palette + typography per /reference/bosque-azul-content-reference.pdf
   ============================================================ */

/* ---------- Tokens ----------
   FOREST AT DUSK — adopted 2026-04-29.
   Hybrid palette: navy sky (restored) + forest greens + warm earth (restored).
   Earlier checkpoints preserved on disk:
     • css/styles-original-ocean.css   — original ocean palette
     • css/styles-audition-forest.css  — fully-cool misty forest audition
   To revert without restoring a backup file, swap the two :root blocks below
   (uncomment whichever palette you want, comment the other).
*/
:root {
    /* Forest at Dusk (active) */
    --deep-navy:   #1B3A5C;  /* navy sky — restored original              */
    --ocean-blue:  #2F4632;  /* deep forest — italic accents, enroll bg    */
    --sky-blue:    #5A6F4C;  /* moss — eyebrows, mid accents              */
    --mist:        #A8B98E;  /* sage — light hero accents                 */
    --powder-blue: #C8D4D6;  /* soft mist blue-gray — gentle backgrounds  */
    --light-blue:  #EAF4FB;  /* pale icy blue — restored, alt section bg  */
    --clay:        #C4846A;  /* warm terracotta — restored, CTA pop       */
    --bark:        #7A5C4A;  /* warm brown — restored, secondary CTA      */
    --cream:       #F6F2EC;  /* unchanged — page background               */
    --soil:        #2C1F18;  /* warm near-black — restored, body + footer */
}
/* Original Ocean palette — uncomment to revert
:root {
    --deep-navy:   #1B3A5C;
    --ocean-blue:  #2A5F8F;
    --sky-blue:    #4A90C4;
    --mist:        #A8C8E8;
    --powder-blue: #D6E8F5;
    --light-blue:  #EAF4FB;
    --clay:        #C4846A;
    --bark:        #7A5C4A;
    --cream:       #F6F2EC;
    --soil:        #2C1F18;
}
*/
:root {

    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --nav-h: 72px;
    --container: 1080px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* The HTML5 [hidden] attribute should always win over display rules
   like display:grid/flex. Without !important, .enroll-form's display:grid
   overrides [hidden]'s default display:none, leaving "hidden" forms visible. */
[hidden] { display: none !important; }
body {
    background: var(--cream);
    color: var(--soil);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Bilingual show/hide ----------
   Body has data-lang="pt" or "en". When body is in PT mode, hide every EN
   element. When body is in EN mode, hide every PT element. Note: we only
   target elements *inside* the body — never the body itself, which also
   carries a data-lang attribute.
*/
body[data-lang="pt"] [data-lang="en"] { display: none; }
body[data-lang="en"] [data-lang="pt"] { display: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sky-blue);
    margin-bottom: 1.25rem;
}
.eyebrow--light { color: var(--powder-blue); }

.headline {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.1;
    color: var(--deep-navy);
    letter-spacing: -0.01em;
}
.headline em {
    font-style: italic;
    color: var(--ocean-blue);
}
.headline--light { color: var(--cream); }
.headline--light em { color: var(--powder-blue); }

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    color: var(--soil);
    max-width: 62ch;
}
.lead--soft { color: rgba(44, 31, 24, 0.7); }
.lead--light { color: var(--powder-blue); max-width: 62ch; }

.hint {
    font-size: 0.85rem;
    color: rgba(44, 31, 24, 0.55);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.pullquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.4;
    color: var(--ocean-blue);
    margin: 2rem 0;
    padding-left: 1.25rem;
    border-left: 3px solid var(--clay);
    max-width: 50ch;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.98rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn--cta {
    background: var(--clay);
    color: var(--cream);
    box-shadow: 0 4px 16px rgba(196, 132, 106, 0.3);
}
.btn--cta:hover { transform: translateY(-2px); }
.btn--cta-light {
    background: var(--cream);
    color: var(--ocean-blue);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 9999;
    background: rgba(246, 242, 236, 0);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
    background: var(--cream);
    box-shadow: 0 1px 0 rgba(27, 58, 92, 0.08);
}
.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--cream);
    transition: color 0.3s ease;
}
.nav.is-scrolled .nav__logo { color: var(--deep-navy); }
.nav__logo-img {
    height: 42px;
    width: auto;
    filter: invert(0); /* white drawing — visible on dark hero */
    transition: filter 0.3s ease;
}
.nav.is-scrolled .nav__logo-img { filter: invert(1); }
.nav__logo-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    /* hidden visually, the image carries the brand; kept for screen readers */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.nav__links {
    display: flex;
    gap: 1.6rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--cream);
    transition: color 0.3s ease;
}
.nav.is-scrolled .nav__links { color: var(--deep-navy); }
.nav__links a {
    position: relative;
    padding: 0.25rem 0;
}
.nav__links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

/* Language toggle pill */
.lang-toggle {
    position: relative;
    display: inline-flex;
    background: rgba(246, 242, 236, 0.18);
    border-radius: 999px;
    padding: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.nav.is-scrolled .lang-toggle { background: var(--powder-blue); }
.lang-toggle__option {
    position: relative;
    z-index: 2;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    color: var(--cream);
    transition: color 0.25s ease;
}
.nav.is-scrolled .lang-toggle__option { color: var(--ocean-blue); }
body[data-lang="pt"] .lang-toggle__option[data-set-lang="pt"],
body[data-lang="en"] .lang-toggle__option[data-set-lang="en"] {
    color: var(--deep-navy);
}
.lang-toggle__slider {
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0.25rem;
    width: calc(50% - 0.25rem);
    border-radius: 999px;
    background: var(--cream);
    transition: transform 0.25s ease;
    z-index: 1;
}
body[data-lang="en"] .lang-toggle__slider {
    transform: translateX(100%);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--deep-navy);
    color: var(--cream);
    overflow: hidden;
    padding: calc(var(--nav-h) + 2rem) var(--gutter) 4rem;
    display: flex;
    align-items: center;
}
.hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    text-align: center;
}
.hero .eyebrow {
    color: var(--mist);
    margin-bottom: 1.5rem;
}
/* Animated logotype container.
   3 SVG frames are loaded as CSS masks. The SVG file is a *stencil* — its fill
   color doesn't matter; the visible color comes from --logo-color below. So you
   can re-export SVGs in any color and the logo stays cream (or whatever you set).
   Tune the wiggle speed with --boil-frame; tune the color with --logo-color. */
.hero__logotype {
    --boil-frame: 125ms;                       /* per-frame duration (~8fps) */
    --boil-cycle: calc(var(--boil-frame) * 3);
    --logo-color: var(--cream);                /* change this to recolor the logo */

    position: relative;
    width: min(50%, 500px);
    aspect-ratio: 1 / 1;                        /* SVG viewBox is 1024×1024 */
    /* Negative bottom margin pulls the headline up over the SVG canvas's
       built-in bottom whitespace. Tune if the gap looks off. */
    margin: 0 auto -3rem;
}
.hero__logotype-frame {
    position: absolute;
    inset: 0;
    background-color: var(--logo-color);
    -webkit-mask-mode: alpha;
            mask-mode: alpha;                   /* use SVG transparency, not luminance */
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    opacity: 0;
    animation: boil var(--boil-cycle) steps(1, end) infinite;
}
/* Each frame points at its SVG file. Bump the ?v= when you update the files
   so browsers fetch the new versions instead of using a cached older one. */
.hero__logotype-frame--1 {
    -webkit-mask-image: url('../assets/svg/bosqueazul-logo-1.svg?v=2026-05-05.11');
            mask-image: url('../assets/svg/bosqueazul-logo-1.svg?v=2026-05-05.11');
    animation-delay: 0ms;
}
.hero__logotype-frame--2 {
    -webkit-mask-image: url('../assets/svg/bosqueazul-logo-2.svg?v=2026-05-05.11');
            mask-image: url('../assets/svg/bosqueazul-logo-2.svg?v=2026-05-05.11');
    animation-delay: var(--boil-frame);
}
.hero__logotype-frame--3 {
    -webkit-mask-image: url('../assets/svg/bosqueazul-logo-3.svg?v=2026-05-05.11');
            mask-image: url('../assets/svg/bosqueazul-logo-3.svg?v=2026-05-05.11');
    animation-delay: calc(var(--boil-frame) * 2);
}

@keyframes boil {
    0%        { opacity: 1; }
    33.34%, 100% { opacity: 0; }
}
.hero__headline {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    color: var(--cream);
    max-width: 22ch;
    margin: 0.25rem auto 1.5rem;
    letter-spacing: -0.01em;
}
.hero__headline em {
    color: var(--mist);
    font-style: italic;
}
.hero__sub {
    max-width: 60ch;
    margin: 0 auto 1.25rem;
    color: var(--powder-blue);
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}
.hero__italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--mist);
    max-width: 50ch;
    margin: 0 auto 2.25rem;
    line-height: 1.5;
}

/* Background photo + dark gradient overlay
   The .hero already has background: var(--deep-navy) as a fallback,
   so if hero.jpg is missing or fails to load, the page still looks right. */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero__bg-photo {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;     /* 20% extra height gives the parallax room to move */
    object-fit: cover;
    object-position: center;
    will-change: transform;
}
.hero__bg-overlay {
    position: absolute;
    inset: 0;
    /* Darker at top + bottom, slightly transparent in the middle so the
       photo shows through. Keeps the white logotype readable on any image. */
    background:
        linear-gradient(
            to bottom,
            rgba(27, 58, 92, 0.55) 0%,
            rgba(27, 58, 92, 0.35) 40%,
            rgba(27, 58, 92, 0.55) 80%,
            rgba(27, 58, 92, 0.75) 100%
        );
}

/* Hero illustration (placeholder using bird + leaves) */
.hero__illustration {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero__leaves {
    position: absolute;
    bottom: 8%;
    left: 5%;
    width: clamp(120px, 18vw, 220px);
    opacity: 0.85;
    animation: floatY 7s ease-in-out infinite alternate;
}
.hero__bird {
    position: absolute;
    top: 22%;
    right: 7%;
    width: clamp(70px, 9vw, 110px);
    opacity: 0.85;
    animation: floatY 5s ease-in-out infinite alternate;
}
@keyframes floatY {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
}

/* ============================================================
   TAGLINE STRIP
   ============================================================ */
.tagline-strip {
    background: var(--deep-navy);
    color: var(--mist);
    overflow: hidden;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(168, 185, 142, 0.15);
}
.tagline-strip__track {
    display: flex;
    white-space: nowrap;
    animation: scrollLeft 30s linear infinite;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.tagline-strip__track > span {
    flex: none;
    padding-right: 0.5rem;
}
@keyframes scrollLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION (base) + sticky title pattern
   ============================================================ */
.section {
    padding: clamp(4rem, 9vw, 8rem) var(--gutter);
}
.section--alt { background: var(--light-blue); }

.section__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

/* Title pins as you enter the section, releases at section end. */
.section__sticky-title {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    align-self: start;
}

.section__body > * + * { margin-top: 1.25rem; }
.section__body > .lead + .lead { margin-top: 1rem; }

/* Stacked layout — title above, body full-width below.
   Use for sections that want their content to span the whole container
   (e.g., the Weekly Rhythm day cards). */
.section__inner--stacked {
    grid-template-columns: 1fr;
    gap: 0;
}
.section__header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: 60ch;
}
.section__header .hint { margin-top: 1rem; }
.section__body--full { width: 100%; }

/* ============================================================
   READ MORE (details/summary)
   ============================================================ */
.readmore {
    margin-top: 1.75rem;
}
.readmore > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ocean-blue);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--mist);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}
.readmore > summary::-webkit-details-marker { display: none; }
.readmore > summary::before {
    content: '+';
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1;
}
.readmore[open] > summary::before { content: '−'; }
.readmore > summary:hover {
    background: var(--mist);
    color: var(--deep-navy);
}
.readmore[open] .readmore__open,
.readmore:not([open]) .readmore__close {
    display: none;
}
.readmore__body {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(90, 111, 76, 0.35);
    animation: slideDown 0.35s ease;
}
.readmore__body > * + * { margin-top: 1rem; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PILLARS (philosophy expanded)
   ============================================================ */
.pillars { display: grid; gap: 1.25rem; }
.pillar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.25rem;
    padding: 1.25rem;
    background: var(--cream);
    border: 1px solid rgba(168, 185, 142, 0.5);
    border-radius: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.section--alt .pillar { background: rgba(255,255,255,0.6); }
.pillar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(27, 58, 92, 0.06);
}
.pillar__num {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--mist);
    font-weight: 500;
    grid-row: 1 / span 2;
}
.pillar__title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--deep-navy);
}
.pillar > p {
    grid-column: 2;
    font-size: 0.96rem;
    color: rgba(44, 31, 24, 0.78);
}

/* ============================================================
   WEEKLY RHYTHM — activity tiles + schedule timing
   (no longer day-pegged: mornings vary, but these are the things
   we tend to during the week)
   ============================================================ */
.schedule-time {
    display: inline-block;
    background: var(--clay);
    color: var(--cream);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    margin-top: 1.25rem;
}

.activities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.activity {
    background: var(--cream);
    border: 1px solid rgba(168, 185, 142, 0.5);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.activity:hover {
    transform: translateY(-3px) rotate(0.4deg);
    box-shadow: 0 10px 24px rgba(27, 58, 92, 0.1);
}
.activity__icon {
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}
.activity:hover .activity__icon { transform: scale(1.15) rotate(-6deg); }
.activity__title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--deep-navy);
    line-height: 1.25;
}
.activity__desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(44, 31, 24, 0.78);
}

/* ============================================================
   LANGUAGE — points + bubbles
   ============================================================ */
.lang-points {
    display: grid;
    gap: 1rem;
}
.lang-points li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
}
.lang-points__icon { font-size: 1.4rem; }
.lang-points li p { font-size: 0.97rem; }

.bubbles {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--powder-blue);
    border-radius: 16px;
    border: 1px dashed var(--mist);
}
.bubbles__line {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.02rem;
    color: var(--deep-navy);
}
.bubbles__line + .bubbles__line { margin-top: 0.6rem; }
.bubbles__line--child { color: var(--ocean-blue); }
.bubbles__line--close { font-style: normal; font-weight: 500; color: var(--clay); margin-top: 1rem; }

/* ============================================================
   VALUES — six compact accordions
   ============================================================ */
.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}
.value details {
    background: var(--cream);
    border: 1px solid rgba(168, 185, 142, 0.55);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    transition: background 0.2s ease;
}
.value details[open] { background: var(--light-blue); }
.value summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--deep-navy);
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.value summary::-webkit-details-marker { display: none; }
.value summary::after {
    content: '+';
    color: var(--sky-blue);
    font-size: 1.2rem;
    font-weight: 400;
}
.value details[open] summary::after { content: '−'; }
.value details > p {
    margin-top: 0.6rem;
    font-size: 0.92rem;
    color: rgba(44, 31, 24, 0.78);
}

/* ============================================================
   COMMUNITY — tabs
   ============================================================ */
.tabs { margin-top: 1.5rem; }
.tabs__buttons {
    display: inline-flex;
    background: var(--cream);
    border: 1px solid var(--mist);
    border-radius: 999px;
    padding: 0.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 0.15rem;
}
.section--alt .tabs__buttons { background: rgba(255,255,255,0.7); }
.tabs__btn {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ocean-blue);
    transition: background 0.2s ease, color 0.2s ease;
}
.tabs__btn.is-active {
    background: var(--deep-navy);
    color: var(--cream);
}
.tabs__panel { display: none; animation: slideDown 0.35s ease; }
.tabs__panel.is-active { display: block; }
.tabs__intro {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--ocean-blue);
    margin-bottom: 1.25rem;
    max-width: 60ch;
}

.contrib { display: grid; gap: 0.8rem; }
.contrib--two-col { grid-template-columns: repeat(2, 1fr); }
.contrib li {
    padding: 0.85rem 1rem;
    background: var(--cream);
    border-radius: 8px;
    border: 1px solid rgba(168, 185, 142, 0.4);
    font-size: 0.95rem;
}
.section--alt .contrib li { background: rgba(255,255,255,0.7); }

/* ============================================================
   PRICING
   ============================================================ */
.capacity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--clay);
    color: var(--cream);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
}
.capacity-badge__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--cream);
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.price-card {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(168, 185, 142, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(27, 58, 92, 0.08);
}
.price-card--featured {
    background: var(--deep-navy);
    color: var(--cream);
    border-color: transparent;
}
.price-card h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--deep-navy);
}
.price-card--featured h3 { color: var(--cream); }
.price-card__price {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--deep-navy);
    margin-bottom: 0.6rem;
    font-weight: 500;
}
.price-card--featured .price-card__price { color: var(--cream); }
.price-card__price > span {
    font-size: 0.82rem;
    color: rgba(44, 31, 24, 0.6);
    font-weight: 400;
}
.price-card--featured .price-card__price > span { color: var(--mist); }
.price-card > p:last-child {
    font-size: 0.9rem;
    color: rgba(44, 31, 24, 0.78);
}
.price-card--featured > p:last-child { color: var(--powder-blue); }

.financial-note {
    background: var(--cream);
    border-left: 4px solid var(--sky-blue);
    padding: 1.25rem 1.4rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: rgba(44, 31, 24, 0.85);
    max-width: 70ch;
}

/* ============================================================
   ENROLLMENT
   ============================================================ */
.section--enroll {
    background: var(--ocean-blue);
}
.section--enroll .section__sticky-title { color: var(--cream); }

.enroll-form {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
}
.enroll-form__full { grid-column: 1 / -1; }
.enroll-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--powder-blue);
    letter-spacing: 0.04em;
}
.enroll-form input,
.enroll-form select,
.enroll-form textarea {
    background: rgba(246, 242, 236, 0.95);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    font: inherit;
    color: var(--deep-navy);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}
.enroll-form input:focus,
.enroll-form select:focus,
.enroll-form textarea:focus {
    outline: none;
    border-color: var(--clay);
}
.enroll-form textarea { resize: vertical; }
.enroll-form .btn {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--soil);
    color: var(--cream);
    padding: 3.5rem var(--gutter) 2.5rem;
    text-align: center;
}
.footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.footer__logo {
    width: clamp(120px, 18vw, 180px);
    margin-bottom: 0.5rem;
    /* white-on-transparent png — already shows on dark background */
}
.footer__line {
    font-size: 0.92rem;
    color: rgba(246, 242, 236, 0.7);
}
.footer__copy {
    font-size: 0.82rem;
    color: rgba(246, 242, 236, 0.45);
    margin-top: 0.5rem;
}

/* ============================================================
   ARCHIVED SECTIONS — added 2026-04-28
   Sections that Sandy's spec update removed but we kept in markup so
   they're easy to bring back. Toggle by removing this class.
   ============================================================ */
.section--archived { display: none !important; }

/* ============================================================
   2026-04-28 SPEC ADDITIONS
   ============================================================ */

/* Soft secondary pullquote (inside the Values & Philosophy section) */
.pullquote--soft {
    border-left-color: var(--mist);
    color: var(--ocean-blue);
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    margin: 1.5rem 0;
}

/* Photo caption — replaces the conversation-bubble panel in Language */
.photo-caption {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    border-left: 3px solid var(--clay);
    background: var(--powder-blue);
    border-radius: 0 12px 12px 0;
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--deep-navy);
    line-height: 1.5;
}

/* "What Bosque Azul Is" intro block — single-column, centered */
.section--intro-block {
    background: var(--cream);
    padding: clamp(3rem, 7vw, 6rem) var(--gutter);
    border-top: 1px solid rgba(168, 185, 142, 0.25);
    border-bottom: 1px solid rgba(168, 185, 142, 0.25);
}
.section__inner--single {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 780px;
}
.headline--centered { text-align: center; }
.lead--centered {
    text-align: center;
    margin: 1.5rem auto 0;
    max-width: 60ch;
}

/* Tab CTA button — sits below each Community tab's list */
.tabs__cta {
    margin-top: 1.75rem;
    background: var(--bark);
    color: var(--cream);
}
.tabs__cta:hover { background: var(--soil); }

/* Italic line above the enrollment form */
.enroll-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--powder-blue);
    margin-bottom: 1.5rem;
    max-width: 50ch;
}

/* Founder block — Sandy's photo + bio inside Who We Are */
.founder {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 1.75rem;
    background: rgba(168, 185, 142, 0.15);
    border: 1px solid rgba(168, 185, 142, 0.4);
    border-radius: 12px;
}
.founder__photo {
    width: 130px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    transform: rotate(-2deg);
    box-shadow: 0 4px 12px rgba(27, 58, 92, 0.12);
    background: var(--mist); /* shows as a soft block until the image is dropped in */
    transition: transform 0.3s ease;
}
.founder__photo:hover { transform: rotate(0); }
.founder__photo--missing {
    /* on src-load failure, render a clean mist-coloured placeholder
       (hides any alt text the browser might otherwise show) */
    color: transparent;
    font-size: 0;
}
.founder__body { padding-top: 0.25rem; }
.founder__name {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--ocean-blue);
    margin-bottom: 0.5rem;
}
.founder__bio {
    font-size: 0.95rem;
    color: var(--soil);
    max-width: 50ch;
    line-height: 1.6;
}

/* Honeypot field — hidden from humans, present for bots to auto-fill */
.enroll-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Children section — fieldset that holds 1 or more child rows + add button */
.enroll-form__children {
    border: 1px dashed rgba(246, 242, 236, 0.25);
    border-radius: 10px;
    padding: 1rem 1.25rem 1.25rem;
    margin: 0;
}
.enroll-form__children legend {
    padding: 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--powder-blue);
    letter-spacing: 0.04em;
}
.enroll-form__child-row {
    display: grid;
    grid-template-columns: 1fr 110px auto;
    gap: 0.85rem;
    align-items: end;
    margin-top: 0.6rem;
}
.enroll-form__child-row label {
    margin: 0; /* override the form's default vertical gap */
}
.enroll-form__remove-child {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(246, 242, 236, 0.12);
    color: var(--cream);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: center;
    margin-bottom: 2px;
}
.enroll-form__remove-child:hover {
    background: var(--clay);
}
.enroll-form__add-child {
    margin-top: 0.85rem;
    color: var(--powder-blue);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.4rem 0;
    transition: color 0.2s ease;
}
.enroll-form__add-child:hover {
    color: var(--cream);
}
@media (max-width: 560px) {
    .enroll-form__child-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .enroll-form__remove-child {
        justify-self: end;
    }
}

/* Success / error message boxes after the form */
.enroll-result {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 60ch;
}
.enroll-result--success {
    background: rgba(246, 242, 236, 0.12);
    border: 1px solid rgba(246, 242, 236, 0.35);
    color: var(--cream);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}
.enroll-result--error {
    background: rgba(196, 132, 106, 0.18);
    border: 1px solid var(--clay);
    color: var(--cream);
}
.enroll-result--error a {
    color: var(--cream);
    text-decoration: underline;
}

/* Practical note (under-3 line) inside the enrollment section */
.enroll-note {
    font-size: 0.92rem;
    color: rgba(200, 212, 214, 0.85); /* powder-blue at lower opacity */
    border-left: 2px solid var(--mist);
    padding: 0.5rem 0 0.5rem 1rem;
    max-width: 60ch;
    margin-top: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .nav__links { display: none; }
    .section__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section__sticky-title {
        position: static;
    }
    .activities {
        grid-template-columns: repeat(2, 1fr);
    }
    .price-cards {
        grid-template-columns: 1fr;
    }
    .enroll-form { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr; }
    .contrib--two-col { grid-template-columns: 1fr; }
    .hero__logotype { width: 90%; }
}
@media (max-width: 560px) {
    .activities { grid-template-columns: 1fr; }
    .nav__inner { gap: 0.75rem; }
    .lang-toggle__option { padding: 0.35rem 0.65rem; }
    .founder {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .founder__photo { width: 160px; }
}

/* ============================================================
   REDUCED MOTION — respect users' preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .tagline-strip__track { animation: none; }
}
