/* ============================================================
   Hell Bent — SEO Agency Landing
   Темна тема за замовчуванням, червоний акцент.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    /* Palette (з брифу) */
    --ink:        #0A0A0A;
    --ink-2:      #1A1A1A;
    --bone:       #F2EDE3;
    --bone-2:     #EAE3D4;
    --paper:      #FAF7F0;
    --red:        #FF3D2E;
    --red-dim:    #E8351F;
    --gray-1:     #2A2A2A;
    --gray-2:     #5A5A5A;
    --gray-3:     #888888;
    --gray-4:     #BEBEBE;
    --line:       #1F1F1F;
    --line-light: #D6CFC0;
    --ok:         #2E7D32;

    /* Бейджі кейсів */
    --badge-content: #6B4F3B;
    --badge-links:   #2D3E50;
    --badge-geo:     #4A4A4A;
    --warn:          #C77700;

    /* Typo */
    --font-display: 'Unbounded', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --maxw: 1280px;
    --maxw-narrow: 880px;
    --gutter: clamp(20px, 4vw, 48px);
    --radius: 14px;
    --radius-sm: 8px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--bone);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}
.btn--primary {
    background: var(--red);
    color: #fff;
}
.btn--primary:hover { background: var(--red-dim); transform: translateY(-1px); }
.btn--ghost {
    background: transparent;
    color: var(--bone);
    border-color: var(--gray-1);
}
.btn--ghost:hover { border-color: var(--bone); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 14px 0;
    transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom-color: var(--gray-1);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
}
.logo__mark {
    color: var(--red);
    margin-right: 1px;
}
.logo__text { color: var(--bone); }

.nav__list {
    display: flex;
    gap: 28px;
}
.nav__list a {
    font-size: 14px;
    color: var(--gray-4);
    font-weight: 500;
    position: relative;
}
.nav__list a:hover { color: var(--bone); }
.nav__list a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 1px;
    background: var(--red);
    transition: width .25s var(--ease);
}
.nav__list a:hover::after { width: 100%; }

.header__cta { display: inline-flex; }

.burger {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.burger span {
    width: 22px;
    height: 1.5px;
    background: var(--bone);
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 49;
    padding: 100px 24px 40px;
    display: flex;
    flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu a {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--bone);
    padding: 14px 0;
    display: block;
    border-bottom: 1px solid var(--gray-1);
}
.mobile-menu__cta {
    margin-top: 32px;
    align-self: flex-start;
}

/* ---------- Sections (common) ---------- */
.section {
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
}
.section--paper {
    background: var(--paper);
    color: var(--ink);
}
.section__head {
    max-width: 720px;
    margin-bottom: clamp(40px, 6vw, 72px);
}
.section__tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section__title {
    font-size: clamp(36px, 5.5vw, 64px);
    margin-bottom: 16px;
}
.section--paper .section__title { color: var(--ink); }
.section__lead {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--gray-4);
    max-width: 600px;
    margin: 0;
}
.section--paper .section__lead { color: var(--gray-2); }

/* ---------- HERO ---------- */
.hero {
    padding: clamp(110px, 16vw, 180px) 0 clamp(60px, 9vw, 110px);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 20% 0%, rgba(255, 61, 46, 0.12), transparent 60%),
        radial-gradient(40% 40% at 100% 100%, rgba(255, 61, 46, 0.06), transparent 70%);
    pointer-events: none;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
}
.hero__copy { position: relative; z-index: 2; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--gray-4);
    padding: 8px 16px;
    border: 1px solid var(--gray-1);
    border-radius: 999px;
    margin-bottom: 28px;
}
.eyebrow__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(255, 61, 46, 0.18);
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 61, 46, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(255, 61, 46, 0); }
}

.hero__title {
    font-size: clamp(40px, 6.5vw, 84px);
    line-height: 1.02;
    margin-bottom: 28px;
}
.accent { color: var(--red); }

.hero__lead {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--gray-4);
    max-width: 540px;
    margin: 0 0 36px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero__bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    color: var(--gray-4);
    font-size: 14px;
}
.hero__bullets li {
    position: relative;
    padding-left: 18px;
}
.hero__bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 8px; height: 8px;
    border: 1.5px solid var(--red);
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg);
}

/* Hero visual / dashboard mock */
.hero__visual {
    position: relative;
    z-index: 1;
}
.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.hero__blob--1 {
    width: 320px; height: 320px;
    background: rgba(255, 61, 46, 0.20);
    top: -40px; right: -60px;
}
.hero__blob--2 {
    width: 240px; height: 240px;
    background: rgba(255, 61, 46, 0.10);
    bottom: -40px; left: 20%;
}

.dashboard {
    position: relative;
    z-index: 1;
    background: var(--ink-2);
    border: 1px solid var(--gray-1);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.dashboard__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-1);
    margin-bottom: 22px;
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gray-1);
}
.dot--red { background: var(--red); }
.dashboard__title {
    margin-left: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--gray-3);
    letter-spacing: 0.02em;
}
.dashboard__metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.dashboard__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-3);
}
.dashboard__value {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 800;
    color: var(--bone);
    letter-spacing: -0.02em;
}
.dashboard__chart {
    width: 100%;
    height: 120px;
    display: block;
    margin-bottom: 18px;
}
.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2.4s var(--ease) forwards .4s;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.dashboard__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-1);
}
.dashboard__cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cell__label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-3);
}
.cell__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--bone);
}
.cell__value--ok { color: var(--ok); }

/* ---------- TRUST BAR ---------- */
.trust {
    padding: 40px 0 60px;
    border-top: 1px solid var(--gray-1);
    border-bottom: 1px solid var(--gray-1);
}
.trust__label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-3);
    text-align: center;
    margin: 0 0 32px;
}
.trust__label span { color: var(--gray-4); }
.trust__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.stat {
    text-align: center;
    padding: 12px 0;
}
.stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: var(--bone);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}
.stat__num .counter { color: var(--red); }
.stat__label {
    font-size: 13px;
    color: var(--gray-3);
    letter-spacing: 0.02em;
}

.trust__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 48px;
    opacity: 0.55;
}
.client-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.12em;
    color: var(--gray-4);
    padding: 8px 18px;
    border: 1px dashed var(--gray-1);
    border-radius: 4px;
}

/* ---------- SERVICES ---------- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-1);
    border: 1px solid var(--gray-1);
    border-radius: var(--radius);
    overflow: hidden;
}
.service-card {
    background: var(--ink);
    padding: 36px 32px 32px;
    transition: background .25s var(--ease), transform .25s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.service-card:hover {
    background: var(--ink-2);
}
.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 61, 46, 0.10);
    color: var(--red);
    margin-bottom: 6px;
    transition: transform .3s var(--ease);
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card:hover .service-card__icon {
    transform: translateY(-2px) rotate(-3deg);
    background: rgba(255, 61, 46, 0.18);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--bone);
}
.service-card p {
    color: var(--gray-4);
    font-size: 15px;
    margin: 0;
    flex: 1;
}
.service-card__link {
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
    align-self: flex-start;
    transition: gap .2s var(--ease), letter-spacing .2s var(--ease);
}
.service-card__link:hover {
    letter-spacing: 0.02em;
}

/* ---------- WHY US ---------- */
.why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-light);
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    overflow: hidden;
}
.why-item {
    background: var(--paper);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .25s var(--ease);
}
.why-item:hover { background: #fff; }
.why-item__num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.06em;
}
.why-item h3 {
    font-size: 26px;
    color: var(--ink);
}
.why-item p {
    color: var(--gray-2);
    font-size: 15px;
    margin: 0;
}

/* ---------- PROCESS ---------- */
.process__timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
    counter-reset: step;
}
.process__timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(to right, var(--gray-1), var(--red) 50%, var(--gray-1));
}
.step {
    position: relative;
    padding: 0 8px;
    text-align: left;
}
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ink-2);
    border: 1px solid var(--gray-1);
    color: var(--red);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.step:hover .step__num {
    border-color: var(--red);
    transform: scale(1.05);
}
.step h3 {
    font-size: 18px;
    color: var(--bone);
    margin-bottom: 8px;
}
.step p {
    color: var(--gray-4);
    font-size: 14px;
    margin: 0;
    line-height: 1.55;
}

/* ---------- TEAM ---------- */
.team__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.team__grid--duo {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    gap: 28px;
}
.member {
    background: var(--ink-2);
    border: 1px solid var(--gray-1);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.member:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 61, 46, 0.4);
}
.member__photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--ink);
    margin-bottom: 6px;
}
.member__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
    filter: grayscale(0.2);
}
.member:hover .member__photo img {
    transform: scale(1.04);
    filter: grayscale(0);
}
.member h3 {
    font-size: 17px;
    color: var(--bone);
}
.member__role {
    font-size: 12px;
    color: var(--red);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.member p {
    color: var(--gray-4);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}
.member__link {
    color: var(--red);
    border-bottom: 1px solid rgba(255, 61, 46, 0.4);
    transition: border-color .2s var(--ease);
}
.member__link:hover { border-bottom-color: var(--red); }
.member__socials {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.member__socials a {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gray-1);
    color: var(--gray-4);
    transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.member__socials a:hover {
    color: var(--red);
    border-color: var(--red);
    background: rgba(255, 61, 46, 0.08);
}

/* ---------- CASES ---------- */
.cases__group + .cases__group {
    margin-top: 56px;
}
.cases__group-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cases__group-tag {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
}
.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.case-card {
    background: #fff;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.18);
}
.case-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.badge {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 5px 9px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge--content { background: var(--badge-content); }
.badge--links   { background: var(--badge-links); }
.badge--geo     { background: var(--badge-geo); }
.badge--launch  { background: var(--red); }
.case-card__client {
    font-size: 12px;
    color: var(--gray-3);
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    text-align: right;
}
.case-card h3 {
    font-size: 18px;
    color: var(--ink);
    line-height: 1.2;
}
.case-card__shot {
    display: block;
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--line-light);
    background: #fff;
    aspect-ratio: 16 / 9;
    position: relative;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
    cursor: zoom-in;
}
.case-card__shot::after {
    content: "↗";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.78);
    color: #fff;
    font-size: 14px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity .2s var(--ease);
    pointer-events: none;
}
.case-card__shot:hover {
    border-color: var(--red);
    box-shadow: 0 8px 24px -12px rgba(255, 61, 46, 0.35);
}
.case-card__shot:hover::after {
    opacity: 1;
}
.case-card__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}
.case-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}
.case-card__metrics div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.case-card__metrics strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    color: var(--red);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.case-card__metrics span {
    font-size: 10px;
    color: var(--gray-2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.case-card__period {
    font-size: 11px;
    color: var(--gray-3);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.testimonial {
    background: var(--ink-2);
    border: 1px solid var(--gray-1);
    border-radius: var(--radius);
    padding: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .25s var(--ease), transform .25s var(--ease);
    min-width: 0;
}
.testimonial:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 61, 46, 0.35);
}
.testimonial--neutral {
    background: rgba(199, 119, 0, 0.06);
    border-color: rgba(199, 119, 0, 0.35);
}
.testimonial--neutral:hover {
    border-color: rgba(199, 119, 0, 0.7);
}
.testimonial__stars {
    font-size: 15px;
    letter-spacing: 3px;
    line-height: 1;
    margin: 0;
    display: inline-flex;
    align-items: baseline;
}
.testimonial__stars .filled { color: var(--red); }
.testimonial__stars .empty { color: var(--gray-1); }
.testimonial--neutral .testimonial__stars .filled { color: var(--warn); }
.testimonial blockquote {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--bone);
    margin: 0;
    letter-spacing: 0;
    flex: 1;
}
.testimonial figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-1);
}
.testimonial--neutral figcaption {
    border-top-color: rgba(199, 119, 0, 0.25);
}
.testimonial figcaption strong {
    font-family: var(--font-body);
    color: var(--bone);
    font-size: 14px;
    font-weight: 600;
}
.testimonial figcaption span {
    font-size: 12px;
    color: var(--gray-3);
}

/* ---------- FAQ ---------- */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s var(--ease);
}
.faq-item[open] { border-color: var(--red); }
.faq-item summary {
    cursor: pointer;
    padding: 22px 28px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 26px;
    color: var(--red);
    line-height: 1;
    transition: transform .25s var(--ease);
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
    padding: 0 28px 22px;
    color: var(--gray-2);
}
.faq-item__body p { margin: 0; font-size: 15px; line-height: 1.65; }

/* ---------- CTA / FORM ---------- */
.cta {
    background: linear-gradient(180deg, var(--ink) 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 50% 0%, rgba(255, 61, 46, 0.10), transparent 70%);
    pointer-events: none;
}
.cta__inner {
    position: relative;
    background: var(--ink-2);
    border: 1px solid var(--gray-1);
    border-radius: var(--radius);
    padding: clamp(36px, 5vw, 64px);
}
.cta__title {
    font-size: clamp(32px, 4.5vw, 52px);
    margin-bottom: 16px;
    color: var(--bone);
}
.cta__lead {
    font-size: 16px;
    color: var(--gray-4);
    margin: 0 0 36px;
    max-width: 580px;
}

.form { display: flex; flex-direction: column; gap: 18px; }
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.form__field > span {
    font-size: 13px;
    color: var(--gray-4);
    font-weight: 500;
}
.form__field > span em {
    color: var(--gray-3);
    font-style: normal;
    font-weight: 400;
}
.form__field input,
.form__field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--ink);
    border: 1px solid var(--gray-1);
    border-radius: var(--radius-sm);
    color: var(--bone);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s var(--ease), background .2s var(--ease);
    resize: vertical;
}
.form__field input:focus,
.form__field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #0F0F0F;
}
.form__field input::placeholder,
.form__field textarea::placeholder {
    color: var(--gray-3);
}
.form__field.has-error input,
.form__field.has-error textarea {
    border-color: var(--red);
}
.form__error {
    font-style: normal;
    font-size: 12px;
    color: var(--red);
    display: none;
}
.form__field.has-error .form__error { display: block; }

.form__submit {
    align-self: flex-start;
    margin-top: 6px;
}
.form__note {
    font-size: 12px;
    color: var(--gray-3);
    margin: 0;
}
.form__note a { color: var(--gray-4); text-decoration: underline; }

.form__success {
    padding: 16px 20px;
    background: rgba(46, 125, 50, 0.12);
    border: 1px solid var(--ok);
    border-radius: var(--radius-sm);
    color: var(--bone);
    font-size: 14px;
}
.form__success strong { color: var(--ok); }

.form__error--global {
    display: block;
    position: static;
    padding: 14px 18px;
    background: rgba(255, 61, 46, 0.1);
    border: 1px solid rgba(255, 61, 46, 0.45);
    border-radius: var(--radius-sm);
    color: var(--bone);
    font-size: 14px;
    font-style: normal;
    margin-top: 8px;
}
.form__error--global a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #050505;
    padding: 72px 0 28px;
    border-top: 1px solid var(--gray-1);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}
.footer__col--brand p {
    color: var(--gray-4);
    font-size: 14px;
    margin: 18px 0;
    max-width: 320px;
}
.logo--footer { margin-bottom: 6px; display: inline-flex; }
.footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.footer__socials a {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gray-1);
    color: var(--gray-4);
    transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.footer__socials a:hover {
    color: var(--red);
    border-color: var(--red);
    background: rgba(255, 61, 46, 0.08);
}
.footer h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bone);
    margin: 0 0 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col li, .footer__col a {
    color: var(--gray-4);
    font-size: 14px;
}
.footer__col a:hover { color: var(--red); }

.footer__bottom {
    padding-top: 28px;
    border-top: 1px solid var(--gray-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-3);
}
.footer__bottom div { display: flex; gap: 18px; }
.footer__bottom a:hover { color: var(--bone); }

/* ---------- Floating CTA (mobile) ---------- */
.floating-cta {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 40;
    background: var(--red);
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 28px -8px rgba(255, 61, 46, 0.5);
    animation: floatIn .4s var(--ease) .6s both;
}
@keyframes floatIn {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .nav, .header__cta { display: none; }
    .burger { display: inline-flex; }

    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { order: -1; max-width: 520px; margin: 0 auto 8px; }

    .trust__stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }

    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: repeat(2, 1fr); }

    .process__timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
    .process__timeline::before { display: none; }

    .team__grid { grid-template-columns: repeat(3, 1fr); }
    .team__grid--duo { grid-template-columns: repeat(2, minmax(0, 380px)); }
    .cases__grid { grid-template-columns: repeat(2, 1fr); }
    .cases__group + .cases__group { margin-top: 48px; }
    .testimonials__grid { grid-template-columns: repeat(2, 1fr); }

    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .services__grid { grid-template-columns: 1fr; }
    .why__grid { grid-template-columns: 1fr; }
    .team__grid { grid-template-columns: repeat(2, 1fr); }
    .team__grid--duo { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .process__timeline { grid-template-columns: 1fr; }

    .form__row { grid-template-columns: 1fr; }

    .footer__grid { grid-template-columns: 1fr; gap: 32px; }

    .floating-cta { display: inline-flex; }
}

@media (max-width: 640px) {
    .cases__grid { grid-template-columns: 1fr; }
    .cases__group-title { font-size: 19px; }
    .testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .team__grid { grid-template-columns: 1fr; }
    .trust__stats { grid-template-columns: 1fr 1fr; }
    .hero__actions .btn { width: 100%; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .cta__inner { padding: 28px 22px; }
}

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