/* =============================================================================
   ZABMUNK — Stylesheet
   Theme: dark + gold (matches the brand logo)
   Sections: tokens · base · buttons · nav · hero · marquee · services ·
             about · work · process · stats · testimonials · faq · contact ·
             footer · floating · animations · responsive
   ========================================================================== */

/* ----------------------------- DESIGN TOKENS ----------------------------- */
:root {
    --gold:        #FFC400;
    --gold-soft:   #FFD75A;
    --gold-deep:   #E8A200;

    --ink:         #0C0D11;   /* page background (darkest) */
    --ink-2:       #121419;   /* section background */
    --ink-3:       #181B22;   /* cards */
    --ink-4:       #20242E;   /* card borders / hovers */

    --cloud:       #F6F7F9;   /* light section bg */
    --cloud-card:  #ffffff;

    --text:        #EEF0F5;   /* primary on dark */
    --muted:       #A2A8B6;   /* secondary on dark */
    --text-dark:   #14161C;   /* primary on light */
    --muted-dark:  #5A6172;   /* secondary on light */

    --line:        rgba(255,255,255,.09);
    --line-dark:   rgba(16,18,24,.10);

    --radius:      18px;
    --radius-sm:   12px;
    --radius-lg:   26px;

    --shadow:      0 24px 60px -20px rgba(0,0,0,.55);
    --shadow-gold: 0 18px 44px -14px rgba(255,196,0,.45);

    --container:   1200px;
    --ease:        cubic-bezier(.22,.61,.36,1);

    --font-body:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head:   'Space Grotesk', var(--font-body);
}

/* -------------------------------- RESET / BASE --------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }

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

.section { padding: 110px 0; position: relative; }
.section--light { background: var(--cloud); color: var(--text-dark); }

.text-grad {
    background: linear-gradient(100deg, var(--gold), var(--gold-soft));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--gold); color: #000; padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* -------------------------------- HEADINGS BLOCK ------------------------- */
.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__sub { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.section--light .section__sub { color: var(--muted-dark); }
.section--light .section__sub a,
.faq__intro a { color: var(--gold-deep); font-weight: 600; }

.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
    padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; margin-bottom: 18px;
    background: rgba(255,196,0,.06);
}
.eyebrow--dark { color: var(--gold-deep); border-color: var(--line-dark); background: rgba(255,196,0,.10); }

/* -------------------------------- BUTTONS -------------------------------- */
.btn {
    --bg: var(--gold); --fg: #15130a;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 24px; border-radius: 100px; font-weight: 600; font-size: .98rem;
    background: var(--bg); color: var(--fg);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    will-change: transform; white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn--primary { background: linear-gradient(100deg, var(--gold), var(--gold-deep)); box-shadow: var(--shadow-gold); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 54px -14px rgba(255,196,0,.6); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn--lg { padding: 16px 30px; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* --------------------------------- NAV ----------------------------------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: background .35s var(--ease), backdrop-filter .35s, box-shadow .35s, padding .35s;
    padding: 18px 0;
}
.nav.is-stuck {
    background: rgba(12,13,17,.82); backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 1px 0 var(--line); padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand img { height: 28px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__link {
    position: relative; padding: 9px 14px; border-radius: 100px; font-weight: 500; font-size: .96rem;
    color: var(--muted); transition: color .25s, background .25s;
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
    background: var(--gold); border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; font-size: .92rem; transition: color .25s; }
.nav__phone:hover { color: var(--gold); }
.nav__phone svg { color: var(--gold); }
.nav__cta-mobile { display: none; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------- HERO ---------------------------------- */
.hero { position: relative; padding: 170px 0 110px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob--1 { width: 520px; height: 520px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(255,196,0,.55), transparent 70%); animation: float1 14s var(--ease) infinite; }
.blob--2 { width: 460px; height: 460px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(120,90,255,.30), transparent 70%); animation: float2 18s var(--ease) infinite; }
.grid-glow {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
    opacity: .6;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.4rem, 5.4vw, 4.1rem); text-wrap: balance; }
.hero__rotate { display: block; margin-top: .1em; min-height: 1.18em; white-space: nowrap; }
.hero__rotate-word { display: inline; }
.hero__caret { display: inline-block; width: 3px; height: .9em; margin-left: 6px; background: var(--gold); border-radius: 2px; vertical-align: -0.06em; animation: blink 1.05s steps(1, end) infinite; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__lead { color: var(--muted); font-size: 1.15rem; max-width: 540px; margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--text); }
.hero__trust span { color: var(--muted); font-size: .9rem; }

.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: .86rem; color: var(--muted); background: rgba(255,255,255,.02); }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255,196,0,.6); animation: pulse 2s infinite; }

/* hero visual */
.hero__visual { position: relative; min-height: 380px; }
.hero__card { background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__card--main { padding: 22px; }
.hero__card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--red { background: #ff5f57; } .dot--amber { background: #febc2e; } .dot--green { background: #28c840; }
.hero__card-title { margin-left: auto; color: var(--muted); font-size: .82rem; font-weight: 500; }
.hero__metric { display: flex; flex-direction: column; margin-bottom: 8px; }
.hero__metric-label { color: var(--muted); font-size: .9rem; }
.hero__metric-value { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--gold); }
.hero__chart { width: 100%; height: 120px; }
.hero__chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s var(--ease) .4s forwards; }
.hero__chart-area { opacity: 0; animation: fade-in 1.2s ease 1.4s forwards; }

.hero__card--float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); }
.hero__card--roi  { top: 6%; right: -4%; animation: bob 5s var(--ease) infinite; }
.hero__card--leads{ bottom: 4%; left: -6%; animation: bob 6s var(--ease) infinite .8s; }
.hero__card--float strong { font-family: var(--font-head); font-size: 1.15rem; display: block; }
.hero__card--float small { color: var(--muted); font-size: .78rem; }
.hero__chip-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,196,0,.15); color: var(--gold); }
.hero__chip-icon--alt { background: rgba(120,90,255,.18); color: #b6a4ff; }

/* ------------------------------- MARQUEE --------------------------------- */
.marquee-wrap { border-block: 1px solid var(--line); background: var(--ink-2); padding: 30px 0; }
.marquee__label { text-align: center; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; padding: 0 34px; }
.marquee__logo { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .46; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.marquee__item:hover .marquee__logo { opacity: 1; transform: scale(1.08); }

/* ------------------------------- SERVICES (light) ------------------------ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
    position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--ink-3);
    border: 1px solid var(--line); overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%), rgba(255,196,0,.10), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(255,196,0,.4); }
.service-card:hover::before { opacity: 1; }
.service-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(255,196,0,.18), rgba(255,196,0,.04)); color: var(--gold); margin-bottom: 22px; transition: transform .4s var(--ease); }
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.06); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title { font-size: 1.25rem; margin-bottom: 10px; }
.service-card__text { color: var(--muted); font-size: .98rem; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.service-card__tags li { font-size: .76rem; color: var(--muted); padding: 5px 11px; border: 1px solid var(--line); border-radius: 100px; }
.service-card__link { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-weight: 600; font-size: .92rem; }
.service-card__link svg { transition: transform .3s var(--ease); }
.service-card__link:hover svg { transform: translateX(5px); }

/* Light-theme overrides for the Services section */
.section--light .service-card { background: var(--cloud-card); border-color: var(--line-dark); box-shadow: 0 18px 44px -30px rgba(16,18,24,.4); }
.section--light .service-card:hover { border-color: rgba(232,162,0,.55); }
.section--light .service-card::before { background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%), rgba(232,162,0,.10), transparent 60%); }
.section--light .service-card__title { color: var(--text-dark); }
.section--light .service-card__text { color: var(--muted-dark); }
.section--light .service-card__tags li { color: var(--muted-dark); border-color: var(--line-dark); }
.section--light .service-card__link { color: var(--gold-deep); }

/* --------------------------------- ABOUT --------------------------------- */
.about { background: var(--ink-2); }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about__visual-card { background: linear-gradient(160deg, var(--ink-3), var(--ink)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.about__ring { position: relative; width: 220px; height: 220px; margin: 0 auto 28px; }
.about__ring svg { width: 100%; height: 100%; }
.about__ring-progress { transition: stroke-dashoffset 1.6s var(--ease); }
.about__ring.is-in .about__ring-progress { stroke-dashoffset: 8; }
.about__ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.about__ring-label strong { font-family: var(--font-head); font-size: 2.4rem; color: var(--text); }
.about__ring-label span { color: var(--muted); font-size: .82rem; }
.about__visual-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid var(--line); padding-top: 24px; text-align: center; }
.about__visual-foot strong { font-family: var(--font-head); font-size: 1.7rem; display: block; color: var(--gold); }
.about__visual-foot span { color: var(--muted); font-size: .84rem; }
.about__text { color: var(--muted); margin: 20px 0 26px; font-size: 1.06rem; }
.about__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.about__list li { display: flex; gap: 14px; }
.about__list strong { color: var(--text); }
.about__list div { color: var(--muted); }
.about__check { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,196,0,.16); color: var(--gold); display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 3px; }

/* --------------------------------- WORK ---------------------------------- */
.work { background: var(--ink); }
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card { padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(165deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.work-card:hover { transform: translateY(-8px); border-color: rgba(255,196,0,.4); }
.work-card__tag { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.work-card__metric { font-family: var(--font-head); font-size: 2.9rem; font-weight: 700; color: var(--gold); margin: 14px 0 12px; }
.work-card__desc { color: var(--muted); font-size: .94rem; }
.work-card__desc strong { color: var(--text); }

/* -------------------------------- PROCESS -------------------------------- */
.process-step__text { color: var(--muted-dark); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--cloud-card); border: 1px solid var(--line-dark); box-shadow: 0 18px 40px -28px rgba(16,18,24,.35); transition: transform .4s var(--ease); }
.process-step:hover { transform: translateY(-8px); }
.process-step__num { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--gold-deep); background: rgba(255,196,0,.14); width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.process-step__title { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-dark); }

/* ------------------------------ STATS BAND ------------------------------- */
.stats-band { background: linear-gradient(100deg, var(--gold-deep), var(--gold)); color: #1a1407; padding: 64px 0; }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; display: block; line-height: 1; }
.stat__label { font-weight: 600; opacity: .82; font-size: .96rem; }
.stat { position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 15%; height: 70%; width: 1px; background: rgba(26,20,7,.18); }

/* ----------------------------- TESTIMONIALS ------------------------------ */
.testimonials { background: var(--ink-2); }
.testimonials__grid { columns: 3; column-gap: 22px; }
.testimonial { break-inside: avoid; margin-bottom: 22px; padding: 28px 26px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.testimonial:hover { transform: translateY(-6px); border-color: rgba(255,196,0,.35); }
.testimonial__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial__text { color: var(--text); font-size: 1.02rem; }
.testimonial__author { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #15130a; background: linear-gradient(150deg, var(--gold), var(--gold-deep)); }
.testimonial__author strong { display: block; font-size: .96rem; }
.testimonial__author small { color: var(--muted); font-size: .84rem; }

/* --------------------------------- FAQ ----------------------------------- */
.faq { background: var(--ink); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-3); overflow: hidden; transition: border-color .3s; }
.faq-item.is-open { border-color: rgba(255,196,0,.45); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.faq-item__icon { position: relative; flex: 0 0 22px; width: 22px; height: 22px; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-item__icon::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq-item__icon::after  { left: 10px; top: 2px; bottom: 2px; width: 2px; }
.faq-item.is-open .faq-item__icon::after { transform: scaleY(0); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > p { overflow: hidden; color: var(--muted); padding: 0 22px; }
.faq-item.is-open .faq-item__a > p { padding-bottom: 22px; }

/* ------------------------------- CONTACT --------------------------------- */
.contact { background: var(--ink-2); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__lead { color: var(--muted); font-size: 1.08rem; margin: 18px 0 32px; }
.contact__details { display: flex; flex-direction: column; gap: 22px; }
.contact__details li { display: flex; gap: 16px; }
.contact__ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,196,0,.12); color: var(--gold); }
.contact__label { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: 3px; }
.contact__details a { color: var(--muted); transition: color .25s; }
.contact__details a:hover { color: var(--gold); }

.contact__form-wrap { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .9rem; font-weight: 500; color: var(--text); }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
    background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; color: var(--text);
    transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7280; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,196,0,.16); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23A2A8B6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__note { color: var(--muted); font-size: .82rem; text-align: center; }
.contact-form__note a { color: var(--gold); }
.contact-form__status { display: none; padding: 13px 16px; border-radius: 12px; font-size: .94rem; font-weight: 500; }
.contact-form__status.is-ok { display: block; background: rgba(40,200,64,.12); color: #6ee787; border: 1px solid rgba(40,200,64,.3); }
.contact-form__status.is-err { display: block; background: rgba(255,95,87,.12); color: #ff9d97; border: 1px solid rgba(255,95,87,.3); }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* -------------------------------- FOOTER --------------------------------- */
.footer { background: #07080B; border-top: 1px solid var(--line); padding: 84px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer__logo img { height: 30px; width: auto; margin-bottom: 20px; }
.footer__about { color: var(--muted); font-size: .95rem; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social-link { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all .25s var(--ease); }
.footer__social-link:hover { color: #15130a; background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer__title { font-size: 1.02rem; margin-bottom: 18px; color: var(--text); }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { color: var(--muted); font-size: .94rem; transition: color .25s, padding .25s; }
.footer__links a:hover { color: var(--gold); padding-left: 4px; }
.footer__contact { display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: .92rem; }
.footer__contact a { color: var(--muted); transition: color .25s; }
.footer__contact a:hover { color: var(--gold); }
.footer__contact-label { display: block; color: var(--gold); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 26px; color: var(--muted); font-size: .9rem; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--gold); }

/* ----------------------------- FLOATING UI ------------------------------- */
.whatsapp-fab { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25D366; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.whatsapp-fab:hover { transform: scale(1.08) translateY(-2px); }
.to-top { position: fixed; bottom: 92px; right: 24px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #15130a; background: var(--gold); box-shadow: var(--shadow-gold); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ------------------------------ PRELOADER -------------------------------- */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--ink); transition: opacity .5s ease, visibility .5s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); animation: spin-mark 1s var(--ease) infinite; }

/* ------------------------------ LEGAL PAGES ------------------------------ */
.legal-hero { position: relative; padding: 150px 0 70px; background: var(--ink-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(255,196,0,.30), transparent 70%); filter: blur(80px); }
.legal-hero__inner { position: relative; z-index: 1; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 14px; }
.legal-hero p { color: var(--muted); margin-top: 14px; max-width: 640px; }
.legal-crumbs { color: var(--muted); font-size: .88rem; }
.legal-crumbs a:hover { color: var(--gold); }

.legal { padding: 70px 0 100px; background: var(--ink); }
.legal__wrap { max-width: 820px; margin: 0 auto; }
.legal__toc { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 44px; }
.legal__toc strong { font-family: var(--font-head); display: block; margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding-left: 18px; color: var(--muted); columns: 2; column-gap: 30px; }
.legal__toc a { transition: color .2s; }
.legal__toc a:hover { color: var(--gold); }
.legal h2 { font-size: 1.5rem; margin: 44px 0 14px; scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 24px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--muted); margin-bottom: 14px; font-size: 1rem; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal ul li { margin-bottom: 8px; }
.legal a { color: var(--gold); }
.legal a:hover { text-decoration: underline; }
.legal__updated { color: var(--muted); font-size: .9rem; }
.legal strong { color: var(--text); }

/* =============================== ANIMATIONS ============================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,30px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(34px,-26px) scale(1.1); } }
@keyframes bob   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,196,0,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,196,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,196,0,0); } }
@keyframes draw  { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin-mark { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(.7); } 100% { transform: rotate(360deg) scale(1); } }

/* =============================== RESPONSIVE ============================== */
@media (max-width: 992px) {
    .hero__inner { grid-template-columns: 1fr; gap: 56px; }
    .hero__visual { max-width: 460px; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .work__grid { grid-template-columns: repeat(2, 1fr); }
    .process__grid { grid-template-columns: repeat(2, 1fr); }
    .about__inner { grid-template-columns: 1fr; gap: 44px; }
    .testimonials__grid { columns: 2; }
    .faq__inner { grid-template-columns: 1fr; gap: 36px; }
    .faq__intro { position: static; }
    .contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .nav__menu {
        position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--ink-2);
        border-left: 1px solid var(--line); padding: 90px 26px 30px; transform: translateX(100%);
        transition: transform .4s var(--ease); box-shadow: var(--shadow); overflow-y: auto;
    }
    .nav__menu.is-open { transform: translateX(0); }
    .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav__link { display: block; padding: 14px 16px; font-size: 1.05rem; }
    .nav__cta-mobile { display: block; margin-top: 16px; }
    .nav__cta, .nav__phone { display: none; }
    .nav__toggle { display: flex; }
    .nav__menu-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: -1; }
    .nav__menu-backdrop.is-open { opacity: 1; visibility: visible; }

    .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
    .stat:nth-child(2)::after { display: none; }
    .footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .services__grid, .work__grid, .process__grid { grid-template-columns: 1fr; }
    .testimonials__grid { columns: 1; }
    .field-row { grid-template-columns: 1fr; }
    .hero__trust { gap: 24px; }
    .footer__grid { grid-template-columns: 1fr; }
    .contact__form-wrap, .about__visual-card { padding: 26px 22px; }
    .hero__card--roi { right: 0; } .hero__card--leads { left: 0; }
}

/* --------------------------- REDUCED MOTION ------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .hero__chart-line { stroke-dashoffset: 0; } .hero__chart-area { opacity: 1; }
    .hero__caret { display: none; }
}
