/* ==========================================================================
   Himaalayaa Paints – Google Ads Landing Page
   Colours & type taken from the Himaalayaa v4 Figma (Brand colours)
   ========================================================================== */

:root {
    /* Brand palette (Figma) */
    --teal-900: #09282A;
    --teal-800: #013A3D;
    --teal-700: #0B4A4E;
    --orange: #F9801B;
    --orange-600: #E36E0C;
    --muted: #5C6E70;
    --tint-200: #D4E3E3;
    --tint-150: #D9E9EA;
    --tint-100: #EDF5F5;
    --tint-50: #F7FAFA;
    --white: #FFFFFF;
    --danger: #D93A2B;
    --success: #1E8E5A;
    --whatsapp: #25D366;

    /* Type */
    --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-h3: 1.1875rem;
    --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem);
    --fs-h1: clamp(2.125rem, 1.3rem + 3.4vw, 3.5rem);

    /* Layout */
    --container: 1200px;
    --gutter: 20px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --header-h: 76px;
    --section-y: clamp(64px, 5vw + 32px, 112px);

    --shadow-sm: 0 1px 2px rgba(9, 40, 42, .06), 0 2px 8px rgba(9, 40, 42, .06);
    --shadow: 0 10px 30px -10px rgba(9, 40, 42, .25);
    --shadow-lg: 0 30px 60px -20px rgba(9, 40, 42, .45);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--muted);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--orange); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.text-accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .75rem 1.5rem;
    border: 2px solid transparent; border-radius: 999px;
    font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em; line-height: 1.2;
    cursor: pointer; text-align: center;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: .55rem 1.15rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.75rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px -8px rgba(249, 128, 27, .7); }
.btn--primary:hover { background: var(--orange-600); }

.btn--ghost-light { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }

.btn--whatsapp { background: var(--white); color: var(--teal-800); }
.btn--whatsapp .icon { color: var(--whatsapp); }
.btn--whatsapp:hover { background: var(--tint-100); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .875rem;
}
.eyebrow--light {
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: .4rem .85rem; border-radius: 999px;
    letter-spacing: .08em;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(249, 128, 27, .25); }

.section { padding: var(--section-y) 0; }
.section--light { background: var(--tint-50); }
.section--tint { background: var(--tint-100); }
.section--dark { background: var(--teal-800); color: rgba(255, 255, 255, .78); }

.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--split { display: grid; gap: 16px 48px; align-items: end; }
.section-title { font-size: var(--fs-h2); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--teal-800); }
.section-title--light { color: var(--white); }
.section-lead { font-size: var(--fs-lg); color: var(--muted); }

@media (min-width: 900px) {
    .section-head--split { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { border-color: var(--tint-200); box-shadow: 0 6px 24px -12px rgba(9, 40, 42, .25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 20px; }

.header-call { display: none; align-items: center; gap: 10px; color: var(--teal-800); }
.header-call__icon {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--tint-100); color: var(--teal-800); transition: background-color .2s;
}
.header-call:hover .header-call__icon { background: var(--tint-200); }
.header-call__icon .icon { width: 18px; height: 18px; }
.header-call__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-call__text small { font-size: .75rem; color: var(--muted); }
.header-call__text strong { font-size: var(--fs-sm); font-weight: 700; }

@media (min-width: 640px) { .header-call { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--teal-800);
    color: rgba(255, 255, 255, .82);
    padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
}
.hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(1, 58, 61, .98) 0%, rgba(1, 58, 61, .94) 42%, rgba(1, 58, 61, .78) 70%, rgba(9, 40, 42, .9) 100%),
        url("../images/hero-paint-roller.jpg") center / cover no-repeat;
}
.hero__bg::after {
    content: ""; position: absolute; right: -10%; top: -30%;
    width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 128, 27, .22), transparent 65%);
}
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__title { font-size: var(--fs-h1); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: var(--white); margin-bottom: 18px; }
.hero__subtitle { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 600; color: var(--white); margin-bottom: 12px; }
.hero__text { font-size: var(--fs-lg); max-width: 560px; margin-bottom: 26px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero__chips li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: .5rem .9rem; border-radius: 999px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
    color: var(--white); font-size: var(--fs-sm); font-weight: 500;
}
.hero__chips .icon { width: 16px; height: 16px; color: var(--orange); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn--ghost-light .icon { color: var(--whatsapp); }

@media (min-width: 1024px) {
    .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
    .hero__form { justify-self: end; width: 100%; max-width: 480px; }
}

/* ---------- Form card ---------- */
.form-card {
    background: var(--white); color: var(--muted);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3vw, 32px);
    box-shadow: var(--shadow-lg);
    position: relative;
}
.form-card::before {
    content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 4px;
    border-radius: 0 0 6px 6px; background: var(--orange);
}
.form-card__head { margin-bottom: 20px; }
.form-card__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.25; font-weight: 700; color: var(--teal-800); letter-spacing: -.01em; }

.lead-form { display: grid; gap: 14px; }

.field { display: grid; gap: 6px; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--teal-800); }
.req { color: var(--danger); }

.field__input {
    width: 100%; min-height: 50px;
    padding: .75rem 1rem;
    border: 1.5px solid var(--tint-200); border-radius: var(--radius-sm);
    background: var(--tint-50);
    color: var(--teal-900); font-size: var(--fs-base);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: #8A9B9C; }
.field__input:hover { border-color: #B9CFD0; }
.field__input:focus { outline: none; border-color: var(--teal-800); background: var(--white); box-shadow: 0 0 0 4px rgba(1, 58, 61, .12); }
.field__input--textarea { min-height: 88px; resize: vertical; line-height: 1.5; }

.field__group { position: relative; display: flex; }
.field__prefix {
    display: flex; align-items: center; padding: 0 .9rem;
    border: 1.5px solid var(--tint-200); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    background: var(--tint-100); color: var(--teal-800); font-weight: 600; font-size: var(--fs-sm);
}
.field__group .field__input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.field__select { position: relative; }
.field__select::after {
    content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--teal-800); border-bottom: 2px solid var(--teal-800);
    transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field__select select { padding-right: 2.75rem; cursor: pointer; }
.field__select select:invalid, .field__select select.is-placeholder { color: #8A9B9C; }
.field__select option { color: var(--teal-900); }

.field__meta { display: flex; justify-content: space-between; gap: 12px; }
.field__count { font-size: .75rem; color: #8A9B9C; margin-left: auto; white-space: nowrap; }

.field__error { display: none; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 500; color: var(--danger); line-height: 1.35; }
.field__error:not(:empty) { display: flex; }
.field__error::before { content: "!"; display: grid; place-items: center; flex-shrink: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--danger); color: var(--white); font-size: 10px; font-weight: 800; }

.field.is-invalid .field__input, .field.is-invalid .field__prefix { border-color: var(--danger); }
.field.is-invalid .field__input { background: #FFF8F7; }
.field.is-invalid .field__input:focus { box-shadow: 0 0 0 4px rgba(217, 58, 43, .12); }
.field.is-valid .field__input { border-color: #9CC9B4; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-form__submit { margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; position: relative; }
.btn__spinner {
    display: none; width: 20px; height: 20px; border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: var(--white);
    animation: spin .7s linear infinite;
}
.lead-form__submit.is-loading { pointer-events: none; opacity: .9; }
.lead-form__submit.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.lead-form__note { font-size: var(--fs-xs); text-align: center; color: var(--muted); line-height: 1.5; }

.form-alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: .8rem 1rem; margin-bottom: 14px; border-radius: var(--radius-sm);
    font-size: var(--fs-sm); line-height: 1.45;
}
.form-alert[hidden] { display: none; }
.form-alert .icon { margin-top: 1px; }
.form-alert--error { background: #FDEDEB; color: #A12A1E; border: 1px solid #F6C8C2; }

/* ---------- Offer grid ---------- */
.offer-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offer-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.offer-card {
    position: relative; display: flex; flex-direction: column;
    padding: 28px 24px;
    background: var(--white); border: 1px solid var(--tint-150); border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.offer-card__icon {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
    border-radius: 14px; background: var(--tint-100); color: var(--teal-800);
    transition: background-color .3s, color .3s;
}
.offer-card__icon .icon { width: 26px; height: 26px; }
.offer-card:hover .offer-card__icon { background: var(--teal-800); color: var(--orange); }
.offer-card__title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; color: var(--teal-800); margin-bottom: 8px; }
.offer-card__text { font-size: var(--fs-sm); }

.offer-card--cta { background: var(--teal-800); border-color: var(--teal-800); color: rgba(255, 255, 255, .78); }
.offer-card--cta .offer-card__icon { background: var(--orange); color: var(--white); }
.offer-card--cta:hover .offer-card__icon { background: var(--white); color: var(--orange); }
.offer-card--cta .offer-card__title { color: var(--white); }
.offer-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-weight: 700; font-size: var(--fs-sm); color: var(--orange); }
.offer-card__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.offer-card--cta:hover .offer-card__link .icon { transform: translateX(4px); }

/* ---------- Why choose ---------- */
.why { position: relative; overflow: hidden; }
.why::before {
    content: ""; position: absolute; left: -200px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 128, 27, .14), transparent 65%);
}
.why__inner { position: relative; display: grid; gap: 40px; }
.why__intro .section-title { margin-bottom: 28px; }
.why__stat {
    display: inline-flex; flex-direction: column; gap: 2px;
    padding: 18px 24px; margin-bottom: 28px;
    border-left: 4px solid var(--orange); background: rgba(255, 255, 255, .05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.why__stat-num { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 800; line-height: 1; color: var(--white); letter-spacing: -.03em; }
.why__stat-label { font-size: var(--fs-sm); }
.why__intro .btn { display: flex; width: fit-content; }

.why__list { display: grid; gap: 14px; }
.why-item {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 22px; border-radius: var(--radius);
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
    transition: background-color .3s, border-color .3s;
}
.why-item:hover { background: rgba(255, 255, 255, .08); border-color: rgba(249, 128, 27, .5); }
.why-item__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(249, 128, 27, .14); color: var(--orange); }
.why-item__icon .icon { width: 24px; height: 24px; }
.why-item__title { font-size: var(--fs-h3); font-weight: 700; color: var(--white); margin-bottom: 4px; line-height: 1.3; }
.why-item__text { font-size: var(--fs-sm); }

@media (min-width: 640px) {
    .why__list { grid-template-columns: repeat(2, 1fr); }
    .why__list .why-item:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .why__inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
}

/* ---------- Who grid ---------- */
.who-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .who-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
    .who-card { grid-column: span 2; }
    .who-card:nth-child(-n+2) { grid-column: span 3; }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
    .who-card:last-child { grid-column: 1 / -1; }
}

.who-card {
    position: relative; display: flex; align-items: flex-end;
    min-height: 300px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
    background: var(--teal-800); color: rgba(255, 255, 255, .85);
}
.who-card:nth-child(-n+2) { min-height: 340px; }
.who-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.who-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(1, 58, 61, 0) 25%, rgba(1, 58, 61, .7) 60%, rgba(9, 40, 42, .96) 100%);
    transition: opacity .3s;
}
.who-card:hover .who-card__img { transform: scale(1.06); }
.who-card__body { padding: 24px; }
.who-card__title { font-size: 1.3125rem; font-weight: 700; color: var(--white); margin-bottom: 6px; line-height: 1.25; }
.who-card__text { font-size: var(--fs-sm); margin-bottom: 14px; }
.who-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--orange); }
.who-card__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.who-card:hover .who-card__link .icon { transform: translateX(4px); }

/* ---------- Split (bulk) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__badge {
    position: absolute; left: 16px; bottom: 16px; right: 16px;
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow);
    font-size: var(--fs-xs); color: var(--muted);
}
.split__badge strong { display: block; font-size: var(--fs-base); color: var(--teal-800); }
.split__badge-icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--orange); color: var(--white); }
.split__badge-icon .icon { width: 24px; height: 24px; }
.split__content .section-title { margin-bottom: 16px; }
.split__content .section-lead { color: var(--teal-800); font-weight: 600; margin-bottom: 10px; }
.split__content > p:not(.section-lead) { margin-bottom: 22px; }

.tick-list { display: grid; gap: 10px; margin-bottom: 30px; }
.tick-list li { display: flex; align-items: center; gap: 10px; color: var(--teal-800); font-weight: 500; }
.tick-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal-800); color: var(--white); stroke-width: 3; }

@media (min-width: 560px) { .tick-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 560px) { .split__badge { right: auto; } }
@media (min-width: 1024px) {
    .split { grid-template-columns: 1fr 1fr; gap: 72px; }
    .split__badge { left: -24px; bottom: 32px; }
}

/* ---------- Coolproof ---------- */
.coolproof { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 9vw, 140px) 0; color: rgba(255, 255, 255, .85); }
.coolproof__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(9, 40, 42, .96) 0%, rgba(1, 58, 61, .88) 45%, rgba(1, 58, 61, .35) 100%),
        url("../images/roof-coolproof.jpg") center / cover no-repeat;
}
.coolproof__content { max-width: 620px; }
.coolproof__content .section-title { margin-bottom: 18px; }
.coolproof__content p { font-size: var(--fs-lg); margin-bottom: 30px; }

@media (max-width: 767.98px) {
    .coolproof__bg { background: linear-gradient(180deg, rgba(9, 40, 42, .92), rgba(1, 58, 61, .9)), url("../images/roof-coolproof.jpg") center / cover no-repeat; }
}

/* ---------- Final CTA ---------- */
.final-cta__box {
    position: relative; overflow: hidden;
    display: grid; border-radius: var(--radius-lg);
    background: var(--teal-800); color: rgba(255, 255, 255, .8);
    box-shadow: var(--shadow);
}
.final-cta__box::before {
    content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 128, 27, .25), transparent 65%); pointer-events: none;
}
.final-cta__content { position: relative; padding: clamp(32px, 5vw, 64px); }
.final-cta__content .section-title { margin-bottom: 16px; }
.final-cta__content p { font-size: var(--fs-lg); margin-bottom: 10px; max-width: 600px; }
.final-cta__strong { color: var(--white); font-weight: 600; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.final-cta__media { display: none; }
.final-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
    .final-cta__box { grid-template-columns: 1.6fr 1fr; }
    .final-cta__media { display: block; position: relative; }
    .final-cta__media::before {
        content: ""; position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(90deg, var(--teal-800) 0%, rgba(1, 58, 61, .55) 22%, rgba(1, 58, 61, 0) 55%);
    }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--teal-900); color: rgba(255, 255, 255, .72); padding: 64px 0 0; }
.site-footer__grid { position: relative; z-index: 1; display: grid; gap: 36px; padding-bottom: 40px; }
.site-footer__logo { display: inline-block; padding: 12px 16px; background: var(--white); border-radius: var(--radius-sm); margin-bottom: 16px; }
.site-footer__logo img { height: 44px; width: auto; }
.site-footer__tagline { max-width: 340px; font-size: var(--fs-sm); }
.site-footer__tagline strong { color: var(--white); font-size: var(--fs-base); }
.site-footer__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.site-footer__list { display: grid; gap: 12px; }
.site-footer__list a { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); transition: color .2s; word-break: break-word; }
.site-footer__list a:hover { color: var(--white); }
.site-footer__list .icon { width: 18px; height: 18px; color: var(--orange); }
.site-footer__bottom { position: relative; z-index: 1; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); }
.site-footer__watermark {
    font-size: clamp(4rem, 15vw, 14rem); font-weight: 800; line-height: .8; letter-spacing: -.02em;
    text-align: center; white-space: nowrap; color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0));
    -webkit-background-clip: text; background-clip: text;
    margin-top: -8px; user-select: none; pointer-events: none;
}

@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}

/* ---------- Floating actions (CTA + Call) ---------- */
.float-actions {
    position: fixed; z-index: 95;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 12px;
}
.float-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; font-weight: 700;
    box-shadow: 0 12px 28px -8px rgba(9, 40, 42, .45);
    transition: transform .25s var(--ease), opacity .25s var(--ease), background-color .2s, visibility .25s;
}
.float-btn:hover { transform: translateY(-2px); }

.float-btn--cta {
    min-height: 56px; padding: 0 22px; border-radius: 999px;
    background: var(--orange); color: var(--white); font-size: var(--fs-base);
}
.float-btn--cta:hover { background: var(--orange-600); }
.float-btn--cta .icon { width: 18px; height: 18px; }
.float-btn--cta.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }

.float-btn--call {
    position: relative; width: 60px; height: 60px; border-radius: 50%;
    background: var(--teal-800); color: var(--white);
}
.float-btn--call:hover { background: var(--teal-700); }
.float-btn__icon { display: grid; place-items: center; transition: transform .25s var(--ease), opacity .2s; }
.float-btn__icon .icon { width: 26px; height: 26px; }
.float-btn__icon--close { position: absolute; inset: 0; opacity: 0; transform: rotate(-90deg); }
.float-btn--call[aria-expanded="true"] .float-btn__icon--phone { opacity: 0; transform: rotate(90deg); }
.float-btn--call[aria-expanded="true"] .float-btn__icon--close { opacity: 1; transform: none; }
.float-btn__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--teal-800); animation: ring 2.2s ease-out infinite; pointer-events: none;
}
.float-btn--call[aria-expanded="true"] .float-btn__ring { display: none; }
@keyframes ring {
    0% { transform: scale(1); opacity: .7; }
    80%, 100% { transform: scale(1.55); opacity: 0; }
}

/* Call popup */
.call-pop {
    position: absolute; right: 0; bottom: calc(100% + 14px);
    width: min(320px, calc(100vw - 32px));
    padding: 18px; border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow-lg);
    border: 1px solid var(--tint-150);
    transform-origin: bottom right;
    animation: pop-in .22s var(--ease);
}
.call-pop[hidden] { display: none; }
.call-pop::after {
    content: ""; position: absolute; right: 22px; bottom: -7px; width: 14px; height: 14px;
    background: var(--white); border-right: 1px solid var(--tint-150); border-bottom: 1px solid var(--tint-150);
    transform: rotate(45deg);
}
@keyframes pop-in {
    from { opacity: 0; transform: translateY(8px) scale(.96); }
    to { opacity: 1; transform: none; }
}
.call-pop__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.call-pop__title { font-size: var(--fs-lg); font-weight: 700; color: var(--teal-800); line-height: 1.3; }
.call-pop__sub { font-size: var(--fs-xs); color: var(--muted); }
.call-pop__close {
    display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px;
    border: 0; border-radius: 50%; background: var(--tint-100); color: var(--teal-800); cursor: pointer;
}
.call-pop__close:hover { background: var(--tint-200); }
.call-pop__close .icon { width: 16px; height: 16px; }
.call-pop__list { display: grid; gap: 8px; }
.call-pop__item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 12px;
    border: 1px solid var(--tint-150); background: var(--tint-50);
    transition: border-color .2s, background-color .2s;
}
.call-pop__item:hover { border-color: var(--teal-800); background: var(--white); }
.call-pop__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-800); color: var(--white); }
.call-pop__icon .icon { width: 18px; height: 18px; }
.call-pop__num { display: flex; flex-direction: column; line-height: 1.25; }
.call-pop__num strong { font-size: var(--fs-base); color: var(--teal-800); letter-spacing: .01em; }
.call-pop__num small { font-size: .75rem; color: var(--muted); }
.call-pop__go { margin-left: auto; color: var(--orange); transition: transform .2s; }
.call-pop__go .icon { width: 18px; height: 18px; }
.call-pop__item:hover .call-pop__go { transform: translateX(3px); }

@media (max-width: 479.98px) {
    .float-actions { gap: 10px; }
    .float-btn--cta { min-height: 52px; padding: 0 18px; font-size: var(--fs-sm); }
    .float-btn--call { width: 54px; height: 54px; }
    .float-btn__icon .icon { width: 24px; height: 24px; }
    .call-pop::after { right: 20px; }
}
/* Keep the last bit of the footer readable above the floating buttons */
.site-footer__bottom { padding-bottom: 84px; }
@media (min-width: 768px) { .site-footer__bottom { padding-bottom: 20px; padding-right: 260px; } }

/* ---------- Small screens ---------- */
@media (max-width: 479.98px) {
    :root { --gutter: 16px; --header-h: 66px; }
    .brand img { height: 38px; }
    .hero__actions .btn, .final-cta__actions .btn, .split__content > .btn, .coolproof__content .btn { width: 100%; }
    .hero__chips li { font-size: var(--fs-xs); }
}

/* ---------- Highlight form when targeted ---------- */
.form-card.is-highlight { animation: pulse-ring 1.2s var(--ease); }
@keyframes pulse-ring {
    0% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(249, 128, 27, .55); }
    100% { box-shadow: var(--shadow-lg), 0 0 0 18px rgba(249, 128, 27, 0); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .float-btn__ring { display: none; }
}

/* ---------- Thank-you page ---------- */
.thanks { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 64px 0; background: var(--tint-50); }
.thanks__card { max-width: 600px; margin: 0 auto; text-align: center; background: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); }
.thanks__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--tint-100); color: var(--success); }
.thanks__icon .icon { width: 38px; height: 38px; stroke-width: 2.5; }
.thanks__card .section-title { margin-bottom: 14px; }
.thanks__card p { margin-bottom: 10px; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.btn--outline { background: transparent; color: var(--teal-800); border-color: var(--tint-200); }
.btn--outline:hover { border-color: var(--teal-800); }
