/* ==========================================================
   Karaca Güvenlik — tema
   ========================================================== */
:root {
    --bg: #060912;
    --bg-2: #0a0f1f;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #e8ebf5;
    --muted: #8f97b2;
    --primary: #4f5bf0;
    --primary-2: #6d7cff;
    --accent: #38bdf8;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient: linear-gradient(120deg, #7c8bff 0%, #38bdf8 100%);
    --radius: 20px;
    --radius-lg: 28px;
    --header-h: 84px;
    --font-head: 'Sora', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Self-hosted fonts (variable weight); latin-ext covers Turkish ğ, ş, İ */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/assets/fonts/sora-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/assets/fonts/sora-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/jakarta-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/jakarta-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--primary); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
}
.btn svg { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(79, 91, 240, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { box-shadow: 0 18px 40px -10px rgba(79, 91, 240, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { background: rgba(255,255,255,.05); border-color: var(--border-strong); color: #fff; backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.btn--white { background: #fff; color: #0b1024; }
.btn--white:hover { box-shadow: 0 14px 30px -10px rgba(255,255,255,.5); }
.btn--emergency {
    background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .35); color: #fff;
    padding: 9px 18px 9px 14px; font-size: 14px;
}
.btn--emergency:hover { background: rgba(239, 68, 68, .2); border-color: rgba(239, 68, 68, .6); }
.btn--emergency small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fca5a5; line-height: 1.2; }
.btn--emergency span:not(.pulse) { line-height: 1.25; text-align: left; }

.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); flex-shrink: 0; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--danger); animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Header ---------- */
.header {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
    display: flex; align-items: center;
    transition: background .4s, border-color .4s, height .4s var(--ease);
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    --header-h: 72px;
    background: rgba(6, 9, 18, .78);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-color: var(--border);
}
.header__inner { width: min(1280px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Logo is dark artwork on transparent; render it white on the dark theme. */
.header__logo img { height: 42px; width: auto; filter: brightness(0) invert(1); transition: opacity .3s; }
.header__logo:hover img { opacity: .85; }

.nav { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.nav__link { padding: 8px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #c3c9de; transition: color .25s, background .25s; }
.nav__link:hover, .nav__link.is-active { color: #fff; background: rgba(255,255,255,.08); }
.nav__mobile-cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--border); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; overflow: hidden;
    padding: calc(var(--header-h) + 60px) 0 120px;
}
.hero__bg {
    --hero-img: url('/assets/img/hero-1920.webp');
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(6,9,18,.97) 0%, rgba(6,9,18,.85) 45%, rgba(6,9,18,.45) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 35%),
        var(--hero-img) center / cover no-repeat;
    transform: scale(1.06);
    animation: heroZoom 18s ease-out forwards;
}
@media (max-width: 900px) { .hero__bg { --hero-img: url('/assets/img/hero-960.webp'); } }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 0%, transparent 75%);
}
.hero__glow { position: absolute; width: 700px; height: 700px; left: -200px; top: -150px; background: radial-gradient(circle, rgba(79,91,240,.35), transparent 65%); filter: blur(40px); pointer-events: none; }
.hero__content { position: relative; z-index: 1; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px; border-radius: 999px;
    background: rgba(124, 139, 255, .1); border: 1px solid rgba(124, 139, 255, .25);
    color: #b9c1ff; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(34,197,94,.2); }

.hero__title {
    font-family: var(--font-head); font-weight: 700; letter-spacing: -.035em; line-height: 1.04;
    font-size: clamp(42px, 7.2vw, 92px); margin: 0 0 24px; color: #fff;
}
.hero__lead { max-width: 580px; font-size: clamp(16px, 1.6vw, 19px); color: #a9b0c8; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__stats {
    list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0;
    margin-top: 64px; border: 1px solid var(--border); border-radius: var(--radius);
    background: rgba(10, 15, 31, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    width: fit-content; max-width: 100%;
}
.hero__stats li { padding: 20px 34px; border-left: 1px solid var(--border); }
.hero__stats li:first-child { border-left: 0; }
.hero__stats strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hero__stats span { font-size: 13.5px; color: var(--muted); }

.hero__scroll { position: absolute; left: 50%; bottom: 34px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 20px; z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
    font-family: var(--font-head); font-size: 20px; font-weight: 600; color: #8a93b3;
    padding: 0 34px; display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
}
.marquee__track span::after { content: "✦"; color: var(--primary-2); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__head--row { text-align: left; max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section__title {
    font-family: var(--font-head); font-weight: 700; letter-spacing: -.03em; line-height: 1.12;
    font-size: clamp(32px, 4.4vw, 52px); color: #fff; margin-top: 20px;
}
.section__lead { color: var(--muted); font-size: 17px; margin-top: 18px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
    position: relative; padding: 32px 28px 30px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    transition: transform .5s var(--ease), border-color .4s, background .4s;
    overflow: hidden; isolation: isolate;
}
.service::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(109,124,255,.18), transparent 45%);
}
.service:hover { transform: translateY(-6px); border-color: rgba(124,139,255,.4); background: var(--surface-2); }
.service:hover::before { opacity: 1; }
.service__icon {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(109,124,255,.22), rgba(56,189,248,.12));
    border: 1px solid rgba(124,139,255,.3); color: #c3cbff; font-size: 26px;
}
.service h3 { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: #fff; margin-bottom: 10px; letter-spacing: -.01em; }
.service p { color: var(--muted); font-size: 14.5px; }
a.service { display: block; color: inherit; }
.service__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: #b9c1ff; }
.service__more svg { transition: transform .35s var(--ease); }
.service:hover .service__more svg { transform: translateX(4px); }

/* ---------- Process ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split__text .section__title { margin-top: 20px; }
.checks { list-style: none; margin-top: 32px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; color: #cdd2e4; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(34,197,94,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
    border: 1px solid rgba(34,197,94,.4);
}
.steps { list-style: none; display: grid; gap: 16px; position: relative; }
.step {
    display: flex; gap: 24px; align-items: flex-start; padding: 26px 28px;
    border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
    transition: border-color .4s, transform .5s var(--ease);
}
.step:hover { border-color: rgba(124,139,255,.4); transform: translateX(6px); }
.step__num { font-family: var(--font-head); font-size: 34px; font-weight: 700; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 54px; }
.step h3 { font-family: var(--font-head); font-size: 18px; color: #fff; margin-bottom: 6px; font-weight: 600; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Projects ---------- */
.filters { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.filter { padding: 9px 18px; border-radius: 999px; background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s, background .25s; }
.filter:hover { color: #fff; }
.filter.is-active { background: #fff; color: #0b1024; }

.projects { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 16px; grid-auto-flow: dense; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); cursor: pointer; }
.project--wide { grid-column: span 2; }
.project.is-hidden { display: none; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; filter: saturate(.85); }
.project figcaption {
    position: absolute; inset: auto 0 0; padding: 70px 22px 20px;
    background: linear-gradient(to top, rgba(6,9,18,.95) 10%, rgba(6,9,18,0));
}
.project h3 { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -.01em; margin-top: 10px; }
.project:hover img { transform: scale(1.07); filter: saturate(1.05); }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(8px); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--ongoing { color: #fcd34d; background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.35); }
.tag--done { color: #86efac; background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.35); }

/* ---------- Reviews ---------- */
.reviews { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.reviews__track { display: flex; width: max-content; animation: marquee 60s linear infinite; padding: 6px 0; }
.reviews:hover .reviews__track { animation-play-state: paused; }
.review {
    width: 340px; flex-shrink: 0; margin-right: 18px; padding: 28px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
}
.review .stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 14px; }
.review p { color: #d3d8ea; font-size: 16px; line-height: 1.55; }
.review__by { margin-top: 16px; font-size: 14px; font-weight: 600; color: #b9c1ff; }
.review-actions { text-align: center; margin-top: 44px; }
.review-actions p { color: var(--muted); }
.review-actions .hero__buttons { justify-content: center; margin-top: 18px; }
.review-actions__ok { max-width: 560px; margin: 18px auto 0; }
.section__note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ---------- Review dialog ---------- */
.modal { margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; }
.modal::backdrop { background: rgba(3, 5, 12, .75); backdrop-filter: blur(6px); }
.modal .form { position: relative; top: auto; background: #0d1326; }
.modal .form h3 { padding-right: 44px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(255,255,255,.05); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.modal__close:hover { background: rgba(255,255,255,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rating { border: 0; }
.rating legend { font-size: 13px; font-weight: 600; color: #c3c9de; margin-bottom: 8px; }
/* Reversed order so ~ can highlight the chosen star and all stars before it */
.rating__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating__stars label { font-size: 32px; line-height: 1; color: #39405a; cursor: pointer; transition: color .15s, transform .15s; }
.rating__stars label:hover, .rating__stars label:hover ~ label, .rating__stars input:checked ~ label { color: #fbbf24; }
.rating__stars label:hover { transform: scale(1.12); }
.rating__stars input:focus-visible + label { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- CTA ---------- */
.cta { padding: 100px 0 0; }
.cta__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    padding: 56px 60px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
    background: linear-gradient(120deg, #3b44c9 0%, #4f5bf0 45%, #2a8fd0 100%);
    box-shadow: 0 40px 80px -30px rgba(79,91,240,.55);
}
.cta__inner::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at right, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at right, #000, transparent 70%);
}
.cta__inner > * { position: relative; }
.cta h2 { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 40px); color: #fff; letter-spacing: -.02em; line-height: 1.15; }
.cta p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 17px; }
.cta__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
.contact__list { list-style: none; display: grid; gap: 14px; margin: 36px 0 28px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact__list a:hover { color: var(--primary-2); }
.contact__list em { color: var(--muted); font-style: normal; font-size: 14px; }
.contact__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: #b9c1ff; font-size: 20px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 240px; background: radial-gradient(circle at 30% 30%, rgba(109,124,255,.18), transparent 60%), var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
.map__load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; background: none; border: 0; cursor: pointer; color: #fff; font-weight: 600; font-size: 16px; }
.map__load svg { font-size: 30px; color: #b9c1ff; }
.map__load small { color: var(--muted); font-weight: 500; font-size: 13px; }
.map__load:hover span { text-decoration: underline; }
.map__link { position: absolute; right: 12px; bottom: 10px; font-size: 12.5px; color: var(--muted); }
.map__link:hover { color: #fff; }
.map.is-loaded .map__load, .map.is-loaded .map__link { display: none; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: rgba(124,139,255,.4); background: var(--surface-2); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #b9c1ff; font-size: 20px; font-weight: 400; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 22px; color: #b6bdd4; }

/* ---------- Consent ---------- */
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--primary-2); cursor: pointer; }
.consent a { color: #c3cbff; text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.form__status--ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #bbf7d0; }
.form__status--error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fecaca; }
.form__status a:not(.btn) { color: #fff; text-decoration: underline; }
.form__status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form__status-actions .btn { padding: 10px 18px; font-size: 14px; }
.btn.is-busy { opacity: .7; cursor: progress; }

.form {
    padding: 40px; border-radius: var(--radius-lg); position: sticky; top: calc(var(--header-h) + 24px);
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid var(--border-strong);
    box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.form h3 { font-family: var(--font-head); font-size: 26px; color: #fff; letter-spacing: -.02em; }
.form > p { color: var(--muted); font-size: 14.5px; margin: 8px 0 28px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; font-weight: 600; color: #c3c9de; margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 18px; border-radius: 14px; outline: none;
    background: rgba(6,9,18,.6); border: 1px solid var(--border-strong);
    transition: border-color .25s, box-shadow .25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f97b2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(109,124,255,.18); }
.field .phone-input { position: relative; display: block; margin: 0; font-size: inherit; font-weight: inherit; }
.field .phone-input__prefix { position: absolute; left: 1px; top: 1px; bottom: 1px; display: flex; align-items: center; margin: 0; padding: 0 14px 0 18px; border-right: 1px solid var(--border-strong); font-size: 15px; color: #c3c9de; font-weight: 600; pointer-events: none; }
.field .phone-input input { padding-left: 74px; letter-spacing: .02em; }
.field input:user-invalid { border-color: rgba(239,68,68,.7); }
.form .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 70px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__brand img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-family: var(--font-head); font-size: 15px; color: #fff; margin-bottom: 6px; }
.footer__col a, .footer__col span { color: var(--muted); font-size: 14.5px; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- WhatsApp ---------- */
.whatsapp {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px;
    background: #15803d; color: #fff; font-weight: 700; font-size: 15px;
    box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.whatsapp svg { width: 24px; height: 24px; fill: #fff; stroke: none; }
.whatsapp:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 40px -10px rgba(37,211,102,.75); }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 70px) 0 70px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.page-hero .hero__grid { mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 0%, transparent 75%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-size: clamp(34px, 5vw, 58px); color: #fff; margin: 18px 0 18px; max-width: 900px; }
.page-hero p { color: #a9b0c8; font-size: clamp(16px, 1.5vw, 18px); max-width: 680px; }
.page-hero .hero__buttons { margin-top: 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }
.page-body { padding: 80px 0 100px; }
.page-grid { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.prose h2 { font-family: var(--font-head); font-size: 26px; color: #fff; letter-spacing: -.02em; margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-head); font-size: 19px; color: #fff; margin: 28px 0 10px; }
.prose p { color: #b6bdd4; margin-bottom: 14px; }
.prose ul { margin: 0 0 18px; }
.prose .checks { margin-top: 18px; }
.prose a { color: #c3cbff; text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--border); color: #b6bdd4; vertical-align: top; }
.prose th { color: #fff; background: var(--surface); }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--border-strong); }
.side-card h2 { font-family: var(--font-head); font-size: 21px; color: #fff; margin-bottom: 8px; }
.side-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.side-card .btn { width: 100%; margin-bottom: 10px; }
.side-card ul { list-style: none; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 8px; font-size: 14.5px; }
.side-card ul a { color: #c3c9de; }
.side-card ul a:hover, .side-card ul a[aria-current] { color: #fff; }
.side-card ul a[aria-current] { font-weight: 700; }
.not-found { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 20px 60px; }
.not-found strong { display: block; font-family: var(--font-head); font-size: clamp(90px, 18vw, 170px); line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found h1 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); color: #fff; margin: 10px 0; }
.not-found p { color: var(--muted); margin-bottom: 28px; }
.not-found .hero__buttons { justify-content: center; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .projects { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 50px; }
    .contact { grid-template-columns: 1fr; }
    .form { position: static; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .page-grid { grid-template-columns: 1fr; gap: 40px; }
    .side-card { position: static; }
}

@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .menu-toggle { display: flex; }
    .nav {
        position: fixed; top: var(--header-h); left: 12px; right: 12px;
        flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 22px;
        background: rgba(10, 15, 31, .97); border-color: var(--border-strong);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .3s, transform .4s var(--ease), visibility .3s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__link { padding: 14px 18px; font-size: 16px; }
    .header__logo img { height: 34px; }
}

@media (max-width: 480px) {
    .header__inner { width: calc(100% - 28px); gap: 10px; }
    .header__logo img { height: 28px; }
    .header__actions { gap: 8px; }
    .header__cta { padding: 8px 12px 8px 10px; font-size: 12px; gap: 8px; }
    .header__cta span:not(.pulse) { white-space: normal; max-width: 60px; line-height: 1.15; }
    .menu-toggle { width: 40px; height: 40px; }
}

@media (max-width: 640px) {
    .section { padding: 90px 0; }
    .hero { padding-bottom: 100px; }
    .hero__buttons .btn { flex: 1 1 100%; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
    .hero__stats li { padding: 16px 20px; }
    .hero__stats li:nth-child(3) { border-left: 0; }
    .hero__stats li:nth-child(n+3) { border-top: 1px solid var(--border); }
    .hero__stats strong { font-size: 22px; }
    .hero__scroll { display: none; }
    .services { grid-template-columns: 1fr; }
    .projects { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .project--wide { grid-column: auto; }
    .section__head { margin-bottom: 44px; }
    .filters { width: 100%; }
    .filter { flex: 1; padding: 9px 8px; }
    .step { padding: 22px; gap: 18px; }
    .cta__inner { padding: 40px 26px; }
    .cta__buttons, .cta__buttons .btn { width: 100%; }
    .form { padding: 28px 22px; }
    .footer__inner { grid-template-columns: 1fr; }
    .review { width: 280px; }
    .whatsapp span { display: none; }
    .whatsapp { padding: 15px; }
}

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