/* GFP Rack Pool — corporate site. Tokens shared with the "Telai Serigrafici" landing. */
:root {
  --ink: #1c1b19;
  --ink-2: #252421;
  --ink-3: #34322e;
  --cream: #efece6;
  --paper: #f7f6f3;
  --white: #ffffff;
  --red: #e30613;
  --red-dark: #b8040f;
  --on-dark: #f3f1ec;
  --on-dark-muted: #a7a29a;
  --muted: #5e5a53;
  --line: rgba(28, 27, 25, 0.13);
  --line-dark: rgba(243, 241, 236, 0.14);

  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head-h: 76px;
  --shadow: 0 1px 2px rgba(28, 27, 25, .06), 0 12px 32px -12px rgba(28, 27, 25, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; line-height: 1.02; letter-spacing: .005em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(38px, 6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 50px); }
h3 { font-size: 22px; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dark { background: var(--ink); color: var(--on-dark); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow-light { color: #ff5a63; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; margin-top: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-display); font-weight: 500; font-size: 15.5px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn small { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; text-transform: none; opacity: .75; }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--cream); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--red); }
.link:hover .i { transform: translateX(4px); }
.link .i, .more .i { transition: transform .25s var(--ease); }

/* Top bar */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; }
.topbar-in { display: flex; align-items: center; gap: 26px; min-height: 40px; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
a.tb-item:hover { color: #fff; }
.topbar .langs { margin-left: auto; }
.langs { display: flex; gap: 2px; }
.langs a { padding: 4px 8px; border-radius: 6px; text-decoration: none; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; }
.langs a:hover { color: #fff; }
.langs a[aria-current] { background: var(--red); color: #fff; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-head.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .35); }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 246, 243, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.head-in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.brand { display: flex; color: var(--red); flex: none; }
.brand-logo { width: 168px; height: auto; aspect-ratio: 1044 / 162; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .nav-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 0; background: none; border-radius: 8px;
  font-family: var(--f-display); font-size: 15.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.nav-list > li > a:hover, .nav-btn:hover { color: var(--red); }
.nav-list a[aria-current="page"], .has-mega.is-current > .nav-btn { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav-btn .i { transition: transform .25s var(--ease); }
.nav-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; width: min(760px, 92vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.mega-h { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 10px; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.mega-item:hover { background: var(--paper); }
.mega-item b { display: block; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.mega-item small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.mega-img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--paper); flex: none; }
.mega-all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 10px; background: var(--paper); text-decoration: none; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.head-cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--ink); position: relative; flex: none; }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-extra { display: none; }

/* Hero */
.hero { position: relative; min-height: min(88svh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 17, .25) 0%, rgba(20, 19, 17, .35) 40%, rgba(20, 19, 17, .88) 100%), linear-gradient(90deg, rgba(20, 19, 17, .6), transparent 70%); }
.hero-in { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero h1 { font-size: clamp(40px, 6.6vw, 92px); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { margin-top: 22px; max-width: 56ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-pause { position: absolute; right: var(--gutter); bottom: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .3); color: #fff; display: grid; place-items: center; }
.hero-anim { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.hero-anim:nth-child(2) { animation-delay: .1s; } .hero-anim:nth-child(3) { animation-delay: .2s; } .hero-anim:nth-child(4) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sections */
section { position: relative; }
.intro, .products, .services, .sectors, .cat-promo, .news-home, .plist, .article, .related, .downloads, .reader-sec, .posts, .sport, .contact, .map-sec, .cat-strip { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 30px; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
.sec-head h2 { max-width: 20ch; }
.sec-sub { grid-column: 1 / -1; color: var(--muted); max-width: 64ch; margin-top: 12px; }
.dark .sec-sub { color: var(--on-dark-muted); }

.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 90px); }
.intro-text { display: grid; gap: 18px; font-size: 18px; color: var(--muted); }
.intro-text .btn { justify-self: start; margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 90px); border-top: 1px solid var(--line); }
.stat { padding: 26px 20px 0 0; display: grid; gap: 6px; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat b { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; color: var(--red); }
.stat span { color: var(--muted); font-size: 15px; }

.products { background: var(--cream); }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard-img { aspect-ratio: 1; overflow: hidden; background: #fff; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .6s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body { display: grid; gap: 8px; padding: 22px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.pcard-body .mono { color: var(--red); }
.pcard-body p:not(.mono) { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--f-display); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
a:hover .more .i { transform: translateX(4px); }

.sgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.scard { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; text-decoration: none; background: var(--ink-2); }
.scard img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .7s var(--ease), opacity .4s; }
.scard:hover img { transform: scale(1.06); opacity: .55; }
.scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20, 19, 17, .92)); }
.scard-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; }
.scard-body p { color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.45; margin-top: 6px; }

.sectors-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sector-list li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .04em; font-size: 17px; line-height: 1.2; }
.sector-list .i { width: 30px; height: 30px; color: var(--red); }

.cat-promo { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.cat-promo-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.cat-promo p:not(.eyebrow) { color: var(--on-dark-muted); margin-top: 18px; max-width: 52ch; }
.cat-promo .btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cat-promo .btn-outline:hover { background: #fff; color: var(--ink); }
.covers { position: relative; height: clamp(320px, 38vw, 480px); }
.cov { position: absolute; top: 50%; left: 50%; width: 46%; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); }
.cov-0 { transform: translate(-108%, -46%) rotate(-8deg); }
.cov-1 { transform: translate(-50%, -54%); z-index: 2; }
.cov-2 { transform: translate(8%, -46%) rotate(8deg); }
.covers:hover .cov-0 { transform: translate(-118%, -46%) rotate(-11deg); }
.covers:hover .cov-2 { transform: translate(18%, -46%) rotate(11deg); }

.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ncard { display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ncard-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream); }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; }
.ncard-ph { height: 100%; display: grid; place-items: center; color: var(--red); }
.ncard-ph svg { width: 50%; aspect-ratio: 1044 / 162; }
.ncard-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.ncard-body time { color: var(--red); }
.ncard-body h3 { font-size: 20px; }

.cta-band { background: var(--red); color: #fff; padding: clamp(48px, 7vw, 90px) 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band .eyebrow { color: #fff; }
.cta-band p:not(.eyebrow) { margin-top: 12px; max-width: 52ch; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page head */
.ph { background: var(--cream); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.ph-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.ph-text { min-width: 0; }
.ph-has-img .ph-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ph-img { background: #fff; border-radius: 20px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.ph-img img { width: 100%; height: 100%; object-fit: contain; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--red); }

/* Article / product */
.article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.prose { font-size: 18px; color: #3b3935; max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-size: 21px; color: var(--ink); margin-top: 1.6em; }
.prose ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--red); }
.prose a { color: var(--red); }
.prose .callout { padding: 20px 24px; border-left: 3px solid var(--red); background: var(--cream); border-radius: 0 10px 10px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 14px; border-radius: 999px; background: var(--cream); font-size: 15px; }
.side { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 18px; }
.specs { margin: 0; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 8px 24px; }
.spec { display: grid; gap: 2px; padding: 14px 0; }
.spec + .spec { border-top: 1px solid var(--line-dark); }
.spec dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.spec dd { margin: 0; font-size: 16px; }
.side-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; }
.side-card p:not(.side-h) { color: var(--muted); font-size: 15.5px; }
.side-h { font-family: var(--f-display); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }

.cat-strip { background: var(--cream); overflow: hidden; }
.cs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.cs-thumb { position: relative; scroll-snap-align: start; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .45); background: #fff; transition: transform .35s var(--ease); }
.cs-thumb:hover { transform: translateY(-6px); }
.cs-thumb img { width: 100%; aspect-ratio: 595 / 842; object-fit: cover; }
.cs-thumb span { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 11.5px; }

.related h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 26px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rel { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color .2s; }
.rel:hover { border-color: var(--red); }
.rel img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.rel span { flex: 1; } .rel b { display: block; font-family: var(--f-display); font-weight: 500; text-transform: uppercase; }
.rel small { color: var(--muted); font-size: 14px; line-height: 1.35; display: block; }
.rel .i { color: var(--red); }

/* Products list */
.plist-h { font-size: clamp(26px, 3vw, 38px); margin: 0 0 24px; }
.plist-h:not(:first-child) { margin-top: clamp(56px, 7vw, 90px); }
.prow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.prow { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease); }
.prow:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prow-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--paper); }
.prow-img img { width: 100%; height: 100%; object-fit: cover; }
.prow-body { display: grid; gap: 8px; }
.prow-body p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }

/* Catalog page */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.dl-main { grid-column: 1 / -1; grid-template-columns: 220px minmax(0, 1fr); padding: 26px; background: var(--ink); color: var(--on-dark); border: 0; }
.dl-main h3 { font-size: clamp(26px, 3vw, 38px); }
.dl-main p { color: var(--on-dark-muted); }
.dl-main .btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.dl-cover img { width: 100%; border-radius: 4px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.dl-cover:hover img { transform: translateY(-4px) rotate(-1.5deg); }
.dl-body { display: flex; flex-direction: column; gap: 8px; }
.dl-body p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.dl-body .btn-row { margin-top: auto; padding-top: 10px; }
.dl-meta { color: var(--red) !important; }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; color: var(--muted); font-size: 15px; }
.note .i { color: var(--red); margin-top: 3px; }

.reader-sec { background: var(--cream); }
.reader { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.r-side { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 14px; }
.r-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.r-search:focus-within { border-color: var(--ink); }
.r-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; }
.r-chaps { display: grid; gap: 4px; max-height: 52vh; overflow: auto; padding: 6px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.chap { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 8px; background: none; text-align: left; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .03em; font-size: 15px; }
.chap:hover { background: var(--paper); }
.chap[aria-selected="true"] { background: var(--ink); color: #fff; }
.chap small { opacity: .6; font-size: 11.5px; }
.r-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.r-title { font-family: var(--f-display); text-transform: uppercase; font-size: 22px; }
.r-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.r-page { position: relative; padding: 0; border: 0; border-radius: 5px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.r-page:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
.r-page img { width: 100%; aspect-ratio: 595 / 842; object-fit: cover; }
.r-page .num { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(28, 27, 25, .85); color: #fff; font-family: var(--f-mono); font-size: 11.5px; }
.r-page mark { position: absolute; inset: auto 0 0 0; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(255, 255, 255, .96) 40%); font-size: 12.5px; line-height: 1.3; text-align: left; color: var(--ink); }
.r-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); }

.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 19, 17, .97); color: #fff; overflow: hidden; }
.viewer::backdrop { background: rgba(0, 0, 0, .6); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; }
.v-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
.v-tools { display: flex; gap: 6px; }
.v-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; text-decoration: none; font-family: var(--f-mono); font-size: 13px; }
.v-btn:hover { background: rgba(255, 255, 255, .1); }
.v-dl { background: var(--red); border-color: var(--red); }
.v-stage { overflow: auto; display: grid; place-items: center; padding: 0 64px 20px; touch-action: pan-x pan-y pinch-zoom; }
.v-stage img { max-height: calc(100dvh - 90px); width: auto; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.viewer.is-zoom .v-stage { place-items: start center; }
.viewer.is-zoom .v-stage img { max-height: none; width: min(1100px, 100%); }
.v-nav { position: absolute; top: 50%; translate: 0 -50%; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .4); color: #fff; display: grid; place-items: center; }
.v-nav:hover { background: var(--red); border-color: var(--red); }
.v-prev { left: 10px; } .v-next { right: 10px; }

/* News */
.posts-in { display: grid; gap: clamp(28px, 4vw, 48px); }
.post { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.post-media img { width: 100%; border-radius: var(--radius); background: var(--cream); }
.post-body { display: grid; gap: 14px; color: #3b3935; }
.post-body time { color: var(--red); }
.post-body h2 { font-size: clamp(24px, 2.6vw, 34px); color: var(--ink); }
.post-body a { color: var(--red); }

.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 74px; height: 74px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.yt-play .i { width: 30px; height: 30px; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: rgba(0, 0, 0, .6); color: #ddd; font-size: 12.5px; text-align: left; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sport */
.sport:nth-of-type(even) { background: var(--cream); }
.sport-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.sport-media { display: grid; gap: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery figure { margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
blockquote { margin: 0; padding: 18px 22px; border-left: 3px solid var(--red); background: rgba(227, 6, 19, .05); font-style: italic; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.cform { display: grid; gap: 18px; padding: clamp(22px, 3vw, 38px); background: #fff; border-radius: 20px; border: 1px solid var(--line); }
.cform h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.cform input:not([type=checkbox]), .cform select, .cform textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, background .2s; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 0; border-color: var(--ink); background: #fff; }
.cform [aria-invalid="true"] { border-color: var(--red) !important; }
.cform .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.cform .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.cform .check a { color: var(--red); }
.f-error { color: var(--red); font-weight: 500; }
.f-note { font-size: 13.5px; color: var(--muted); }
.cform .btn-row { margin-top: 4px; }
.cinfo { display: grid; gap: 18px; }
.ccard { padding: 26px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); display: grid; gap: 14px; }
.ccard + .ccard { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.ccard p:not(.side-h) { color: inherit; opacity: .85; }
.ccard a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 3px 0; }
.ccard a:hover { color: var(--red); }
.ccard .hours { color: var(--red); opacity: 1 !important; }
.map-sec { background: var(--cream); }
.map-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.steps { margin: 24px 0 28px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 13px; color: var(--red); }
.map { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--ink-2) url("../video/hero.webp") center / cover; }
.map-ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; color: #fff; background: rgba(20, 19, 17, .72); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Legal */
.legal { max-width: 80ch; font-size: 16.5px; overflow-wrap: anywhere; }
.legal h2 { font-size: clamp(22px, 2.4vw, 30px); }
.legal h3 { font-size: 19px; }

/* Footer */
.site-foot { background: var(--red); color: #fff; padding: clamp(56px, 7vw, 90px) 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-logo { width: 200px; aspect-ratio: 1044 / 162; color: #fff; }
.foot-tag { margin-top: 16px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.social { display: flex; gap: 8px; margin-top: 24px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; }
.social a:hover { background: #fff; color: var(--red); }
.foot-h { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; font-size: 16px; margin-bottom: 16px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot ul a:hover, address a:hover { text-decoration: underline; }
address { font-style: normal; display: grid; gap: 8px; font-size: 15.5px; opacity: .92; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14px; opacity: .9; }
.wa-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.wa-fab .i { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.08); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .head-cta span { display: none; }
  .head-cta { padding: 0; width: 46px; }
  .nav-list > li > a, .nav-btn { padding: 0 10px; font-size: 14.5px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --head-h: 66px; }
  .topbar .tb-addr, .topbar .tb-mail { display: none; }
  .burger { display: block; }
  .head-cta { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--nav-top, calc(var(--head-h) + 40px)) 0 0 0; margin: 0; padding: 20px var(--gutter) 40px; background: var(--paper);
    overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-btn { width: 100%; height: 58px; justify-content: space-between; font-size: 19px; padding: 0 4px; }
  .nav-list a[aria-current="page"], .has-mega.is-current > .nav-btn { box-shadow: none; }
  .mega { position: static; translate: none; width: auto; grid-template-columns: 1fr; padding: 0 0 14px; box-shadow: none; background: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .mega.is-open { display: grid; }
  .nav-mobile-extra { display: grid; gap: 14px; margin-top: 28px; }
  .nav-mobile-extra .langs a { padding: 8px 12px; border: 1px solid var(--line); font-size: 14px; }
  .intro-grid, .ph-has-img .ph-in { grid-template-columns: minmax(0, 1fr); }
  .sectors-in, .cat-promo-in, .article-grid, .contact-grid, .map-grid, .sport-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-img { max-width: 420px; }
  .side { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 20px; }
  .ngrid { grid-template-columns: 1fr 1fr; }
  .prow-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .reader { grid-template-columns: minmax(0, 1fr); }
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-main { grid-template-columns: 160px minmax(0, 1fr); }
  .r-side { position: static; }
  .r-chaps { display: flex; overflow-x: auto; max-height: none; flex-wrap: nowrap; }
  .chap { flex: none; flex-direction: column; align-items: flex-start; gap: 2px; }
  .post { grid-template-columns: 1fr; }
  .covers { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .brand-logo { width: 134px; }
  .topbar-in { gap: 14px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard-body { padding: 16px; }
  .pcard-body p:not(.mono) { display: none; }
  .pcard-body h3 { font-size: 18px; }
  .sgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .scard-body { padding: 14px; } .scard-body p { display: none; }
  .scard-body h3 { font-size: 17px; }
  .sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-list li { hyphens: auto; overflow-wrap: break-word; }
  h1 { font-size: clamp(32px, 9vw, 44px); }
  .sector-list li { padding: 16px; font-size: 15px; }
  .ngrid { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-card, .dl-main { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .dl-main h3 { font-size: 24px; }
  .prow { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 12px; }
  .r-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .v-stage { padding: 0 0 70px; }
  .v-stage img { max-height: calc(100dvh - 140px); max-width: 100%; }
  .v-nav { top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); translate: none; }
  .v-prev { left: 16px; } .v-next { right: 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions .btn, .hero-actions .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 82svh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* FAQ (visible Q&A, mirrored as FAQPage structured data) */
.faq { padding: clamp(64px, 9vw, 120px) 0; background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 18px; text-transform: none; font-family: var(--f-body); font-weight: 600; line-height: 1.35; }
.faq-item summary .i { color: var(--red); transition: transform .25s var(--ease); }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-a { padding: 0 22px 22px; color: var(--muted); }
.faq-a a { color: var(--red); }
@media (max-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Russian: Barlow has no Cyrillic; Cyrillic letters fall back to IBM Plex Sans (same as the landing page) */
html[lang="ru"] { --f-body: "Barlow", "IBM Plex Sans", system-ui, sans-serif; }
:lang(ru) body { font-size: 16.5px; }

/* PDF download gate (form styled like the original WordPress one: underlined fields) */
.gate { width: min(620px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); overflow: auto; overscroll-behavior: contain; }
.gate::backdrop { background: rgba(20, 19, 17, .6); backdrop-filter: blur(3px); }
.gate-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; z-index: 2; }
.gate-x:hover { background: var(--cream); color: var(--red); }
.gate-form, .gate-ok { padding: clamp(22px, 4vw, 40px); display: grid; gap: 6px; }
.gate-form .eyebrow { margin-bottom: 6px; }
.gate h2 { font-size: clamp(26px, 4vw, 36px); }
.gate-lead { color: var(--muted); font-size: 15.5px; margin: 6px 0 2px; }
.gate-file { color: var(--red); font-size: 12.5px; margin-bottom: 6px; }
.gf { display: grid; gap: 2px; padding-top: 10px; }
.gf > span:first-child { font-size: 13px; color: var(--muted); }
.gf input, .gf select, .gf textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; transition: border-color .2s; }
.gf select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235e5a53' stroke-width='1.5'/%3E%3C/svg%3E") right 6px center no-repeat; padding-right: 28px; color: var(--muted); }
.gf select:valid { color: var(--ink); }
.gf textarea { resize: vertical; min-height: 70px; }
.gf input:focus, .gf select:focus, .gf textarea:focus { outline: 0; border-bottom: 2px solid var(--ink); }
.gate [aria-invalid="true"] { border-bottom-color: var(--red) !important; }
.gf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gcheck { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.gcheck input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--red); }
.gcheck input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.gcheck a { color: var(--ink); }
.gate .f-error { margin-top: 8px; }
.gate .f-error a { color: var(--red); }
.gate .btn-block { margin-top: 16px; }
.gate-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.gate-ok { text-align: center; justify-items: center; gap: 14px; padding-top: 56px; }
.gate-ok p { color: var(--muted); max-width: 44ch; }
.gate-ok-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.gate-ok-ico .i { width: 28px; height: 28px; }
.gate-ok .btn-row { justify-content: center; }
@media (max-width: 640px) {
  .gate { width: 100vw; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .gate-form .eyebrow, .gate h2 { padding-right: 48px; }
  .gf-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
.gate [hidden] { display: none !important; }

/* Supplier / customer registry forms (anagrafica-fornitori / anagrafica-clienti) */
.an-wrap { max-width: 760px; }
.an-form { display: grid; gap: 18px; }
.an-sez { margin: 0; padding: 18px 22px 6px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.an-sez legend { padding: 0 8px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: var(--red); font-size: 18px; }
.an-campo { margin-bottom: 16px; }
.an-campo[hidden] { display: none; }
.an-lbl { display: block; font-weight: 600; margin-bottom: 6px; }
.an-campo input:not([type=radio]):not([type=checkbox]), .an-campo textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #c9c6bf; border-radius: 10px; background: var(--paper); }
.an-campo input:focus, .an-campo textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: #fff; }
.an-w-corto input { max-width: 10em; }
.an-w-medio input { max-width: 24em; }
.an-radio label { display: flex; gap: 10px; align-items: center; margin: 6px 0; cursor: pointer; }
.an-radio input, .an-check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.an-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.an-check input { margin-top: 2px; }
.an-help { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.an-msg { display: block; color: var(--red); font-size: 13.5px; font-weight: 600; min-height: 0; }
.an-ha-err input:not([type=radio]):not([type=checkbox]), .an-ha-err textarea { border-color: var(--red); background: #fff6f6; }
.an-privacy { font-size: 13.5px; color: var(--muted); background: var(--paper); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.an-privacy a { color: var(--red); }
.an-err-box { background: #fff0f0; border: 1px solid var(--red); color: #900; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; }
.an-ok { background: #eef7ee; border: 1px solid #2e7d32; color: #1b5e20; padding: 22px; border-radius: var(--radius); font-size: 17px; }
.an-ok a { color: #1b5e20; }
.an-wrap [hidden] { display: none !important; }
