@font-face {
  font-family: "Manrope";
  src: url("manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: oklch(20% 0.025 250);
  --surface: oklch(25% 0.035 250);
  --card: oklch(29% 0.04 250);
  --text: oklch(96.5% 0.008 85);
  --muted: oklch(75% 0.03 245);
  --gold: oklch(76% 0.165 77);
  --gold-light: oklch(84% 0.14 82);
  --line: oklch(96% 0.008 85 / 0.12);
  --max: 1120px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
img { max-width: 100%; }
figure { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: oklch(17% 0.04 250 / .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  width: min(100% - 40px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { display: block; width: 158px; height: 36px; object-fit: contain; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.nav-links a { color: var(--muted); font-size: .88rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 8px; background: var(--gold); color: oklch(18% 0.03 250); }

.breadcrumbs { width: min(100% - 40px, var(--max)); margin: 0 auto; padding-top: 28px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
.hero { width: min(100% - 40px, var(--max)); margin: 0 auto; padding: 72px 0 84px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 64px; align-items: center; }
.hero > * { min-width: 0; }
.eyebrow { color: var(--gold); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 850px; margin: 13px 0 22px; font-size: clamp(2.5rem, 6.6vw, 5.6rem); line-height: .99; letter-spacing: -.055em; overflow-wrap: anywhere; }
h1 em { color: var(--gold); font-style: normal; }
.lead { max-width: 740px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 8px; background: var(--gold); color: oklch(18% 0.03 250); font-weight: 800; text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.button:hover { transform: translateY(-2px); background: var(--gold-light); }
.button.secondary { color: var(--text); background: transparent; border: 1px solid var(--line); }
.hero-aside { padding: 26px; background: var(--surface); border: 1px solid color-mix(in oklch, var(--gold) 42%, var(--line)); border-radius: 10px; }
.hero-aside strong { display: block; margin-bottom: 8px; font-size: 1.08rem; }
.hero-aside p { margin: 0; color: var(--muted); }

.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-inner { width: min(100% - 40px, var(--max)); min-height: 86px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { color: var(--gold); }
.trust-item span { color: var(--muted); font-size: .82rem; }

.section { padding: 88px 0; }
.section.alt { background: var(--surface); }
.inner { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.section h2 { max-width: 800px; margin: 10px 0 18px; font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1.06; letter-spacing: -.045em; }
.intro { max-width: 780px; color: var(--muted); font-size: 1.04rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; background: var(--line); border: 1px solid var(--line); }
.info { min-height: 100%; padding: 28px; background: var(--bg); }
.alt .info { background: var(--surface); }
.info .num { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.info h3 { margin: 10px 0; font-size: 1.18rem; line-height: 1.25; }
.info p { margin: 0; color: var(--muted); font-size: .94rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.checklist { margin: 24px 0 0; padding: 0; list-style: none; }
.checklist li { padding: 13px 0 13px 30px; color: var(--muted); border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.local-note { margin-top: 28px; padding: 22px 24px; background: var(--card); border: 1px solid color-mix(in oklch, var(--gold) 36%, var(--line)); border-radius: 10px; color: var(--muted); }
.local-note strong { color: var(--text); }
.areas { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.area { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .86rem; }
.context-link { color: var(--gold-light); font-weight: 800; }

.service-spectrum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.spectrum-card { min-height: 100%; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.spectrum-card.technology-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .22s var(--ease), border-color .22s, background .22s;
}
.spectrum-card.technology-link:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--card);
}
.spectrum-card.technology-link:focus-visible { outline-offset: 3px; }
.technology-link .context-link { display: inline-block; margin-top: 18px; }
.section:not(.alt) .spectrum-card { background: var(--surface); }
.spectrum-card .tag { display: inline-block; margin-bottom: 12px; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.spectrum-card h3 { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.25; }
.spectrum-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.spectrum-card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.spectrum-card li { padding: 8px 0 8px 23px; color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); position: relative; }
.spectrum-card li::before { content: "·"; position: absolute; left: 6px; color: var(--gold); font-weight: 900; }
.system-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 38px; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.flow-step { padding: 24px 20px; background: var(--bg); }
.alt .flow-step { background: var(--surface); }
.flow-step b { display: block; margin-bottom: 6px; color: var(--gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.flow-step strong { display: block; margin-bottom: 7px; line-height: 1.25; }
.flow-step span { display: block; color: var(--muted); font-size: .84rem; }
.decision-table { margin-top: 34px; border: 1px solid var(--line); overflow-x: auto; }
.decision-table table { width: 100%; min-width: 680px; border-collapse: collapse; }
.decision-table th, .decision-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.decision-table th { color: var(--gold); background: var(--bg); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.decision-table td { color: var(--muted); font-size: .88rem; }
.decision-table td:first-child { color: var(--text); font-weight: 800; }
.related-services { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.related-services a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-light); font-size: .84rem; font-weight: 800; text-decoration: none; }
.related-services a:hover { border-color: var(--gold); color: var(--text); }

.product-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: oklch(96% 0.006 85);
}
.product-visual img { width: min(100%, 390px); height: auto; display: block; }
.product-visual.radiant-visual { background: oklch(90% 0.012 245); }
.product-visual.radiant-visual img { width: 100%; height: 470px; object-fit: cover; object-position: left top; filter: contrast(1.2); }
.product-visual figcaption, .case-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .76rem;
}
.product-visual figcaption { color: oklch(35% 0.025 250); }
.proof-link { color: var(--gold-light); font-weight: 800; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
  align-items: stretch;
}
.choice-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  position: relative;
}
.choice-card.recommended {
  border: 2px solid var(--gold);
  background: var(--card);
  transform: translateY(-8px);
}
.choice-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: oklch(18% 0.03 250);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.choice-card h3 { margin: 16px 0 8px; font-size: 1.25rem; }
.choice-card > p { color: var(--muted); font-size: .92rem; }
.choice-card .checklist { margin-top: 16px; }
.choice-card .button { width: 100%; margin-top: 24px; }

.case-study {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.case-figure img {
  width: 100%;
  display: block;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.price-anchor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  background: var(--line);
}
.price-item { padding: 30px; background: var(--bg); }
.price-item .price {
  display: block;
  margin: 8px 0;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
}
.price-item p, .price-note { color: var(--muted); font-size: .9rem; }
.price-summary {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid color-mix(in oklch, var(--gold) 40%, var(--line));
  border-radius: 10px;
  background: var(--card);
}
.price-summary strong { color: var(--gold-light); }
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 38px; }
.included-panel { padding: 28px; border: 1px solid var(--line); background: var(--bg); }
.included-panel h3 { margin-top: 0; }

.technology-feature {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--gold) 50%, transparent);
  border-radius: 20px;
  background: var(--bg);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.technology-feature figure { min-height: 540px; margin: 0; background: #f2f2f2; }
.technology-feature img { width: 100%; height: 100%; display: block; object-fit: cover; }
.technology-copy { padding: clamp(32px, 6vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.technology-copy h2 { margin-top: 12px; }
.real-gallery { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 12px; margin-top: 30px; }
.real-gallery figure { min-height: 250px; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative; }
.real-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; }
.real-gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 16px 14px;
  color: #fff;
  background: linear-gradient(transparent, rgba(5,12,22,.9));
  font-size: .8rem;
  font-weight: 800;
}

.faq { max-width: 880px; margin-top: 38px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 21px 42px 21px 0; font-weight: 800; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; color: var(--gold); font-size: 1.35rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 0 22px; color: var(--muted); }

.cta { padding: 72px 0; background: var(--gold); color: oklch(18% 0.03 250); }
.cta-inner { width: min(100% - 40px, var(--max)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta h2 { max-width: 720px; margin: 0 0 8px; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.cta p { margin: 0; max-width: 700px; }
.cta .button { flex: 0 0 auto; color: var(--text); background: var(--bg); }

footer { padding: 48px 0 24px; background: oklch(16% 0.035 250); border-top: 1px solid var(--line); }
.footer-grid { width: min(100% - 40px, var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 48px; }
footer h2 { margin: 0 0 12px; font-size: 1.3rem; }
footer h3 { margin: 0 0 12px; font-size: .86rem; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
footer p, footer li { color: var(--muted); font-size: .88rem; }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li { margin: 8px 0; }
footer a { color: var(--muted); }
.footer-bottom { width: min(100% - 40px, var(--max)); margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; display: flex; justify-content: space-between; gap: 18px; }
.footer-actions, .regia-signature { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.regia-signature { gap: 10px; font-weight: 750; text-decoration: none; }
.regia-signature img { width: 42px; height: 42px; flex: 0 0 42px; object-fit: cover; border-radius: 8px; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 54px 64px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .service-spectrum { grid-template-columns: 1fr; }
  .system-flow { grid-template-columns: 1fr 1fr; }
  .technology-feature { grid-template-columns: 1fr; }
  .technology-feature figure { min-height: 420px; max-height: 560px; }
  .real-gallery { grid-template-columns: 1fr; }
  .real-gallery figure { min-height: 230px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card.recommended { transform: none; }
  .case-study { grid-template-columns: 1fr; gap: 30px; }
  .price-anchor, .included-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 520px) {
  .nav, .breadcrumbs, .hero, .inner, .trust-inner, .cta-inner, .footer-grid, .footer-bottom { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 68px; }
  .brand img { width: 140px; height: 32px; }
  .nav-links { gap: 0; }
  .nav-links .nav-cta { display: none; }
  h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); letter-spacing: -.045em; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .trust-inner { grid-template-columns: 1fr; }
  .product-visual { min-height: 420px; }
  .system-flow { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .footer-bottom, .footer-actions { align-items: flex-start; flex-direction: column; }
}

/* Release 2026-08-28: pagine interne leggibili, blu riservato alla struttura */
:root {
  --bg: oklch(98% 0.008 245);
  --surface: oklch(94% 0.014 245);
  --card: oklch(90.5% 0.022 245);
  --text: oklch(25% 0.05 250);
  --muted: oklch(43% 0.035 248);
  --gold: oklch(68% 0.17 72);
  --gold-light: oklch(58% 0.145 66);
  --line: oklch(82% 0.025 245);
}

.site-header {
  background: oklch(20% 0.055 250 / .98);
  border-bottom-color: oklch(42% 0.05 250);
}
.nav-links a { color: oklch(84% 0.02 245); }
.nav-links a:hover { color: oklch(97% 0.008 245); }
.nav-links .nav-cta { color: oklch(20% 0.055 250); }
.brand img { filter: brightness(0) invert(1); }

footer {
  color: oklch(78% 0.025 245);
  background: oklch(18% 0.05 250);
  border-top-color: oklch(35% 0.04 250);
}
footer h2 { color: oklch(97% 0.008 245); }
footer p, footer li, footer a, .footer-bottom { color: oklch(78% 0.025 245); }
footer h3 { color: oklch(80% 0.14 78); }
.footer-bottom { border-top-color: oklch(97% 0.008 245 / .16); }

@media (max-width: 820px) {
  .site-header .nav-links .nav-cta { color: oklch(20% 0.055 250); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
