/* ==========================================================================
   Astra Web Solution — Design System
   Digital Experiences. Built for Growth.
   Operated by Infinity Web Solution
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Buttons
   6.  Header & navigation
   7.  Hero
   8.  Cards & sections
   9.  Components (stats, process, pricing, portfolio, FAQ, testimonials)
   10. Forms
   11. Footer & floating actions
   12. Motion & utilities
   13. Responsive
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
    /* Surface */
    --bg:            #05060b;
    --bg-elevated:   #090b13;
    --bg-soft:       #0d1019;
    --surface:       rgba(255, 255, 255, 0.028);
    --surface-2:     rgba(255, 255, 255, 0.05);
    --surface-3:     rgba(255, 255, 255, 0.075);
    --border:        rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);

    /* Brand */
    --blue:          #2b7fff;
    --blue-bright:   #58a0ff;
    --blue-deep:     #1758d6;
    --violet:        #8b5cf6;
    --violet-bright: #a78bfa;
    --cyan:          #38d8f0;

    --grad-brand:    linear-gradient(120deg, #2b7fff 0%, #6a6cff 45%, #a855f7 100%);
    --grad-text:     linear-gradient(96deg, #ffffff 0%, #cfe0ff 38%, #b79dff 100%);
    --grad-line:     linear-gradient(90deg, transparent, rgba(43, 127, 255, .55), rgba(168, 85, 247, .55), transparent);

    /* Text */
    --text:          #edf0f7;
    --text-soft:     #c3cadb;
    --muted:         #98a1b6;
    --faint:         #6c7590;

    /* Feedback */
    --success:       #34d399;
    --danger:        #fb7185;

    /* Shape */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-pill: 999px;

    /* Elevation */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
    --shadow-md: 0 18px 44px rgba(0, 0, 0, .45);
    --shadow-lg: 0 40px 90px rgba(0, 0, 0, .55);
    --glow-blue: 0 12px 42px -12px rgba(43, 127, 255, .65);

    /* Rhythm */
    --container: 1200px;
    --gutter: clamp(1.15rem, 4vw, 2.5rem);
    --section-y: clamp(4.5rem, 9vw, 8.5rem);

    /* Type */
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;

    /* Chrome */
    --header-h: 76px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex: none; }

/* The [hidden] attribute must always win — several components below set an
   explicit display value, which would otherwise override the UA default. */
[hidden] { display: none !important; }

a { color: var(--blue-bright); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: #fff; }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

hr { border: 0; height: 1px; background: var(--border); margin: 3rem 0; }

::selection { background: rgba(43, 127, 255, .38); color: #fff; }

:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--blue);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--r-sm) 0;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Ambient background ------------------------------------------------- */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bg-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .5;
}
.bg-orb--blue {
    width: 46vw; height: 46vw;
    max-width: 700px; max-height: 700px;
    top: -14vw; left: -10vw;
    background: radial-gradient(circle, rgba(43, 127, 255, .55), transparent 68%);
}
.bg-orb--violet {
    width: 40vw; height: 40vw;
    max-width: 620px; max-height: 620px;
    top: 32vh; right: -12vw;
    background: radial-gradient(circle, rgba(146, 78, 247, .42), transparent 68%);
}
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--flush-top { padding-top: 0; }

.section-alt {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .022) 12%, rgba(255, 255, 255, .022) 88%, transparent);
    border-block: 1px solid var(--border);
}

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--start { align-items: start; }

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.028em;
    margin: 0 0 .6em;
    color: #fff;
    text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.35rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.075rem; letter-spacing: -0.02em; }

.display-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accent-gradient {
    background: linear-gradient(96deg, var(--blue-bright), var(--violet-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue-bright);
    background: rgba(43, 127, 255, .1);
    border: 1px solid rgba(43, 127, 255, .22);
    padding: .42rem .85rem;
    border-radius: var(--r-pill);
    margin: 0 0 1.35rem;
}
.eyebrow svg { color: var(--violet-bright); }

.lead {
    font-size: clamp(1.03rem, 1.5vw, 1.18rem);
    color: var(--text-soft);
    line-height: 1.72;
    max-width: 62ch;
}

.muted { color: var(--muted); }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    max-width: none;
}

.prose p { color: var(--text-soft); }
.prose h3 { margin-top: 2.2rem; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    --btn-py: .85rem;
    --btn-px: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: var(--btn-py) var(--btn-px);
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
                background-color .25s var(--ease), border-color .25s var(--ease), color .2s;
    will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-sm { --btn-py: .6rem; --btn-px: 1.15rem; font-size: .875rem; }
.btn-lg { --btn-py: 1.02rem; --btn-px: 2rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
    background: var(--grad-brand);
    background-size: 160% 160%;
    color: #fff;
    box-shadow: var(--glow-blue);
}
.btn-primary:hover {
    color: #fff;
    background-position: 100% 0;
    box-shadow: 0 18px 52px -12px rgba(90, 110, 255, .8);
}

.btn-ghost {
    background: var(--surface-2);
    border-color: var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-3); border-color: rgba(255, 255, 255, .3); color: #fff; }

.btn-outline {
    border-color: rgba(43, 127, 255, .45);
    color: var(--blue-bright);
    background: rgba(43, 127, 255, .06);
}
.btn-outline:hover { background: rgba(43, 127, 255, .14); color: #fff; }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .94rem;
    color: var(--blue-bright);
}
.btn-link svg { transition: transform .25s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 6, 11, .72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
    border-bottom-color: var(--border);
    background: rgba(5, 6, 11, .9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}
.brand-tag {
    font-size: .63rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 500;
    white-space: nowrap;
}

.nav-list { display: flex; align-items: center; gap: .2rem; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .55rem .85rem;
    border-radius: var(--r-pill);
    font-size: .93rem;
    font-weight: 500;
    color: var(--text-soft);
    transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: var(--surface-2); }
.nav-caret { transition: transform .25s var(--ease); }
[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.nav-item.has-mega { position: static; }

/* --- Mega menu ---------------------------------------------------------- */
.mega {
    position: absolute;
    left: 50%;
    top: calc(var(--header-h) - 6px);
    transform: translateX(-50%) translateY(-10px);
    width: min(1140px, calc(100vw - 2rem));
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    z-index: 90;
}
.mega.is-open { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

.mega-inner {
    background: rgba(9, 11, 19, .97);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(24px);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    padding: 1.7rem;
}
.mega-col + .mega-col { border-left: 1px solid var(--border); padding-left: 1.6rem; }

.mega-title {
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--faint);
    margin: 0 0 .9rem;
}

.mega-list { display: grid; gap: .15rem; }

.mega-link {
    display: flex;
    gap: .7rem;
    padding: .6rem .65rem;
    border-radius: var(--r-md);
    color: var(--text-soft);
    transition: background-color .2s, color .2s;
}
.mega-link:hover, .mega-link.is-active { background: var(--surface-2); color: #fff; }
.mega-link strong {
    display: block;
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.015em;
}
.mega-link em {
    display: block;
    font-style: normal;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--faint);
    margin-top: .12rem;
}
.mega-ico {
    flex: none;
    width: 34px; height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(43, 127, 255, .18), rgba(168, 85, 247, .14));
    border: 1px solid var(--border);
    color: var(--blue-bright);
}
.mega-link:hover .mega-ico { color: #fff; border-color: rgba(43, 127, 255, .4); }

.mega-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.7rem;
    background: rgba(255, 255, 255, .028);
    border-top: 1px solid var(--border);
}
.mega-foot strong { display: block; font-family: var(--font-display); color: #fff; font-size: .95rem; }
.mega-foot span { font-size: .85rem; color: var(--muted); }
.mega-foot-links { display: flex; gap: .6rem; }

/* --- Header actions ----------------------------------------------------- */
.header-actions { display: flex; align-items: center; gap: .75rem; }

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-soft);
    padding: .5rem .6rem;
    border-radius: var(--r-pill);
}
.header-phone:hover { color: #fff; background: var(--surface-2); }
.header-phone svg { color: var(--blue-bright); }
.header-phone span { white-space: nowrap; }

.nav-burger {
    display: none;
    width: 44px; height: 44px;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: #fff;
}
.nav-burger .burger-close { display: none; }
.nav-burger[aria-expanded="true"] .burger-open { display: none; }
.nav-burger[aria-expanded="true"] .burger-close { display: block; }

.nav-item--mobile-cta { display: none; }

.nav-scrim {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: rgba(3, 4, 8, .65);
    backdrop-filter: blur(3px);
    z-index: 89;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
    position: relative;
    padding-top: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.hero h1 { margin-bottom: 1.15rem; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 2.4rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border);
}
.hero-trust li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--muted);
}
.hero-trust svg { color: var(--success); }

/* Hero visual — floating glass panel */
.hero-visual { position: relative; }

.glass-panel {
    position: relative;
    background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .022));
    border: 1px solid var(--border-strong);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
    overflow: hidden;
}
.glass-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: var(--grad-line);
}

.panel-bar {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}
.panel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.panel-dot:nth-child(1) { background: rgba(251, 113, 133, .55); }
.panel-dot:nth-child(2) { background: rgba(250, 204, 21, .5); }
.panel-dot:nth-child(3) { background: rgba(52, 211, 153, .5); }
.panel-url {
    margin-left: .6rem;
    font-family: var(--font-display);
    font-size: .78rem;
    color: var(--faint);
    background: rgba(0, 0, 0, .32);
    padding: .28rem .7rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
}

.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.metric {
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1rem 1.05rem;
}
.metric-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: .35rem;
}
.metric-value {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.metric-value span { font-size: .95rem; color: var(--success); margin-left: .3rem; font-weight: 600; }

.meter { margin-top: 1.15rem; }
.meter + .meter { margin-top: .8rem; }
.meter-head {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .4rem;
}
.meter-head strong { color: #fff; font-family: var(--font-display); font-weight: 600; }
.meter-track {
    height: 7px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}
.meter-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--grad-brand);
    width: 0;
    transition: width 1.4s var(--ease);
}

.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .95rem;
    border-radius: var(--r-md);
    background: rgba(9, 11, 19, .92);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    font-size: .82rem;
    color: var(--text-soft);
    animation: floaty 6s ease-in-out infinite;
}
.float-badge strong { display: block; color: #fff; font-family: var(--font-display); font-size: .92rem; }
.float-badge-ico {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--grad-brand);
    color: #fff;
}
.float-badge--tl { top: -44px; left: -16px; }
.float-badge--br { bottom: -58px; right: -12px; animation-delay: -3s; }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ==========================================================================
   8. CARDS & SECTIONS
   ========================================================================== */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.4rem, 2.4vw, 1.85rem);
    transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
    overflow: hidden;
    height: 100%;
}
.card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(43, 127, 255, .5), rgba(168, 85, 247, .35), transparent 62%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
}
.card:hover { transform: translateY(-5px); background: var(--surface-2); }
.card:hover::after { opacity: 1; }

.card-ico {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 15px;
    background: linear-gradient(140deg, rgba(43, 127, 255, .2), rgba(168, 85, 247, .16));
    border: 1px solid var(--border);
    color: var(--blue-bright);
    margin-bottom: 1.15rem;
    transition: color .3s, border-color .3s, transform .35s var(--ease);
}
.card:hover .card-ico { color: #fff; border-color: rgba(43, 127, 255, .45); transform: scale(1.06); }

.card h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .93rem; line-height: 1.65; }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1.1rem;
    font-family: var(--font-display);
    font-size: .87rem;
    font-weight: 600;
    color: var(--blue-bright);
}
.card-link svg { transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Full-card click target */
.card--linked { display: flex; flex-direction: column; }
.card--linked .stretch::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Feature list */
.feature-list { display: grid; gap: 1rem; }
.feature-list li {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
}
.feature-list svg {
    flex: none;
    margin-top: .28rem;
    color: var(--blue-bright);
}
.feature-list strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    font-size: .98rem;
    margin-bottom: .1rem;
}
.feature-list span { color: var(--muted); font-size: .92rem; line-height: 1.6; }

.check-list { display: grid; gap: .7rem; }
.check-list li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: var(--text-soft);
    font-size: .95rem;
}
.check-list svg { flex: none; margin-top: .3rem; color: var(--success); }

/* Tag pills */
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .9rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    background: var(--surface-2);
    font-size: .84rem;
    font-weight: 500;
    color: var(--text-soft);
    transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.tag:hover { border-color: rgba(43, 127, 255, .45); color: #fff; transform: translateY(-2px); }

/* Breadcrumbs */
.breadcrumbs {
    padding-top: 1.6rem;
    font-size: .84rem;
}
.crumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--faint); }
.crumb-list li { display: flex; align-items: center; gap: .5rem; }
.crumb-list li + li::before { content: "/"; color: rgba(255, 255, 255, .22); }
.crumb-list a { color: var(--muted); }
.crumb-list a:hover { color: #fff; }
.crumb-list [aria-current="page"] span { color: var(--text-soft); }

/* Page hero (inner pages) */
.page-hero {
    padding-top: clamp(2.2rem, 4vw, 3.2rem);
    padding-bottom: clamp(2.6rem, 5vw, 4rem);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.page-hero .lead { margin-top: .4rem; }

/* ==========================================================================
   9. COMPONENTS
   ========================================================================== */

/* --- Stats -------------------------------------------------------------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.stat {
    background: rgba(9, 11, 19, .72);
    padding: clamp(1.3rem, 2.6vw, 1.9rem);
    text-align: center;
    transition: background-color .3s;
}
.stat:hover { background: rgba(255, 255, 255, .04); }
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    margin-top: .5rem;
    font-size: .84rem;
    color: var(--muted);
    letter-spacing: .01em;
}

/* --- Marquee (tech logos / keywords) ------------------------------------ */
.marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    gap: 2.6rem;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--faint);
    white-space: nowrap;
}
.marquee-item svg { color: rgba(43, 127, 255, .55); }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --- Numbered process --------------------------------------------------- */
.process-list { display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
.process-step {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: start;
    padding: clamp(1.6rem, 3vw, 2.4rem) clamp(.9rem, 2vw, 1.6rem);
    background: var(--bg);
    transition: background-color .35s var(--ease);
}
.process-step:hover { background: rgba(255, 255, 255, .022); }
.process-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .28);
    transition: -webkit-text-stroke-color .35s;
}
.process-step:hover .process-num { -webkit-text-stroke-color: rgba(88, 160, 255, .85); }
.process-step h3 { margin-bottom: .35rem; }
.process-step p { color: var(--muted); font-size: .95rem; margin: 0; }
.process-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .9rem;
}
.process-meta span {
    font-size: .76rem;
    padding: .3rem .65rem;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--muted);
}

/* --- Timeline (vertical, about page) ------------------------------------ */
.timeline { position: relative; padding-left: 2.1rem; }
.timeline::before {
    content: "";
    position: absolute;
    left: 7px; top: .5rem; bottom: .5rem;
    width: 1px;
    background: linear-gradient(180deg, var(--blue), var(--violet), transparent);
}
.timeline li { position: relative; padding-bottom: 1.9rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
    content: "";
    position: absolute;
    left: -2.1rem; top: .5rem;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--blue);
    box-shadow: 0 0 0 4px rgba(43, 127, 255, .12);
}
.timeline h4 { margin-bottom: .25rem; }
.timeline p { color: var(--muted); font-size: .93rem; margin: 0; }
.timeline .year {
    font-family: var(--font-display);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    display: block;
    margin-bottom: .2rem;
}

/* --- Portfolio ---------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.1rem, 2.4vw, 1.8rem); }

.work-card {
    position: relative;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s var(--ease);
    display: flex;
    flex-direction: column;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(43, 127, 255, .4); }

.work-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(120% 100% at 50% 0%, rgba(43, 127, 255, .22), transparent 62%), #070910;
    border-bottom: 1px solid var(--border);
}
.work-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .55;
}
.work-mock {
    position: relative;
    z-index: 1;
    width: 84%;
    border-radius: 14px 14px 0 0;
    border: 1px solid var(--border-strong);
    border-bottom: 0;
    background: rgba(10, 12, 20, .95);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
    padding: .8rem;
    transform: translateY(10%);
    transition: transform .5s var(--ease);
}
.work-card:hover .work-mock { transform: translateY(6%); }
.work-mock-bar { display: flex; gap: .3rem; margin-bottom: .7rem; }
.work-mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.work-mock-row { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .13); margin-bottom: .5rem; }
.work-mock-row.w-70 { width: 70%; }
.work-mock-row.w-45 { width: 45%; }
.work-mock-row.accent { background: var(--grad-brand); width: 38%; height: 20px; border-radius: 6px; margin-top: .8rem; }
.work-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .8rem; }
.work-mock-grid i { height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .1); display: block; }

.work-body { padding: 1.4rem clamp(1.2rem, 2.2vw, 1.7rem) 1.6rem; flex: 1; display: flex; flex-direction: column; }
.work-cat {
    font-family: var(--font-display);
    font-size: .72rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: .5rem;
}
.work-body h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.work-body p { color: var(--muted); font-size: .92rem; }
.work-results {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}
.work-results div strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}
.work-results div span { font-size: .76rem; color: var(--faint); }
.work-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.work-tags span {
    font-size: .72rem;
    padding: .25rem .6rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    color: var(--muted);
}

/* Filter chips */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filter-chip {
    padding: .5rem 1.05rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    font-size: .88rem;
    font-weight: 500;
    transition: all .25s var(--ease);
}
.filter-chip:hover { color: #fff; border-color: var(--border-strong); }
.filter-chip.is-active {
    background: var(--grad-brand);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--glow-blue);
}

/* --- Pricing ------------------------------------------------------------ */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); align-items: stretch; }

.price-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 2.6vw, 2.1rem);
    transition: transform .35s var(--ease), border-color .35s var(--ease);
    position: relative;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.price-card.is-featured {
    background: linear-gradient(165deg, rgba(43, 127, 255, .14), rgba(168, 85, 247, .09) 55%, rgba(255, 255, 255, .02));
    border-color: rgba(43, 127, 255, .42);
    box-shadow: 0 30px 70px -30px rgba(43, 127, 255, .6);
}
.price-badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad-brand);
    color: #fff;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: var(--r-pill);
    white-space: nowrap;
    box-shadow: var(--glow-blue);
}
.price-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: .3rem; }
.price-for { font-size: .87rem; color: var(--muted); margin-bottom: 1.3rem; min-height: 3.9em; }
.price-amount {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    font-family: var(--font-display);
    margin-bottom: .3rem;
}
.price-amount .cur { font-size: 1.1rem; color: var(--muted); }
.price-amount .num { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; color: #fff; }
.price-amount .per { font-size: .85rem; color: var(--faint); font-family: var(--font-body); }
.price-note { font-size: .8rem; color: var(--faint); margin-bottom: 1.5rem; }
.price-features { display: grid; gap: .7rem; padding-block: 1.5rem; border-top: 1px solid var(--border); margin-bottom: 1.5rem; }
.price-features li { display: flex; gap: .6rem; font-size: .9rem; color: var(--text-soft); align-items: flex-start; }
.price-features svg { flex: none; margin-top: .28rem; color: var(--blue-bright); }
.price-card .btn { margin-top: auto; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
table.compare th, table.compare td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th {
    font-family: var(--font-display);
    font-size: .8rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--faint);
    background: rgba(255, 255, 255, .03);
}
table.compare tbody th { font-weight: 500; color: var(--text-soft); }
table.compare td { color: var(--muted); }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
table.compare svg { color: var(--success); }

/* --- Accordion / FAQ ---------------------------------------------------- */
.faq-list { display: grid; gap: .8rem; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    overflow: hidden;
    transition: border-color .3s, background-color .3s;
}
.faq-item[open] { border-color: rgba(43, 127, 255, .35); background: var(--surface-2); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex: none;
    width: 20px; height: 20px;
    background: currentColor;
    color: var(--blue-bright);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-body { padding: 0 1.3rem 1.25rem; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* --- Testimonials ------------------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
.quote-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.4rem, 2.4vw, 1.9rem);
    transition: transform .35s var(--ease), border-color .35s;
}
.quote-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.quote-mark { color: rgba(43, 127, 255, .45); margin-bottom: .9rem; }
.quote-stars { display: flex; gap: .15rem; color: #fbbf24; margin-bottom: .9rem; }
.quote-card blockquote { margin: 0 0 1.4rem; color: var(--text-soft); font-size: .96rem; line-height: 1.72; }
.quote-person { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.quote-avatar {
    width: 42px; height: 42px;
    flex: none;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
}
.quote-person strong { display: block; font-size: .92rem; color: #fff; font-family: var(--font-display); }
.quote-person span { font-size: .8rem; color: var(--faint); }

/* --- Tech stack --------------------------------------------------------- */
.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.5rem); }
.stack-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.3rem, 2.2vw, 1.7rem);
    transition: transform .35s var(--ease), border-color .35s;
    height: 100%;
}
.stack-card:hover { transform: translateY(-4px); border-color: rgba(43, 127, 255, .35); }
.stack-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.stack-head .card-ico { width: 40px; height: 40px; border-radius: 12px; margin: 0; }
.stack-head h3 { margin: 0; font-size: 1.05rem; }

/* --- Split media / value props ------------------------------------------ */
.value-card {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.value-card:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateX(4px); }
.value-card .card-ico { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.value-card h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.value-card p { font-size: .9rem; margin: 0; }

/* --- CTA band ----------------------------------------------------------- */
.cta-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    padding: clamp(2rem, 4.5vw, 3.4rem);
    border-radius: var(--r-xl);
    border: 1px solid rgba(43, 127, 255, .3);
    background:
        radial-gradient(120% 130% at 0% 0%, rgba(43, 127, 255, .2), transparent 55%),
        radial-gradient(120% 130% at 100% 100%, rgba(168, 85, 247, .18), transparent 55%),
        rgba(9, 11, 19, .8);
    overflow: hidden;
}
.cta-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: var(--grad-line);
}
.cta-title { font-size: clamp(1.65rem, 3.2vw, 2.5rem); margin-bottom: .6rem; }
.cta-text { color: var(--text-soft); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.cta-points { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; }
.cta-points li { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); }
.cta-points svg { color: var(--success); }

.cta-side { display: grid; gap: .7rem; align-content: center; }
.cta-contact {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .95rem 1.1rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
a.cta-contact:hover { border-color: rgba(43, 127, 255, .45); background: rgba(255, 255, 255, .07); transform: translateY(-2px); color: #fff; }
.cta-contact--static { cursor: default; }
.cta-contact-ico {
    width: 40px; height: 40px;
    flex: none;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(43, 127, 255, .16);
    border: 1px solid rgba(43, 127, 255, .28);
    color: var(--blue-bright);
}
.cta-contact em { display: block; font-style: normal; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.cta-contact strong { display: block; font-family: var(--font-display); font-size: .95rem; color: #fff; font-weight: 600; }

/* --- Callout ------------------------------------------------------------ */
.callout {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-radius: var(--r-md);
    border: 1px solid rgba(43, 127, 255, .28);
    background: rgba(43, 127, 255, .07);
    color: var(--text-soft);
    font-size: .95rem;
}
.callout svg { flex: none; color: var(--blue-bright); margin-top: .22rem; }
.callout strong { color: #fff; }

/* ==========================================================================
   10. FORMS
   ========================================================================== */
.form-shell {
    background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
    border: 1px solid var(--border-strong);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-md);
}
.form-shell--compact { padding: clamp(1.3rem, 2.4vw, 1.8rem); }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: .005em;
}
.field label span[aria-hidden] { color: var(--blue-bright); }
.field .opt { color: var(--faint); font-weight: 400; }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .82rem 1rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, .3);
    color: var(--text);
    font-size: .95rem;
    transition: border-color .25s, box-shadow .25s, background-color .25s;
    appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a1b6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    background-size: 18px;
    padding-right: 2.6rem;
    cursor: pointer;
}
.field select option { background: #0b0e17; color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(43, 127, 255, .65);
    background: rgba(0, 0, 0, .45);
    box-shadow: 0 0 0 4px rgba(43, 127, 255, .14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: rgba(251, 113, 133, .65); }
.field-error { color: var(--danger); font-size: .82rem; margin: 0; }

/* Honeypot — visually removed but not display:none (bots skip those) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.1rem;
    margin-top: 1.6rem;
}
.form-note {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .82rem;
    color: var(--faint);
    margin: 0;
    max-width: 42ch;
}
.form-note svg { flex: none; margin-top: .18rem; color: var(--success); }

.alert {
    display: flex;
    gap: .9rem;
    padding: 1.05rem 1.2rem;
    border-radius: var(--r-md);
    margin-bottom: 1.6rem;
    font-size: .92rem;
}
.alert strong { display: block; font-family: var(--font-display); margin-bottom: .15rem; color: #fff; }
.alert p { margin: 0; }
.alert-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.alert-success { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: var(--text-soft); }
.alert-success .alert-ico { background: rgba(52, 211, 153, .18); color: var(--success); }
.alert-error { background: rgba(251, 113, 133, .1); border: 1px solid rgba(251, 113, 133, .35); color: var(--text-soft); }
.alert-error .alert-ico { background: rgba(251, 113, 133, .18); color: var(--danger); }

/* Contact info cards */
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color .3s, transform .3s var(--ease);
}
.contact-card:hover { border-color: rgba(43, 127, 255, .4); transform: translateY(-3px); }
.contact-card .card-ico { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { font-size: .92rem; color: var(--muted); margin: 0; }
.contact-card a:hover { color: #fff; }

.map-frame {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    filter: grayscale(1) invert(.92) contrast(.85) hue-rotate(185deg);
    aspect-ratio: 16 / 7;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   11. FOOTER & FLOATING ACTIONS
   ========================================================================== */
.site-footer {
    position: relative;
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: clamp(3rem, 6vw, 4.5rem);
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent 40%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr));
    gap: clamp(1.6rem, 3vw, 2.6rem);
    padding-bottom: 3rem;
}

.brand--footer { margin-bottom: 1.2rem; }
.footer-about { color: var(--muted); font-size: .92rem; max-width: 42ch; }

.footer-contact { display: grid; gap: .6rem; margin-top: 1.4rem; }
.footer-contact li { font-size: .88rem; color: var(--muted); }
.footer-contact a, .footer-contact span { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { flex: none; margin-top: .22rem; color: var(--blue-bright); }

.footer-social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.footer-social a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    transition: all .25s var(--ease);
}
.footer-social a:hover {
    color: #fff;
    border-color: rgba(43, 127, 255, .5);
    background: rgba(43, 127, 255, .14);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1.1rem;
}
.footer-links { display: grid; gap: .6rem; }
.footer-links a { font-size: .89rem; color: var(--muted); }
.footer-links a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--border);
}
.footer-legal, .footer-operated { margin: 0; font-size: .82rem; color: var(--faint); }
.footer-operated strong { color: var(--muted); font-weight: 600; }
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.1rem;
    font-size: .82rem;
}
.footer-legal-links a { color: var(--faint); transition: color .25s; }
.footer-legal-links a:hover { color: #fff; }

.float-whatsapp {
    position: fixed;
    right: clamp(1rem, 3vw, 1.6rem);
    bottom: clamp(1rem, 3vw, 1.6rem);
    z-index: 80;
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #22c55e;
    color: #041209;
    box-shadow: 0 14px 34px -8px rgba(34, 197, 94, .7);
    transition: transform .3s var(--ease);
}
.float-whatsapp:hover { transform: scale(1.08) translateY(-2px); color: #041209; }

.to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 1.6rem);
    bottom: calc(clamp(1rem, 3vw, 1.6rem) + 66px);
    z-index: 80;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(9, 11, 19, .9);
    color: var(--text-soft);
    backdrop-filter: blur(10px);
    transition: transform .3s var(--ease), color .25s, border-color .25s;
}
.to-top svg { transform: rotate(-90deg); }
.to-top:hover { color: #fff; border-color: rgba(43, 127, 255, .55); transform: translateY(-3px); }


/* ==========================================================================
   11b. LEGAL PAGES (terms, privacy, return policy)
   ========================================================================== */
.legal-updated {
    font-size: .82rem;
    color: var(--faint);
    margin-top: 1rem;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}
.legal-nav-link {
    font-size: .82rem;
    padding: .45rem .9rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--muted);
    transition: color .25s, border-color .25s, background-color .25s;
}
a.legal-nav-link:hover { color: #fff; border-color: rgba(43, 127, 255, .55); }
.legal-nav-link.is-active {
    color: #fff;
    border-color: rgba(43, 127, 255, .55);
    background: rgba(43, 127, 255, .12);
}

.legal-body h2 {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    margin-top: 2.6rem;
    margin-bottom: .7rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 1rem; line-height: 1.75; }
.legal-body .check-list { margin: 1.1rem 0 1.4rem; }
.legal-body a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: #fff; }

/* Consent checkbox — used by the return request form */
.field--check label {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    cursor: pointer;
    line-height: 1.55;
}
.field--check input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
    margin-top: .12rem;
    accent-color: var(--blue-bright);
    cursor: pointer;
}
.field--check.has-error input[type="checkbox"] { outline: 2px solid rgba(251, 113, 133, .65); outline-offset: 2px; }

/* ==========================================================================
   12. MOTION & UTILITIES
   ========================================================================== */
/* Scroll reveal is opt-in: the .js class is set by an inline script in the
   <head>. If JavaScript is unavailable or fails, every section stays fully
   visible rather than the page rendering blank. */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }
.js .reveal[data-delay="5"] { transition-delay: .40s; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Error page */
.error-page { text-align: center; padding-block: clamp(4rem, 12vw, 9rem); }
.error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 11rem);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -0.06em;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2.4rem; }

/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */
@media (max-width: 1330px) {
    .site-header .brand-tag { display: none; }
}

@media (max-width: 1180px) {
    .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
    .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mega-col + .mega-col { border-left: 0; padding-left: 0; }
}

@media (max-width: 1024px) {
    .header-phone { display: none; }

    .nav-burger { display: grid; }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 0 auto;
        width: min(420px, 100%);
        background: rgba(7, 9, 15, .99);
        border-left: 1px solid var(--border);
        padding: 1.4rem var(--gutter) 3rem;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        z-index: 95;
        visibility: hidden;
    }
    .nav.is-open { transform: translateX(0); visibility: visible; }

    .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
    .nav-link { padding: .85rem .9rem; font-size: 1rem; border-radius: var(--r-md); }
    .nav-toggle { width: 100%; justify-content: space-between; }

    .mega {
        position: static;
        transform: none;
        width: auto;
        opacity: 1;
        pointer-events: auto;
        display: none;
        margin: .3rem 0 .6rem;
    }
    .mega.is-open { display: block; transform: none; }
    .mega-inner { background: rgba(255, 255, 255, .03); box-shadow: none; border-radius: var(--r-md); }
    .mega-grid { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.1rem; }
    .mega-foot { flex-direction: column; align-items: stretch; padding: 1.1rem; }
    .mega-foot-links { flex-direction: column; }
    .mega-foot-links .btn { width: 100%; }

    .nav-item--mobile-cta { display: block; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
    .nav-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        margin-top: .8rem;
        font-size: .92rem;
        color: var(--muted);
    }
    .header-cta { display: none; }

    .hero-inner { grid-template-columns: 1fr; }
    /* Headline first on small screens - the panel is supporting decoration */
    .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
    .float-badge--tl { left: 0; }
    .float-badge--br { right: 0; }

    .split, .split--wide-left { grid-template-columns: 1fr; gap: 2.4rem; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stack-grid, .quote-grid, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-card { grid-template-columns: 1fr; }
    .process-step { grid-template-columns: 60px minmax(0, 1fr); padding-inline: clamp(.75rem, 3vw, 1.1rem); }
    .process-step > *:last-child { grid-column: 2; }
    .section-head--split { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
    :root { --header-h: 68px; }

    .brand-tag { display: none; }

    .grid-3, .grid-4, .stack-grid, .quote-grid, .price-grid, .work-grid,
    .form-grid { grid-template-columns: 1fr; }

    .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .hero-trust { gap: .9rem 1.4rem; }

    .price-card.is-featured { order: -1; }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }

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

    .btn-row .btn { width: 100%; }
    .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .float-badge { display: none; }
    .form-foot .btn { width: 100%; }
}

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

/* Print */
@media print {
    .site-header, .site-footer, .float-whatsapp, .to-top, .bg-canvas, .cta-band { display: none !important; }
    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
}
