/* ============== RESET & BASE ============== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red: #ef2d2c;
    --cream: #f4f1ec;
    --cream-light: #faf8f5;
    --white: #ffffff;
    --ink: #1a1a1a;
    --text: #2a2a2a;
    --text-mid: #6a6a6a;
    --text-light: #9a9a9a;
    --border: #e0dbd2;
    --border-soft: #ece7de;
    --green: #16a34a;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 15px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ============== TYPOGRAPHY ============== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
}

/* ============== LOGO (used in footer) ============== */
.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--ink);
    border-radius: 6px;
    position: relative;
    display: grid;
    place-items: center;
}

.logo-mark::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    font-weight: 600;
}

.logo-text small {
    font-size: 10px;
    color: var(--text-mid);
    font-weight: 400;
    margin-top: 3px;
    letter-spacing: 0.02em;
}

/* ============== HERO LOGO (top of left column) ============== */
.hero-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    transition: opacity 0.25s ease;
}

.hero-logo:hover {
    opacity: 0.85;
}

.hero-logo img {
    height: 72px;
    width: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 768px) {
    .hero-logo {
        margin-bottom: 22px;
    }

    .hero-logo img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        height: 52px;
    }
}

/* ============== HERO (Premium Split-Screen) ============== */
.hero {
    --hatch-gap: 64px;
    --hatch-line: rgba(17, 17, 17, 0.05);
    padding: 32px 0 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--cream);
    background-image:
        repeating-linear-gradient(45deg, var(--hatch-line) 0, var(--hatch-line) 1px, transparent 1px, transparent var(--hatch-gap)),
        repeating-linear-gradient(-45deg, var(--hatch-line) 0, var(--hatch-line) 1px, transparent 1px, transparent var(--hatch-gap));
}

/* Soft vignette: fades the crosshatch around content for readability */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 50% at 50% 50%, rgba(244, 241, 236, 0.75), transparent 75%),
        linear-gradient(180deg, transparent 0%, transparent 65%, rgba(244, 241, 236, 0.9) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
    opacity: 0.6;
    z-index: 1;
}

/* Decorative background orbs (red glow accents) */
.hero-bg-orb,
.hero-bg-orb-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-orb {
    top: -200px;
    right: -180px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(239, 45, 44, 0.14), rgba(239, 45, 44, 0.04) 40%, transparent 65%);
    filter: blur(8px);
}

.hero-bg-orb-2 {
    bottom: -220px;
    left: -160px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(239, 45, 44, 0.08), rgba(239, 45, 44, 0.02) 45%, transparent 70%);
    filter: blur(10px);
}

@media (max-width: 640px) {
    .hero {
        --hatch-gap: 48px;
    }

    .hero-bg-orb {
        width: 380px;
        height: 380px;
        top: -140px;
        right: -120px;
    }

    .hero-bg-orb-2 {
        width: 320px;
        height: 320px;
        bottom: -140px;
        left: -100px;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 12px 0;
}

@media (max-width: 960px) {
    .hero-card {
        grid-template-columns: 1fr;
        gap: 48px;
        min-height: 0;
        padding: 24px 0 16px;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 13px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 30px;
    letter-spacing: 0.005em;
}

.hero-meta .live-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    animation: livepulse 2s infinite;
}

@keyframes livepulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.08);
    }
}

.hero h1 {
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--ink);
}

.hero h1 .hl {
    color: var(--red);
    font-style: normal;
    white-space: nowrap;
}

.hero h1 .hero-tagline {
    display: inline-block;
    margin-top: 6px;
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text-mid);
}

.hero-sub {
    font-size: 17px;
    line-height: 1.35;
    color: var(--text-mid);
    max-width: 540px;
    margin-bottom: 38px;
}

.hero-sub .accent {
    color: var(--ink);
    font-weight: 500;
}

/* ---- Right: premium form card ---- */
.hero-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow:
        0 1px 2px rgba(17, 17, 17, 0.04),
        0 12px 32px rgba(17, 17, 17, 0.05),
        0 32px 60px -22px rgba(17, 17, 17, 0.08);
    position: relative;
}

.hero-form::after {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 45, 44, 0.4), transparent);
}

.hero-form-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin-bottom: 6px;
}

.hero-form-title .hl {
    color: var(--red);
}

.hero-form-sub {
    font-size: 12.5px;
    color: var(--text-mid);
    line-height: 1.5;
    margin-bottom: 24px;
}

.field {
    margin-bottom: 14px;
}

.field label,
.field-label {
    display: block;
    font-size: 10.5px;
    color: var(--text-mid);
    margin-bottom: 7px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.field input,
.field select {
    width: 100%;
    padding: 13px 14px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field input::placeholder {
    color: var(--text-light);
}

.field input:focus,
.field select:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(239, 45, 44, 0.08);
}

.field-hint {
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--text-light);
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 520px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- Multiselect (service picker) ---------- */
.multiselect {
    position: relative;
}

.multiselect-trigger {
    width: 100%;
    padding: 13px 14px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.multiselect-trigger:hover {
    border-color: #d2cbbe;
}

.multiselect.open .multiselect-trigger,
.multiselect-trigger:focus-visible {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(239, 45, 44, 0.08);
}

.multiselect-trigger-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-light);
}

.multiselect-trigger-text.has-selection {
    color: var(--ink);
}

.multiselect-chevron {
    flex-shrink: 0;
    color: var(--text-mid);
    transition: transform 0.2s ease;
}

.multiselect.open .multiselect-chevron {
    transform: rotate(180deg);
}

.multiselect-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08), 0 4px 10px rgba(26, 26, 26, 0.04);
    max-height: 260px;
    overflow-y: auto;
    z-index: 20;
    padding: 6px;
}

.multiselect-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--ink);
    transition: background 0.15s ease;
}

.multiselect-option:hover {
    background: var(--cream);
}

.multiselect-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.multiselect-check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.multiselect-check::after {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.multiselect-option input[type="checkbox"]:checked + .multiselect-check {
    background: var(--red);
    border-color: var(--red);
}

.multiselect-option input[type="checkbox"]:checked + .multiselect-check::after {
    opacity: 1;
}

.multiselect-option input[type="checkbox"]:focus-visible + .multiselect-check {
    box-shadow: 0 0 0 3px rgba(239, 45, 44, 0.18);
}

.multiselect-label {
    flex: 1;
    line-height: 1.35;
}

.form-btn {
    width: 100%;
    padding: 15px;
    background: var(--ink);
    color: var(--white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

.form-btn svg {
    color: var(--white);
    transition: transform 0.28s ease;
}

.form-btn:hover {
    background: var(--red);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(239, 45, 44, 0.28);
}

.form-btn:hover svg {
    transform: translateX(3px);
}

.form-btn:disabled,
.form-btn[disabled] {
    background: #c9c9c9;
    color: var(--white);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.form-btn:disabled:hover,
.form-btn[disabled]:hover {
    background: #c9c9c9;
    transform: none;
    box-shadow: none;
}

.form-btn:disabled svg,
.form-btn[disabled] svg {
    color: var(--white);
    transform: none;
}

.form-btn.is-loading {
    cursor: progress;
    background: var(--ink);
    color: var(--white);
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnspin 0.8s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes btnspin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-spinner {
        animation-duration: 1.6s;
    }
}

/* GSAP hide-pre-animation — TEMP DISABLED FOR DEBUG */
.hero-anim {
    opacity: 1;
    transform: none;
}

/* ============== SECTION BASE ============== */
.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }
}

.section-head {
    margin-bottom: 40px;
    max-width: 720px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 500;
}

.section-head .sub {
    font-size: 14px;
    color: var(--text-mid);
    margin-top: 12px;
    max-width: 600px;
    line-height: 1.55;
}

/* ============== INDUSTRY VERTICALS (Premium Grid) ============== */
.industries {
    background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
    border-top: 1px solid var(--border-soft);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ambient red glow — soft radial gradients layered for depth */
.industries::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 55%, rgba(239, 45, 44, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(239, 45, 44, 0.05) 0%, transparent 35%),
        radial-gradient(circle at 20% 30%, rgba(239, 45, 44, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle noise texture for premium grain */
.industries::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
    opacity: 0.045;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.industries>.container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .industries {
        padding: 40px 0;
    }
}

.industries-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 48px;
}

@media (max-width: 880px) {
    .industries-head {
        gap: 14px;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .industries-head h2 {
        font-size: clamp(24px, 7vw, 32px);
    }

    .industries-head-sub {
        font-size: 13.5px;
        line-height: 1.55;
    }
}

.industries-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 22px;
}

.industries-eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--red);
}

.industries-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: var(--ink);
}

.industries-head h2 .hl {
    color: var(--red);
}

.industries-head-sub {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0;
}

/* ============== INDUSTRIES — ORBITAL DIAGRAM ============== */
/* Responsive orbit sized via --orbit-size so everything inside
   (radius, items, icons, labels, center padding) scales with it. */
.industries-orbit {
    display: block;
    position: relative;
    --orbit-size: min(82vmin, 480px);
    width: var(--orbit-size);
    height: var(--orbit-size);
    max-width: 100%;
    margin: 8px auto 0;
    --r: calc(var(--orbit-size) * 0.38);
}

@media (min-width: 961px) {
    .industries-orbit {
        --orbit-size: min(56vh, 520px);
    }
}

/* Stage: heading on the left, orbital diagram on the right (desktop).
   Stacks vertically on tablet/mobile — heading on top, orbit below. */
.industries-stage {
    margin-bottom: 24px;
    position: relative;
}

@media (min-width: 961px) {
    .industries-stage {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .industries-stage .industries-head {
        margin-bottom: 0;
    }

    .industries-stage .industries-orbit {
        margin: 0;
        justify-self: end;
    }
}

/* Hide inner 4-item ring on small screens — outer 8 stay readable */
@media (max-width: 720px) {
    .orbit-items-rotor-inner {
        display: none;
    }
}

/* Concentric guide rings */
.industries-orbit::before,
.industries-orbit::after,
.orbit-ring-mid {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.industries-orbit::before {
    width: 100%;
    height: 100%;
}

.industries-orbit::after {
    width: 66%;
    height: 66%;
}

.orbit-ring-mid {
    width: 83%;
    height: 83%;
}

/* Center logo — strong focal core with layered glow.
   Single child (img) is centered via grid place-items. */
.orbit-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 232, 232, 0.95) 55%,
            rgba(255, 210, 210, 0.85) 100%);
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    box-shadow:
        0 0 0 1px rgba(239, 45, 44, 0.15),
        0 30px 60px -20px rgba(17, 17, 17, 0.22),
        0 0 80px 8px rgba(239, 45, 44, 0.22),
        0 0 160px 40px rgba(239, 45, 44, 0.12);
    padding: clamp(10px, calc(var(--orbit-size) * 0.04), 26px);
    z-index: 3;
}

.orbit-center img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 140px;
    object-fit: contain;
}

/* Seamless pulse rings — three rings staggered so a wave is always
   expanding outward. Starts invisible-small, grows to invisible-large
   with no snap back, so the loop reads as continuous flow. */
.industries-orbit .orbit-center-pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(239, 45, 44, 0.5);
    transform: translate(-50%, -50%);
    animation: orbit-core-pulse 4.5s cubic-bezier(0.25, 0.5, 0.4, 1) infinite;
    pointer-events: none;
    z-index: 2;
}

.industries-orbit .orbit-center-pulse:nth-of-type(2) {
    animation-delay: -1.5s;
}

.industries-orbit .orbit-center-pulse:nth-of-type(3) {
    animation-delay: -3s;
}

@keyframes orbit-core-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0;
    }

    12% {
        opacity: 0.55;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Industry items positioned around the orbit.
   --r-mult lets inner-orbit items sit at a smaller radius.
   Width scales with --orbit-size so they don't overflow on mobile. */
.orbit-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(78px, calc(var(--orbit-size) * 0.2), 132px);
    transform: translate(calc(-50% + var(--r) * var(--r-mult, 1) * sin(var(--angle))),
            calc(-50% - var(--r) * var(--r-mult, 1) * cos(var(--angle))));
    text-align: center;
}

/* Inner wrapper carries the flex layout AND the counter-rotation
   so labels stay upright while the parent rotor revolves. */
.orbit-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.orbit-item .oi-icon {
    width: clamp(40px, calc(var(--orbit-size) * 0.088), 58px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    box-shadow:
        0 12px 26px -10px rgba(17, 17, 17, 0.18),
        0 0 0 6px rgba(255, 255, 255, 0.45);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.orbit-item .oi-icon svg {
    width: clamp(16px, calc(var(--orbit-size) * 0.034), 22px);
    height: clamp(16px, calc(var(--orbit-size) * 0.034), 22px);
}

.orbit-item .oi-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(10.5px, calc(var(--orbit-size) * 0.02), 13.5px);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin: 0;
}

/* Shared rotor animation used by the industry-item orbits.
   Counter-clockwise consumers reverse the direction via the
   animation shorthand below instead of duplicating the keyframe. */
@keyframes orbit-revolve {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Two rotating orbits for the industry icons themselves */
.orbit-items-rotor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orbit-items-rotor>.orbit-item {
    pointer-events: auto;
}

.orbit-items-rotor-outer {
    animation: orbit-revolve 90s linear infinite;
}

.orbit-items-rotor-outer .orbit-item-content {
    animation: orbit-revolve 90s linear infinite reverse;
}

.orbit-items-rotor-inner {
    animation: orbit-revolve 60s linear infinite reverse;
}

.orbit-items-rotor-inner .orbit-item-content {
    animation: orbit-revolve 60s linear infinite;
}

/* Items on the inner orbit are visually smaller */
.orbit-item--inner {
    width: clamp(64px, calc(var(--orbit-size) * 0.16), 104px);
}

.orbit-item--inner .oi-icon {
    width: clamp(32px, calc(var(--orbit-size) * 0.067), 44px);
    aspect-ratio: 1;
    box-shadow:
        0 8px 18px -8px rgba(17, 17, 17, 0.16),
        0 0 0 5px rgba(255, 255, 255, 0.4);
}

.orbit-item--inner .oi-icon svg {
    width: clamp(13px, calc(var(--orbit-size) * 0.027), 18px);
    height: clamp(13px, calc(var(--orbit-size) * 0.027), 18px);
}

.orbit-item--inner .oi-name {
    font-size: clamp(9.5px, calc(var(--orbit-size) * 0.017), 11px);
    line-height: 1.25;
}

/* Drifting ambient particles within the orbit area */
.orbit-particle {
    position: absolute;
    left: var(--px);
    top: var(--py);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(239, 45, 44, 0.7);
    box-shadow: 0 0 8px 1.5px rgba(239, 45, 44, 0.4);
    animation: orbit-particle-drift var(--d, 9s) ease-in-out var(--delay, 0s) infinite;
    pointer-events: none;
}

@keyframes orbit-particle-drift {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.25;
    }

    50% {
        transform: translate(var(--dx, 20px), var(--dy, -15px));
        opacity: 0.85;
    }
}

/* Glowing radial line that appears on hover — points from item to center.
   Length is 70% of the orbit radius so it scales naturally with size. */
.orbit-item::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: calc(var(--r) * var(--r-mult, 1) * 0.7);
    background: linear-gradient(to bottom,
            rgba(239, 45, 44, 0.6) 0%,
            rgba(239, 45, 44, 0.15) 70%,
            transparent 100%);
    transform: translate(-50%, 0) rotate(var(--angle));
    transform-origin: top center;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: -1;
}

.orbit-item:hover::before {
    opacity: 1;
}

/* Stronger hover lift on the icon */
.orbit-item:hover .oi-icon {
    transform: translateY(-6px) scale(1.08);
    border-color: rgba(239, 45, 44, 0.5);
    color: var(--red);
    box-shadow:
        0 20px 36px -12px rgba(239, 45, 44, 0.4),
        0 0 0 8px rgba(255, 255, 255, 0.7),
        0 0 30px rgba(239, 45, 44, 0.35);
}

/* Dim siblings when one item is hovered (modern browsers) */
.industries-orbit:has(.orbit-item:hover) .orbit-item:not(:hover) .oi-icon,
.industries-orbit:has(.orbit-item:hover) .orbit-item:not(:hover) .oi-name {
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {

    .orbit-items-rotor,
    .orbit-items-rotor .orbit-item-content,
    .orbit-particle,
    .orbit-center-pulse {
        animation: none;
    }
}

/* ============== WHAT IS CREZVATIC (Editorial intro) ============== */
.about-section {
    background: var(--cream-light);
    padding: 88px 0;
    position: relative;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-soft);
}

.about-wrap {
    max-width: 880px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 32px;
}

.about-section h2 .hl {
    color: var(--red);
}

.about-body p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-body p strong {
    color: var(--ink);
    font-weight: 600;
}

.about-body .about-punchline {
    line-height: 1.6;
    color: var(--ink);
    font-weight: 500;
    padding-left: 20px;
    border-left: 2px solid var(--red);
    margin-top: 12px;
    letter-spacing: -0.005em;
}

@media (max-width: 768px) {
    .about-section {
        padding: 64px 0;
    }

    .about-section h2 {
        margin-bottom: 24px;
    }
}

@media (max-width: 640px) {
    .about-section {
        padding: 56px 0;
    }

    .about-body p {
        font-size: 15.5px;
    }

    .about-body .about-punchline {
        padding-left: 16px;
    }
}

/* ============== SERVICES (Premium Editorial Grid) ============== */
.services-section {
    background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
    border-top: 1px solid var(--border-soft);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle ambient red glow — same family as the industries section,
   but lighter so it doesn't compete with the bento cards. */
.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(239, 45, 44, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(239, 45, 44, 0.04) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.services-section>.container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .services-section {
        padding: 72px 0;
    }
}

.services-section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 44px;
}

.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 22px;
}

.services-eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--red);
}

.services-section-head h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: var(--ink);
}

.services-section-head h2 .hl {
    color: var(--red);
}

.services-head-sub {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0;
}

/* Services stage holds the grid + the traveling orb + its SVG path.
   Mirrors the .process-timeline pattern: orb travels through cards
   in numerical order as the section scrolls into view. */
.services-stage {
    position: relative;
}

.services-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.services-path-track {
    fill: none;
    stroke: rgba(239, 45, 44, 0.12);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-path-fill {
    fill: none;
    stroke: var(--red);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(239, 45, 44, 0.45));
}

.services-orb {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red);
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    box-shadow:
        0 0 28px 10px rgba(239, 45, 44, 0.6),
        0 0 60px 20px rgba(239, 45, 44, 0.28),
        inset 0 0 8px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
    will-change: transform;
}

.services-orb.visible {
    opacity: 1;
}

.services-orb::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 45, 44, 0.3), transparent 70%);
    animation: orbHalo 2s ease-in-out infinite;
}


@media (prefers-reduced-motion: reduce) {
    .services-orb::before {
        animation: none;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}

/* === Snake-order layout =============================================
   DOM order is numerical (01 → 09), but on each breakpoint we use
   `order` to reverse every other row. That gives the traveling orb a
   clean right-angle snake path (1→2→3→4 across, drop, 8→7→6→5 back,
   drop, 9 → CTA) instead of jagged diagonals between rows.
   At ≤640px we fall through to the carousel — no reorder applies. */

/* 4-col layout (≥1101px): row 2 is 8-7-6-5, CTA spans cols 2–4 */
@media (min-width: 1101px) {
    .svc-card:nth-of-type(5) { order: 8; }
    .svc-card:nth-of-type(6) { order: 7; }
    .svc-card:nth-of-type(7) { order: 6; }
    .svc-card:nth-of-type(8) { order: 5; }
    .svc-card:nth-of-type(9) { order: 9; }
    .svc-cta { order: 10; grid-column: span 3; }
}

/* Tablet: drop to 3 columns. Snake: row 2 is 6-5-4, CTA spans full row */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 721px) and (max-width: 1100px) {
    .svc-card:nth-of-type(4) { order: 6; }
    .svc-card:nth-of-type(5) { order: 5; }
    .svc-card:nth-of-type(6) { order: 4; }
    .svc-card:nth-of-type(7) { order: 7; }
    .svc-card:nth-of-type(8) { order: 8; }
    .svc-card:nth-of-type(9) { order: 9; }
    .svc-cta { order: 10; grid-column: 1 / -1; }
}

/* Small tablet / large phone: 2-col grid. Snake reverses rows 2 and 4 */
@media (max-width: 720px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .svc-card:nth-of-type(3) { order: 4; }
    .svc-card:nth-of-type(4) { order: 3; }
    .svc-card:nth-of-type(5) { order: 5; }
    .svc-card:nth-of-type(6) { order: 6; }
    .svc-card:nth-of-type(7) { order: 8; }
    .svc-card:nth-of-type(8) { order: 7; }
    .svc-card:nth-of-type(9) { order: 9; }
    .svc-cta { order: 10; }
}

/* === Phone refinements: drop to single column so card content has
   room to breathe (long service names like "Meta Ads (Facebook &
   Instagram)" got smushed at 2 cols on narrow phones). === */
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Single column → reset the snake order so cards render in DOM
       order (01 → 09) instead of the 2-col reversal above. */
    .svc-card:nth-of-type(3),
    .svc-card:nth-of-type(4),
    .svc-card:nth-of-type(5),
    .svc-card:nth-of-type(6),
    .svc-card:nth-of-type(7),
    .svc-card:nth-of-type(8),
    .svc-card:nth-of-type(9) {
        order: 0;
    }

    .svc-card {
        padding: 18px 20px 16px;
        min-height: 0;
    }

    .svc-card h4 {
        font-size: 15px;
    }

    .svc-preview {
        font-size: 13px;
    }

    .svc-cta {
        padding: 22px 20px;
        min-height: 0;
        gap: 12px;
    }

    .svc-cta-line {
        font-size: 14px;
    }

    /* Smaller orb so its glow fits the narrower path comfortably */
    .services-orb {
        width: 18px;
        height: 18px;
        box-shadow:
            0 0 20px 8px rgba(239, 45, 44, 0.6),
            0 0 44px 14px rgba(239, 45, 44, 0.28),
            inset 0 0 6px rgba(255, 255, 255, 0.5);
    }
}

/* Hide swipe hint outside mobile carousel mode */
.services-swipe-hint {
    display: none;
}

/* Glass card — matches the airy, atmospheric feel of the process
   and industries sections. Light blur, mostly opaque white. */
.svc-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 22px 20px;
    transition: border-color 0.35s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        background 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 170px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

/* Active — the orb is currently passing under this card. Lighter
   touch than :hover (no scale or lift) so the cards don't jump as
   you scroll; just a warm red wash to mark which card the orb is
   illuminating right now. */
.svc-card.active {
    border-color: rgba(239, 45, 44, 0.35);
    background: rgba(255, 248, 248, 0.92);
    box-shadow:
        0 0 0 1px rgba(239, 45, 44, 0.12),
        0 18px 36px -16px rgba(17, 17, 17, 0.14),
        0 0 36px -10px rgba(239, 45, 44, 0.22);
}

.svc-card.active .svc-icon {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.svc-card.active .svc-num {
    color: var(--red);
}

/* Hover — mirror the active state so the card lights up on cursor hover too. */
.svc-card:hover .svc-icon {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.svc-card:hover .svc-num {
    color: var(--red);
}

/* Image-based SVG icons (Meta, Google, LinkedIn, Snapchat) can't inherit
   `color` like inline SVGs do, so we invert their colors on hover/active.
   `invert(1)` swaps black↔white so 2-tone logos (dark circle + white letter)
   keep their inner detail instead of becoming a solid blob. */
.svc-card:hover .svc-icon img,
.svc-card.active .svc-icon img {
    filter: invert(1);
}

/* Hidden services revealed by toggle */
.svc-card.svc-hidden {
    display: none;
}

.services-grid.show-all .svc-card.svc-hidden {
    display: flex;
    animation: svcReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: 0.02s;
}

.services-grid.show-all .svc-card.svc-hidden:nth-of-type(10) {
    animation-delay: 0.06s;
}

.services-grid.show-all .svc-card.svc-hidden:nth-of-type(11) {
    animation-delay: 0.10s;
}

.services-grid.show-all .svc-card.svc-hidden:nth-of-type(12) {
    animation-delay: 0.14s;
}

.services-grid.show-all .svc-card.svc-hidden:nth-of-type(13) {
    animation-delay: 0.18s;
}

.services-grid.show-all .svc-card.svc-hidden:nth-of-type(14) {
    animation-delay: 0.22s;
}

@keyframes svcReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.svc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.svc-num {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-light);
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

.svc-icon {
    width: 34px;
    height: 34px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.svc-card h4 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin-bottom: 6px;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

.svc-preview {
    font-size: 12.5px;
    color: var(--text-mid);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* CTA block — lives inside the services grid as the trailing item.
   Full red wash, white text. The snake-order media queries below
   position it across the empty slots of the final row (3 cols on
   4-col view, full row on 3-col). */
.svc-cta {
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 14px;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    min-height: 170px;
    position: relative;
    color: var(--white);
}

.svc-cta-line {
    font-size: 15px;
    color: var(--white);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
    letter-spacing: -0.005em;
    max-width: 360px;
}

.svc-cta .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    color: var(--white);
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.svc-cta .cta svg {
    color: var(--white);
}

/* === Show All Services toggle === */
.services-toggle-wrap {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.services-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.28s ease, background 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.services-toggle:hover,
.services-toggle:focus-visible {
    border-color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -8px rgba(17, 17, 17, 0.16);
    outline: none;
}

.services-toggle .toggle-count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--red);
    background: rgba(239, 45, 44, 0.08);
    padding: 3px 8px;
    border-radius: 100px;
    font-variant-numeric: tabular-nums;
}

.services-toggle .toggle-icon {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-mid);
}

.services-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
    color: var(--red);
}

/* ============== PROCESS (Cinematic Onboarding Timeline) ============== */
.process {
    background: var(--cream-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-soft);
}

@media (max-width: 768px) {
    .process {
        padding: 72px 0;
    }
}

.process-head {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    margin-bottom: 64px;
    align-items: end;
}

@media (max-width: 880px) {
    .process-head {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 44px;
    }
}

.process-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 22px;
}

.process-eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--red);
}

.process-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: var(--ink);
}

.process-head h2 .hl {
    color: var(--red);
}

/* Heading orb — the period that becomes the journey starter */
/* The orb is a real "." glyph inside this span, so it sits on the
   baseline automatically — just like a period at the end of a
   sentence. CSS only styles the glow + pulse. */
.heading-orb {
    display: inline-block;
    color: var(--red);
    font-weight: 900;
    margin-left: 0.05em;
    text-shadow:
        0 0 16px rgba(239, 45, 44, 0.55),
        0 0 32px rgba(239, 45, 44, 0.25);
    animation: orbPulse 2.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes orbPulse {

    0%,
    100% {
        text-shadow:
            0 0 16px rgba(239, 45, 44, 0.55),
            0 0 32px rgba(239, 45, 44, 0.25);
        transform: scale(1);
    }

    50% {
        text-shadow:
            0 0 22px rgba(239, 45, 44, 0.7),
            0 0 44px rgba(239, 45, 44, 0.35);
        transform: scale(1.15);
    }
}

/* Timeline wrapper holds the grid + svg path + traveling orb */
.process-timeline {
    position: relative;
}

.process-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.process-path-track {
    fill: none;
    stroke: rgba(239, 45, 44, 0.12);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-path-fill {
    fill: none;
    stroke: var(--red);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(239, 45, 44, 0.45));
}

/* Traveling orb that follows the path */
.timeline-orb {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red);
    top: 0;
    left: 0;
    pointer-events: none;
    /* Sits behind the cards (grid is z-index 1). When it passes
       under a card, the card's backdrop-filter blurs its glow. */
    z-index: 0;
    box-shadow:
        0 0 28px 10px rgba(239, 45, 44, 0.6),
        0 0 60px 20px rgba(239, 45, 44, 0.28),
        inset 0 0 8px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
    will-change: transform;
}

.timeline-orb.visible {
    opacity: 1;
}

.timeline-orb::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 45, 44, 0.3), transparent 70%);
    animation: orbHalo 2s ease-in-out infinite;
}

@keyframes orbHalo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.3;
    }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

/* Desktop 3-col only: visually reorder bottom row as 6,5,4 so the
   orb snakes cleanly (1→2→3 across top, drop, 4→5→6 right-to-left
   across bottom). DOM stays numerical so tablet/mobile flow naturally. */
@media (min-width: 961px) {
    .process-card:nth-child(4) {
        order: 6;
    }

    .process-card:nth-child(5) {
        order: 5;
    }

    .process-card:nth-child(6) {
        order: 4;
    }
}

@media (max-width: 960px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

.process-card {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 28px 26px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, opacity 0.6s ease, background-color 0.5s ease;
    display: flex;
    flex-direction: column;
    min-height: 232px;
    opacity: 0.5;
}

.process-card.active {
    background-color: rgba(255, 255, 255, 0.78);
    opacity: 1;
    border-color: rgba(239, 45, 44, 0.35);
    transform: translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(239, 45, 44, 0.12),
        0 18px 40px -16px rgba(17, 17, 17, 0.14),
        0 0 40px -10px rgba(239, 45, 44, 0.18);
}

.process-card.active .pc-num {
    color: var(--red);
    text-shadow: 0 0 18px rgba(239, 45, 44, 0.28);
}

.pc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 14px;
}

.pc-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 44px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.045em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.process-card h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.018em;
    line-height: 1.22;
    margin-bottom: 12px;
    color: var(--ink);
}

.process-card p {
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.6;
    flex: 1;
}

@media (prefers-reduced-motion: reduce) {

    .heading-orb,
    .timeline-orb::before {
        animation: none;
    }

    .process-card {
        opacity: 1;
    }
}

/* ============== TESTIMONIALS (Premium Light Quote Grid) ============== */
.testimonials {
    background: var(--cream-light);
    color: var(--ink);
    padding: 96px 0;
    position: relative;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-soft);
}

@media (max-width: 768px) {
    .testimonials {
        padding: 72px 0;
    }
}

.testimonials-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 48px;
}

.testimonials-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: var(--ink);
}

.testimonials-head h2 .hl {
    color: var(--red);
}

.testimonials-head-sub {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0;
}

/* === Testimonials Carousel === */
.testimonials-carousel {
    position: relative;
}

.test-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding: 4px 4px 8px;
}

.test-cards::-webkit-scrollbar {
    display: none;
}

.test-cards::after {
    content: "";
    flex: 0 0 4px;
}

.test-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
    flex: 0 0 calc((100% - 28px) / 3);
    scroll-snap-align: start;
    min-width: 0;
    height: auto;
}

@media (max-width: 1024px) {
    .test-card {
        flex: 0 0 calc((100% - 14px) / 2);
    }
}

@media (max-width: 640px) {
    .test-card {
        flex: 0 0 86%;
        max-width: 360px;
    }
}

.test-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(239, 45, 44, 0.035), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.test-card {
    --mx: 50%;
    --my: 50%;
}

.test-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx) var(--my),
            rgba(239, 45, 44, 0.2),
            rgba(239, 45, 44, 0.07) 32%,
            transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.test-card:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -16px rgba(17, 17, 17, 0.14);
}

.test-card:hover::before {
    opacity: 1;
}

.test-card:hover::after {
    opacity: 1;
}

@media (hover: none) {
    .test-card::after {
        display: none;
    }
}

.test-quote {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-style: italic;
    color: var(--red);
    font-size: 56px;
    line-height: 0.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    user-select: none;
}

.test-body {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text);
    flex: 1;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.test-attr {
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 1;
}

/* Brand mark on the right of each testimonial. By default the
   plate is transparent so colored / dark logos sit cleanly
   against the white card. The `--dark` modifier opts in to a
   dark backdrop for logos whose mark is white. */
.test-avatar {
    order: 2;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: transparent;
    border: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Dark plate — only for logos that would otherwise vanish on
   white (e.g. Glow Garden's all-white mark). */
.test-avatar--dark {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 12px -4px rgba(17, 17, 17, 0.18);
}

/* Soft grey plate — for logos that need a subtle backdrop to
   separate from the white card (e.g. Glow Garden). */
.test-avatar--grey {
    background: #d4d0c6;
    border: 1px solid rgba(17, 17, 17, 0.04);
}

/* Brands whose mark fills its own bounding box edge-to-edge
   (e.g. Car Planet) — shrink them with extra inner padding. */
.test-avatar--tight img {
    padding: 10px;
}

/* Extra-tight — for marks that still look too big at --tight
   (e.g. Glow Garden's circular badge inside its dark plate). */
.test-avatar--xtight img {
    padding: 14px;
}

.test-card:hover .test-avatar {
    transform: translateY(-1px);
}

.test-card:hover .test-avatar--dark {
    border-color: rgba(239, 45, 44, 0.5);
    box-shadow:
        0 4px 12px -4px rgba(17, 17, 17, 0.22),
        0 0 0 4px rgba(239, 45, 44, 0.1);
}

@media (max-width: 640px) {
    .test-avatar {
        width: 52px;
        height: 52px;
        border-radius: 9px;
    }

    .test-avatar img {
        padding: 3px;
    }

    .test-avatar--tight img {
        padding: 8px;
    }

    .test-avatar--xtight img {
        padding: 12px;
    }
}

.test-attr-who {
    line-height: 1.3;
}

.test-attr-who strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.test-attr-who span {
    font-size: 11px;
    color: var(--text-mid);
}

/* ============== BRAND MARQUEE ============== */
.brands {
    background: var(--cream-light);
    padding: 72px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
}

.brands-eyebrow {
    position: relative;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-top: 104px;
    margin-bottom: 56px;
    padding-top: 44px;
}

.brands-eyebrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--border-soft);
}

.brand-marquee {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: brand-scroll 80s linear infinite;
}

.brand-marquee:hover .brand-track {
    animation-play-state: paused;
}

.brand-logo {
    flex: 0 0 auto;
    width: 160px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes brand-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .brands {
        padding: 56px 0;
    }

    .brands-eyebrow {
        margin-top: 72px;
        margin-bottom: 40px;
        padding-top: 32px;
        font-size: 11px;
    }

    .brand-track {
        gap: 44px;
        animation-duration: 55s;
    }

    .brand-logo {
        width: 120px;
        height: 60px;
    }
}

/* ============== FAQ (Premium Accordion) ============== */
.faq {
    background: var(--white);
    padding: 96px 0;
    position: relative;
}

.faq::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-soft);
}

@media (max-width: 768px) {
    .faq {
        padding: 72px 0;
    }
}

.faq-head {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
    align-items: end;
}

@media (max-width: 880px) {
    .faq-head {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 36px;
    }
}

.faq-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: var(--ink);
}

.faq-head h2 .hl {
    color: var(--red);
}

.faq-wrap {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.35s ease;
}

.faq-item:hover {
    border-color: var(--ink);
}

.faq-item.open {
    border-color: var(--ink);
    box-shadow: 0 14px 32px -16px rgba(17, 17, 17, 0.12);
}

.faq-trigger {
    width: 100%;
    text-align: left;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: transparent;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    border: none;
}

.faq-trigger-left {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.faq-num {
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.16em;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.faq-q {
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: -0.018em;
    line-height: 1.32;
    color: var(--ink);
    transition: color 0.25s ease;
}

.faq-trigger:hover .faq-q {
    color: var(--red);
}

.faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cream-light);
    border: 1px solid var(--border);
    flex-shrink: 0;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--ink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.faq-icon::before {
    width: 11px;
    height: 1.5px;
}

.faq-icon::after {
    width: 1.5px;
    height: 11px;
}

.faq-item.open .faq-icon {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(180deg);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
    background: var(--white);
}

.faq-item.open .faq-icon::after {
    opacity: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    padding: 4px 24px 24px 56px;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.65;
    max-width: 760px;
}

.faq-foot {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.faq-foot .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--ink);
    color: var(--white);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.faq-foot .cta svg {
    transition: transform 0.28s ease;
}

.faq-foot .cta:hover {
    background: var(--red);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(239, 45, 44, 0.22);
}

.faq-foot .cta:hover svg {
    transform: translateX(3px);
}

/* ============== SHARED SECTION CTA ============== */
.section-cta {
    margin-top: 56px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
    gap: 24px;
}

.section-cta-line {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.45;
    max-width: 560px;
    letter-spacing: -0.005em;
    margin: 0;
    flex: 1 1 auto;
}

.section-cta .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.005em;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.28s ease;
}

.section-cta .cta svg {
    color: var(--red);
    transition: transform 0.28s ease, color 0.28s ease;
}

.section-cta .cta:hover {
    color: #d62528;
}

.section-cta .cta:hover svg {
    color: #d62528;
    transform: translateX(3px);
}

/* ============== BOOKING / SCHEDULE A CALL ============== */
.booking {
    background: var(--cream);
    padding: 96px 0;
    position: relative;
}

.booking::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-soft);
}

@media (max-width: 768px) {
    .booking {
        padding: 72px 0;
    }
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.booking-copy {
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
}

.booking-copy .booking-sub {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Cal.com embed responsive sizing ---- */
.booking-form-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px;
}

#my-cal-inline {
    width: 100%;
    min-height: clamp(560px, 72vh, 720px);
    overflow: hidden;
    border-radius: 12px;
}

#my-cal-inline iframe {
    display: block;
    width: 100% !important;
    border: 0;
    border-radius: 12px;
}

@media (max-width: 960px) {
    .booking-form-wrap {
        padding: 8px;
    }

    #my-cal-inline {
        min-height: clamp(620px, 80vh, 760px);
    }
}

@media (max-width: 600px) {
    .booking-form-wrap {
        padding: 4px;
        max-width: 100%;
    }

    #my-cal-inline {
        min-height: clamp(640px, 85vh, 820px);
        border-radius: 10px;
    }
}

@media (max-width: 880px) {
    .booking-grid {
        gap: 28px;
    }
}

.booking-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 18px;
}

.booking-eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--red);
}

.booking-copy h2 {
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 20px;
}

.booking-copy h2 .hl {
    color: var(--red);
}

.booking-sub {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-mid);
    max-width: 460px;
    letter-spacing: -0.005em;
    margin: 0;
}

/* ============== BOOKING DATE PICKER ============== */
.dp-anchor {
    position: relative;
}

.dp-input-wrap {
    position: relative;
}

.dp-anchor input {
    cursor: pointer;
    padding-right: 40px;
}

.dp-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-mid);
    pointer-events: none;
    transition: color 0.2s ease;
}

.dp-anchor.open .dp-icon,
.dp-anchor input:focus~.dp-icon {
    color: var(--red);
}

.datepicker {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    box-shadow:
        0 1px 2px rgba(17, 17, 17, 0.04),
        0 14px 36px -10px rgba(17, 17, 17, 0.18);
    user-select: none;
}

.datepicker[hidden] {
    display: none;
}

.dp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.dp-nav {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.dp-nav:hover:not(:disabled) {
    background: var(--cream);
    border-color: var(--border);
}

.dp-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.dp-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.dp-dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 6px;
}

.dp-dow span {
    text-align: center;
    font-size: 10px;
    color: var(--text-mid);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 0;
}

.dp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.dp-cell {
    aspect-ratio: 1;
    min-height: 34px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.dp-cell:not(.dp-disabled):not(.dp-empty):not(.dp-selected):hover {
    background: var(--cream);
}

.dp-cell.dp-disabled {
    color: #c5c0b7;
    cursor: not-allowed;
}

.dp-cell.dp-empty {
    pointer-events: none;
}

.dp-cell.dp-today:not(.dp-selected) {
    border-color: var(--ink);
}

.dp-cell.dp-selected {
    background: var(--red);
    color: var(--white);
}

/* ============== FOOTER (Minimal) ============== */
.footer {
    background: var(--cream-light);
    padding: 40px 0 32px;
    border-top: 1px solid var(--border-soft);
}

.footer-min {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transition: opacity 0.25s ease;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-logo img {
    height: 44px;
    width: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.footer-logo small {
    font-size: 10.5px;
    color: var(--text-mid);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-mid);
    letter-spacing: 0.005em;
}

@media (max-width: 540px) {
    .footer-min {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-logo img {
        height: 38px;
    }
}

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 {
    transition-delay: 0.08s;
}

.reveal.delay-2 {
    transition-delay: 0.16s;
}

.reveal.delay-3 {
    transition-delay: 0.24s;
}

.stagger>* {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.in>* {
    opacity: 1;
    transform: translateY(0);
}

.stagger.in>*:nth-child(1) {
    transition-delay: 0.04s;
}

.stagger.in>*:nth-child(2) {
    transition-delay: 0.08s;
}

.stagger.in>*:nth-child(3) {
    transition-delay: 0.12s;
}

.stagger.in>*:nth-child(4) {
    transition-delay: 0.16s;
}

.stagger.in>*:nth-child(5) {
    transition-delay: 0.2s;
}

.stagger.in>*:nth-child(6) {
    transition-delay: 0.24s;
}

.stagger.in>*:nth-child(7) {
    transition-delay: 0.28s;
}

.stagger.in>*:nth-child(8) {
    transition-delay: 0.32s;
}

.stagger.in>*:nth-child(9) {
    transition-delay: 0.36s;
}

.stagger.in>*:nth-child(10) {
    transition-delay: 0.4s;
}

.stagger.in>*:nth-child(11) {
    transition-delay: 0.44s;
}

.stagger.in>*:nth-child(12) {
    transition-delay: 0.48s;
}

.stagger.in>*:nth-child(13) {
    transition-delay: 0.52s;
}

.stagger.in>*:nth-child(14) {
    transition-delay: 0.56s;
}

.stagger.in>*:nth-child(15) {
    transition-delay: 0.6s;
}

.stagger.in>*:nth-child(16) {
    transition-delay: 0.64s;
}

::selection {
    background: var(--red);
    color: white;
}

/* ============== STICKY CTA BAR ============== */
.sticky-cta {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    pointer-events: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--cream-light);
    border: 1.5px solid rgba(239, 45, 44, 0.4);
    border-radius: 16px;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 14px 36px -10px rgba(17, 17, 17, 0.14);
}

.sticky-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(239, 45, 44, 0.1);
    color: var(--red);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.sticky-icon svg {
    width: 20px;
    height: 20px;
}

.sticky-text {
    flex: 1;
    line-height: 1.3;
    min-width: 0;
    text-align: left;
}

.sticky-text strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.sticky-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.sticky-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    font-family: inherit;
    cursor: pointer;
    border: 1.5px solid var(--red);
}

.sticky-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.sticky-btn-outline {
    background: var(--white);
    color: var(--red);
}

.sticky-btn-outline:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-1px);
}

.sticky-btn-primary {
    background: var(--red);
    color: var(--white);
}

.sticky-btn-primary:hover {
    background: #d62528;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(239, 45, 44, 0.28);
}

@media (max-width: 760px) {
    /* On mobile the sticky CTA pins to the TOP of the viewport so it
       doesn't overlap the WhatsApp FAB at the bottom-left. Entrance
       animation flips to slide down from above. */
    .sticky-cta {
        left: 12px;
        right: 12px;
        top: 12px;
        bottom: auto;
        transform: translateY(-24px);
    }

    .sticky-cta-inner {
        padding: 10px 10px;
        gap: 8px;
        border-radius: 14px;
    }

    /* Mobile: drop the icon and tagline; promote the two CTAs
       to a 50/50 button row so the bar reads as pure action. */
    .sticky-icon,
    .sticky-text {
        display: none;
    }

    .sticky-actions {
        flex: 1 1 auto;
        width: 100%;
        gap: 8px;
    }

    .sticky-btn {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 11px 10px;
        font-size: 13px;
        gap: 6px;
    }
}

@media (max-width: 420px) {
    .sticky-btn {
        padding: 10px 8px;
        font-size: 12.5px;
        gap: 5px;
    }
}

/* ============== MOBILE OPTIMIZATIONS ============== */
/* Prevent iOS auto-zoom on form fields by ensuring inputs are at least 16px */
@media (max-width: 768px) {

    .field input,
    .field select,
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select {
        font-size: 16px !important;
    }
}

/* Tablet refinements (≤960px) */
@media (max-width: 960px) {

    .services-section,
    .industries,
    .testimonials,
    .faq,
    .process {
        padding: 72px 0;
    }

    .section {
        padding: 64px 0;
    }

    .services-section-head,
    .industries-head,
    .process-head,
    .testimonials-head,
    .faq-head {
        margin-bottom: 36px;
    }

    .services-section-head h2,
    .industries-head h2,
    .process-head h2,
    .testimonials-head h2,
    .faq-head h2 {
        font-size: clamp(28px, 5vw, 38px);
    }
}

/* Mobile refinements (≤640px) */
@media (max-width: 640px) {

    .services-section,
    .industries,
    .testimonials,
    .faq,
    .process {
        padding: 56px 0;
    }

    .section {
        padding: 48px 0;
    }

    .services-section-head,
    .industries-head,
    .process-head,
    .testimonials-head,
    .faq-head {
        margin-bottom: 28px;
    }

    .services-section-head h2,
    .industries-head h2,
    .process-head h2,
    .testimonials-head h2,
    .faq-head h2 {
        font-size: clamp(26px, 7vw, 32px);
        line-height: 1.1;
    }

    .industries-head-sub {
        font-size: 14px;
    }

    /* Hero */
    .hero {
        padding: 32px 0 56px;
    }

    .hero-card {
        min-height: 0;
        gap: 36px;
    }

    /* Mobile: center the hero left column (logo, heading, sub). */
    .hero-left {
        align-items: center;
        text-align: center;
    }

    /* On mobile we keep "Performance Marketing Agency," on a single
       line (via the desktop .hl nowrap). To prevent overflow on narrow
       phones, the headline scales down with viewport width — sized so
       the longest line fits even on a 320px screen. */
    .hero h1 {
        font-size: clamp(16px, 5.2vw, 28px);
        line-height: 1.1;
        letter-spacing: -0.035em;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero h1 .hero-tagline {
        font-size: clamp(14px, 4.2vw, 22px);
        margin-top: 5px;
    }

    .hero-sub {
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form {
        padding: 24px 22px;
        border-radius: 14px;
    }

    /* Center the form's heading and sub so it visually connects with
       the centered headline above. Inputs stay left-aligned (UX best
       practice — labels and placeholders read better that way). */
    .hero-form-title,
    .hero-form-sub {
        text-align: center;
    }

    /* Section foots: stack on mobile */
    .faq-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    /* Cards: smaller padding */
    .svc-card,
    .test-card {
        padding: 18px 18px 16px;
    }

    .process-card {
        padding: 22px 22px 20px;
        min-height: 200px;
    }

    .pc-num {
        font-size: 38px;
    }

    .test-quote {
        font-size: 48px;
        margin-bottom: 12px;
    }

    .test-body {
        font-size: 13px;
    }

    /* FAQ */
    .faq-trigger {
        padding: 18px 20px;
        gap: 12px;
    }

    .faq-trigger-left {
        gap: 12px;
    }

    .faq-q {
        font-size: 14px;
    }

    .faq-content-inner {
        padding: 0 20px 20px 20px;
        font-size: 13.5px;
    }

    /* Buttons / CTAs: ensure touch targets */
    .form-btn,
    .faq-foot .cta,
    .section-cta .cta,
    .services-toggle {
        min-height: 46px;
    }

    .section-cta {
        margin-top: 40px;
        gap: 14px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .section-cta-line {
        font-size: 14.5px;
        text-align: center;
        max-width: none;
    }

    .section-cta .cta {
        min-height: auto;
    }

    /* Footer */
    .footer {
        padding: 48px 0 24px !important;
    }

    /* === Center every section's heading + body content === */

    /* Hide the small red eyebrow lines ("Our services", "Basics
       first!", "Industry verticals", "Book a call") on mobile —
       the H2 below them is strong enough on its own. */
    .services-eyebrow,
    .process-eyebrow,
    .industries-eyebrow,
    .booking-eyebrow {
        display: none;
    }

    /* Section heads — center the H2 and any companion text */
    .services-section-head,
    .process-head,
    .industries-head,
    .testimonials-head,
    .faq-head {
        text-align: center;
        justify-items: center;
    }

    .services-section-head>div,
    .process-head>div,
    .industries-head>div,
    .testimonials-head>div,
    .faq-head>div {
        width: 100%;
    }

    .industries-head-sub {
        margin-left: auto;
        margin-right: auto;
    }

    /* About section — center heading + body */
    .about-wrap,
    .about-section h2,
    .about-body p,
    .about-body .about-punchline {
        text-align: center;
    }

    /* Punchline border-left looks odd when text is centered;
       trade the side border for a centered top accent line. */
    .about-body .about-punchline {
        padding-left: 0;
        padding-top: 14px;
        border-left: none;
        border-top: 2px solid var(--red);
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Process timeline cards — center the number + copy */
    .process-card {
        text-align: center;
        align-items: center;
    }

    .pc-top {
        justify-content: center;
    }

    /* Booking copy stays centered (already is on desktop) */
    .booking-copy h2,
    .booking-sub {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Small phone (≤420px) */
@media (max-width: 420px) {

    .container {
        padding: 0 18px;
    }

    /* No .hero h1 / .hero-tagline overrides here — the clamp at the
       640px breakpoint already scales them down fluidly so the long
       "Performance Marketing Agency," line stays on a single row even
       on a 320px viewport. */

    .hero-meta {
        font-size: 11px;
        padding: 5px 11px;
    }

    .services-section-head h2,
    .industries-head h2,
    .process-head h2,
    .testimonials-head h2,
    .faq-head h2 {
        font-size: 26px;
    }
}

/* Disable transform-based hover lifts on touch devices (they feel sticky) */
@media (hover: none) {

    .svc-card:hover,
    .process-card:hover,
    .test-card:hover,
    .faq-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ============== AUDIT FORM — honeypot + error banner ============== */
.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-error {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fdecec;
    border: 1px solid #f5b5b5;
    color: #8a1f1f;
    font-size: 13px;
    line-height: 1.45;
}

.form-error[hidden] {
    display: none;
}

/* ============== WHATSAPP FLOATING BUTTON ============== */
.wa-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 95;
    box-shadow: 0 8px 22px -6px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(17, 17, 17, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-fab:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.65), 0 6px 16px rgba(17, 17, 17, 0.16);
}

.wa-fab svg {
    width: 30px;
    height: 30px;
}

/* Lift FAB above the sticky CTA bar when it's visible (DOM siblings) */
.sticky-cta.show ~ .wa-fab {
    bottom: 100px;
}

@media (max-width: 760px) {
    .wa-fab {
        left: 12px;
        bottom: 12px;
        width: 52px;
        height: 52px;
    }

    .wa-fab svg {
        width: 28px;
        height: 28px;
    }

    /* Sticky CTA lives at the top on mobile, so the WhatsApp icon
       stays anchored at the bottom-left — no need to lift it. */
    .sticky-cta.show ~ .wa-fab {
        bottom: 12px;
    }
}