/* ==========================================================================
   Emanuele Cavallini — Tecnologie per la comunicazione audiovisiva
   Design system: dark, blu petrolio del logo (#056380) + oro
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #081218;
  --bg-2: #0b1820;
  --surface: #0f1f28;
  --surface-2: #142833;
  --line: rgba(150,195,215,0.12);
  --line-strong: rgba(150,195,215,0.24);
  --text: #e9eff2;
  --text-2: #a6b7c0;
  --text-3: #71858f;
  --brand: #056380;       /* colore del logo */
  --brand-hi: #0a7ca6;
  --teal: #2a95bd;
  --teal-2: #6cc3e0;
  --teal-deep: #056380;
  --gold: #d7aa52;
  --gold-2: #f0cd84;
  --danger: #ef7d6e;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Manrope", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--teal-2); text-decoration: none; }
a:hover { color: var(--gold-2); }
::selection { background: var(--teal); color: #ffffff; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--text); font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a1205; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.accent { color: var(--teal-2); }
.gold { color: var(--gold-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.btn-primary:hover { background: var(--brand-hi); color: #fff; }
.btn-gold { background: var(--gold); color: #241804; }
.btn-gold:hover { background: var(--gold-2); color: #241804; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal-2); color: var(--teal-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,18,24,.8);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 46px; height: 46px; flex: none; border-radius: 8px; }
.brand-footer .brand-mark { width: 120px; height: 120px; border-radius: 12px; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--text-3); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text-2); font: 600 .95rem var(--font-head);
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover, .nav-item:focus-within > .nav-toggle { color: var(--text); background: rgba(255,255,255,.04); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-toggle { color: var(--teal-2); }
.nav-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; padding: 10px; list-style: none; margin: 0;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:hover > .nav-toggle svg, .nav-item.open > .nav-toggle svg { transform: rotate(180deg); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--surface-2); color: var(--teal-2); }
.dropdown a span { display: block; font-size: .82rem; color: var(--text-3); line-height: 1.35; margin-top: 2px; }
.nav-cta { margin-left: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: none; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 40px; overflow-y: auto;
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .dropdown { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; background: none; padding: 4px 0 10px 8px; display: none; opacity: 1; visibility: visible; }
  .nav-item.open > .dropdown { display: block; transform: none; }
  .nav-item:hover > .dropdown { transform: none; }
  .nav-cta { margin: 24px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 10vw, 130px) 0 clamp(56px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(42,149,189,.22), transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgba(215,170,82,.12), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(150,195,215,.18) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal-2), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: var(--text-3); font-size: .9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--teal); }

/* LED wall visual */
.ledwall {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg);
  background: #03090c; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.02), 0 0 120px rgba(42,149,189,.15);
  overflow: hidden;
}
.ledwall canvas { width: 100%; height: 100%; display: block; }
.ledwall-tag {
  position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; align-items: center;
  font: 600 .72rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
  background: rgba(4,10,14,.7); border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px;
}
.ledwall-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.ledwall-spec {
  position: absolute; right: -14px; top: 22px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 12px 16px; font-size: .8rem; color: var(--text-2); box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.ledwall-spec b { display: block; font: 600 1.2rem var(--font-head); color: var(--gold-2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ledwall-spec { right: 12px; top: 12px; }
}

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 0%, rgba(42,149,189,.18), transparent 65%); }
.page-hero .lead { margin-bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .85rem; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--teal-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Brand strip ---------- */
.brands { padding: 28px 0; border-bottom: 1px solid var(--line); }
.brands-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.brands p { margin: 0; font-size: .82rem; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.brands ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.brands li { font: 600 1rem var(--font-head); color: var(--text-2); letter-spacing: -.01em; opacity: .8; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), rgba(15,31,40,.6));
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
  color: var(--text);
}
a.card:hover { border-color: rgba(42,149,189,.5); transform: translateY(-3px); color: var(--text); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(42,149,189,.1); color: var(--teal-2); border: 1px solid rgba(42,149,189,.25);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: .97rem; margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem var(--font-head); color: var(--teal-2); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.card:hover .more svg { transform: translateX(4px); }
.card.feature { padding: 24px; }
.card.feature h3 { font-size: 1.1rem; }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3;
  background:
    radial-gradient(80% 80% at 70% 20%, rgba(42,149,189,.28), transparent 60%),
    radial-gradient(60% 60% at 20% 90%, rgba(215,170,82,.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
}
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(150,195,215,.16) 1px, transparent 1.2px); background-size: 16px 16px;
}
.media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 4 / 5; }
.media-label { position: absolute; z-index: 0; inset: auto 20px 18px; font: 600 .75rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); }
.checks li strong { color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(42,149,189,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cc3e0' 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(42,149,189,.3);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 600 .85rem var(--font-head); letter-spacing: .14em; color: var(--gold); margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 600 clamp(1.6rem, 3vw, 2.2rem) var(--font-head); color: var(--text); letter-spacing: -.02em; }
.stat span { color: var(--text-3); font-size: .9rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Sectors ---------- */
.sector { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.sector h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; }
.sector h3 svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.sector p { color: var(--text-2); font-size: .95rem; margin: 0 0 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .8rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); }

/* ---------- Spec table ---------- */
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font: 600 .8rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.specs td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.specs td { color: var(--text-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font: 600 1.05rem var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal-2); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--text-2); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 72px); border-radius: 28px; border: 1px solid rgba(42,149,189,.35);
  background: linear-gradient(135deg, #056380, #0c1a22 55%, #1d1a10);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 100% 0%, rgba(215,170,82,.22), transparent 70%); }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--text-2); margin: 0; max-width: 56ch; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.contact-list a:hover { border-color: rgba(42,149,189,.5); color: var(--text); }
.contact-list svg { width: 22px; height: 22px; color: var(--teal-2); flex: none; }
.contact-list small { display: block; color: var(--text-3); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font: 600 .86rem var(--font-head); margin-bottom: 8px; color: var(--text); }
.field label .req, .field legend .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font: 500 1rem var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.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='%23a6b7c0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,149,189,.2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; display: inline-flex; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font: 500 .9rem var(--font-body); color: var(--text-2); cursor: pointer; transition: all .15s; }
.chips input:checked + span { background: rgba(42,149,189,.16); border-color: var(--teal); color: var(--teal-2); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--teal); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: rgba(42,149,189,.12); border: 1px solid rgba(42,149,189,.4); color: var(--teal-2); }
.form-status.err { display: block; background: rgba(239,125,110,.1); border: 1px solid rgba(239,125,110,.4); color: var(--danger); }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--teal-2); }
.site-footer .about { color: var(--text-2); max-width: 36ch; margin-top: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: .84rem; }
.footer-bottom a { color: var(--text-3); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text-2); }
.social a:hover { border-color: var(--teal); color: var(--teal-2); }
.social svg { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound b { display: block; font: 600 clamp(5rem, 18vw, 10rem) var(--font-head); line-height: 1; background: linear-gradient(90deg, var(--teal-2), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
