/* =====================================================================
   BetterHealthier.life landing page (index.php)
   Stand-alone stylesheet for the 2026 redesign.
   style-desktop.css is left untouched for thankyou.php / privacypolicy.php
   ===================================================================== */

:root {
    --bh-leaf: #163A2C;        /* deep rosemary green: headings, dark band */
    --bh-leaf-2: #24563F;      /* hover / links */
    --bh-lime: #A6CE39;        /* brand lime (refined from #A2CC41) */
    --bh-lime-soft: #EAF3D2;   /* soft lime tint */
    --bh-lemon: #F6D743;       /* lemon accent */
    --bh-paper: #F4F8EE;       /* page background */
    --bh-ink: #1F2A24;         /* body text */
    --bh-muted: #56635B;       /* secondary text */
    --bh-line: #D9E3CF;        /* borders */
    --bh-white: #FFFFFF;
    --bh-error: #C62828;
    --bh-error-soft: #FDEEEE;

    --bh-font-display: 'Sora', 'Figtree', Arial, sans-serif;
    --bh-font-body: 'Figtree', 'Segoe UI', Arial, sans-serif;

    --bh-wrap: 1200px;
    --bh-gutter: 24px;
    --bh-nav-h: 76px;
    --bh-ease: cubic-bezier(.2, .7, .2, 1);
    --bh-shadow-card: 0 34px 70px -34px rgba(22, 58, 44, .45), 0 10px 24px -14px rgba(22, 58, 44, .22);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--bh-paper);
    color: var(--bh-ink);
    font-family: var(--bh-font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--bh-leaf-2);
}
h1, h2, h3 {
    font-family: var(--bh-font-display);
    color: var(--bh-leaf);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}
p {
    margin: 0;
}
[id] {
    scroll-margin-top: calc(var(--bh-nav-h) + 16px);
}
:focus-visible {
    outline: 3px solid var(--bh-lime);
    outline-offset: 3px;
}
html.bh-modal-open {
    overflow: hidden;
}
.bh-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.bh-wrap {
    width: 100%;
    max-width: calc(var(--bh-wrap) + (var(--bh-gutter) * 2));
    margin: 0 auto;
    padding: 0 var(--bh-gutter);
}

/* ---------- Buttons ---------- */
.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    border: 0;
    border-radius: 999px;
    background: var(--bh-lime);
    color: var(--bh-leaf);
    font-family: var(--bh-font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, transform .25s var(--bh-ease), box-shadow .25s ease;
}
.bh-btn:hover {
    background: var(--bh-leaf);
    color: var(--bh-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(22, 58, 44, .6);
}
.bh-btn:active {
    transform: translateY(0) scale(.98);
}
.bh-btn--small {
    padding: 10px 20px;
    font-size: .9375rem;
}
.bh-btn--dark {
    background: var(--bh-leaf);
    color: var(--bh-white);
}
.bh-btn--dark:hover {
    background: var(--bh-lime);
    color: var(--bh-leaf);
}
.bh-textlink {
    display: inline-block;
    color: var(--bh-leaf);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--bh-lime);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: text-underline-offset .2s ease, color .2s ease;
}
.bh-textlink:hover {
    color: var(--bh-leaf-2);
    text-underline-offset: 8px;
}
.bh-textbtn {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

/* ---------- Navigation ---------- */
.bh-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color .3s ease, box-shadow .3s ease;
}
.bh-nav.is-scrolled {
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    box-shadow: 0 1px 0 var(--bh-line), 0 10px 30px -20px rgba(22, 58, 44, .35);
}
.bh-nav__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--bh-nav-h);
}
.bh-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bh-leaf);
    text-decoration: none;
    font-family: var(--bh-font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    margin-right: auto;
}
.bh-brand svg {
    width: 34px;
    height: 34px;
    flex: none;
}
.bh-nav__links {
    display: flex;
    gap: 28px;
}
.bh-nav__links a {
    color: var(--bh-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: .9875rem;
    position: relative;
    padding: 4px 0;
}
.bh-nav__links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--bh-lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--bh-ease);
}
.bh-nav__links a:hover::after {
    transform: scaleX(1);
}

/* ---------- Hero ---------- */
.bh-hero {
    position: relative;
    z-index: 2;
    padding: calc(var(--bh-nav-h) + 56px) 0 96px;
}
.bh-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(244, 248, 238, .71) 0%, rgba(244, 248, 238, .59) 40%, rgba(244, 248, 238, 0) 100%),
        url('../images/background1.jpg');
    background-size: cover;
    background-position: center 30%;
}
.bh-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: 64px;
    align-items: start;
}
.bh-hero__copy {
    padding-top: 28px;
}
.bh-hero__title {
    font-size: clamp(1.806rem, 0.85rem + 2.89vw, 3.294rem); /* 15% smaller than clamp(2.125rem, 1rem + 3.4vw, 3.875rem) */
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 700;
}
.bh-hero__title .bh-line {
    display: inline-block;
}
.bh-hero__lead {
    margin-top: 28px;
    max-width: 34em;
    font-size: 1.1875rem;
    color: var(--bh-muted);
}
.bh-checks {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.bh-checks li {
    position: relative;
    padding-left: 38px;
    font-weight: 600;
    color: var(--bh-ink);
}
.bh-checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bh-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163A2C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.bh-hero__more {
    margin-top: 36px;
}
.bh-citrus {
    position: relative;
    z-index: 3;
    width: 380px;
    margin: 36px 0 0 -36px;
    pointer-events: none;
    filter: drop-shadow(0 22px 22px rgba(22, 58, 44, .18));
}

/* ---------- Opt-in form card ---------- */
.bh-form-card {
    position: relative;
    background: var(--bh-white);
    border-radius: 24px;
    padding: 34px 34px 28px;
    box-shadow: var(--bh-shadow-card);
}
.bh-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 2px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--bh-lime), var(--bh-lemon));
}
.bh-form-card__title {
    font-size: 1.875rem;
    line-height: 1.1;
}
.bh-form-card__sub {
    margin: 10px 0 24px;
    color: var(--bh-muted);
    font-size: 1rem;
    line-height: 1.55;
}
.bh-alert {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-left: 4px solid var(--bh-error);
    border-radius: 10px;
    background: var(--bh-error-soft);
    color: #8E1B1B;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.45;
}
.bh-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.bh-field {
    margin-bottom: 16px;
}
.bh-field label,
.bh-field .fieldname {
    display: block;
    margin: 0 0 6px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bh-ink);
    line-height: 1.3;
}
.bh-req {
    color: var(--bh-leaf-2);
}
.bh-form input[type="text"],
.bh-form input[type="email"],
.bh-form input[type="tel"],
.bh-form input[type="number"],
.bh-form .custom-select {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 16px;
    border: 1.5px solid var(--bh-line);
    border-radius: 12px;
    background: #FAFCF7;
    color: var(--bh-ink);
    font-family: var(--bh-font-body);
    font-size: 1rem;  /* 16px keeps iOS from zooming in */
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.bh-form input::placeholder {
    color: #8C978F;
}
.bh-form input:hover,
.bh-form .custom-select:hover {
    border-color: #BFCDB2;
}
.bh-form input:focus,
.bh-form .custom-select:focus {
    border-color: var(--bh-leaf-2);
    background: var(--bh-white);
    box-shadow: 0 0 0 4px rgba(166, 206, 57, .35);
}
.bh-select {
    position: relative;
}
.bh-form .custom-select {
    padding-right: 44px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163A2C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}
.bh-field__error {
    display: none;
    margin-top: 6px;
    color: var(--bh-error);
    font-size: .8125rem;
    font-weight: 600;
}
.bh-field.is-invalid input,
.bh-field.is-invalid .custom-select {
    border-color: var(--bh-error);
    background: var(--bh-error-soft);
}
.bh-field.is-invalid input:focus {
    box-shadow: 0 0 0 4px rgba(198, 40, 40, .18);
}
.bh-field.is-invalid .bh-field__error {
    display: block;
}

/* Captcha */
.bh-captcha__row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bh-captcha__sum {
    flex: none;
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--bh-lime-soft);
    color: var(--bh-leaf);
    font-family: var(--bh-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.bh-form .bh-captcha__row input[type="number"] {
    width: 110px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    -moz-appearance: textfield;
}
.bh-form input[type="number"]::-webkit-outer-spin-button,
.bh-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Submit */
.bh-form #submitbutton {
    display: block;
    width: 100%;
    height: 58px;
    margin-top: 8px;
    border: 0;
    border-radius: 14px;
    background: var(--bh-lime);
    color: var(--bh-leaf);
    font-family: var(--bh-font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .25s ease, color .25s ease, transform .2s var(--bh-ease), box-shadow .25s ease;
}
.bh-form #submitbutton:hover {
    background: var(--bh-leaf);
    color: var(--bh-white);
    box-shadow: 0 14px 26px -14px rgba(22, 58, 44, .7);
    transform: translateY(-1px);
}
.bh-form #submitbutton:active {
    transform: scale(.985);
}
.bh-form #submitbutton:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}
.bh-consent {
    margin-top: 16px;
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--bh-muted);
}
.bh-consent a {
    color: inherit;
}
.bh-required-note {
    margin-top: 8px;
    font-size: .8125rem;
    color: var(--bh-muted);
}

/* ---------- Sections (shared) ---------- */
.bh-section {
    position: relative;
    padding: 120px 0;
}
.bh-section__head {
    max-width: 640px;
    margin-bottom: 56px;
}
.bh-section__head h2,
.bh-h2 {
    font-size: clamp(1.75rem, 1.15rem + 2vw, 2.625rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}
.bh-section__head p {
    margin-top: 16px;
    font-size: 1.125rem;
    color: var(--bh-muted);
}

/* ---------- Why switch (pillars) ---------- */
.bh-why {
    z-index: 1;
}
.bh-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}
.bh-pillar:nth-child(2) {
    margin-top: 64px;
}
.bh-pillar__img {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bh-lime-soft);
}
.bh-pillar__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--bh-ease);
}
.bh-pillar:hover .bh-pillar__img img {
    transform: scale(1.05);
}
.bh-pillar h3 {
    margin-top: 28px;
    font-size: 1.625rem;
    line-height: 1.15;
}
.bh-pillar p {
    margin-top: 12px;
    color: var(--bh-muted);
    max-width: 30em;
}
.bh-pillar .bh-textlink {
    margin-top: 18px;
}

/* ---------- Partner (dark band) ---------- */
.bh-partner {
    background: var(--bh-leaf);
    color: rgba(255, 255, 255, .86);
    overflow: hidden;
}
.bh-partner h2 {
    color: var(--bh-white);
}
.bh-partner__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}
.bh-partner__copy p {
    margin-top: 20px;
    max-width: 36em;
}
.bh-partner__copy h2 + p {
    margin-top: 28px;
}
.bh-partner__badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    font-size: .9375rem;
    color: rgba(255, 255, 255, .75);
}
.bh-partner__badge img {
    width: 92px;
    flex: none;
}
.bh-collage {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
}
.bh-collage__item {
    position: absolute;
    margin: 0;
}
.bh-collage__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, .08);
}
.bh-collage__item figcaption {
    position: absolute;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bh-white);
    color: var(--bh-leaf);
    font-size: .875rem;
    font-weight: 700;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45);
}
.bh-collage__item--a {
    width: 58%;
    top: 0;
    left: 0;
}
.bh-collage__item--a figcaption {
    bottom: 10%;
    left: -4%;
}
.bh-collage__item--b {
    width: 42%;
    top: 12%;
    right: 0;
}
.bh-collage__item--b figcaption {
    top: -6%;
    right: 0;
}
.bh-collage__item--c {
    width: 46%;
    bottom: 0;
    left: 40%;
}
.bh-collage__item--c figcaption {
    bottom: 4%;
    right: -2%;
}
.bh-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin: 96px 0 0;
    padding: 0;
}
.bh-stats li {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}
.bh-stats strong {
    display: block;
    font-family: var(--bh-font-display);
    font-size: clamp(2.5rem, 1.8rem + 2.2vw, 3.75rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--bh-lime);
    font-variant-numeric: tabular-nums;
}
.bh-stats span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, .78);
}

/* ---------- How it works ---------- */
.bh-how {
    background: var(--bh-white);
}
.bh-steps {
    position: relative;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin: 0;
    padding: 0;
    counter-reset: bh-step;
}
.bh-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 32px;
    right: calc(33.333% - 64px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--bh-lime) 0 10px, transparent 10px 18px);
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 1.4s var(--bh-ease) .2s;
}
.js .bh-steps[data-reveal]::before {
    transform: scaleX(0);
}
.js .bh-steps[data-reveal].is-visible::before {
    transform: scaleX(1);
}
.bh-step {
    position: relative;
    counter-increment: bh-step;
}
.bh-step::before {
    content: counter(bh-step);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bh-lemon);
    color: var(--bh-leaf);
    font-family: var(--bh-font-display);
    font-size: 1.625rem;
    font-weight: 800;
    box-shadow: 0 0 0 8px var(--bh-white);
}
.bh-step h3 {
    margin-top: 28px;
    font-size: 1.5rem;
    line-height: 1.2;
}
.bh-step p {
    margin-top: 10px;
    color: var(--bh-muted);
    max-width: 26em;
}

/* ---------- Closing CTA ---------- */
.bh-cta {
    padding: 0 0 120px;
    background: var(--bh-white);
}
.bh-cta__box {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    padding: 64px;
    border-radius: 32px;
    background: var(--bh-lime-soft);
    overflow: hidden;
}
.bh-cta__copy p {
    margin-top: 18px;
    max-width: 32em;
    font-size: 1.125rem;
    color: var(--bh-muted);
}
.bh-cta__copy .bh-btn {
    margin-top: 32px;
}
.bh-cta__img {
    aspect-ratio: 4 / 5;
    max-height: 440px;
    width: 100%;
    max-width: 360px;
    justify-self: end;
    overflow: hidden;
    border-radius: 24px;
}
.bh-cta__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% center;
}

/* ---------- Footer ---------- */
.bh-footer {
    padding: 40px 0 48px;
    border-top: 1px solid var(--bh-line);
    font-size: .875rem;
    color: var(--bh-muted);
}
.bh-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.bh-footer a {
    color: inherit;
}
.bh-footer__disclaimer {
    margin-top: 20px;
    max-width: 72em;
    font-size: .8125rem;
    line-height: 1.6;
    color: #6F7B73;
}
.bh-office {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #333333;
    color: #FFFFFF !important;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .3s ease;
}
.bh-office:hover {
    background: #707070;
}

/* ---------- Read-more modals (native <dialog>) ---------- */
.bh-modal {
    width: calc(100% - 32px);
    max-width: 680px;
    max-height: calc(100vh - 48px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: var(--bh-white);
    color: var(--bh-ink);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
    overflow: auto;
}
.bh-modal[open] {
    animation: bh-modal-in .4s var(--bh-ease);
}
.bh-modal::backdrop {
    background: rgba(22, 58, 44, .55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.bh-modal__img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}
.bh-modal__body {
    padding: 32px 40px 40px;
}
.bh-modal__body h2 {
    font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
    line-height: 1.1;
}
.bh-modal__body p {
    margin-top: 16px;
    color: var(--bh-ink);
}
.bh-modal__body .bh-btn {
    margin-top: 28px;
}
.bh-modal__note {
    font-size: .875rem;
    color: var(--bh-muted) !important;
}
.bh-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--bh-white);
    color: var(--bh-leaf);
    cursor: pointer;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35);
    transition: transform .25s var(--bh-ease);
}
.bh-modal__close:hover {
    transform: rotate(90deg);
}
.bh-modal__close svg {
    width: 18px;
    height: 18px;
}

/* =====================================================================
   Motion
   ===================================================================== */
@keyframes bh-rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}
@keyframes bh-card-in {
    from { opacity: 0; transform: translateY(40px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
@keyframes bh-drop {
    from { opacity: 0; transform: translateY(-60px) rotate(-14deg); }
    to   { opacity: 1; transform: translateY(0) rotate(-2deg); }
}
@keyframes bh-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-12px) rotate(1deg); }
}
@keyframes bh-modal-in {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

/* Hero load sequence */
.bh-hero__title .bh-line {
    animation: bh-rise .9s var(--bh-ease) both;
}
.bh-hero__title .bh-line:nth-child(1) { animation-delay: .05s; }
.bh-hero__title .bh-line:nth-child(2) { animation-delay: .17s; }
.bh-hero__title .bh-line:nth-child(3) { animation-delay: .29s; }
.bh-hero__lead   { animation: bh-rise .9s var(--bh-ease) .42s both; }
.bh-checks       { animation: bh-rise .9s var(--bh-ease) .54s both; }
.bh-hero__more   { animation: bh-rise .9s var(--bh-ease) .64s both; }
.bh-form-card    { animation: bh-card-in 1s var(--bh-ease) .3s both; }
.bh-citrus       { animation: bh-drop 1.1s var(--bh-ease) .6s both, bh-float 7s ease-in-out 1.7s infinite; }

/* Scroll reveals (only hidden when JS is running) */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s ease, transform .9s var(--bh-ease);
    transition-delay: var(--bh-delay, 0s);
}
.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
    .bh-hero__grid {
        gap: 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    }
    .bh-citrus {
        width: 320px;
    }
    .bh-partner__grid {
        gap: 48px;
    }
    .bh-cta__box {
        padding: 48px;
    }
}

@media (max-width: 900px) {
    :root {
        --bh-nav-h: 66px;
    }
    .bh-nav__links {
        display: none;
    }
    .bh-hero {
        padding: calc(var(--bh-nav-h) + 32px) 0 72px;
    }
    .bh-hero__bg {
        background-image:
            linear-gradient(180deg, rgba(244, 248, 238, .65) 0%, rgba(244, 248, 238, .71) 55%, var(--bh-paper) 100%),
            url('../images/background1.jpg');
        background-position: center top;
    }
    .bh-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .bh-hero__copy {
        padding-top: 8px;
    }
    .bh-citrus {
        width: 280px;
        margin: 20px auto -36px;
    }
    .bh-form-card {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
    .bh-section {
        padding: 88px 0;
    }
    .bh-why {
        padding-top: 88px;
    }
    .bh-section__head {
        margin-bottom: 40px;
    }
    .bh-pillars {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
        max-width: 560px;
    }
    .bh-pillar:nth-child(2) {
        margin-top: 0;
    }
    .bh-partner__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .bh-collage {
        margin: 8px auto 0;
        max-width: 420px;
    }
    .bh-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
        margin-top: 72px;
    }
    .bh-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding-left: 0;
    }
    .bh-steps::before {
        display: none;
    }
    .bh-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 31px;
        top: 76px;
        bottom: -28px;
        width: 2px;
        background: repeating-linear-gradient(180deg, var(--bh-lime) 0 10px, transparent 10px 18px);
        transform-origin: top;
        transition: transform 1s var(--bh-ease) .3s;
    }
    .js .bh-steps[data-reveal] .bh-step::after {
        transform: scaleY(0);
    }
    .js .bh-steps[data-reveal].is-visible .bh-step::after {
        transform: scaleY(1);
    }
    .bh-step {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 24px;
    }
    .bh-step::before {
        grid-row: span 2;
    }
    .bh-step h3 {
        margin-top: 14px;
    }
    .bh-cta {
        padding-bottom: 88px;
    }
    .bh-cta__box {
        grid-template-columns: minmax(0, 1fr);
        padding: 40px 28px 0;
        gap: 36px;
    }
    .bh-cta__img {
        justify-self: center;
        max-width: 300px;
        aspect-ratio: 1 / 1;
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 560px) {
    :root {
        --bh-gutter: 16px;
    }
    body {
        font-size: 1rem;
    }
    .bh-brand {
        font-size: 1.0625rem;
        gap: 8px;
    }
    .bh-brand svg {
        width: 28px;
        height: 28px;
    }
    .bh-btn--small {
        padding: 9px 16px;
        font-size: .875rem;
    }
    .bh-hero__lead {
        font-size: 1.0625rem;
        margin-top: 20px;
    }
    .bh-checks {
        margin-top: 24px;
    }
    .bh-hero__more {
        margin-top: 24px;
    }
    .bh-citrus {
        width: 240px;
    }
    .bh-form-card {
        padding: 28px 20px 22px;
        border-radius: 20px;
    }
    .bh-form-card::before {
        left: 20px;
        right: 20px;
    }
    .bh-form-card__title {
        font-size: 1.625rem;
    }
    .bh-field-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .bh-section {
        padding: 72px 0;
    }
    .bh-why {
        padding-top: 72px;
    }
    .bh-collage__item figcaption {
        font-size: .75rem;
        padding: 6px 10px;
    }
    .bh-stats {
        margin-top: 56px;
    }
    .bh-stats span {
        font-size: .9375rem;
    }
    .bh-cta {
        padding-bottom: 72px;
    }
    .bh-cta__box {
        border-radius: 24px;
        padding: 32px 20px 0;
    }
    .bh-cta__copy .bh-btn {
        width: 100%;
    }
    .bh-modal {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        border-radius: 20px;
    }
    .bh-modal__body {
        padding: 24px 22px 28px;
    }
    .bh-modal__body .bh-btn {
        width: 100%;
    }
    .bh-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =====================================================================
   Privacy policy page (privacypolicy.php)
   ===================================================================== */
.bh-legal-hero {
    padding: calc(var(--bh-nav-h) + 72px) 0 64px;
    background: linear-gradient(180deg, var(--bh-lime-soft) 0%, var(--bh-paper) 100%);
}
.bh-legal-hero h1 {
    font-size: clamp(2.125rem, 1.3rem + 2.8vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    animation: bh-rise .9s var(--bh-ease) .05s both;
}
.bh-legal-hero__meta {
    margin-top: 14px;
    color: var(--bh-muted);
    font-weight: 500;
    animation: bh-rise .9s var(--bh-ease) .2s both;
}
.bh-legal {
    padding: 0 0 120px;
}
.bh-legal__grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}
.bh-legal__toc {
    position: sticky;
    top: calc(var(--bh-nav-h) + 32px);
    font-size: .9375rem;
}
.bh-legal__toc-title {
    margin-bottom: 12px;
    font-family: var(--bh-font-display);
    font-weight: 700;
    color: var(--bh-leaf);
}
.bh-legal__toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--bh-line);
}
.bh-legal__toc a {
    display: block;
    margin-left: -2px;
    padding: 7px 0 7px 16px;
    border-left: 2px solid transparent;
    color: var(--bh-muted);
    text-decoration: none;
    line-height: 1.35;
    transition: color .2s ease, border-color .2s ease;
}
.bh-legal__toc a:hover {
    color: var(--bh-leaf);
}
.bh-legal__toc a.is-active {
    color: var(--bh-leaf);
    font-weight: 600;
    border-left-color: var(--bh-lime);
}
.bh-legal__body {
    max-width: 820px;
    padding: 56px 64px 64px;
    border: 1px solid var(--bh-line);
    border-radius: 24px;
    background: var(--bh-white);
    animation: bh-card-in 1s var(--bh-ease) .25s both;
}
.bh-legal__body p {
    margin-top: 14px;
}
.bh-legal__body > p:first-child {
    margin-top: 0;
}
.bh-legal__body h2 {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--bh-line);
    font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}
.bh-legal__body h3 {
    margin-top: 28px;
    font-size: 1.1875rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.bh-legal__body h4 {
    margin-top: 24px;
    font-family: var(--bh-font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--bh-ink);
}
.bh-legal__body h3 + h4 {
    margin-top: 14px;
}
.bh-legal__body ul {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}
.bh-legal__body li {
    position: relative;
    margin-top: 8px;
    padding-left: 24px;
}
.bh-legal__body li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bh-lime);
}
.bh-legal__body li > p:first-child {
    margin-top: 0;
}
.bh-legal__body a {
    color: var(--bh-leaf-2);
    text-decoration-color: var(--bh-lime);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    word-break: break-word;
}

@media (max-width: 1000px) {
    .bh-legal__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .bh-legal__toc {
        display: none;
    }
    .bh-legal__body {
        margin: 0 auto;
    }
}
@media (max-width: 560px) {
    .bh-legal-hero {
        padding: calc(var(--bh-nav-h) + 40px) 0 40px;
    }
    .bh-legal {
        padding-bottom: 72px;
    }
    .bh-legal__body {
        padding: 32px 22px 40px;
        border-radius: 20px;
    }
    .bh-legal__body h2 {
        margin-top: 40px;
        padding-top: 28px;
    }
}
