@charset "UTF-8";
/* ==========================================================================
   FARTEC — Design system (Apple-inspired)
   Tipografia ampia, molto respiro, animazioni fluide e mai pacchiane.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #0b0b0f;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: #d2d2d7;
  --brand: #0a6cff;
  --brand-deep: #0a4da8;
  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.25);
  --shadow-soft: 0 10px 40px -16px rgba(0, 0, 0, 0.18);
  --nav-h: 52px;
  font-synthesis: none;
}

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

/* scrollbar-gutter riserva sempre lo spazio della scrollbar (anche senza
   overflow): senza, il modale dei blocchi che nasconde la scrollbar con
   body.bmodal-open (assets/css/blocks.css) farebbe "scattare" la larghezza
   della pagina all'apertura/chiusura. Qui, non in blocks.css, perché questo
   foglio è caricato da tutte le pagine (blocks.css solo dalla home): se
   restasse solo lì si vedrebbe lo stesso scatto navigando fra home e blog. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ----- Tipografia ----- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand);
}
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.06; font-weight: 700; text-wrap: balance; }
.display {
  font-size: clamp(40px, 7vw, 88px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.02;
}
.h2 { font-size: clamp(30px, 4.5vw, 52px); }
.lead { font-size: clamp(18px, 2.2vw, 24px); color: var(--ink-soft); font-weight: 400; }
.muted { color: var(--ink-soft); }
/* Emfasi: una sola tinta solida, mai gradient text (DESIGN.md). */
.hl { color: var(--brand); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 980px; font-size: 16px; font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease), opacity .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { color: var(--brand); }
.btn-ghost:hover { opacity: .65; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-arrow::after { content: "›"; font-size: 1.25em; line-height: 0; transition: transform .25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ----- Nav (Apple-style translucent) ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background .3s, transform .4s var(--ease);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  padding: 0 24px; display: flex; align-items: center; justify-content: space-between;
}
.brand { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(10,108,255,.16); }
.brand-logo { height: 28px; width: auto; display: block; }
.footer .brand-logo { height: 34px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink); opacity: .85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { font-size: 13px !important; padding: 7px 16px; background: var(--brand); color: #fff !important; border-radius: 980px; opacity: 1 !important; }
.nav-toggle { display: none; width: 28px; height: 28px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { height: 1.5px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

/* ----- Hero ----- */
/* Hero full-bleed: la fotografia È il design. Scrim scuro per leggibilità del testo. */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  text-align: center; padding: calc(var(--nav-h) + 56px) 0 72px;
  color: #fff;
  background: linear-gradient(180deg, rgba(9,14,26,.58), rgba(9,14,26,.44) 38%, rgba(9,14,26,.76)),
    url("../img/innovazione.jpg");
  background-size: cover; background-position: 50% 32%; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; }
.hero .eyebrow { color: #bcd6ff; }
.hero .display { max-width: 16ch; margin: 18px auto 22px; text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.hero .hl { color: #7db0ff; }
.hero .lead { max-width: 34ch; margin: 0 auto 36px; color: rgba(255,255,255,.92); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* ----- Sections ----- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--bg-dark); color: #fff; }
.section.dark .lead, .section.dark .muted { color: #a1a1a6; }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head .h2 { margin: 14px 0 16px; }

/* ----- Products grid ----- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card {
  position: relative; border-radius: var(--radius-lg); padding: 40px;
  background: var(--bg-alt); overflow: hidden; min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-start;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product-card.feature { grid-column: span 2; min-height: 480px; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
/* L'accento del prodotto resta il colore decorativo della card (bagliore,
   immagine), ma sul TESTO va scurito: preso puro su fondo chiaro scendeva a
   1,58:1 col ciano dei frigoriferi e sotto 2:1 con verde e arancio, contro i
   4,5:1 richiesti. La miscela con l'inchiostro conserva la tinta e la rende
   leggibile; la dichiarazione semplice che precede copre i browser senza
   color-mix. */
.product-card .eyebrow,
.product-card .card-link { color: var(--brand); }
.product-card .eyebrow,
.product-card .card-link { color: color-mix(in srgb, var(--acc, var(--brand)) 45%, var(--ink)); }
.product-card h3 { font-size: clamp(26px, 3vw, 38px); margin: 10px 0 12px; }
.product-card p { color: var(--ink-soft); max-width: 42ch; font-size: 17px; }
/* Il colore è definito sopra (miscela leggibile dell'accento): qui solo layout. */
.product-card .card-link { margin-top: auto; padding-top: 24px; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.product-card .card-art {
  position: absolute; right: -30px; bottom: -30px; width: 220px; height: 220px;
  opacity: .9; transition: transform .6s var(--ease);
}
.product-card.feature .card-art { width: 300px; height: 300px; right: 40px; bottom: -40px; }
.product-card:hover .card-art { transform: scale(1.06) rotate(-3deg); }
.card-art svg { width: 100%; height: 100%; }
.card-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: var(--acc); filter: blur(80px); opacity: .14; right: -40px; top: -60px; }

/* ----- Services (sticky scroll feel) ----- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  padding: 32px 26px; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s;
}
.section.alt .service { background: #fff; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.service .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf2ff, #f3edff); margin-bottom: 18px; color: var(--brand);
}
.service .ico svg { width: 24px; height: 24px; }
.contact-info .row .ico svg { width: 20px; height: 20px; }
.service h3 { font-size: 20px; margin-bottom: 8px; }
.service p { font-size: 15px; color: var(--ink-soft); }

/* ----- Stats ----- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-size: clamp(40px, 6vw, 70px); font-weight: 700; letter-spacing: -0.03em; }
.section.dark .stat .num { color: #5e9dff; }
.stat .lbl { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
/* Sul fondo scuro --ink-soft scende a 3,87:1: le etichette che danno senso ai
   numeri erano la cosa meno leggibile della sezione. Stesso grigio chiaro già
   usato per .lead e .muted sullo scuro. */
.section.dark .stat .lbl { color: #a1a1a6; }

/* ----- Portfolio ----- */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px;
  padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  transition: transform .5s var(--ease);
}
.case { background-size: cover; background-position: center; }
.case::before { content:""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--acc), #1d1d1f); z-index: 0; }
.case.has-img::before { opacity: .5; }
.case.has-img::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 20%, rgba(0,0,0,.7)); }
.case::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55)); z-index: 1; }
.case > * { position: relative; z-index: 2; }
.case:hover { transform: scale(1.015); }
.case .cat { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .8; }
.case h3 { font-size: 24px; margin: 8px 0 10px; }
.case p { font-size: 15px; opacity: .85; }
.case .result { margin-top: 16px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

/* ----- Blog ----- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { border-radius: var(--radius); border: 1px solid var(--line); padding: 30px; background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.post .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand); background: #eaf2ff; padding: 4px 10px; border-radius: 980px; }
.post h3 { font-size: 21px; margin: 16px 0 10px; }
.post p { font-size: 15px; color: var(--ink-soft); }
.post .date { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

/* ----- Social: link ai profili -----
   Sostituisce il muro di post. `--sc` è il colore della piattaforma, scritto
   inline da site.js sul singolo link. */
.social-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500;
  padding: 13px 24px; border-radius: 980px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.social-link:hover { border-color: var(--sc); color: var(--sc); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .08); }
.social-link-ico { display: inline-flex; font-size: 20px; color: var(--sc); }

/* Le stesse destinazioni, in piccolo, nel footer. Il display:inline-flex serve
   a battere il display:block di .footer-col a, che li impilerebbe. */
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-col .footer-social a { display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; font-size: 17px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink-soft); transition: all .2s; }
.footer-col .footer-social a:hover { color: #fff; background: var(--ink); border-color: var(--ink); }

/* ----- CTA band ----- */
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 18ch; margin: 0 auto 20px; }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
/* Il modulo è molto più alto dei recapiti: li tengo a vista mentre si compila. */
@media (min-width: 901px) {
  .contact-info { position: sticky; top: calc(var(--nav-h) + 30px); }
}
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .row .ico { color: var(--brand); margin-top: 2px; }
.contact-info .row strong { display: block; font-size: 16px; }
.contact-info .row span { color: var(--ink-soft); font-size: 15px; }
.form { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.section.alt .form { background: #fff; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line);
  font-size: 15px; font-family: inherit; background: #fbfbfd; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10,108,255,.12); background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.field textarea { resize: vertical; min-height: 110px; }
/* Stato d'errore + messaggio inline */
.field input.invalid, .field textarea.invalid, .field select.invalid {
  border-color: var(--rosso, #ff3b30); box-shadow: 0 0 0 4px rgba(255,59,48,.12); background: #fff;
}
.field .err { display: none; margin-top: 7px; font-size: 13px; color: #c2241a; }
.field .err.show { display: block; }
.field .req { color: var(--brand); font-weight: 600; }
.field-hint { margin-top: 7px; font-size: 13px; color: var(--ink-soft); }
/* Coppie di campi affiancati (nome/cognome, città/provincia, data/ora).
   Il .field interno porta già il proprio margine inferiore, quindi la riga non
   ne aggiunge altro. */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-tight { margin-bottom: 0; }
.field-row-tight input { width: 100%; }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row-tight { gap: 10px; }
}
/* Honeypot antispam: fuori dallo schermo invece che display:none, perché
   diversi bot ignorano i campi nascosti in modo esplicito. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin-top: 14px; font-size: 14px; color: #c2241a; text-align: center; }
.form-error.show { display: block; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .check { width: 60px; height: 60px; border-radius: 50%; background: #30d158; color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 30px; }

/* ----- Blog ----- */
.blog-page { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 100px; min-height: 80vh; }
.blog-hero { text-align: center; padding: 30px 0 56px; }
.blog-hero .display { margin: 16px 0 18px; }
.blog-hero .lead { max-width: 36ch; margin: 0 auto; }
.post-cover { height: 180px; border-radius: 14px; background-size: cover; background-position: center; margin-bottom: 18px; }
.blog-list .post h3 { margin-top: 12px; }

.article { max-width: 760px; }
.article-back { display: inline-block; color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; transition: color .2s; }
.article-back:hover { color: var(--brand); }
.article .tag { display: inline-block; }
.article h1 { font-size: clamp(32px, 5vw, 52px); margin: 16px 0 14px; letter-spacing: -0.03em; }
.article-meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 30px; }
.article-cover { height: clamp(220px, 42vw, 400px); border-radius: 24px; background-size: cover; background-position: center; margin-bottom: 36px; }
.article-body p { font-size: 18px; line-height: 1.7; color: #2c2c2e; margin-bottom: 22px; }
.article-cta { margin-top: 44px; padding: 36px; border-radius: var(--radius-lg); background: var(--bg-alt); text-align: center; }
.article-cta h3 { font-size: 24px; margin-bottom: 8px; }
.article-cta p { margin-bottom: 20px; }
.article-more { max-width: var(--maxw); margin-top: 90px; }
.article-more .h2 { margin-bottom: 30px; }
.article-more .posts { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .article-more .posts { grid-template-columns: 1fr; } }

/* ----- Manutenzione ----- */
.maint-screen { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 24px;
  position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% -10%, #eaf2ff 0%, #f5f5f7 45%, #fff 100%); }
.maint-orbs { position: absolute; inset: 0; pointer-events: none; }
.maint-orbs .o { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.maint-orbs .a { width: 420px; height: 420px; background: #8fc0ff; top: -120px; left: -80px; }
.maint-orbs .b { width: 360px; height: 360px; background: #b9a8ff; bottom: -120px; right: -60px; }
.maint-box { position: relative; z-index: 2; max-width: 520px; }
.maint-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 20px; margin-bottom: 30px; }
.maint-logo .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(10,108,255,.16); }
.maint-logo img { height: 42px; width: auto; }
.maint-ico { font-size: 54px; margin-bottom: 18px; }
.maint-box h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.03em; margin-bottom: 16px; }
.maint-box p { font-size: 18px; color: var(--ink-soft); line-height: 1.6; }
.maint-eta { display: inline-block; margin-top: 22px; padding: 10px 20px; border-radius: 980px; background: #fff; border: 1px solid var(--line); font-weight: 500; box-shadow: var(--shadow-soft); }
.maint-contact { margin-top: 30px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.maint-contact a { color: var(--brand); font-weight: 500; }
.maint-banner { position: sticky; top: 0; z-index: 300; background: #ff9f0a; color: #1d1d1f; text-align: center;
  font-size: 13.5px; padding: 9px 16px; }
.maint-banner a { color: #1d1d1f; text-decoration: underline; font-weight: 600; margin-left: 6px; }

/* ----- Footer ----- */
.footer { background: var(--bg-alt); padding: 60px 0 40px; font-size: 14px; color: var(--ink-soft); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-col h4 { font-size: 13px; color: var(--ink); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col a { display: block; padding: 5px 0; color: var(--ink-soft); transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--ink-soft); }

/* ==========================================================================
   Scroll reveal animations
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.scale-in { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.scale-in.in { opacity: 1; transform: none; }

/* Progressive enhancement: senza JS il contenuto è sempre visibile (SEO + resilienza).
   Lo stato "nascosto" del reveal vale solo quando <html> ha la classe .js. */
html:not(.js) .reveal,
html:not(.js) .scale-in { opacity: 1 !important; transform: none !important; }

/* Immagini prodotto */
.product-card .card-photo { position: absolute; right: 26px; bottom: 24px; width: 190px; height: 175px;
  transition: transform .6s var(--ease); filter: drop-shadow(0 18px 28px rgba(0,0,0,.22)); }
.product-card.feature .card-photo { width: 300px; height: 250px; right: 44px; bottom: 36px; }
.product-card .card-photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom right; }
.product-card:hover .card-photo { transform: scale(1.05) translateY(-6px); }

/* Sezioni personalizzate */
.section-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.section-split.no-media { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; text-align: center; }
.section-split .eyebrow { display: inline-block; margin-bottom: 14px; }
.section-split .h2 { margin-bottom: 16px; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #5e5ce6); color: #fff; }
@media (max-width: 900px) { .section-split { grid-template-columns: 1fr; gap: 32px; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .scale-in { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.96); backdrop-filter: blur(20px); padding: 8px 24px 20px;
    transform: translateY(-130%); transition: transform .4s var(--ease); border-bottom: 1px solid var(--line); }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .products { grid-template-columns: 1fr; }
  .product-card.feature { grid-column: span 1; }
  .services, .stats { grid-template-columns: repeat(2, 1fr); }
  .portfolio, .posts { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .services, .stats { grid-template-columns: 1fr; }
  .product-card { padding: 30px; min-height: 380px; }
}
