/* ================================================================
   SASHAKT BONE - Patient Support Program
   Stylesheet
   ----------------------------------------------------------------
   Aesthetic:
     Warm clinical / editorial healthcare.
     Palette taken from the BONISTA PF logo:
       - Terracotta primary, deep black, cream paper, ink body.
     Font: Manrope (Google), 300–800.
   ================================================================ */

/* ----------------------------------------------------------------
   1. Design tokens
---------------------------------------------------------------- */
:root {
    /* Palette */
    --c-terra:        #B0432F;    /* primary brand */
    --c-terra-deep:   #8C3322;    /* hover / active */
    --c-terra-soft:   #E9C6BC;    /* light tint */
    --c-terra-50:     #FBEEEA;    /* almost-white tint */

    --c-ink:          #1A1A1A;    /* near-black headings */
    --c-body:         #2D2926;    /* body text */
    --c-muted:        #6B5F55;    /* secondary text */
    --c-line:         #E8DDCE;    /* hairline borders */

    --c-cream:        #FAF6F1;    /* page tint */
    --c-cream-2:      #F2EBE0;    /* alt section */
    --c-white:        #FFFFFF;

    --c-navy:         #18386C;    /* Sashakt-Bone accent (used sparingly) */
    --c-success:      #2D7A4E;
    --c-danger:       #C0392B;

    /* Type */
    --ff:             'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    /* Spacing scale */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 20px;
    --s-6: 24px;
    --s-8: 32px;
    --s-10: 40px;
    --s-12: 48px;
    --s-16: 64px;
    --s-20: 80px;
    --s-24: 96px;

    /* Radii */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-pill: 999px;

    /* Shadows */
    --sh-card: 0 1px 2px rgba(26,26,26,0.04), 0 6px 18px rgba(26,26,26,0.04);
    --sh-lift: 0 4px 12px rgba(26,26,26,0.06), 0 20px 50px rgba(26,26,26,0.10);
    --sh-modal: 0 40px 100px rgba(0,0,0,0.32), 0 12px 28px rgba(0,0,0,0.18);

    --container-max: 1180px;
}

/* ----------------------------------------------------------------
   2. Reset / base
---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--ff);
    color: var(--c-body);
    background: var(--c-white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-terra); text-decoration: none; }
a:hover { color: var(--c-terra-deep); }
button { font-family: inherit; }

h1, h2, h3, h4 {
    color: var(--c-ink);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 0 0 var(--s-4);
    line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 var(--s-4); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.center { text-align: center; }
.mt-32 { margin-top: var(--s-8); }
.text-accent { color: var(--c-terra); }


/* ----------------------------------------------------------------
   3. Buttons
---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--c-ink);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
    white-space: nowrap;
}
.btn:disabled {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
}

.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

.btn--primary {
    background: var(--c-terra);
    color: var(--c-white);
    border-color: var(--c-terra);
}
.btn--primary:hover {
    background: var(--c-terra-deep);
    border-color: var(--c-terra-deep);
    color: var(--c-white);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--c-ink);
    border-color: var(--c-ink);
}
.btn--ghost:hover {
    background: var(--c-ink);
    color: var(--c-white);
}

.btn--white {
    background: var(--c-white);
    color: var(--c-terra);
    border-color: var(--c-white);
}
.btn--white:hover {
    background: var(--c-cream);
    color: var(--c-terra-deep);
    transform: translateY(-1px);
}


/* ----------------------------------------------------------------
   4. Top bar
---------------------------------------------------------------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-line);
}
.topbar__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 84px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.brand__logo { height: 60px; width: auto; }
.brand__divider {
    width: 1px;
    height: 34px;
    background: var(--c-line);
}
.brand__partner-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 28px;
    font-size: 0.9rem;
}
.nav a {
    color: var(--c-ink);
    font-weight: 600;
    transition: color .15s ease;
}
.nav a:hover { color: var(--c-terra); }

.nav__cta { display: none; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-ink);
    cursor: pointer;
    box-shadow: var(--sh-card);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.topbar.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.topbar.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.topbar.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ----------------------------------------------------------------
   5. Eyebrow / section heads
---------------------------------------------------------------- */
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-terra);
    margin-bottom: var(--s-3);
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--light  { color: var(--c-terra-soft); }

.section {
    padding: clamp(56px, 8vw, 96px) 0;
}
.section--alt  { background: var(--c-cream); }
.section--dark { background: var(--c-ink); color: #DDD3C7; }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--c-white); }

.section__head {
    max-width: 760px;
    margin: 0 auto var(--s-12);
    text-align: center;
}
.section__sub {
    color: var(--c-muted);
    font-size: 1.05rem;
    margin: 0;
}
.section__head--light .section__sub,
.section__sub--light { color: rgba(255,255,255,0.7); }


/* ----------------------------------------------------------------
   6. Hero
---------------------------------------------------------------- */
.hero {
    position: relative;
    background:
        radial-gradient(circle at 88% 18%, var(--c-terra-50) 0%, transparent 45%),
        radial-gradient(circle at 12% 84%, var(--c-cream-2) 0%, transparent 50%),
        var(--c-cream);
    padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
    overflow: hidden;
}
.hero::before {
    /* faint diagonal hairline */
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg, transparent 49%, var(--c-line) 49%, var(--c-line) 51%, transparent 51%);
    background-size: 36px 36px;
    opacity: 0.18;
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__title {
    font-size: clamp(2.1rem, 4.8vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: var(--s-5);
}
.hero__lead {
    font-size: 1.1rem;
    color: var(--c-muted);
    max-width: 540px;
    margin-bottom: var(--s-8);
}
.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: var(--s-10);
}
.hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    color: var(--c-body);
    font-weight: 500;
    font-size: 0.97rem;
}
.hero__bullets .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--c-terra);
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: 1px;
}

.hero__art {
    position: relative;
    padding: 32px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lift);
    transform: rotate(-1deg);
}
.hero__art img {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}
.hero__tag {
    margin-top: 14px;
    text-align: center;
    font-style: italic;
    color: var(--c-navy);
    font-weight: 600;
}


/* ----------------------------------------------------------------
   7. Grids — challenges, pillars
---------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--challenges { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--pillars    { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--2col       { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }

.card {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 24px;
}
.card--lg { padding: 32px; }

.challenge {
    position: relative;
    padding-top: 56px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.challenge:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lift);
}
.challenge__num {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--c-terra);
}
.challenge h3 { margin-bottom: 8px; }
.challenge p  { color: var(--c-muted); margin: 0; font-size: 0.95rem; }

.pillar {
    text-align: center;
    padding: 28px 20px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lift);
    border-color: var(--c-terra-soft);
}
.pillar__icon {
    font-size: 1.7rem;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-terra-50);
    border-radius: 50%;
}
.pillar p { color: var(--c-muted); margin: 0; font-size: 0.95rem; }


.callout {
    margin-top: var(--s-10);
    padding: 24px 28px;
    border-left: 4px solid var(--c-terra);
    background: var(--c-cream);
    border-radius: 0 var(--r-md) var(--r-md) 0;
}
.callout p { margin: 0; font-size: 1.05rem; color: var(--c-ink); }


/* ----------------------------------------------------------------
   8. Enrolment journey
---------------------------------------------------------------- */
.journey {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: journey;
    display: grid;
    gap: 28px;
}
.journey__step {
    display: grid;
    grid-template-columns: 64px 1fr 200px;
    align-items: center;
    gap: 24px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 20px 24px;
}
.journey__step--reverse { grid-template-columns: 64px 1fr; }

.journey__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-terra);
    color: var(--c-white);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.journey__body h3 { margin-bottom: 4px; }
.journey__body p  { margin: 0; color: var(--c-muted); }
.journey__art img {
    border-radius: var(--r-md);
    max-height: 140px;
    width: auto;
    margin-left: auto;
}


/* ----------------------------------------------------------------
   9. Device (dark section)
---------------------------------------------------------------- */
.device {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.device__art {
    background: var(--c-white);
    border-radius: var(--r-lg);
    padding: 24px;
}
.device__parts {
    display: grid;
    gap: 16px;
}
.part-card {
    padding: 20px 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-md);
}
.part-card h4 {
    color: var(--c-terra-soft);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.part-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #DDD3C7;
}
.part-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 0.93rem;
}
.part-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--c-terra);
    border-radius: 50%;
}


/* ----------------------------------------------------------------
   10. How-to-use steps
---------------------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.step {
    position: relative;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 28px 24px 24px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-lift);
}
.step__num {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-ink);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.step h3 {
    margin-top: 8px;
    margin-bottom: 12px;
    color: var(--c-terra-deep);
}
.step ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.93rem;
    color: var(--c-body);
}
.step ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}
.step ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--c-terra);
    border-radius: 50%;
}
.step__art {
    margin-top: 16px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-cream);
}
.step__art img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: 8px;
}

.note-strip {
    margin-top: var(--s-10);
    padding: 20px 24px;
    background: var(--c-ink);
    color: #DDD3C7;
    border-radius: var(--r-md);
    border-left: 4px solid var(--c-terra);
}
.note-strip strong { color: var(--c-white); }
.note-strip em { color: var(--c-terra-soft); font-style: normal; font-weight: 600; }


/* ----------------------------------------------------------------
   11. Description lists (storage / troubleshooting)
---------------------------------------------------------------- */
.card__title {
    color: var(--c-terra-deep);
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-4);
    border-bottom: 1px solid var(--c-line);
}
.dl {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dl li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--c-line);
    font-size: 0.95rem;
    color: var(--c-body);
}
.dl li:last-child { border-bottom: 0; }
.dl strong { color: var(--c-ink); }


/* ----------------------------------------------------------------
   12. CTA banner
---------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--c-terra) 0%, var(--c-terra-deep) 100%);
    color: var(--c-white);
    padding: clamp(48px, 7vw, 80px) 0;
    text-align: center;
}
.cta-banner h2 {
    color: var(--c-white);
    margin-bottom: var(--s-3);
}
.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: var(--s-8);
}


/* ----------------------------------------------------------------
   13. Footer
---------------------------------------------------------------- */
.footer {
    background: var(--c-ink);
    color: #C9BFB3;
    padding: 56px 0 0;
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 18px;
}
.footer__logo {
    height: 56px;
    width: auto;
    background: var(--c-white);
    padding: 8px 14px;
    border-radius: var(--r-md);
}
.footer__tag {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    max-width: 430px;
}
.footer__tag strong,
.footer__tag span {
    display: block;
}
.footer__tag strong {
    color: var(--c-white);
    font-size: 1.04rem;
    font-weight: 800;
}

.footer__initiative {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer__initiative-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
    font-weight: 500;
}
.footer__initiative-logo {
    height: 40px;
    width: auto;
    background: var(--c-white);
    padding: 6px 12px;
    border-radius: var(--r-md);
    object-fit: contain;
}

.footer__bottom {
    padding: 18px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
}
.footer__address {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 auto 16px;
    max-width: 640px;
}
.footer__address strong {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}


/* ----------------------------------------------------------------
   14. Modal
---------------------------------------------------------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
}
.modal__card {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 32px auto;
    background: var(--c-white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-modal);
    overflow: hidden;
    animation: modalIn .25s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--c-muted);
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
}
.modal__close:hover { background: var(--c-cream); color: var(--c-ink); }

.modal__head {
    padding: 32px 32px 16px;
    text-align: center;
    border-bottom: 1px solid var(--c-line);
}
.modal__logo {
    height: 60px;
    margin: 0 auto 12px;
}
.modal__head h2 {
    margin-bottom: 6px;
    font-size: 1.5rem;
}
.modal__head p {
    color: var(--c-muted);
    font-size: 0.95rem;
    margin: 0;
}


/* ----------------------------------------------------------------
   15. Form
---------------------------------------------------------------- */
.form {
    padding: 24px 32px 32px;
}
.form__section {
    border: none;
    padding: 0 0 var(--s-6);
    margin: 0 0 var(--s-6);
    border-bottom: 1px dashed var(--c-line);
}
.form__section:last-of-type { border-bottom: 0; }
.form__section legend {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-terra);
    margin-bottom: var(--s-4);
    padding: 0;
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}
.form__row:has(.form__field--sm) {
    grid-template-columns: 1fr 110px 1fr;
}
.form__row.form__row--location {
    grid-template-columns: 1fr 1fr 130px;
}
.form__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}
.form__field--sm { max-width: 100%; }

.form__field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-ink);
    margin-bottom: 6px;
}
.req { color: var(--c-danger); }

.form__field input,
.form__field select,
.form__field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-white);
    font: inherit;
    color: var(--c-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    outline: none;
    border-color: var(--c-terra);
    box-shadow: 0 0 0 3px var(--c-terra-50);
}
.form__field textarea { resize: vertical; min-height: 70px; }
.form__field input[type="file"] {
    padding: 10px;
    background: var(--c-cream);
    cursor: pointer;
}

.hint {
    color: var(--c-muted);
    font-size: 0.82rem;
    margin-top: 6px;
}
.form__err {
    color: var(--c-danger);
    font-size: 0.82rem;
    margin-top: 6px;
    min-height: 1em;
}
.has-error input,
.has-error select,
.has-error textarea { border-color: var(--c-danger); }

.file-preview {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.file-preview li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--c-cream-2);
    border-radius: var(--r-pill);
    font-size: 0.82rem;
    color: var(--c-ink);
}
.file-preview .ico {
    width: 14px;
    height: 14px;
    background: var(--c-terra);
    border-radius: 3px;
    display: inline-block;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-cream);
    cursor: pointer;
    transition: border-color .15s ease;
}
.checkbox:has(input:checked) { border-color: var(--c-terra); background: var(--c-terra-50); }
.checkbox input { margin-top: 3px; }
.checkbox span { font-size: 0.9rem; color: var(--c-body); }

.form__consent { margin-bottom: var(--s-6); }
.form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: var(--s-4);
}
.form__foot {
    color: var(--c-muted);
    font-size: 0.85rem;
    margin: 0;
}

.otp-step {
    margin-top: var(--s-3);
}
.otp-step__box {
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-cream);
    padding: 16px;
}
.otp-step__message {
    color: var(--c-muted);
    font-size: 0.9rem;
    margin: 0 0 14px;
}
.otp-step__row {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    margin-bottom: 0;
}
.otp-step__row .form__field {
    margin-bottom: 0;
}
.otp-step__row input,
.otp-step__resend .btn {
    min-height: 50px;
}
.otp-step__resend {
    justify-content: flex-end;
    padding-top: 23px;
}
.otp-step__resend .btn {
    padding-right: 22px;
    padding-left: 22px;
}


/* ----------------------------------------------------------------
   16. Success view inside modal
---------------------------------------------------------------- */
.modal__view--success { padding: 48px 32px 32px; }
.success { text-align: center; }
.success__tick {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--c-success);
    color: var(--c-white);
    font-size: 2.5rem;
    line-height: 72px;
    margin: 0 auto var(--s-6);
}
.success h2 { margin-bottom: 10px; }
.success p { color: var(--c-muted); margin-bottom: var(--s-8); }


/* ----------------------------------------------------------------
   13b. Video Guide Section
---------------------------------------------------------------- */
.section--video {
    padding-top: 0;
}

.video-container {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-8);
}

.lang-selector {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--s-3);
    width: 100%;
}

.lang-btn {
    background: var(--c-cream);
    color: var(--c-body);
    border: 2px solid var(--c-line);
    padding: 12px 28px;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.lang-btn:hover {
    border-color: var(--c-terra-soft);
    color: var(--c-terra);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26,26,26,0.04);
}

.lang-btn.active {
    background: var(--c-terra);
    border-color: var(--c-terra);
    color: var(--c-white);
    box-shadow: 0 6px 20px rgba(176, 67, 47, 0.24);
}

.video-player-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--c-ink);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-lift);
    border: 1px solid var(--c-line);
}

.video-player-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/* ----------------------------------------------------------------
   17. Responsive
---------------------------------------------------------------- */
@media (max-width: 900px) {
    .menu-toggle { display: inline-flex; }
    .topbar__cta { display: none; }
    .nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 24px;
        left: 24px;
        display: none;
        flex-direction: column;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--c-line);
        border-radius: var(--r-lg);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--sh-lift);
    }
    .topbar.is-menu-open .nav { display: flex; }
    .nav a {
        display: block;
        padding: 12px 14px;
        border-radius: var(--r-md);
    }
    .nav a:hover {
        background: var(--c-terra-50);
    }
    .nav__cta {
        display: inline-flex;
        width: 100%;
        margin-top: 4px;
    }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__art { transform: none; margin-top: 12px; }
    .device { grid-template-columns: 1fr; gap: 28px; }
    .journey__step,
    .journey__step--reverse {
        grid-template-columns: 56px 1fr;
    }
    .journey__art { display: none; }
    .form__row { grid-template-columns: 1fr; }
    .form__row:has(.form__field--sm) { grid-template-columns: 1fr; }
    .form__row.form__row--location { grid-template-columns: 1fr; }
    .otp-step__row { grid-template-columns: 1fr; gap: 10px; }
    .otp-step__resend { align-items: stretch; padding-top: 0; }
    .otp-step__resend .btn { width: 100%; }
    .modal { padding: 12px; }
    .modal__head, .form { padding-left: 20px; padding-right: 20px; }
    .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
    .topbar__inner { justify-content: space-between; }
    .brand { gap: 10px; }
    .brand__logo { height: 46px; }
    .brand__divider { height: 28px; }
    .brand__partner-logo { height: 34px; }
    h1 { font-size: 2rem; }
    .form__actions { align-items: stretch; }
    .form__actions .btn { width: 100%; }
    .journey__num { width: 44px; height: 44px; font-size: 1.1rem; }
    .lang-btn {
        width: calc(50% - 6px);
        padding: 10px 16px;
        font-size: 0.92rem;
    }
    .video-container {
        gap: var(--s-5);
    }
    .footer {
        padding-top: 42px;
    }
    .footer__inner {
        align-items: center;
        gap: 24px;
        padding-bottom: 32px;
        text-align: center;
    }
    .footer__brand,
    .footer__initiative {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }
    .footer__logo {
        width: 76px;
        height: 48px;
        padding: 8px 12px;
        object-fit: contain;
    }
    .footer__tag {
        max-width: 280px;
        margin: 0 auto;
    }
    .footer__tag strong {
        font-size: 1.08rem;
        margin-bottom: 2px;
    }
    .footer__initiative-logo {
        order: 2;
        height: 48px;
        max-width: 78px;
        padding: 7px 9px;
    }
    .footer__initiative-text {
        order: 1;
        max-width: 260px;
        line-height: 1.45;
    }
    .footer__bottom {
        padding: 20px 0;
    }
    .footer__address {
        max-width: 320px;
        margin: 0 auto 16px;
    }
    .footer__bottom small {
        display: block;
        max-width: 270px;
        margin: 0 auto;
        line-height: 1.65;
    }
}
