/* =============================================================================
   Cvadrat — design system
   Identity: "contrast brand-block" — hard-edged squares, big type,
   alternating high-contrast color sections. Bold, geometric, premium.
   ========================================================================== */

/* ---- Tokens --------------------------------------------------------------- */
:root {
    --ink: #0E0E12;
    --ink-2: #17171F;
    --ink-3: #23232E;
    --paper: #FFFFFF;
    --cream: #F4F2EC;
    --cream-2: #ECE9E0;
    --line: #E4E1D8;
    --muted: #6B6B76;
    --muted-2: #9A9AA4;

    --blue: #2F5CFF;
    --blue-600: #1F45D8;
    --coral: #FF5436;
    --lime: #D8FF3E;
    --violet: #6B4EFF;

    --radius: 22px;
    --radius-sm: 14px;
    --radius-lg: 32px;
    --shadow-sm: 0 2px 10px rgba(14,14,18,.06);
    --shadow: 0 20px 50px -24px rgba(14,14,18,.28);
    --shadow-lg: 0 40px 90px -40px rgba(14,14,18,.4);

    --container: 1240px;
    --gutter: clamp(18px, 4vw, 48px);

    --font-display: 'Unbounded', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

    --ease: cubic-bezier(.22,1,.36,1);
}

/* ---- Reset-ish ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.cv-noscroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.cv-skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0; }
.cv-skip:focus { left: 0; }

/* ---- Layout --------------------------------------------------------------- */
.cv-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.cv-container--narrow { max-width: 820px; }
.cv-section { padding-block: clamp(56px, 8vw, 120px); }
.cv-section--tight { padding-block: clamp(40px, 5vw, 72px); }
.cv-main { display: block; }

/* ---- Buttons -------------------------------------------------------------- */
.cv-btn {
    --btn-bg: var(--ink); --btn-fg: #fff;
    display: inline-flex; align-items: center; gap: .55em;
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    letter-spacing: -.01em;
    padding: 14px 26px; border: 2px solid var(--btn-bg); border-radius: 100px;
    transition: transform .35s var(--ease), background .25s, border-color .25s, box-shadow .35s, color .25s;
    position: relative; white-space: nowrap;
}
.cv-btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--ease); }
.cv-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cv-btn:hover svg { transform: translateX(3px); }
.cv-btn--sm { padding: 10px 18px; font-size: .85rem; }
.cv-btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.cv-btn--block { width: 100%; justify-content: center; }
.cv-btn--blue { --btn-bg: var(--blue); --btn-fg: #fff; border-color: var(--blue); }
.cv-btn--blue:hover { --btn-bg: var(--blue-600); border-color: var(--blue-600); }
.cv-btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.cv-btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); border-color: var(--lime); }
.cv-btn--coral { --btn-bg: var(--coral); --btn-fg: #fff; border-color: var(--coral); }
.cv-btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.cv-btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.cv-btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.cv-btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }
.cv-btn.is-loading { opacity: .7; pointer-events: none; }

/* ---- Eyebrow / section head ---------------------------------------------- */
.cv-eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-display); font-weight: 600; font-size: .72rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
    margin-bottom: 18px;
}
.cv-eyebrow--center { justify-content: center; }
.cv-eyebrow--light { color: var(--lime); }
.cv-eyebrow__dot { width: 8px; height: 8px; background: var(--coral); display: inline-block; }
.cv-eyebrow::before { content: ""; display: none; }

.cv-sechead { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.cv-sechead__title { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.cv-sechead__sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.cv-sechead--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---- Header --------------------------------------------------------------- */
.cv-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.cv-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.cv-header__inner { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.cv-logo__img { height: 66px; width: auto; }
.cv-nav { margin-inline: auto; }
.cv-menu { display: flex; align-items: center; gap: 4px; }
.cv-menu a {
    display: block; padding: 10px 15px; font-weight: 600; font-size: .95rem; color: var(--ink);
    border-radius: 100px; position: relative; transition: color .2s, background .2s;
}
.cv-menu a:hover, .cv-menu .current-menu-item > a { color: var(--blue); }
.cv-menu .menu-item-has-children > a::after { content: "▾"; font-size: .7em; margin-left: .35em; opacity: .5; }
.cv-menu .sub-menu { display: none; }
.cv-header__cta { display: flex; }
.cv-burger { display: none; width: 46px; height: 46px; border: 2px solid var(--line); border-radius: 12px; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.cv-burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.cv-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cv-burger.is-active span:nth-child(2) { opacity: 0; }
.cv-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Drawer --------------------------------------------------------------- */
.cv-drawer { position: fixed; inset: 0; z-index: 300; background: rgba(14,14,18,.5); opacity: 0; transition: opacity .3s; }
.cv-drawer.is-open { opacity: 1; }
.cv-drawer__panel {
    position: absolute; right: 0; top: 0; height: 100%; width: min(360px, 86vw);
    background: var(--paper); padding: 90px 28px 28px; display: flex; flex-direction: column; gap: 18px;
    transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
}
.cv-drawer.is-open .cv-drawer__panel { transform: translateX(0); }
.cv-drawer__menu { display: flex; flex-direction: column; gap: 2px; }
.cv-drawer__menu a { padding: 14px 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
.cv-drawer__menu .sub-menu { display: none; }
.cv-drawer__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); margin-top: auto; }
.cv-drawer__phone svg { width: 20px; height: 20px; }

/* ---- Hero ----------------------------------------------------------------- */
.cv-hero { position: relative; padding-block: clamp(48px, 7vw, 96px); background: var(--cream); overflow: hidden; }
.cv-hero__grid-deco { position: absolute; inset: 0; pointer-events: none; }
.cv-hero .cv-sq { position: absolute; background: var(--ink); opacity: .04; }
.cv-hero .cv-sq--0 { width: 200px; height: 200px; top: -40px; right: 8%; background: var(--blue); opacity: .08; }
.cv-hero .cv-sq--1 { width: 120px; height: 120px; bottom: 12%; left: -30px; background: var(--coral); opacity: .1; }
.cv-hero .cv-sq--2 { width: 80px; height: 80px; top: 30%; right: 40%; border: 3px solid var(--ink); background: transparent; opacity: .08; }
.cv-hero .cv-sq--3 { width: 160px; height: 160px; bottom: -50px; right: 30%; background: var(--lime); opacity: .18; }
.cv-hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cv-hero__title { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 900; }
.cv-hero__title em, .cv-hero__title span.hl { font-style: normal; color: var(--blue); }
.cv-hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-3); max-width: 46ch; margin-top: 22px; }
.cv-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cv-hero__reviews { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-weight: 600; font-size: .95rem; }
.cv-stars { display: inline-flex; color: #FFB100; }
.cv-stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

.cv-hero__panel { position: relative; display: flex; flex-direction: column; gap: 18px; }
.cv-hero__badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 100px; font-family: var(--font-display); font-weight: 600; font-size: .78rem; }
.cv-hero__badge svg { width: 16px; height: 16px; fill: var(--lime); stroke: none; }
.cv-hero__stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.cv-hero__stat-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--blue); letter-spacing: -.03em; }
.cv-hero__stat-label { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.cv-hero__cta-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--blue); color: #fff; border-radius: var(--radius); padding: 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.cv-hero__cta-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cv-hero__cta-title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.cv-hero__cta-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.cv-hero__cta-arrow svg { width: 22px; height: 22px; }

/* ---- Marquee -------------------------------------------------------------- */
.cv-marquee { background: var(--ink); color: #fff; overflow: hidden; padding-block: 20px; }
.cv-marquee__track { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; animation: cv-marq 34s linear infinite; will-change: transform; }
.cv-marquee__item { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; }
.cv-marquee__sep { color: var(--lime); font-size: .8rem; }
@keyframes cv-marq { to { transform: translateX(-50%); } }

/* ---- Intro ---------------------------------------------------------------- */
.cv-intro { text-align: center; background: var(--paper); }
.cv-intro__inner { max-width: 900px; margin-inline: auto; }
.cv-intro__title { font-size: clamp(2rem, 5vw, 4rem); }
.cv-intro__title em, .cv-intro__title .hl { font-style: normal; color: var(--blue); }
.cv-intro__text { font-size: 1.2rem; color: var(--muted); margin: 24px auto 34px; max-width: 62ch; }

/* ---- Services ------------------------------------------------------------- */
.cv-services { background: var(--ink); color: #fff; }
.cv-services .cv-sechead__title { color: #fff; }
.cv-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cv-service {
    position: relative; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius); padding: 32px 28px 30px; overflow: hidden;
    transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.cv-service::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 4px; background: var(--blue); transition: width .4s var(--ease); }
.cv-service:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); background: var(--ink-3); }
.cv-service:hover::before { width: 100%; }
.cv-service__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: rgba(47,92,255,.15); color: var(--blue); margin-bottom: 22px; }
.cv-service__icon svg { width: 28px; height: 28px; }
.cv-service:nth-child(3n+2) .cv-service__icon { background: rgba(255,84,54,.15); color: var(--coral); }
.cv-service:nth-child(3n+3) .cv-service__icon { background: rgba(216,255,62,.15); color: var(--lime); }
.cv-service__title { font-size: 1.3rem; margin-bottom: 10px; }
.cv-service__text { color: rgba(255,255,255,.62); font-size: .98rem; margin-bottom: 18px; }
.cv-service__link { display: inline-flex; align-items: center; gap: .4em; color: var(--lime); font-weight: 600; font-size: .92rem; }
.cv-service__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cv-service__link:hover svg { transform: translateX(4px); }
.cv-service__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: rgba(255,255,255,.14); }

/* ---- SEO feature ---------------------------------------------------------- */
.cv-seof { background: var(--cream); }
.cv-seof__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cv-seof__title { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 20px; }
.cv-seof__text { color: var(--muted); font-size: 1.06rem; margin-bottom: 26px; }
.cv-checklist { display: grid; gap: 12px; margin-bottom: 32px; }
.cv-checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.cv-checklist__ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.cv-checklist__ic svg { width: 15px; height: 15px; }
.cv-seof__stat { position: relative; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 44px 36px; overflow: hidden; }
.cv-seof__stat-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 7vw, 5rem); color: var(--lime); line-height: 1; }
.cv-seof__stat-label { color: rgba(255,255,255,.72); margin-top: 16px; font-size: 1rem; }
.cv-seof__stat-ic { position: absolute; right: -20px; bottom: -20px; opacity: .1; }
.cv-seof__stat-ic svg { width: 140px; height: 140px; }

/* ---- CTA band ------------------------------------------------------------- */
.cv-ctaband { padding-block: clamp(40px, 5vw, 64px); }
.cv-ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.cv-ctaband--ink .cv-ctaband__inner { background: var(--ink); }
.cv-ctaband--coral .cv-ctaband__inner { background: var(--coral); }
.cv-ctaband--lime .cv-ctaband__inner { background: var(--lime); color: var(--ink); }
.cv-ctaband__inner::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; background: rgba(255,255,255,.08); transform: rotate(45deg); }
.cv-ctaband--lime .cv-ctaband__inner::after { background: rgba(14,14,18,.06); }
.cv-ctaband__title { font-size: clamp(1.5rem, 3vw, 2.4rem); max-width: 20ch; position: relative; }
.cv-ctaband__text { margin-top: 12px; opacity: .85; max-width: 46ch; position: relative; }
.cv-ctaband__btn { position: relative; }
.cv-ctaband--blue .cv-ctaband__btn, .cv-ctaband--ink .cv-ctaband__btn, .cv-ctaband--coral .cv-ctaband__btn { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }
.cv-ctaband--lime .cv-ctaband__btn { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }

/* ---- Advantages ----------------------------------------------------------- */
.cv-adv__list { display: grid; gap: 20px; }
.cv-adv__row { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: start; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .3s; }
/* Animated accent bar that grows from the left on hover. */
.cv-adv__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.cv-adv__row:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.cv-adv__row:hover::before { transform: scaleY(1); }
.cv-adv__index { display: flex; flex-direction: column; gap: 14px; }
.cv-adv__num { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; color: var(--blue); line-height: .9; transition: transform .4s var(--ease); }
.cv-adv__row:hover .cv-adv__num { transform: translateX(6px); }
.cv-adv__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cream); color: var(--ink); display: grid; place-items: center; transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease); }
.cv-adv__row:hover .cv-adv__icon { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.08); }
.cv-adv__icon svg { width: 26px; height: 26px; }
.cv-adv__title { font-size: 1.5rem; margin-bottom: 10px; }
.cv-adv__text { color: var(--muted); margin-bottom: 16px; }
.cv-adv__bullets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.cv-adv__bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; font-weight: 500; }
.cv-adv__bullets svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }

/* ---- Cases ---------------------------------------------------------------- */
.cv-cases { background: var(--cream); }
.cv-cases__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cv-case { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.cv-case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cv-case__media { position: relative; aspect-ratio: 4/3; background: var(--ink); overflow: hidden; }
.cv-case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cv-case:hover .cv-case__media img { transform: scale(1.06); }
.cv-case__ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; padding: 16px; text-align: center; }
.cv-case__metric { position: absolute; left: 14px; bottom: 14px; background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; padding: 6px 14px; border-radius: 100px; }
.cv-case__body { padding: 22px 22px 26px; }
.cv-case__name { font-size: 1.2rem; margin-bottom: 8px; }
.cv-case__result { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.cv-case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-case__tags span { font-size: .72rem; font-weight: 600; padding: 4px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); }

/* ---- Process -------------------------------------------------------------- */
.cv-process { background: var(--ink); color: #fff; }
.cv-process .cv-sechead__title { color: #fff; }
.cv-process__pillars { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.cv-pillar { display: inline-flex; align-items: center; gap: 10px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; padding: 12px 22px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.cv-pillar__ic { color: var(--lime); display: grid; place-items: center; }
.cv-pillar__ic svg { width: 20px; height: 20px; }
.cv-process__steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.cv-process__steps > li::marker { content: ""; }
.cv-step { position: relative; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 32px; transition: background .3s, transform .35s var(--ease); }
.cv-step:hover { background: var(--ink-3); transform: translateY(-4px); }
.cv-step__num { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--blue); }
.cv-step__title { font-size: 1.35rem; margin: 12px 0 10px; }
.cv-step__text { color: rgba(255,255,255,.6); font-size: .98rem; }

/* ---- Proof ---------------------------------------------------------------- */
.cv-proof { background: var(--lime); color: var(--ink); }
.cv-proof__title { font-size: clamp(1.8rem, 3.6vw, 3rem); text-align: center; max-width: 20ch; margin: 0 auto clamp(36px, 4vw, 56px); }
.cv-proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cv-proof__item { text-align: center; padding: 32px 20px; border: 2px solid var(--ink); border-radius: var(--radius); background: transparent; }
.cv-proof__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -.03em; display: inline-flex; align-items: baseline; }
.cv-proof__suf { font-size: .5em; }
.cv-proof__label { margin-top: 14px; font-weight: 600; font-size: 1.02rem; }

/* ---- Reviews -------------------------------------------------------------- */
.cv-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cv-review { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .35s, transform .35s var(--ease); }
.cv-review:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cv-review__q { color: var(--blue); opacity: .25; }
.cv-review__q svg { width: 40px; height: 40px; }
.cv-review .cv-stars { color: #FFB100; }
.cv-review__text { font-family: inherit; font-size: 1.05rem; margin: 0; font-style: normal; color: var(--ink-2); line-height: 1.55; }
.cv-review__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.cv-review__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cv-review__avatar--ph { background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.cv-review__author strong { display: block; font-family: var(--font-display); font-weight: 700; }
.cv-review__author em { font-style: normal; color: var(--muted); font-size: .9rem; }

/* ---- Lead form ------------------------------------------------------------ */
.cv-lead { background: var(--ink); color: #fff; }
.cv-lead__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cv-lead__title { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 18px; }
.cv-lead__title .hl { color: var(--lime); }
.cv-lead__text { color: rgba(255,255,255,.7); margin-bottom: 26px; font-size: 1.06rem; }
.cv-lead__perks { display: grid; gap: 12px; margin-bottom: 28px; }
.cv-lead__perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.cv-lead__perks svg { flex: none; width: 20px; height: 20px; color: var(--lime); }
.cv-lead__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.cv-lead__phone svg { width: 24px; height: 24px; color: var(--lime); }
.cv-form { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 44px); }
.cv-form__row { margin-bottom: 16px; }
.cv-form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cv-field { display: block; }
.cv-field__label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 7px; }
.cv-field input, .cv-field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 1rem; background: var(--cream); transition: border-color .2s, background .2s; }
.cv-field input:focus, .cv-field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.cv-field textarea { resize: vertical; }
.cv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cv-form__note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.cv-form__note a { color: var(--blue); text-decoration: underline; }
.cv-form__status { margin-top: 14px; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.cv-form__status.is-ok { color: #1a9d4f; }
.cv-form__status.is-err { color: var(--coral); }

/* ---- Blog ----------------------------------------------------------------- */
.cv-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cv-postcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.cv-postcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cv-postcard__link { display: flex; flex-direction: column; height: 100%; }
.cv-postcard__media { aspect-ratio: 16/10; background: var(--cream); overflow: hidden; position: relative; }
.cv-postcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cv-postcard:hover .cv-postcard__media img { transform: scale(1.05); }
.cv-postcard__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); }
.cv-postcard__ph svg { width: 48px; height: 48px; opacity: .3; }
.cv-postcard__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cv-postcard__meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.cv-postcard__title { font-size: 1.2rem; line-height: 1.25; }
.cv-postcard__excerpt { color: var(--muted); font-size: .95rem; }
.cv-postcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; color: var(--blue); font-weight: 700; font-size: .9rem; }
.cv-postcard__more svg { width: 16px; height: 16px; }
.cv-chip { display: inline-block; background: var(--cream); color: var(--ink); font-weight: 700; font-size: .72rem; padding: 4px 12px; border-radius: 100px; letter-spacing: .02em; }

/* ---- Brands --------------------------------------------------------------- */
.cv-brands { padding-block: clamp(40px, 5vw, 72px); }
.cv-brands__title { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.cv-brands__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); }
.cv-brands__item img { height: 40px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.cv-brands__item:hover img { filter: none; opacity: 1; }

/* ---- Partner -------------------------------------------------------------- */
.cv-partner__inner { position: relative; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 84px); text-align: center; overflow: hidden; }
.cv-partner__deco { position: absolute; inset: 0; pointer-events: none; }
.cv-partner__deco span { position: absolute; }
.cv-partner__deco span:nth-child(1) { width: 140px; height: 140px; background: var(--blue); opacity: .3; top: -30px; left: -30px; }
.cv-partner__deco span:nth-child(2) { width: 90px; height: 90px; border: 3px solid var(--lime); opacity: .4; bottom: 20px; right: 8%; }
.cv-partner__deco span:nth-child(3) { width: 60px; height: 60px; background: var(--coral); opacity: .35; bottom: -20px; left: 30%; }
.cv-partner__title { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 16ch; margin: 0 auto 20px; position: relative; }
.cv-partner__text { color: rgba(255,255,255,.7); max-width: 64ch; margin: 0 auto 34px; position: relative; }

/* ---- FAQ ------------------------------------------------------------------ */
.cv-faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cv-faq__title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 24px; }
.cv-faq__aside { color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.cv-faq__list { display: grid; gap: 12px; }
.cv-acc { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.cv-acc[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.cv-acc__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; }
.cv-acc__q::-webkit-details-marker { display: none; }
.cv-acc__ic { position: relative; flex: none; width: 24px; height: 24px; }
.cv-acc__ic::before, .cv-acc__ic::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.cv-acc__ic::before { left: 4px; right: 4px; top: 11px; height: 2px; }
.cv-acc__ic::after { top: 4px; bottom: 4px; left: 11px; width: 2px; }
.cv-acc[open] .cv-acc__ic::after { transform: scaleY(0); opacity: 0; }
.cv-acc__a { padding: 0 26px 24px; color: var(--muted); }
.cv-acc__a p { margin: 0; }

/* ---- Contact CTA (phone) -------------------------------------------------- */
.cv-callcta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 4vw, 56px); background: var(--cream); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.cv-callcta__title { font-size: clamp(1.5rem, 3vw, 2.4rem); max-width: 22ch; }
.cv-callcta__text { color: var(--muted); margin-top: 10px; }
.cv-callcta__phone { display: inline-flex; align-items: center; gap: 16px; }
.cv-callcta__ic { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.cv-callcta__ic svg { width: 28px; height: 28px; }
.cv-callcta__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; }

/* ---- Page hero (inner) ---------------------------------------------------- */
.cv-phero { position: relative; background: var(--cream); padding-block: clamp(48px, 6vw, 88px); overflow: hidden; }
.cv-phero--block { background: var(--ink); color: #fff; }
.cv-phero--block .cv-breadcrumb, .cv-phero--block .cv-breadcrumb a { color: rgba(255,255,255,.6); }
.cv-phero__deco { position: absolute; inset: 0; pointer-events: none; }
.cv-phero__deco span:nth-child(1) { position: absolute; width: 180px; height: 180px; background: var(--blue); opacity: .3; top: -40px; right: 10%; }
.cv-phero__deco span:nth-child(2) { position: absolute; width: 90px; height: 90px; border: 3px solid var(--lime); opacity: .3; bottom: 10px; right: 26%; }
.cv-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.cv-breadcrumb a:hover { color: var(--blue); }
.cv-phero__title { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 20ch; position: relative; }
.cv-phero__sub { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin-top: 20px; position: relative; }
.cv-phero--block .cv-phero__sub { color: rgba(255,255,255,.72); }
.cv-phero--block .cv-phero__title { color: #fff; }
.cv-phero__title + .cv-btn { margin-top: 28px; }

/* ---- Prose ---------------------------------------------------------------- */
.cv-prose { font-size: 1.08rem; line-height: 1.7; color: var(--ink-2); }
.cv-prose h2 { font-size: 1.9rem; margin: 1.6em 0 .5em; }
.cv-prose h3 { font-size: 1.4rem; margin: 1.4em 0 .5em; }
.cv-prose p { margin: 0 0 1.1em; }
.cv-prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.1em; }
.cv-prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1.1em; }
.cv-prose li { margin-bottom: .4em; }
.cv-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.cv-prose img { border-radius: var(--radius-sm); margin: 1.4em 0; }
.cv-prose blockquote { border-left: 4px solid var(--blue); padding-left: 20px; margin: 1.4em 0; font-style: italic; color: var(--muted); }
.cv-richtext__title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 20px; }

/* ---- Post single ---------------------------------------------------------- */
.cv-phero--post, .cv-phero--archive { text-align: left; }
.cv-post__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: .85rem; color: var(--muted); }
.cv-post__thumb { margin: -40px 0 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cv-post__thumb img { width: 100%; }
.cv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.cv-pagelinks { margin-top: 24px; display: flex; gap: 8px; }

/* ---- Pagination ----------------------------------------------------------- */
.cv-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.cv-pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-family: var(--font-display); transition: background .2s, color .2s, border-color .2s; }
.cv-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.cv-pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.cv-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---- 404 ------------------------------------------------------------------ */
.cv-404 { text-align: center; }
.cv-404__code { font-family: var(--font-display); font-weight: 900; font-size: clamp(6rem, 20vw, 14rem); color: var(--blue); line-height: 1; letter-spacing: -.04em; }
.cv-404__title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 14px; }
.cv-404 p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.cv-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer --------------------------------------------------------------- */
.cv-footer { background: var(--ink); color: #fff; padding-block: clamp(56px, 7vw, 96px) 32px; }
.cv-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(32px, 5vw, 72px); padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.cv-logo--footer .cv-logo__img { height: 76px; width: auto; filter: brightness(0) invert(1); }
.cv-footer__tagline { color: rgba(255,255,255,.62); margin: 20px 0 22px; max-width: 40ch; }
.cv-footer__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 22px; }
.cv-footer__phone svg { width: 22px; height: 22px; color: var(--lime); }
.cv-social { display: flex; gap: 10px; }
.cv-social a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: background .25s, border-color .25s, transform .3s; }
.cv-social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.cv-social svg { width: 20px; height: 20px; }
.cv-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; }
.cv-footer__h { font-size: 1.05rem; margin-bottom: 18px; }
.cv-footer__menu { display: grid; gap: 11px; }
.cv-footer__menu a { color: rgba(255,255,255,.62); font-size: .95rem; transition: color .2s; }
.cv-footer__menu a:hover { color: var(--lime); }
.cv-footer__col--cta p { color: rgba(255,255,255,.62); font-size: .95rem; margin-bottom: 18px; }
.cv-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; }
.cv-copy { color: rgba(255,255,255,.5); font-size: .88rem; margin: 0; }
.cv-legal { display: flex; gap: 22px; }
.cv-legal a { color: rgba(255,255,255,.5); font-size: .88rem; }
.cv-legal a:hover { color: #fff; }

/* ---- Reveal animation -----------------------------------------------------
   Failsafe: elements are hidden ONLY when JS is confirmed present (.cv-js on
   <html>). Without JS, or if the observer never fires, content stays visible.
   The .is-in state uses !important so it always wins the cascade. */
.cv-js .cv-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.cv-js .cv-reveal.is-in { opacity: 1 !important; transform: none !important; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
    .cv-services__grid { grid-template-columns: repeat(2, 1fr); }
    .cv-cases__grid { grid-template-columns: repeat(2, 1fr); }
    .cv-reviews__grid { grid-template-columns: repeat(2, 1fr); }
    .cv-postgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .cv-nav, .cv-header__cta { display: none; }
    .cv-burger { display: flex; }
    .cv-hero__inner { grid-template-columns: 1fr; }
    .cv-hero__panel { flex-direction: row; flex-wrap: wrap; }
    .cv-hero__stat, .cv-hero__cta-card { flex: 1 1 240px; }
    .cv-seof__grid, .cv-lead__grid, .cv-faq__grid { grid-template-columns: 1fr; }
    .cv-process__steps { grid-template-columns: 1fr; }
    .cv-proof__grid { grid-template-columns: 1fr; }
    .cv-adv__row { grid-template-columns: 1fr; gap: 20px; }
    .cv-adv__index { flex-direction: row; align-items: center; }
    .cv-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .cv-services__grid, .cv-cases__grid, .cv-reviews__grid, .cv-postgrid { grid-template-columns: 1fr; }
    .cv-form__row--2 { grid-template-columns: 1fr; }
    .cv-adv__bullets { grid-template-columns: 1fr; }
    .cv-ctaband__inner, .cv-callcta__inner, .cv-sechead--split { flex-direction: column; align-items: flex-start; }
    .cv-hero__actions .cv-btn { flex: 1 1 auto; justify-content: center; }
    .cv-footer__cols { grid-template-columns: 1fr; }
    .cv-footer__bottom { flex-direction: column; align-items: flex-start; }
}

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