/* ==========================================================================
   T-NOVA public site
   One design system for every public page. Admin screens use admin.css.
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */
:root {
    --bg: #05070f;
    --bg-deep: #03050b;
    --bg-raised: #0a1020;
    --surface: rgba(255, 255, 255, 0.028);
    --surface-strong: rgba(255, 255, 255, 0.05);
    --line: rgba(122, 240, 255, 0.12);
    --border: rgba(120, 155, 255, 0.16);
    --border-strong: rgba(122, 240, 255, 0.5);
    --text: #eef2ff;
    --text-soft: #d7def2;
    --muted: #9aa7c7;
    --accent: #7af0ff;
    --blue: #4da3ff;
    --blue-strong: #2b7fff;
    --ok: #3ee6a8;
    --danger: #ff7a8a;
    --gradient: linear-gradient(135deg, #4da3ff 0%, #7af0ff 100%);
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --container: 1240px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
    --nav-h: 72px;
}

/* Reset & base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { min-height: 100vh; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.locked { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
input, select, textarea { color: var(--text); font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(77, 163, 255, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 5000; top: 1rem; left: 1rem; padding: 0.75rem 1rem; border-radius: 8px; background: var(--accent); color: var(--bg); font-weight: 600; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* Layout primitives ------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: var(--bg-deep); }
.section--line { border-top: 1px solid var(--line); }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.muted { color: var(--muted); }

.s-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 1.25rem 4rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.s-head > p { max-width: 34rem; color: var(--muted); }
.s-head__title { margin-top: 0.75rem; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; }
.s-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.s-head--center > p { margin-inline: auto; }

/* Buttons & links ---------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0.8rem 1.6rem; border: 1px solid transparent; border-radius: 999px; font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gradient); color: #04121f; box-shadow: 0 10px 30px -8px rgba(43, 127, 255, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(77, 163, 255, 0.75); }
.btn--ghost { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-strong); background: rgba(77, 163, 255, 0.08); }
.btn--sm { min-height: 42px; padding: 0.6rem 1.15rem; font-size: 0.88rem; }
.btn--lg { min-height: 54px; padding: 0.95rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.textlink { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; color: var(--accent); font-size: 0.95rem; font-weight: 600; }
.textlink .icon { transition: transform 0.25s var(--ease); }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.textlink:hover .icon { transform: translate(2px, -2px); }

.pill { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.42rem 0.95rem 0.42rem 0.75rem; border: 1px solid rgba(122, 240, 255, 0.25); border-radius: 999px; background: rgba(122, 240, 255, 0.06); color: #cfe9ff; font-size: 0.8rem; font-weight: 600; }
.pill__dot { position: relative; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--ok); }
.pill__dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--ok); border-radius: 50%; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li, .tag { padding: 0.25rem 0.65rem; border: 1px solid rgba(122, 240, 255, 0.22); border-radius: 999px; color: #bfeeff; font-size: 0.74rem; font-weight: 600; }
.tag--plain { border-color: var(--border); color: var(--muted); font-weight: 500; }

.check-list { display: grid; gap: 0.7rem; }
.check-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.65rem; color: var(--text-soft); line-height: 1.55; }
.check-list .icon { width: 20px; height: 20px; margin-top: 0.1rem; color: var(--ok); stroke-width: 2.2; }

.card { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.card--link { display: flex; flex-direction: column; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card--link:hover { border-color: rgba(122, 240, 255, 0.55); transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-tile { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 auto; border: 1px solid rgba(122, 240, 255, 0.3); border-radius: 14px; background: rgba(122, 240, 255, 0.08); color: var(--accent); }
.icon-tile .icon { width: 24px; height: 24px; }

/* Top bar & navigation ---------------------------------------------------- */
.topbar { position: relative; z-index: 1001; display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 40px; padding: 0.45rem var(--gutter); background: linear-gradient(90deg, #1560cf, #2b7fff 52%, #127c9f); color: #fff; font-size: 0.82rem; text-align: center; }
.topbar strong { white-space: nowrap; }
.topbar:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.topbar__dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #aef8d8; box-shadow: 0 0 0 4px rgba(174, 248, 216, 0.25); }

.nav { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--line); background: rgba(5, 7, 15, 0.97); transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.nav.is-scrolled { background: rgba(5, 7, 15, 0.98); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--nav-h); }
.nav__brand { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; }
.nav__logo { width: auto; height: 40px; }
.nav__slogan { color: var(--accent); font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.nav__menu { display: flex; flex: 1; align-items: center; gap: 1.25rem; }
.nav__links { display: flex; align-items: center; gap: 0.2rem; margin-inline: auto; }
.nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; border-radius: 999px; color: var(--muted); font-size: 0.93rem; font-weight: 500; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; }
.nav__link:hover { color: var(--text); background: var(--surface-strong); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 6px; height: 2px; border-radius: 2px; background: var(--gradient); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; }
.lang__link { display: grid; place-items: center; min-width: 38px; min-height: 36px; border-radius: 999px; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; }
.lang__link:hover { color: var(--text); }
.lang__link.is-active { background: rgba(122, 240, 255, 0.12); color: var(--accent); }
.nav__burger { display: none; position: relative; width: 46px; height: 46px; margin-left: auto; border: 1px solid var(--border); border-radius: 12px; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s ease; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 29px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav__burger { display: block; }
    .nav__menu { position: fixed; inset: var(--nav-top, 112px) 0 0; z-index: 999; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); overflow-y: auto; background: var(--bg); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0s linear 0.25s; }
    .nav__menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0s; }
    .nav__links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
    .nav__links li { border-bottom: 1px solid var(--line); }
    .nav__link { min-height: 56px; padding: 0; border-radius: 0; color: var(--text); font-family: var(--font-display); font-size: 1.35rem; }
    .nav__link:hover { background: none; color: var(--accent); }
    .nav__link.is-active { color: var(--accent); }
    .nav__link.is-active::after { display: none; }
    .lang { align-self: flex-start; }
    .nav__cta { min-height: 52px; }
}
html:not(.js) .nav__menu { position: static; visibility: visible; opacity: 1; transform: none; }
html:not(.js) .nav__burger { display: none; }

/* Page hero (subpages) ---------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 55% 70% at 85% 0%, rgba(43, 127, 255, 0.2), transparent 70%), linear-gradient(180deg, var(--bg-deep), var(--bg)); }
.page-hero::before, .hp-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: 0.3; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 15%, transparent 75%); pointer-events: none; }
.page-hero__grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); }
.page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.page-hero__copy { max-width: 46rem; }
.page-hero--center .page-hero__copy { margin-inline: auto; text-align: center; }
.page-hero--center .crumbs ol, .page-hero--center .page-hero__actions { justify-content: center; }
.page-hero__title { margin-top: 1.1rem; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.page-hero__lead { max-width: 40rem; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.7; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.crumbs { margin-bottom: 1.4rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.84rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: rgba(154, 167, 199, 0.5); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text-soft); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.75rem; color: var(--muted); font-size: 0.9rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust .icon { color: var(--ok); stroke-width: 2.2; }

/* Browser frame ------------------------------------------------------------ */
.frame { overflow: hidden; border: 1px solid rgba(160, 190, 255, 0.18); border-radius: 14px; background: #0b1122; box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.8); }
.frame__bar, .hp-frame__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding-inline: 12px; border-bottom: 1px solid rgba(160, 190, 255, 0.12); background: #111a31; }
.frame__bar i, .hp-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3553; }
.frame__bar i:first-child, .hp-frame__bar i:first-child { background: #ff6b6b; }
.frame__bar i:nth-child(2), .hp-frame__bar i:nth-child(2) { background: #ffc857; }
.frame__bar i:nth-child(3), .hp-frame__bar i:nth-child(3) { background: var(--ok); }
.frame__bar span, .hp-frame__bar span { overflow: hidden; margin-left: 10px; padding: 2px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 0.68rem; white-space: nowrap; text-overflow: ellipsis; }
.frame picture, .frame img { width: 100%; }
.frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

/* Homepage ---------------------------------------------------------------- */
.hp-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%); }
.hp-hero__glow { position: absolute; inset: -20% -10% auto 35%; height: 90%; background: radial-gradient(closest-side, rgba(43, 127, 255, 0.22), transparent 70%); pointer-events: none; }
.hp-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); }
.hp-hero__title { margin-top: 1.4rem; font-size: clamp(2.5rem, 4.3vw, 3.9rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.hp-hero__title .text-gradient { display: block; }
.hp-hero__lead { max-width: 36rem; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.7; }
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hp-trust { display: flex; align-items: center; gap: 0.85rem; max-width: 30rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hp-trust__avatar { width: 48px; height: 48px; border: 2px solid rgba(122, 240, 255, 0.45); border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.hp-trust strong { display: block; font-size: 0.92rem; }
.hp-trust span { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.85rem; }
.hp-trust span .icon { color: var(--ok); }

.hp-hero__visual { position: relative; aspect-ratio: 1.12; }
.hp-frame { position: absolute; overflow: hidden; border: 1px solid rgba(160, 190, 255, 0.18); border-radius: 14px; background: #0b1122; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.75); }
.hp-frame--main { z-index: 2; top: 4%; left: 0; width: 88%; aspect-ratio: 16 / 10.6; }
.hp-frame--back { z-index: 1; right: 0; bottom: 0; width: 64%; aspect-ratio: 16 / 11; opacity: 0.9; transform: rotate(2deg); }
.hp-frame__shot { display: block; width: 100%; height: calc(100% - 30px); }
.hp-frame__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hp-float { position: absolute; z-index: 3; left: 6%; bottom: 3%; padding: 1rem 1.1rem; border: 1px solid rgba(122, 240, 255, 0.28); border-radius: 14px; background: rgba(10, 16, 32, 0.92); box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.7); }
.hp-float__title { display: block; margin-bottom: 0.7rem; color: var(--muted); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hp-float__steps { display: flex; gap: 0.35rem; }
.hp-float__steps li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.6rem 0.3rem 0.35rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 0.78rem; font-weight: 600; }
.hp-float__steps li > span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(62, 230, 168, 0.16); color: var(--ok); }
.hp-float__steps li > span .icon { width: 12px; height: 12px; stroke-width: 2.6; }
.hp-float__steps li.is-current { background: rgba(77, 163, 255, 0.16); color: #d6ebff; }
.hp-float__steps li.is-current > span { border: 2px solid var(--blue); background: transparent; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(77, 163, 255, 0.18); } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 16, 32, 0.6); }
.hp-hero .facts { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); }
.facts li { display: grid; align-content: start; gap: 0.2rem; padding: 1.3rem 1.5rem; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 0.86rem; line-height: 1.45; }

.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.route { position: relative; padding: clamp(1.75rem, 3.5vw, 2.5rem); background: linear-gradient(180deg, rgba(77, 163, 255, 0.07), transparent 55%), var(--surface); }
.route__price { position: absolute; top: clamp(1.75rem, 3.5vw, 2.5rem); right: clamp(1.75rem, 3.5vw, 2.5rem); padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.route__price small { color: var(--muted); font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; }
.route h3 { margin-top: 1.75rem; font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.route p { margin-top: 0.8rem; color: var(--muted); }
.route__list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.route__list li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem 0.35rem 0.55rem; border-radius: 999px; background: var(--surface-strong); color: var(--text-soft); font-size: 0.84rem; }
.route__list .icon { width: 14px; height: 14px; color: var(--accent); stroke-width: 2.4; }
.card-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 1.75rem; color: var(--accent); font-weight: 600; }
.card-link .icon { transition: transform 0.25s var(--ease); }
.card--link:hover .card-link .icon { transform: translateX(4px); }
.center-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.case { display: flex; flex-direction: column; grid-column: span 6; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.work-grid--1 .case { grid-column: 1 / -1; }
.work-grid--3 .case--lead { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.case:hover { border-color: rgba(122, 240, 255, 0.5); transform: translateY(-4px); }
.case__media { overflow: hidden; background: #0b1122; }
.case__shot { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.case--lead .case__shot { height: calc(100% - 30px); min-height: 320px; aspect-ratio: auto; }
.case__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.7s var(--ease); }
.case:hover .case__shot img { transform: scale(1.035); }
.case__body { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2rem); }
.case--lead .case__body { justify-content: center; padding: clamp(1.75rem, 4vw, 3rem); }
.case .tags { margin-bottom: 1rem; }
.case h3 { font-size: 1.35rem; }
.case--lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.case p { display: -webkit-box; overflow: hidden; margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; }
.case--lead p { -webkit-line-clamp: 5; line-clamp: 5; }
.case .card-link { padding-top: 1.25rem; font-size: 0.92rem; }

.why { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.person-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.person-card__photo { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: 50% 18%; }
.person-card__body { padding: 1.5rem 1.6rem 1.4rem; }
.person-card__body strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.person-card__body > span { color: var(--accent); font-size: 0.85rem; font-weight: 600; }
.person-card__body p { margin: 0.9rem 0 0.4rem; color: var(--muted); }

/* Timeline steps (vertical) and step cards (horizontal) */
.steps { position: relative; margin-top: 2.25rem; }
.steps::before { content: ""; position: absolute; top: 1.4rem; bottom: 1.4rem; left: 21px; width: 1px; background: linear-gradient(180deg, var(--accent), rgba(122, 240, 255, 0.08)); }
.steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1.4rem; padding: 1.1rem 0 1.5rem; }
.num { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid rgba(122, 240, 255, 0.4); border-radius: 50%; background: var(--bg); color: var(--accent); font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; }
.steps h3 { margin-top: 0.55rem; font-size: 1.2rem; }
.steps p { max-width: 34rem; margin-top: 0.4rem; color: var(--muted); }
.steps .steps__text { margin-top: 0.65rem; color: var(--text-soft); font-size: 1.02rem; }
.step-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.step-cards li { padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step-cards h3 { margin-top: 1.4rem; font-size: 1.15rem; }
.step-cards p { margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feature-grid .card h3 { margin-top: 1.1rem; font-size: 1.1rem; }
.feature-grid .card p { margin-top: 0.45rem; color: var(--muted); font-size: 0.95rem; }

.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2.5rem, 7vw, 6rem); }
.split__intro > p { margin-top: 1rem; color: var(--muted); }

/* FAQ ---------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2.5rem, 7vw, 6rem); }
.faq__items { border-top: 1px solid var(--line); }
.faq__items details { border-bottom: 1px solid var(--line); }
.faq__items summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 44px; padding: 1.3rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.4; transition: color 0.2s ease; }
.faq__items summary::-webkit-details-marker { display: none; }
.faq__items summary:hover { color: var(--accent); }
.faq__toggle { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); transition: transform 0.3s var(--ease), background-color 0.3s ease; }
.faq__items details[open] .faq__toggle { transform: rotate(45deg); background: rgba(122, 240, 255, 0.1); }
.faq__items details p { max-width: 42rem; padding: 0 3rem 1.5rem 0; color: var(--muted); line-height: 1.75; }

.local-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.local-card .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.local-card small { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.06em; }
.local-card h3 { margin-top: 0.3rem; font-size: 1.1rem; line-height: 1.3; }
.local-card p { margin: 0.5rem 0 0.2rem; color: var(--muted); font-size: 0.92rem; }

/* Closing call to action --------------------------------------------------- */
.section--cta { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); background: var(--bg-deep); }
.cta-panel { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 5rem); border: 1px solid rgba(122, 240, 255, 0.3); border-radius: var(--radius-xl); background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(43, 127, 255, 0.28), transparent 70%), #081021; text-align: center; }
.cta-panel__avatar { width: 72px; height: 72px; margin: 0 auto 1.25rem; border: 2px solid rgba(122, 240, 255, 0.5); border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.cta-panel h2 { max-width: 18ch; margin: 0.9rem auto 0; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
.cta-panel > p { max-width: 36rem; margin: 1.1rem auto 0; color: var(--muted); font-size: 1.05rem; }
.cta-panel__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.cta-panel__mail { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: var(--muted); font-size: 0.95rem; }
.cta-panel__mail strong { color: var(--text); font-weight: 600; }
.cta-panel__mail:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.cta-panel__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; margin-top: 1.6rem; color: var(--muted); font-size: 0.86rem; }
.cta-panel__notes li { display: inline-flex; align-items: center; gap: 0.35rem; }
.cta-panel__notes .icon { color: var(--ok); stroke-width: 2.2; }

/* Services ------------------------------------------------------------------ */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-card h2, .service-card h3 { margin-top: 1.4rem; font-size: 1.35rem; }
.service-card > p { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }
.price-lines { display: grid; gap: 0.35rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.price-lines div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; }
.price-lines dt { color: var(--muted); }
.price-lines dd { font-weight: 600; white-space: nowrap; }
.price-lines__vat { margin-top: 0.35rem; color: var(--muted); font-size: 0.74rem; }
.banner-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0, rgba(43, 127, 255, 0.2), transparent 45%), var(--bg-raised); }
.banner-card h2 { margin-top: 0.5rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.banner-card p { margin-top: 0.4rem; color: var(--muted); }
.banner-card .btn { flex: 0 0 auto; }

.hero-prices { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.hero-prices div { display: grid; padding: 0.6rem 0.95rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.hero-prices span { color: var(--muted); font-size: 0.74rem; }
.hero-prices strong { font-family: var(--font-display); font-size: 1.05rem; }
.hero-prices__note { width: 100%; color: var(--muted); font-size: 0.8rem; }
.hero-prices__note a { color: var(--accent); white-space: nowrap; }
.hero-prices__note a:hover { text-decoration: underline; }

.prose { max-width: 44rem; color: var(--text-soft); font-size: 1.05rem; line-height: 1.8; }
.prose p + p { margin-top: 1.1rem; }
.prose .lead { color: var(--text); font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; letter-spacing: -0.01em; }
.num-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.num-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text-soft); }
.num-list .num { width: 38px; height: 38px; font-size: 0.75rem; }

/* Pricing ------------------------------------------------------------------- */
.price-tabs { position: sticky; top: var(--price-tabs-top, var(--nav-h)); z-index: 900; border-bottom: 1px solid var(--line); background: rgba(5, 7, 15, 0.97); }
.price-tabs__inner { display: flex; justify-content: center; gap: 0.35rem; overflow-x: auto; padding-block: 0.6rem; scrollbar-width: none; }
.price-tabs__inner::-webkit-scrollbar { display: none; }
.price-tabs__link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid transparent; border-radius: 999px; color: var(--muted); font-size: 0.88rem; font-weight: 600; white-space: nowrap; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }
.price-tabs__link:hover { color: var(--text); }
.price-tabs__link.is-active { border-color: rgba(122, 240, 255, 0.35); background: rgba(122, 240, 255, 0.08); color: var(--accent); }
.price-section { padding-block: clamp(3.5rem, 7vw, 6rem); scroll-margin-top: calc(var(--nav-h) + 60px); }
.price-section:nth-of-type(even) { background: var(--bg-deep); }
.price-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.price-card--featured { border-color: rgba(122, 240, 255, 0.6); background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(43, 127, 255, 0.18), transparent 70%), var(--bg-raised); box-shadow: 0 30px 60px -30px rgba(43, 127, 255, 0.55); }
.price-card__badge { position: absolute; top: -12px; left: 1.75rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--gradient); color: #04121f; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.price-card__name { font-size: 1.3rem; }
.price-card__for { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }
.price-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.5rem; margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.price-card__from { width: 100%; color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.price-card__price strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price-card__price small { color: var(--muted); font-size: 0.82rem; }
.price-card__range { margin-top: 0.6rem; color: var(--muted); font-size: 0.85rem; }
.price-card__range strong { color: var(--text-soft); }
.price-card .check-list { margin-top: 1.4rem; font-size: 0.92rem; }
.price-card__example { margin-top: 1rem; padding: 0.75rem 0.9rem; border-radius: 10px; background: rgba(122, 240, 255, 0.06); color: var(--text-soft); font-size: 0.84rem; }
.price-card__cta { margin-top: auto; }
.price-card .check-list + .price-card__cta, .price-card__example + .price-card__cta { margin-top: 1.6rem; }
.price-card__spacer { flex: 1; min-height: 1.6rem; }
.price-note { margin-top: 1.25rem; color: var(--muted); font-size: 0.85rem; text-align: center; }
.price-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.price-panel h2 { margin-top: 0.7rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.price-panel > p { margin-top: 0.6rem; color: var(--muted); }
.rates { display: grid; gap: 0.5rem; margin-top: 1.5rem; }
.rates div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 12px; }
.rates dt { color: var(--text-soft); }
.rates dd strong { font-family: var(--font-display); font-size: 1.1rem; }
.rates dd small { color: var(--muted); }
.pay { margin-top: 1.5rem; }
.pay h3 { font-size: 0.95rem; }
.pay__bar { display: flex; gap: 4px; margin-top: 0.6rem; }
.pay__bar div { display: grid; min-width: 0; padding: 0.7rem 0.8rem; border-radius: 10px; background: rgba(77, 163, 255, 0.12); }
.pay__bar div:nth-child(2) { background: rgba(77, 163, 255, 0.2); }
.pay__bar div:nth-child(3) { background: rgba(122, 240, 255, 0.2); }
.pay__bar strong { font-family: var(--font-display); }
.pay__bar span { color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.price-panel__note { margin-top: 1.25rem; color: var(--muted); font-size: 0.86rem; }

/* Projects ------------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter { min-height: 42px; padding: 0 1.05rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 0.88rem; font-weight: 600; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }
.filter:hover { border-color: var(--border-strong); color: var(--text); }
.filter.is-active { border-color: transparent; background: var(--gradient); color: #04121f; }
.project-list { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.project { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); scroll-margin-top: calc(var(--nav-h) + 24px); }
.project:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.project:nth-child(even) .project__gallery { order: 2; }
.project__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; background: #0b1122; }
.project__gallery > :first-child { grid-column: 1 / -1; }
.project__gallery--1 { grid-template-columns: 1fr; }
.project__zoom { position: relative; display: block; overflow: hidden; height: 100%; border-radius: 12px; background: #111a31; }
.project__zoom img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease); }
.project__zoom:hover img { transform: scale(1.03); }
.project__zoom-icon { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(5, 7, 15, 0.8); color: var(--accent); opacity: 0; transition: opacity 0.2s ease; }
.project__zoom:hover .project__zoom-icon, .project__zoom:focus-visible .project__zoom-icon { opacity: 1; }
.project__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); }
.project__body h2 { margin-top: 1rem; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.project__body p { margin-top: 0.8rem; color: var(--muted); }
.project__stack { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.project__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.empty-state { padding: 2rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); text-align: center; }

.lightbox { position: fixed; inset: 0; z-index: 4000; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: clamp(1rem, 4vw, 3rem); background: rgba(3, 5, 11, 0.94); opacity: 0; transition: opacity 0.2s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { display: grid; justify-items: center; gap: 0.75rem; max-height: 100%; }
.lightbox__figure img { max-height: calc(100vh - 8rem); width: auto; border-radius: 12px; object-fit: contain; }
.lightbox__figure figcaption { color: var(--muted); font-size: 0.85rem; }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-raised); color: var(--text); }
.lightbox__btn:hover { border-color: var(--border-strong); color: var(--accent); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }

/* About --------------------------------------------------------------------- */
.portrait { position: relative; max-width: 460px; margin-left: auto; }
.portrait img { width: 100%; aspect-ratio: 1; border: 1px solid var(--border); border-radius: var(--radius-xl); object-fit: cover; object-position: 50% 20%; }
.portrait figcaption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; display: grid; padding: 1rem 1.2rem; border: 1px solid rgba(122, 240, 255, 0.28); border-radius: 14px; background: rgba(10, 16, 32, 0.9); }
.portrait figcaption strong { font-family: var(--font-display); font-size: 1.15rem; }
.portrait figcaption span { color: var(--muted); font-size: 0.88rem; }

/* Contact ------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); }
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--bg-raised); box-shadow: var(--shadow); }
.form-card__title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.form-card__sub { margin-top: 0.4rem; color: var(--muted); font-size: 0.95rem; }
.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.form__field { display: grid; gap: 0.4rem; }
.form__label { color: var(--text-soft); font-size: 0.9rem; font-weight: 600; }
.form__label small { color: var(--muted); font-weight: 400; }
.form__input, .form__textarea { width: 100%; min-height: 50px; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form__input::placeholder, .form__textarea::placeholder { color: #6f7b9c; }
.form__input:hover, .form__textarea:hover { border-color: rgba(122, 240, 255, 0.3); }
.form__input:focus, .form__textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(122, 240, 255, 0.15); }
.form__textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
select.form__input { appearance: none; padding-right: 2.8rem; color-scheme: dark; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
select.form__input option { background: var(--bg); color: var(--text); }
.form__error { display: none; color: var(--danger); font-size: 0.84rem; }
.form__field.has-error .form__input, .form__field.has-error .form__textarea { border-color: var(--danger); }
.form__field.has-error .form__error { display: block; }
.form__alert { display: none; padding: 0.9rem 1rem; border-radius: 12px; font-size: 0.92rem; }
.form__alert.is-visible { display: block; }
.form__alert--success { border: 1px solid rgba(62, 230, 168, 0.45); background: rgba(62, 230, 168, 0.1); color: #bff7e2; }
.form__alert--error { border: 1px solid rgba(255, 122, 138, 0.45); background: rgba(255, 122, 138, 0.1); color: #ffd3d9; }
.form__note { display: flex; align-items: center; justify-content: center; gap: 0.4rem; color: var(--muted); font-size: 0.84rem; text-align: center; }
.form__note .icon { color: var(--ok); }
.form__promises { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--text-soft); font-size: 0.88rem; }
.form__promises li { display: inline-flex; align-items: center; gap: 0.35rem; }
.form__promises .icon { color: var(--ok); stroke-width: 2.2; }
.form__package { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; padding: 0.9rem 1.1rem; border: 1px solid rgba(122, 240, 255, 0.4); border-radius: 12px; background: rgba(122, 240, 255, 0.07); }
.form__package span { width: 100%; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.form__package strong { font-family: var(--font-display); font-size: 1.1rem; }
.form__package em { color: var(--accent); font-style: normal; font-weight: 600; }
.form__package a { margin-left: auto; color: var(--muted); font-size: 0.84rem; text-decoration: underline; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-aside { display: grid; gap: 1rem; }
.contact-aside .card h2 { font-size: 1.1rem; }
.contact-person { display: flex; align-items: center; gap: 1rem; }
.contact-person img { width: 64px; height: 64px; border: 2px solid rgba(122, 240, 255, 0.45); border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.contact-person strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.contact-person span { color: var(--muted); font-size: 0.88rem; }
.contact-quote { margin-top: 1rem; color: var(--text-soft); font-size: 0.95rem; }
.next-steps { display: grid; gap: 0.9rem; margin-top: 1rem; counter-reset: step; }
.next-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.75rem; color: var(--text-soft); font-size: 0.95rem; counter-increment: step; }
.next-steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(122, 240, 255, 0.45); border-radius: 50%; color: var(--accent); font-size: 0.75rem; font-weight: 700; }
.contact-line { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; color: var(--text-soft); }
.contact-line .icon { color: var(--accent); }
a.contact-line:hover { color: var(--accent); }

/* Legal pages & 404 ---------------------------------------------------------- */
.legal { max-width: 46rem; color: var(--text-soft); line-height: 1.8; }
.legal h2 { margin: 2.25rem 0 0.75rem; font-size: 1.35rem; }
.legal p + p { margin-top: 1rem; }
.legal ul { margin: 0.75rem 0; padding-left: 1.2rem; list-style: disc; }
.legal li + li { margin-top: 0.35rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-page__updated { display: inline-block; margin-bottom: 1.5rem; padding: 0.3rem 0.8rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 0.82rem; }
.chip-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.75rem; }
.chip-links a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 0.92rem; transition: color 0.2s ease, border-color 0.2s ease; }
.chip-links a:hover { border-color: var(--border-strong); color: var(--text); }

/* Login (admin entry) ------------------------------------------------------- */
.admin-login-wrap { display: grid; place-items: center; min-height: 70vh; padding: 3rem var(--gutter); }
.admin-login-card { width: min(100%, 420px); padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-raised); text-align: center; }
.admin-login-card .nav__brand { justify-content: center; }
.admin-login-card h1 { margin-top: 1rem; font-size: 1.6rem; }
.admin-login-card .sub { margin-top: 0.4rem; color: var(--muted); }
.admin-login-card .form { text-align: left; }
.nav__brand-text { font-family: var(--font-display); font-weight: 700; }
.admin-alert { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.9rem; }
.admin-alert--error { border: 1px solid rgba(255, 122, 138, 0.45); background: rgba(255, 122, 138, 0.1); color: #ffd3d9; }

/* Footer ---------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer__tagline { max-width: 22rem; margin: 1rem 0 1.25rem; color: var(--muted); font-size: 0.92rem; }
.footer__col { display: grid; align-content: start; gap: 0.15rem; }
.footer__heading { margin-bottom: 0.6rem; color: var(--text); font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer__col a, .footer__col > span { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: 0.92rem; }
.footer__col a:hover { color: var(--accent); }
.footer__contact { gap: 0.55rem; }
.footer__contact .icon { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-left: auto; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__legal a:hover { color: var(--accent); }

/* Mobile call-to-action bar ---------------------------------------------------- */
.mcta { display: none; }
@media (max-width: 760px) {
    .mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: block; padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(5, 7, 15, 0.95); transform: translateY(110%); transition: transform 0.3s var(--ease); }
    .mcta.is-visible { transform: none; }
    .mcta .btn { min-height: 50px; }
}

/* Toast (used by window.TNOVA.notify) ------------------------------------------ */
.notify { position: fixed; left: 50%; bottom: 1.5rem; z-index: 4500; max-width: calc(100% - 2rem); padding: 0.85rem 1.2rem; border-radius: 12px; background: var(--bg-raised); border: 1px solid var(--border); transform: translate(-50%, 150%); transition: transform 0.3s var(--ease); }
.notify.is-visible { transform: translate(-50%, 0); }
.notify--success { border-color: rgba(62, 230, 168, 0.5); }
.notify--error { border-color: rgba(255, 122, 138, 0.5); }

/* Scroll reveal: content is only hidden when JS runs, so nothing disappears without it. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease) var(--reveal-delay, 0ms), transform 0.7s var(--ease) var(--reveal-delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card--link[data-reveal].is-visible, .js .case[data-reveal].is-visible { transition: opacity 0.7s var(--ease) var(--reveal-delay, 0ms), transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.js .card--link[data-reveal].is-visible:hover, .js .case[data-reveal].is-visible:hover { transform: translateY(-4px); }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1080px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .price-grid { --cols: 2 !important; }
    .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
    .hp-hero__grid, .page-hero--split .page-hero__grid { grid-template-columns: 1fr; }
    .hp-hero__visual { width: min(100%, 620px); margin-inline: auto; }
    .portrait { margin-inline: 0; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts li:nth-child(3) { border-left: 0; }
    .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .why, .faq, .split, .contact-layout { grid-template-columns: 1fr; }
    .person-card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
    .person-card__photo { height: 100%; aspect-ratio: auto; }
    .work-grid--3 .case--lead { grid-template-columns: 1fr; }
    .case--lead .case__shot { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
    .project, .project:nth-child(even) { grid-template-columns: 1fr; }
    .project:nth-child(even) .project__gallery { order: 0; }
    .step-cards { --cols: 2 !important; }
    .price-panels { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    :root { --nav-h: 64px; }
    .s-head { grid-template-columns: 1fr; }
    .routes, .service-grid, .feature-grid, .num-list, .form__row { grid-template-columns: 1fr; }
    .case { grid-column: 1 / -1; }
    .route__price { position: static; align-self: flex-start; margin-top: 1.25rem; }
    .route h3 { margin-top: 1rem; }
    .price-grid, .step-cards { --cols: 1 !important; }
    .banner-card { flex-direction: column; align-items: stretch; }
    .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
    .footer__legal { margin-left: 0; }
    .footer { padding-bottom: 76px; }
    .nav__slogan { display: none; }
    .topbar { font-size: 0.76rem; }
    .topbar__text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; text-align: left; }
}
@media (max-width: 560px) {
    .hp-hero { padding-top: 2.25rem; }
    .hp-hero__title { font-size: clamp(2.15rem, 10.5vw, 2.8rem); }
    .page-hero__title { font-size: clamp(2rem, 9.5vw, 2.6rem); }
    .hp-hero__actions .btn, .page-hero__actions .btn, .cta-panel__actions .btn { width: 100%; }
    .hp-hero__visual { aspect-ratio: auto; padding-bottom: 3.25rem; }
    .hp-frame--main { position: relative; top: 0; width: 100%; }
    .hp-frame--back { display: none; }
    .hp-float { left: 50%; bottom: 0; width: max-content; max-width: 100%; transform: translateX(-50%); }
    .hp-float__steps li { padding-right: 0.45rem; font-size: 0.72rem; }
    .facts li { padding: 1.1rem 1rem; }
    .person-card { grid-template-columns: 1fr; }
    .person-card__photo { height: auto; aspect-ratio: 4 / 3; }
    .faq__items details p { padding-right: 0; }
    .cta-panel__mail { flex-direction: column; gap: 0.25rem; text-align: center; }
    .cta-panel__mail > span { display: grid; }
    .pay__bar { flex-direction: column; }
    .pay__bar div { flex: none !important; }
    .lightbox { grid-template-columns: 1fr; }
    .lightbox__btn:not(.lightbox__close) { position: absolute; bottom: 1rem; }
    .lightbox [data-lightbox-prev] { left: 1rem; }
    .lightbox [data-lightbox-next] { right: 1rem; }
    .topbar { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
    .topbar, .nav, .mcta, .footer, .section--cta { display: none !important; }
    body { background: #fff; color: #000; }
}

/* Small helpers --------------------------------------------------------------- */
.card__cta { margin-top: 1.5rem; }
.page-hero__actions .hero-prices { flex-basis: 100%; margin-top: 0.75rem; }
.page-hero__aside .frame img { aspect-ratio: 16 / 10.5; }
.page-hero--center .hero-trust { justify-content: center; }
.contact-hero .contact-layout { position: relative; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "intro form" "aside form"; row-gap: 2rem; }
.contact-intro { grid-area: intro; }
.contact-form { grid-area: form; }
.contact-aside { grid-area: aside; align-self: start; }
@media (max-width: 1000px) {
    .contact-hero .contact-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "aside"; }
}
.local-card--bare { margin: 0; padding: 0; border: 0; background: none; }
.local-card--bare h2 { margin-top: 0.3rem; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.page-hero__actions .chip-links { flex-basis: 100%; }
