/* ==========================================================================
   MetaV Yazılım — Website
   Light theme by default, dark theme via [data-theme="dark"] on <html>
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg: #ffffff;
    --bg-alt: #f6f7fb;
    --surface: #ffffff;
    --surface-2: #f1f3f9;
    --line: rgba(17, 20, 45, 0.08);
    --line-strong: rgba(17, 20, 45, 0.15);
    --fg: #0e1124;
    --fg-muted: #555b73;
    --fg-dim: #8a90a6;
    --tint: rgba(17, 20, 45, 0.04);
    --glass: rgba(255, 255, 255, 0.78);

    --brand: #6a46ff;
    --brand-2: #0fb3d6;
    --brand-soft: rgba(106, 70, 255, 0.1);
    --gradient: linear-gradient(105deg, #6a46ff 0%, #8a63ff 40%, #0fb3d6 100%);
    --on-brand: #ffffff;
    --ok: #16a34a;
    --danger: #dc2626;

    --blob-1: rgba(106, 70, 255, 0.20);
    --blob-2: rgba(15, 179, 214, 0.16);
    --blob-3: rgba(255, 79, 163, 0.10);
    --grid-line: rgba(17, 20, 45, 0.05);

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 8px 24px -8px rgba(16, 24, 40, 0.12);
    --shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, 0.22);

    --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --header-h: 76px;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --bg: #08080c;
    --bg-alt: #0d0d13;
    --surface: #121219;
    --surface-2: #1a1a23;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.15);
    --fg: #f3f2ef;
    --fg-muted: #a3a1ad;
    --fg-dim: #6b6976;
    --tint: rgba(255, 255, 255, 0.04);
    --glass: rgba(10, 10, 15, 0.72);

    --brand: #7c5cff;
    --brand-2: #22d3ee;
    --brand-soft: rgba(124, 92, 255, 0.16);
    --gradient: linear-gradient(105deg, #7c5cff 0%, #a78bfa 40%, #22d3ee 100%);

    --blob-1: rgba(124, 92, 255, 0.38);
    --blob-2: rgba(34, 211, 238, 0.20);
    --blob-3: rgba(255, 79, 163, 0.16);
    --grid-line: rgba(255, 255, 255, 0.04);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
}

/* smooth colour cross-fade only while the theme is being switched */
.theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
    transition: background-color .4s ease, border-color .4s ease, color .4s ease, fill .4s ease, box-shadow .4s ease !important;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
    background: var(--bg); color: var(--fg);
    font-family: var(--font-body); font-size: 16px; line-height: 1.65;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--bg); transform: translateY(-200%); transition: transform .3s var(--ease-out); }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.icon { width: 1em; height: 1em; flex: none; }

.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

/* ---------- Buttons ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px; border-radius: 12px;
    font-weight: 600; font-size: .95rem; white-space: nowrap; isolation: isolate; overflow: hidden;
    transition: transform .3s var(--ease-out), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
}
.btn:active { transform: scale(.98); }
.btn__svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.btn:hover .btn__svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gradient); opacity: 0; transition: opacity .4s; }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn--ghost { background: var(--surface); color: var(--fg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--fg-dim); }
.btn--light { background: #fff; color: #0e1124; }
.btn--light:hover { background: #f1f0ff; }
.btn--outline-light { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--small { height: 40px; padding: 0 16px; font-size: .88rem; border-radius: 10px; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 1rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn {
    position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); font-size: 1.1rem;
    transition: background .3s, color .3s, border-color .3s;
}
.icon-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.icon-btn--sm { width: 34px; height: 34px; border-radius: 9px; font-size: .9rem; }
.icon-btn__tip {
    position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 6px; white-space: nowrap;
    padding: 5px 9px; border-radius: 7px; background: var(--fg); color: var(--bg); font-size: .62rem;
    opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease-out);
}
.icon-btn:hover .icon-btn__tip, .icon-btn.is-copied .icon-btn__tip { opacity: 1; translate: -50% 0; }

.badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line-strong); font-size: .85rem; font-weight: 500; box-shadow: var(--shadow-sm);
}
.badge__dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #22c55e; }
.badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
    font-family: var(--font-display); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gradient); }
.eyebrow__count { display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand-soft); font-size: .72rem; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 3px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: .76rem; color: var(--fg-muted); }

.chip { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .76rem; font-weight: 600; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 95; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--gradient); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h); transition: transform .5s var(--ease-out), background-color .3s, box-shadow .3s; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header.is-scrolled { background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; flex: none; }
.logo-mark {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
    background: var(--gradient); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: -.02em;
    box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--brand) 70%, transparent);
    transition: transform .5s var(--ease-out);
}
.header__logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-text { font-size: 1.05rem; letter-spacing: -.02em; white-space: nowrap; }

.header__nav ul { display: flex; gap: 4px; }
.header__nav a { position: relative; display: block; padding: 8px 14px; border-radius: 9px; font-size: .93rem; font-weight: 500; color: var(--fg-muted); transition: color .25s, background .25s; }
.header__nav a:hover { color: var(--fg); background: var(--tint); }
.header__nav a.is-active { color: var(--fg); }
.header__nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gradient); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
    position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); overflow: hidden;
}
.theme-toggle > span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.1rem; transition: transform .5s var(--ease-out), opacity .3s; }
.theme-toggle__moon { transform: translateY(110%) rotate(40deg); opacity: 0; }
[data-theme="dark"] .theme-toggle__sun { transform: translateY(-110%) rotate(-40deg); opacity: 0; }
[data-theme="dark"] .theme-toggle__moon { transform: none; opacity: 1; }

.lang-switch { display: flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); }
.lang-switch a { display: grid; place-items: center; width: 36px; height: 32px; border-radius: 7px; font-size: .78rem; font-weight: 600; color: var(--fg-muted); transition: color .25s, background .25s; }
.lang-switch a.is-active { background: var(--fg); color: var(--bg); }
.lang-switch a:not(.is-active):hover { color: var(--fg); }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); place-items: center; }
.menu-toggle__lines { position: relative; width: 18px; height: 8px; }
.menu-toggle__lines i { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-toggle__lines i:first-child { top: 0; }
.menu-toggle__lines i:last-child { top: 100%; }
.menu-open .menu-toggle__lines i:first-child { top: 50%; transform: rotate(45deg); }
.menu-open .menu-toggle__lines i:last-child { top: 50%; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px; background: var(--bg);
    clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-in-out); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open .header { background: var(--bg); box-shadow: none; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu ul a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 8vw, 2.6rem); letter-spacing: -.03em; }
.mobile-menu ul a .mono { color: var(--brand); font-size: .7rem; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 12px; color: var(--fg-muted); }
.mobile-menu__foot .btn { align-self: stretch; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .section-title { max-width: 720px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.14; letter-spacing: -.022em; }
.section-lead { max-width: 440px; color: var(--fg-muted); font-size: 1.05rem; }

.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-reveal] { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(64px, 8vw, 110px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--1 { width: 60vmax; height: 60vmax; right: -18%; top: -32%; background: radial-gradient(closest-side, var(--blob-1), transparent); animation: blob1 16s ease-in-out infinite alternate; }
.blob--2 { width: 45vmax; height: 45vmax; left: -15%; top: 20%; background: radial-gradient(closest-side, var(--blob-2), transparent); animation: blob2 20s ease-in-out infinite alternate; }
.blob--3 { width: 35vmax; height: 35vmax; right: 10%; bottom: -20%; background: radial-gradient(closest-side, var(--blob-3), transparent); animation: blob3 13s ease-in-out infinite alternate; }
@keyframes blob1 { to { transform: translate(-14%, 14%) scale(1.12); } }
@keyframes blob2 { to { transform: translate(24%, -12%) scale(.9); } }
@keyframes blob3 { to { transform: translate(-30%, -20%) scale(1.2); } }
.hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.06; letter-spacing: -.032em; }
.hero__title .text-gradient { display: inline; padding-right: .04em; }
.hero__intro { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--fg-muted); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; color: var(--fg-muted); font-size: .92rem; font-weight: 500; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); font-size: .75rem; }
.js .hero [data-hero-fade] { opacity: 0; }
.js .hero__title { visibility: hidden; }

/* hero visual: browser + phone mockups */
.hero__visual { position: relative; aspect-ratio: 1.12 / 1; perspective: 1400px; }
.mock-browser {
    position: absolute; left: 0; top: 4%; width: 88%; border-radius: 14px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.mock-browser__bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-browser__bar .dots i { width: 9px; height: 9px; }
.mock-browser__url { display: inline-flex; align-items: center; gap: 6px; flex: 1; max-width: 260px; height: 22px; padding: 0 10px; border-radius: 6px; background: var(--bg); color: var(--fg-dim); font-size: .62rem; text-transform: none; letter-spacing: .02em; }
.mock-browser__url .icon { color: var(--ok); width: 10px; height: 10px; }
.mock-browser__screen { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--surface-2); }
.mock-scroll { width: 100%; height: auto; animation: mock-scroll 18s ease-in-out infinite alternate; }
.mock-scroll--slow { animation-duration: 24s; animation-delay: -6s; }
@keyframes mock-scroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + 260px)); } }
.mock-phone {
    position: absolute; right: 0; bottom: 0; width: 30%; aspect-ratio: 9 / 19; padding: 7px; border-radius: 30px;
    background: #111218; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.mock-phone__notch { position: absolute; top: 12px; left: 50%; translate: -50% 0; z-index: 2; width: 34%; height: 14px; border-radius: 999px; background: #111218; }
.mock-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; background: var(--surface-2); }
.mock-phone__screen img { width: 100%; height: auto; }
.mock-skeleton { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.mock-skeleton--phone { padding: 30px 12px 12px; gap: 10px; }
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, var(--tint), var(--line-strong), var(--tint)); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.sk--nav { height: 14px; width: 100%; }
.sk--title { height: 28px; width: 70%; margin-top: 18px; }
.sk--line { height: 10px; width: 90%; }
.sk--short { width: 55%; }
.sk--btn { height: 30px; width: 120px; border-radius: 8px; background: var(--brand-soft); }
.sk--card { height: 80px; flex: 1; }
.sk-row { display: flex; gap: 10px; margin-top: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
    background: var(--glass); border: 1px solid var(--line-strong); box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: .82rem;
    animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .86rem; }
.float-card small { color: var(--fg-muted); font-size: .74rem; }
.float-card--1 { left: -6%; bottom: 20%; }
.float-card--2 { right: 18%; top: -4%; animation-delay: -2s; }
.float-card--3 { left: 22%; bottom: -2%; gap: 6px; padding: 10px; animation-delay: -4s; }
.float-card__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }
.float-card__icon--ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.gauge {
    --v: 98; position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: conic-gradient(var(--ok) calc(var(--v) * 1%), var(--line-strong) 0);
    font-weight: 700; font-size: .78rem; color: var(--ok);
}
.gauge::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface); }
.gauge span { position: relative; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
    --mx: 50%; --my: 50%;
    position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
    transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s;
}
.service-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
    background: radial-gradient(380px circle at var(--mx) var(--my), var(--brand-soft), transparent 65%);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; margin-bottom: 6px;
    background: var(--brand-soft); color: var(--brand); transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.service-card__svg { width: 30px; height: 30px; }
.service-card:hover .service-card__icon { background: var(--gradient); color: #fff; transform: rotate(-6deg); }
.service-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.service-card__text { color: var(--fg-muted); flex: 1; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .92rem; color: var(--brand); }
.service-card__link .icon { transition: transform .4s var(--ease-out); }
.service-card__link:hover .icon { transform: translateX(4px); }
.service-card--cta {
    justify-content: center; background: var(--gradient); color: #fff; border: 0;
    box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--brand) 80%, transparent);
}
.service-card--cta .service-card__text { color: rgba(255,255,255,.85); flex: 0; }
.service-card--cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__photo { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; height: 115%; object-fit: cover; }
.about__placeholder {
    position: absolute; inset: -8% 0; display: grid; place-items: center;
    background: radial-gradient(60% 50% at 30% 25%, var(--blob-1), transparent 70%), radial-gradient(50% 50% at 80% 80%, var(--blob-2), transparent 70%), var(--surface-2);
}
.about__monogram { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 13vw, 10rem); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--brand) 60%, transparent); }
.about__founder {
    position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    border-radius: 14px; background: var(--glass); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-md);
}
.about__founder strong { display: block; font-size: .95rem; }
.about__founder small { color: var(--fg-muted); font-size: .8rem; }
.about__avatar, .testimonial__avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 700; font-size: .85rem; }
.about__content .section-title { margin-bottom: 20px; }
.about__body { color: var(--fg-muted); font-size: 1.05rem; margin-bottom: 24px; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist__icon { display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .8rem; }
.about__quote { position: relative; padding: 22px 24px 22px 60px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.about__quote-icon { position: absolute; left: 20px; top: 22px; width: 26px; height: 26px; color: var(--brand); }
.about__quote p { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.5; letter-spacing: -.01em; }
.about__quote .word { opacity: .25; }

/* ---------- Why us ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 1.35rem; }
.feature__title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: 8px; }
.feature__text { color: var(--fg-muted); font-size: .95rem; }
.stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px);
    border-radius: var(--radius-lg); overflow: hidden; background: var(--gradient); color: #fff; box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--brand) 80%, transparent);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: clamp(24px, 3vw, 36px) 16px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.2); }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.04em; }
.stat__value em { font-style: normal; opacity: .8; }
.stat__label { font-size: .9rem; opacity: .85; font-weight: 500; }

/* ---------- Process ---------- */
.process { padding-bottom: 0; }
.process__pin { padding-bottom: clamp(56px, 7vw, 100px); }
.process__track-wrap { position: relative; overflow: hidden; }
.process__track { display: flex; gap: 20px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.process-step { position: relative; width: min(380px, 80vw); flex: none; padding: 30px 28px 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.process-step__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); margin-bottom: 28px; transition: color .5s, -webkit-text-stroke-color .5s; }
.process-step.is-active .process-step__num { color: var(--brand); -webkit-text-stroke-color: transparent; }
.process-step__line { height: 2px; background: var(--line); margin-bottom: 22px; border-radius: 2px; overflow: hidden; }
.process-step__line span { display: block; height: 100%; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); }
.process-step.is-active .process-step__line span { transform: scaleX(1); }
.process-step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 8px; }
.process-step__text { color: var(--fg-muted); }
.process__progress { margin-top: 32px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.process__progress span { display: block; height: 100%; background: var(--gradient); transform: scaleX(0); transform-origin: left; }

/* ---------- Works ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg-muted); font-size: .9rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.filter:hover { color: var(--fg); }
.filter.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.works__featured { display: grid; gap: clamp(32px, 4vw, 56px); margin-bottom: clamp(32px, 4vw, 56px); }
.works__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 32px); }
.works__grid .work-card:nth-child(even) { margin-top: clamp(0px, 6vw, 88px); }
.works__featured[hidden], .works__grid[hidden] { display: none; }
.work-card.is-hidden { display: none; }
.work-card__btn { display: block; width: 100%; text-align: left; }
.work-card__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-md); transition: box-shadow .5s, transform .6s var(--ease-out); }
.work-card__btn:hover .work-card__media { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.work-card__bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.work-card__bar .dots i { width: 9px; height: 9px; }
.work-card__host { color: var(--fg-dim); font-size: .64rem; text-transform: none; letter-spacing: .02em; }
.work-card__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.work-card--featured .work-card__shot { aspect-ratio: 2.2 / 1; }
.work-card__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.03); transition: object-position 4s cubic-bezier(.45, 0, .2, 1), transform 1.2s var(--ease-out); }
.work-card__btn:hover .work-card__shot img { object-position: bottom center; transform: scale(1); }
.work-card__noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 7rem; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); background: radial-gradient(60% 60% at 50% 40%, var(--brand-soft), transparent 70%), var(--surface-2); }
.work-card__info { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; padding: 18px 4px 0; }
.work-card__index { grid-row: 1 / 3; align-self: start; color: var(--fg-dim); padding-top: .5em; }
.work-card__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
.work-card__meta { grid-column: 2; color: var(--fg-muted); font-size: .66rem; }
.work-card__arrow { grid-row: 1 / 3; grid-column: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); transition: background .3s, color .3s, transform .5s var(--ease-out); }
.work-card__btn:hover .work-card__arrow { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(45deg); }
.works__empty { position: relative; display: grid; place-items: center; min-height: 280px; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); color: var(--fg-muted); overflow: hidden; text-align: center; padding: 24px; }
.works__empty-orb { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--gradient); filter: blur(90px); opacity: .2; }
.works__empty p { position: relative; font-family: var(--font-display); font-size: 1.4rem; color: var(--fg); }

/* ---------- Project modal ---------- */
.pmodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(8px, 2.5vw, 32px); }
.pmodal[hidden] { display: none; }
.pmodal__backdrop { position: absolute; inset: 0; background: rgba(8, 9, 20, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pmodal__window { position: relative; width: min(1400px, 100%); height: min(920px, 100%); display: grid; grid-template-rows: auto 1fr auto; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .6); }
.pmodal__bar { display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pmodal__url { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: .74rem; text-transform: none; letter-spacing: .01em; color: var(--fg-muted); }
.pmodal__url .icon { color: var(--ok); width: 12px; height: 12px; }
.pmodal__url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmodal__tools { display: flex; align-items: center; gap: 8px; }
.device-toggle { display: flex; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.device-toggle button { display: grid; place-items: center; width: 34px; height: 28px; border-radius: 7px; color: var(--fg-muted); transition: background .25s, color .25s; }
.device-toggle button.is-active { background: var(--fg); color: var(--bg); }
.pmodal__visit { height: 36px; }
.pmodal__stage { position: relative; overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; }
.pmodal__viewport { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; transition: width .6s var(--ease-out), height .6s var(--ease-out), border-radius .6s var(--ease-out); }
.pmodal.is-mobile .pmodal__viewport { width: 390px; height: min(844px, calc(100% - 40px)); border-radius: 36px; box-shadow: 0 0 0 10px #15161c, 0 0 0 11px var(--line-strong), 0 30px 80px rgba(0, 0, 0, .35); }
.pmodal__frame-wrap { position: absolute; inset: 0; }
.pmodal__frame-wrap iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; }
.pmodal__shot { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--surface-2); }
.pmodal__shot img { width: 100%; height: auto; display: block; }
.pmodal.has-frame .pmodal__shot { visibility: hidden; }
.pmodal__loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; background: color-mix(in srgb, var(--bg) 80%, transparent); color: var(--fg); transition: opacity .5s; }
.pmodal__loader.is-done { opacity: 0; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pmodal__notice { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; width: min(560px, calc(100% - 32px)); padding: 12px 16px; border-radius: 12px; font-size: .85rem; text-align: center; background: var(--glass); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pmodal__notice:not([hidden]) { animation: notice-out .6s ease 6s forwards; }
@keyframes notice-out { to { opacity: 0; translate: -50% 12px; visibility: hidden; } }
.pmodal__info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--line); }
.pmodal__meta { color: var(--fg-muted); font-size: .64rem; }
.pmodal__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; }
.pmodal__desc { color: var(--fg-muted); font-size: .92rem; }
.pmodal__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pmodal__tags li { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--tint); font-size: .72rem; color: var(--fg-muted); }
.pmodal-open { overflow: hidden; }

/* ---------- Testimonials ---------- */
.slider-nav { display: flex; gap: 8px; }
.testimonials__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.testimonial__stars { display: flex; gap: 3px; color: var(--line-strong); }
.testimonial__stars .is-on { color: #f5b301; }
.testimonial__stars .icon { width: 18px; height: 18px; }
.testimonial__quote { flex: 1; font-size: 1.02rem; line-height: 1.65; }
.testimonial__author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial__author strong { display: block; font-size: .95rem; }
.testimonial__author small { color: var(--fg-muted); font-size: .82rem; }

/* ---------- Stack marquee ---------- */
.stack { padding-block: clamp(48px, 6vw, 80px); overflow: hidden; border-block: 1px solid var(--line); }
.stack__label { text-align: center; color: var(--fg-dim); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.marquee { display: flex; overflow: hidden; user-select: none; padding-block: 6px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 6px; }
.marquee__track { display: flex; flex: none; gap: 12px; padding-right: 12px; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 11px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--fg-muted); transition: color .25s, border-color .25s; }
.marquee__item:hover { color: var(--fg); border-color: var(--line-strong); }
.marquee__star { font-size: .7em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reduce-motion .marquee__track, .no-js .marquee__track { animation: marquee 40s linear infinite; }
.reduce-motion .marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow-md); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--tint); color: var(--fg); transition: transform .4s var(--ease-out), background .3s, color .3s; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-item__body { overflow: hidden; }
.faq-item__body p { padding: 0 22px 22px; color: var(--fg-muted); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(24px, 4vw, 48px) clamp(72px, 9vw, 120px); }
.cta-band__card {
    position: relative; display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap;
    padding: clamp(32px, 5vw, 64px); border-radius: 28px; overflow: hidden; isolation: isolate;
    background: #0e0b2a; color: #fff; box-shadow: 0 40px 80px -40px rgba(76, 46, 220, .7);
}
.cta-band__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); }
.cta-band__orb--1 { width: 520px; height: 520px; right: -120px; top: -260px; background: radial-gradient(closest-side, rgba(124, 92, 255, .9), transparent); animation: blob1 12s ease-in-out infinite alternate; }
.cta-band__orb--2 { width: 420px; height: 420px; left: -140px; bottom: -260px; background: radial-gradient(closest-side, rgba(34, 211, 238, .55), transparent); animation: blob2 14s ease-in-out infinite alternate; }
.cta-band__content { max-width: 620px; }
.cta-band__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 12px; }
.cta-band__text { color: rgba(255,255,255,.78); font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 12px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.info-card__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 1.2rem; }
.info-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.info-card__body small { color: var(--fg-dim); font-size: .8rem; font-weight: 500; }
.info-card__body a, .info-card__body span { font-weight: 600; overflow-wrap: anywhere; }
.info-card__body a:hover { color: var(--brand); }
.contact__reply { display: flex; align-items: center; gap: 10px; padding: 6px 4px; color: var(--fg-muted); font-size: .9rem; }

.contact-form { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--bg);
    font-size: .98rem; transition: border-color .25s, box-shadow .25s; outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--fg-muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--bg); color: transparent; font-size: .75rem; transition: background .2s, border-color .2s, color .2s; }
.consent input:checked + .consent__box { background: var(--brand); border-color: var(--brand); color: #fff; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--brand); outline-offset: 2px; }
.consent.is-invalid .consent__box { border-color: var(--danger); }
.consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.contact-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.contact-form__status { flex: 1; min-width: 200px; font-size: .92rem; color: var(--fg-muted); }
.contact-form__status.is-success { color: var(--ok); font-weight: 600; }
.contact-form__status.is-error { color: var(--danger); }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(56px, 7vw, 88px); background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { color: var(--fg-muted); margin: 16px 0 20px; max-width: 34ch; font-size: .95rem; }
.footer__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__socials a { padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); font-size: .82rem; font-weight: 500; transition: border-color .25s, color .25s; }
.footer__socials a:hover { border-color: var(--brand); color: var(--brand); }
.footer__col h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--fg-muted); font-size: .93rem; transition: color .2s; }
.footer__col a:hover { color: var(--brand); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-muted); font-size: .93rem; }
.footer__contact .icon { margin-top: 4px; color: var(--brand); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--fg-dim); font-size: .86rem; }
.footer__bottom a:hover { color: var(--fg); }
.footer__bottom > span { flex: 1; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.7rem; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
    transition: transform .4s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ring 2.4s ease-out infinite; }
@keyframes wa-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.pmodal-open .wa-float, .menu-open .wa-float { display: none; }

/* ---------- Legal page & 404 ---------- */
.legal { padding: calc(var(--header-h) + 48px) 0 80px; }
.legal__inner { max-width: 820px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-muted); font-weight: 500; margin-bottom: 24px; }
.legal__back:hover { color: var(--brand); }
.legal__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1.12; }
.legal__updated { color: var(--fg-dim); margin: 10px 0 36px; font-size: .9rem; }
.legal__section { padding: 24px 0; border-top: 1px solid var(--line); }
.legal__section h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.legal__section p { color: var(--fg-muted); }

.notfound { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: calc(var(--header-h) + 24px) var(--gutter) 48px; text-align: center; overflow: hidden; }
.notfound__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--gradient); filter: blur(140px); opacity: .2; pointer-events: none; }
.notfound__code { position: relative; color: var(--brand); font-weight: 600; }
.notfound__title { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: .9; letter-spacing: -.06em; }
.notfound__sub { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.02em; }
.notfound__text { position: relative; color: var(--fg-muted); max-width: 40ch; margin-bottom: 12px; }

/* ---------- Page curtain (language switch) ---------- */
.page-curtain { position: fixed; inset: 0; z-index: 210; background: var(--bg); border-top: 3px solid var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .header__nav { display: none; }
    .menu-toggle { display: grid; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { max-width: 640px; width: 100%; margin-inline: auto; }
    .services__grid, .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
    .about__media { max-width: 520px; }
    .faq__intro { position: static; }
    .testimonials__track { grid-auto-columns: calc((100% - 20px) / 2); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .process__track { flex-direction: column; width: auto; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
    .process-step { width: auto; }
    .process__progress { display: none; }
    .pmodal__info { grid-template-columns: 1fr; }
    .pmodal__tags { justify-content: flex-start; }
}
@media (max-width: 700px) {
    :root { --header-h: 66px; }
    .header__cta, .lang-switch { display: none; }
    .logo-text { font-size: .98rem; }
    .hero__ctas .btn { flex: 1 1 auto; }
    .float-card--1 { left: 0; bottom: 14%; }
    .float-card--2 { right: 4%; top: -6%; }
    .float-card--3 { display: none; }
    .float-card { padding: 9px 12px; font-size: .76rem; }
    .services__grid, .why__grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid rgba(255,255,255,.2); }
    .works__grid { grid-template-columns: 1fr; }
    .works__grid .work-card:nth-child(even) { margin-top: 0; }
    .work-card--featured .work-card__shot { aspect-ratio: 16 / 10; }
    .testimonials__track { grid-auto-columns: 88%; }
    .form-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-band__actions .btn { flex: 1 1 auto; }
    .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }

    .mobile-menu .lang-switch { display: flex; }
    .pmodal { padding: 0; }
    .pmodal__window { border-radius: 0; height: 100%; }
    .pmodal__bar { padding: 8px 10px; gap: 8px; }
    .pmodal__bar > .dots, .device-toggle, [data-pmodal-reload] { display: none; }
    .pmodal__visit span { display: none; }
    .pmodal__visit { width: 36px; padding: 0; }
    .pmodal__info { padding: 14px 16px; }
    .pmodal__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- Reduced motion (only when site.php → respect_reduced_motion is true) ---------- */
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }

/* client portal link in the header */
.header__portal { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; font-size: .88rem; font-weight: 500; color: var(--fg-muted); transition: color .2s, background .2s; }
.header__portal:hover { color: var(--fg); background: var(--tint); }
.header__portal .icon { width: 14px; height: 14px; }
@media (max-width: 1240px) { .header__portal span { display: none; } }
@media (max-width: 700px) { .header__portal { display: none; } }
