:root {
  --ink: #1d1c19;
  --ink-soft: #37332c;
  --ivory: #f4eee4;
  --paper: #fbf8f2;
  --gold: #a9782e;
  --gold-light: #d2ad6a;
  --green: #0d6143;
  --red: #a62a24;
  --line: rgba(29, 28, 25, .14);
  --shadow: 0 24px 70px rgba(37, 29, 18, .11);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 999; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 104px 0; }
.section--compact { padding: 72px 0; }
.section--ivory { background: var(--ivory); }
.section--dark { color: #fff; background: var(--ink); }
.section--white { background: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px; margin: 0 0 18px;
  color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 1px; content: ""; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.8rem); letter-spacing: -.055em; }
h2 { margin-bottom: 22px; font-size: clamp(2.3rem, 4.8vw, 4.8rem); letter-spacing: -.04em; }
h3 { margin-bottom: 12px; font-size: 1.16rem; }
p { margin-top: 0; }
.lead { max-width: 720px; font-size: clamp(1.14rem, 2vw, 1.38rem); color: #5a5349; }
.section--dark .lead { color: rgba(255,255,255,.72); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-head h2 { max-width: 720px; margin-bottom: 0; }
.section-head p { max-width: 420px; margin-bottom: 5px; color: #665e52; }
.kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.site-header {
  position: sticky; top: 0; z-index: 100; color: #fff;
  background: rgba(29, 28, 25, .96); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(15px);
}
.nav-wrap { display: flex; align-items: center; min-height: 84px; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 25px; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav-list a { color: rgba(255,255,255,.8); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold-light); }
.nav-cta { padding: 11px 16px; border: 1px solid rgba(210,173,106,.7); border-radius: 999px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; color: #fff; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s; }

.hero { position: relative; overflow: hidden; min-height: calc(100vh - 84px); color: #fff; background: var(--ink); }
.hero::before, .page-hero::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 82% 28%, rgba(169,120,46,.22), transparent 32%), linear-gradient(120deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: auto, 28px 28px; }
.hero::before {
  background:
    radial-gradient(ellipse at 5% 2%, rgba(207,170,104,.16), transparent 27%),
    radial-gradient(ellipse at 84% 22%, rgba(154,111,45,.17), transparent 36%),
    repeating-linear-gradient(116deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 8px);
}
.hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse 58% 38% at 8% 108%, rgba(238,228,213,.17) 0, rgba(207,170,104,.10) 34%, rgba(154,111,45,.045) 58%, transparent 82%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; min-height: calc(100vh - 84px); gap: 55px; padding: 70px 0; }
.hero-brand-lockup {
  position: relative;
  isolation: isolate;
  width: clamp(270px, 25vw, 340px);
  margin: 0 auto 14px;
}
.hero-brand-lockup::before {
  position: absolute;
  z-index: -1;
  inset: -28% -22%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(238,228,213,.66) 0 32%, rgba(238,228,213,.38) 50%, rgba(207,170,104,.14) 68%, transparent 86%);
  filter: blur(12px);
}
.hero-brand-lockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 981px) {
  .hero-grid > div:first-child { --hero-title-measure: min(29.947vw, 460.72px); }
  .hero-brand-lockup {
    margin-right: 0;
    margin-left: calc((var(--hero-title-measure) - clamp(270px, 25vw, 340px)) / 2);
  }
  .hero .eyebrow { margin-left: max(0px, calc((var(--hero-title-measure) - 350.61px) / 2)); }
}
@media (min-width: 681px) and (max-width: 980px) {
  .hero-grid > div:first-child { --hero-title-measure: clamp(482.46px, 58.074vw, 568.99px); }
  .hero-brand-lockup {
    margin-right: 0;
    margin-left: calc((var(--hero-title-measure) - 270px) / 2);
  }
  .hero .eyebrow { margin-left: calc((var(--hero-title-measure) - 350.61px) / 2); }
}
@media (max-width: 680px) {
  .hero-grid > div:first-child { --hero-title-measure: clamp(244.18px, 74.867vw, 368.58px); }
  .hero-brand-lockup {
    margin-right: 0;
    margin-left: calc((var(--hero-title-measure) - 215px) / 2);
  }
  .hero .eyebrow { width: var(--hero-title-measure); margin-left: 0; }
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero .lead { max-width: 650px; color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 23px; border: 1px solid var(--gold); border-radius: 999px; color: #fff; background: var(--gold); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #bb8738; }
.button--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.button--ghost:hover { background: rgba(255,255,255,.08); }
.button--dark { background: var(--ink); border-color: var(--ink); }
.hero-visual { position: relative; }
.hero-logo-card { position: relative; overflow: hidden; border: 1px solid rgba(207,170,104,.58); border-radius: 48% 20px 40% 28px / 20% 20px 34% 28%; box-shadow: var(--shadow); }
.hero-logo-card img { width: 100%; min-height: 500px; object-fit: cover; object-position: 50% 48%; filter: saturate(.92) contrast(1.02); }
.hero-stamp { position: absolute; right: -8px; bottom: 34px; display: grid; place-content: center; width: 142px; height: 142px; padding: 20px; color: var(--ink); background: var(--gold-light); border-radius: 50%; font-size: .72rem; font-weight: 900; line-height: 1.35; letter-spacing: .08em; text-align: center; text-transform: uppercase; transform: rotate(7deg); }
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 26px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.3rem; }
.trust-item span { color: #6a6258; font-size: .86rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 7vw, 90px); align-items: center; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 580px; object-fit: cover; }
.media-frame::after { position: absolute; inset: 14px; content: ""; border: 1px solid rgba(255,255,255,.45); border-radius: calc(var(--radius) - 8px); pointer-events: none; }
.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 20px; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 16px; }
.feature-list strong { display: block; font-size: .98rem; }
.feature-list span { color: #6b6257; font-size: .88rem; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { position: relative; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(37,29,18,.08); }
.card-index { display: block; margin-bottom: 38px; color: var(--gold); font-family: Georgia, serif; font-size: 1.7rem; }
.card p { margin-bottom: 0; color: #675f54; font-size: .94rem; }
.card-link { display: inline-block; margin-top: 22px; color: var(--green); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.callout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 40px 45px; color: #fff; background: var(--green); border-radius: var(--radius); }
.callout h2 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.5rem); }
.callout p { margin: 0; color: rgba(255,255,255,.78); }

.page-hero { position: relative; overflow: hidden; padding: 105px 0 92px; color: #fff; background: var(--ink); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 920px; font-size: clamp(3.1rem, 7vw, 6rem); }
.page-hero .lead { color: rgba(255,255,255,.7); }
.breadcrumbs { margin-bottom: 26px; color: rgba(255,255,255,.5); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
#inizio, #azienda, #prodotti, #servizi, #rete, #posa, #contatti, #modulo { scroll-margin-top: 88px; }
.return-nav {
  padding: 14px 0 20px;
  color: var(--ink);
  background: var(--premium-cream);
  border-top: 1px solid rgba(154,111,45,.22);
}
.return-home {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}
.return-home span { color: var(--gold); font-size: 1.2rem; font-weight: 400; line-height: 1; }
.return-home:hover, .return-home:focus-visible { color: var(--gold); }
.values { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.value { min-height: 180px; padding: 26px; color: #fff; background: var(--ink-soft); border-radius: 18px; }
.value b { display: block; margin-bottom: 36px; color: var(--gold-light); font-family: Georgia, serif; font-size: 2rem; }
.value span { font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.timeline { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timeline-item { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 34px; background: #fff; }
.timeline-item strong { color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.timeline-item p { margin: 0; color: #625a50; }
.product-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.product-card { min-height: 260px; padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.product-card .icon { display: grid; place-content: center; width: 50px; height: 50px; margin-bottom: 44px; color: var(--gold); background: var(--ivory); border-radius: 50%; font-weight: 900; }
.service-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; counter-reset: service; }
.service-step { min-height: 270px; padding: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); counter-increment: service; }
.service-step:last-child { border-right: 1px solid var(--line); }
.service-step::before { display: block; margin-bottom: 60px; color: var(--gold); content: "0" counter(service); font-family: Georgia, serif; font-size: 1.7rem; }
.service-step p { color: #655e54; font-size: .92rem; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-card { padding: 36px; color: #fff; background: var(--ink); border-radius: var(--radius); }
.contact-card a { color: var(--gold-light); text-decoration: none; }
.contact-row { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-row:last-child { border: 0; }
.contact-row small { display: block; color: rgba(255,255,255,.52); text-transform: uppercase; letter-spacing: .08em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 15px; color: var(--ink); background: #fff; border: 1px solid #cfc6b9; border-radius: 9px; }
.field textarea { min-height: 145px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; grid-column: 1 / -1; font-size: .89rem; }
.check input { width: 19px; height: 19px; margin-top: 4px; }
.form-note { color: #71695e; font-size: .8rem; }
.form-status { display: none; padding: 12px 14px; border-radius: 9px; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: #145d42; background: #e2f3ea; }
.form-status.is-error { color: #8b2424; background: #f8e6e5; }
.hp { position: absolute !important; left: -9999px !important; }
.legal { max-width: 860px; }
.legal h2 { margin-top: 52px; font-family: inherit; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.legal h3 { margin-top: 34px; }
.legal p, .legal li { color: #5e574d; }
.notice { padding: 20px 24px; background: var(--ivory); border-left: 4px solid var(--gold); }

.site-footer { padding: 70px 0 28px; color: #fff; background: #151411; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 50px; padding-bottom: 50px; }
.footer-brand img { width: 220px; height: 105px; object-fit: cover; object-position: 50% 37%; border-radius: 6px; }
.footer-brand p { max-width: 430px; margin: 20px 0 0; color: rgba(255,255,255,.58); }
.footer-title { margin-bottom: 18px; color: var(--gold-light); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 9px 0; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 24px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 18px; color: #fff; background: #147a50; border-radius: 999px; box-shadow: 0 12px 35px rgba(0,0,0,.22); font-size: .8rem; font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: absolute; top: 84px; right: 0; left: 0; min-height: calc(100vh - 84px); padding: 25px max(25px, calc((100vw - var(--max)) / 2)); visibility: hidden; opacity: 0; background: #1d1c19; transform: translateY(-10px); transition: .2s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-list { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 17px 8px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
  .nav-cta { border: 0; border-radius: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .hero-logo-card img { min-height: 410px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .section-head { align-items: start; flex-direction: column; gap: 18px; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .values { grid-template-columns: repeat(3,1fr); }
  .service-steps { grid-template-columns: repeat(2,1fr); }
  .service-step:nth-child(2) { border-right: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 76px 0; }
  .nav-wrap { min-height: 74px; }
  .site-nav { top: 74px; min-height: calc(100vh - 74px); }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding: 65px 0 80px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-logo-card img { min-height: 340px; }
  .hero-stamp { right: 8px; bottom: 18px; width: 112px; height: 112px; font-size: .6rem; }
  .hero-actions .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-2, .cards, .product-grid { grid-template-columns: 1fr; }
  .media-frame img { height: 420px; }
  .feature-list { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; padding: 32px 26px; }
  .callout .button { width: 100%; }
  .values { grid-template-columns: 1fr; }
  .value { min-height: auto; }
  .value b { margin-bottom: 18px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .service-steps { grid-template-columns: 1fr; }
  .service-step { border-right: 1px solid var(--line); border-bottom: 0; }
  .service-step:last-child { border-bottom: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .field--full, .check { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .whatsapp span { display: none; }
  .whatsapp { width: 52px; padding: 0; justify-content: center; border-radius: 50%; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Revisione grafica V0.2 - impaginazione più compatta e materica */
:root {
  --ink: #25231f;
  --ink-soft: #39352e;
  --ivory: #eee4d5;
  --paper: #f7f1e7;
  --gold: #9a6f2d;
  --gold-light: #cfaa68;
  --line: rgba(65, 54, 39, .16);
  --shadow: 0 18px 48px rgba(46, 36, 24, .10);
  --radius: 18px;
}
body { font-size: 16px; line-height: 1.58; background: radial-gradient(circle at 8% 5%, rgba(207,170,104,.10), transparent 28%), var(--paper); }
.section { padding: 74px 0; }
.section--compact { padding: 50px 0; }
.section--ivory { background: radial-gradient(circle at 88% 12%, rgba(154,111,45,.08), transparent 28%), var(--ivory); }
.section--white { background: rgba(251,248,241,.78); }
.section--dark { background: radial-gradient(circle at 85% 10%, rgba(207,170,104,.12), transparent 32%), var(--ink); }
.eyebrow { margin-bottom: 12px; font-size: .7rem; }
h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 5.2vw, 5rem); }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.55vw, 3.6rem); }
.lead { font-size: clamp(1.04rem, 1.6vw, 1.23rem); }
.section-head { gap: 30px; margin-bottom: 32px; }
.nav-wrap { min-height: 72px; }
.nav-list { gap: 20px; }
.hero { min-height: auto; }
.hero-grid { min-height: min(700px, calc(100vh - 72px)); gap: 45px; padding: 48px 0; }
.hero-actions { margin-top: 25px; }
.button { min-height: 46px; padding: 0 20px; font-size: .76rem; }
.hero-logo-card { border-radius: 48% 20px 40% 28px / 20% 20px 34% 28%; }
.hero-logo-card img { min-height: 390px; max-height: 470px; }
.hero-stamp { width: 112px; height: 112px; padding: 15px; font-size: .61rem; }
.trust-item { padding: 20px 23px; }
.trust-item strong { font-size: 1.12rem; }
.grid-2 { gap: clamp(30px, 5vw, 66px); }
.media-frame img { height: 430px; }
.media-frame--institutional img { object-position: center 47%; }
.cards { gap: 14px; }
.card { padding: 25px; }
.card-index { margin-bottom: 24px; font-size: 1.45rem; }
.callout { padding: 30px 34px; }
.page-hero { padding: 72px 0 62px; }
.page-hero h1 { font-size: clamp(2.65rem, 5.3vw, 4.65rem); }
.breadcrumbs { margin-bottom: 18px; }
.value { min-height: 145px; padding: 21px; }
.value b { margin-bottom: 25px; }
.timeline-item { grid-template-columns: 190px 1fr; padding: 27px; }
.product-card { min-height: 215px; padding: 29px; }
.product-card .icon { margin-bottom: 30px; }
.service-step { min-height: 220px; padding: 25px; }
.service-step::before { margin-bottom: 39px; }
.site-footer { padding-top: 50px; }
.footer-grid { gap: 38px; padding-bottom: 36px; }

.material-panel { display: grid; gap: 1px; overflow: hidden; min-height: 330px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.material-panel span { display: flex; align-items: center; padding: 24px 32px; color: var(--ink); background: linear-gradient(120deg, rgba(255,255,255,.82), rgba(238,228,213,.82)); font-family: Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.partnership-note { margin: 20px 0; padding-left: 15px; color: #625745; border-left: 2px solid var(--gold); font-size: .88rem; font-weight: 700; }

.pose-carousel { min-width: 0; }
.pose-feature-image { margin: 0; }
.pose-feature-image img { height: 410px; object-position: center; }
.pose-carousel--wide { width: min(100%, 980px); margin: 0 auto; }
.pose-gallery-action { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100%, 980px); margin: 22px auto 0; }
.pose-gallery-action .partnership-note { margin: 0; }
.pose-gallery-action .partnership-note a { color: inherit; text-underline-offset: 3px; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); touch-action: pan-y; }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.carousel-slide { min-width: 100%; margin: 0; }
.carousel-slide img { width: 100%; height: 410px; object-fit: cover; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.carousel-button { display: grid; place-content: center; width: 42px; height: 42px; padding: 0; color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.carousel-button:hover { color: #fff; background: var(--gold); }
.carousel-status { min-width: 52px; color: #6b6154; font-size: .76rem; font-weight: 800; text-align: center; letter-spacing: .08em; }

@media (max-width: 980px) {
  .site-nav { top: 72px; min-height: calc(100vh - 72px); }
  .hero-grid { min-height: auto; gap: 16px; padding: 50px 0; }
  .hero::after { background: radial-gradient(ellipse 62% 60% at 6% 104%, rgba(238,228,213,.15) 0, rgba(207,170,104,.085) 34%, rgba(154,111,45,.04) 58%, transparent 82%); }
  .hero-logo-card img { min-height: 360px; }
}

@media (max-width: 680px) {
  .section { padding: 54px 0; }
  .section--compact { padding: 40px 0; }
  .nav-wrap { min-height: 68px; }
  .site-nav { top: 68px; min-height: calc(100vh - 68px); }
  .hero-grid { gap: 25px; padding: 46px 0 44px; }
  .hero-brand-lockup { width: 215px; margin-bottom: 12px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.9rem, 9.5vw, 3rem); }
  .hero-logo-card img { min-height: 285px; }
  .hero-stamp { width: 96px; height: 96px; }
  .media-frame img, .carousel-slide img { height: 310px; }
  .pose-feature-image img { height: 310px; }
  .pose-gallery-action { flex-direction: column; align-items: stretch; justify-content: stretch; }
  .pose-gallery-action .button { width: 100%; }
  .timeline-item { grid-template-columns: 1fr; }
}

/* Correzione proporzioni pagine commerciali interne.
   I selettori non intercettano Home, Privacy Policy o Cookie Policy. */
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .page-hero {
  padding: 52px 0 44px;
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .page-hero h1 {
  max-width: 850px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 3.65rem);
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .page-hero .lead {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .breadcrumbs {
  margin-bottom: 14px;
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .section {
  padding: 56px 0;
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .section h2 {
  margin-bottom: 13px;
  font-size: clamp(1.8rem, 2.75vw, 2.8rem);
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .section-head {
  gap: 22px;
  margin-bottom: 25px;
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .grid-2 {
  gap: clamp(26px, 4vw, 48px);
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .media-frame img {
  height: 350px;
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .cards,
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .product-grid {
  gap: 12px;
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .card {
  padding: 21px;
}
body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .card-index {
  margin-bottom: 18px;
  font-size: 1.3rem;
}
body:has(.values) .values { gap: 9px; }
body:has(.values) .value {
  min-height: 122px;
  padding: 18px;
}
body:has(.values) .value b {
  margin-bottom: 18px;
  font-size: 1.65rem;
}
body:has(.values) .timeline-item {
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding: 23px;
}
body:has(.product-grid) .product-card {
  min-height: 180px;
  padding: 24px;
}
body:has(.product-grid) .product-card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}
body:has(.product-grid) .material-panel { min-height: 270px; }
body:has(.service-steps) .service-step {
  min-height: 185px;
  padding: 22px;
}
body:has(.service-steps) .service-step::before {
  margin-bottom: 28px;
  font-size: 1.4rem;
}
body:has(.contact-grid) .contact-grid {
  gap: 46px;
}
body:has(.contact-grid) .contact-card { padding: 28px; }
body:has(.contact-grid) .contact-card h2 {
  font-size: clamp(1.8rem, 2.75vw, 2.8rem) !important;
}
body:has(.contact-grid) .contact-row { padding: 15px 0; }
body:has(.contact-grid) .form-grid { gap: 16px; }

@media (max-width: 980px) {
  body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .page-hero {
    padding: 48px 0 42px;
  }
  body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .section {
    padding: 52px 0;
  }
  body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .page-hero h1 {
    font-size: clamp(2.15rem, 5.5vw, 3.35rem);
  }
}

@media (max-width: 680px) {
  body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .page-hero {
    padding: 40px 0 36px;
  }
  body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .page-hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
  }
  body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .section {
    padding: 44px 0;
  }
  body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .section h2 {
    font-size: clamp(1.72rem, 8.2vw, 2.35rem);
  }
  body:is(:has(.values), :has(.product-grid), :has(.service-steps), :has(.contact-grid)) .media-frame img {
    height: 290px;
  }
  body:has(.values) .timeline-item { grid-template-columns: 1fr; }
  body:has(.contact-grid) .contact-grid { gap: 30px; }
  body:has(.contact-grid) .contact-card h2 {
    font-size: clamp(1.72rem, 8.2vw, 2.35rem) !important;
  }
}

/* Fondo premium ispirato alla copertina aziendale: solo resa cromatica. */
:root {
  --premium-ivory: #f3eadc;
  --premium-cream: #f8f1e6;
  --premium-sand: #e9ddcb;
  --premium-surface:
    radial-gradient(ellipse at 13% 8%, rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 38%),
    radial-gradient(ellipse at 87% 72%, rgba(190,151,92,.09) 0%, rgba(190,151,92,0) 43%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 55%, rgba(79,58,31,.035) 100%),
    linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 42%, rgba(151,112,54,.026) 100%),
    repeating-linear-gradient(116deg, rgba(77,58,34,.012) 0, rgba(77,58,34,.012) 1px, transparent 1px, transparent 7px);
  --premium-surface-light:
    radial-gradient(ellipse at 18% 12%, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 40%),
    radial-gradient(ellipse at 84% 78%, rgba(195,157,98,.07) 0%, rgba(195,157,98,0) 46%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0) 58%, rgba(88,65,35,.028) 100%),
    linear-gradient(122deg, rgba(255,255,255,.12), rgba(237,224,204,.10)),
    repeating-linear-gradient(116deg, rgba(77,58,34,.010) 0, rgba(77,58,34,.010) 1px, transparent 1px, transparent 7px);
}

body {
  background-color: var(--premium-ivory);
  background-image: var(--premium-surface);
}

.section--ivory {
  background-color: var(--premium-sand);
  background-image: var(--premium-surface);
}

.section--white,
.trust-strip {
  background-color: var(--premium-cream);
  background-image: var(--premium-surface-light);
}

/* Design system editoriale Group Casa Bella */
:root {
  --gold-hairline: rgba(154,111,45,.58);
  --gold-whisper: rgba(207,170,104,.18);
  --anthracite-texture:
    radial-gradient(ellipse at 86% 12%, rgba(207,170,104,.13), transparent 34%),
    radial-gradient(ellipse at 8% 88%, rgba(255,255,255,.035), transparent 28%),
    repeating-linear-gradient(116deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 8px);
}

.site-header {
  border-bottom-color: var(--gold-hairline);
  box-shadow: 0 8px 30px rgba(15,14,12,.14);
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent 4%, var(--gold-hairline) 25%, rgba(207,170,104,.82) 50%, var(--gold-hairline) 75%, transparent 96%);
}
.nav-list a:not(.nav-cta) { position: relative; }
.nav-list a:not(.nav-cta)::after {
  position: absolute;
  right: 50%;
  bottom: -8px;
  left: 50%;
  height: 1px;
  content: "";
  background: var(--gold-light);
  transition: right .22s ease, left .22s ease;
}
.nav-list a:not(.nav-cta):hover::after,
.nav-list a[aria-current="page"]::after { right: 0; left: 0; }

.hero,
.page-hero,
.section--dark,
.contact-card,
.site-footer {
  background-image: var(--anthracite-texture);
}
.page-hero::after {
  position: absolute;
  right: -7vw;
  bottom: -22vw;
  width: 34vw;
  height: 34vw;
  content: "";
  border: 1px solid rgba(207,170,104,.42);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(23,22,19,.22);
  pointer-events: none;
}
.page-hero .container { z-index: 1; }

main > .section { position: relative; }
main > .section + .section::before {
  position: absolute;
  z-index: 3;
  top: -5px;
  left: 50%;
  width: 132px;
  height: 10px;
  content: "";
  background:
    linear-gradient(45deg, transparent 42%, var(--gold) 43% 57%, transparent 58%) center / 9px 9px no-repeat,
    linear-gradient(var(--gold-hairline),var(--gold-hairline)) left center / 55px 1px no-repeat,
    linear-gradient(var(--gold-hairline),var(--gold-hairline)) right center / 55px 1px no-repeat;
  transform: translateX(-50%);
  pointer-events: none;
}
.section--ivory,
.section--white { box-shadow: inset 0 1px 0 rgba(154,111,45,.12); }
.section-head { position: relative; }
.section-head::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  width: min(190px,28%);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold-hairline));
}

.card,
.product-card {
  position: relative;
  overflow: hidden;
  background-color: rgba(248,241,230,.82);
  background-image: var(--premium-surface-light);
  border-color: rgba(154,111,45,.34);
  border-radius: 18px 18px 5px 18px;
  box-shadow: 0 12px 30px rgba(56,42,24,.055), inset 0 0 0 1px rgba(255,255,255,.42);
}
.card::before,
.product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  content: "";
  background: linear-gradient(225deg, var(--ink) 0 48%, transparent 49%);
  opacity: .92;
  pointer-events: none;
}
.card::after,
.product-card::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold-light);
  transform: rotate(45deg);
}
.card:hover,
.product-card:hover {
  border-color: rgba(154,111,45,.62);
  box-shadow: 0 18px 40px rgba(56,42,24,.095), inset 0 0 0 1px rgba(255,255,255,.52);
  transform: translateY(-3px);
}
.card-index { position: relative; }
.section--dark .card h3 { color: var(--ink); }
.card-index::after {
  display: inline-block;
  width: 38px;
  height: 1px;
  margin: 0 0 .35em 10px;
  content: "";
  background: var(--gold-hairline);
}

.media-frame--institutional {
  overflow: visible;
  isolation: isolate;
  border: 1px solid rgba(154,111,45,.62);
  border-radius: 82px 18px 18px 18px;
  box-shadow: -14px 14px 0 -7px var(--ink-soft), -15px 15px 0 -6px rgba(207,170,104,.72), var(--shadow);
}
.media-frame--institutional img {
  border-radius: inherit;
}
.media-frame--institutional::after {
  inset: 10px;
  border-color: rgba(207,170,104,.58);
  border-radius: 72px 11px 11px 11px;
}

.feature-list li,
.timeline,
.timeline-item,
.service-step {
  border-color: rgba(154,111,45,.25);
}
.timeline-item,
.feature-list li {
  background-color: rgba(248,241,230,.76);
  background-image: var(--premium-surface-light);
}
.service-step {
  position: relative;
  background: rgba(248,241,230,.38);
}
.service-step::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 22px;
  height: 22px;
  content: "";
  border-right: 1px solid var(--gold-hairline);
  border-bottom: 1px solid var(--gold-hairline);
}
.value {
  border: 1px solid rgba(207,170,104,.28);
  background-image: var(--anthracite-texture);
}

.section:has(.pose-carousel) {
  color: #fff;
  background-color: var(--ink);
  background-image: var(--anthracite-texture);
  box-shadow: inset 0 1px 0 rgba(207,170,104,.24), inset 0 -1px 0 rgba(207,170,104,.18);
}
.section:has(.pose-carousel) .lead,
.section:has(.pose-carousel) p { color: rgba(255,255,255,.72); }
.section:has(.pose-carousel) .partnership-note {
  color: rgba(255,255,255,.78);
  border-left-color: var(--gold-light);
}
.section:has(.pose-carousel) .card-link { color: var(--gold-light); }
.section:has(.pose-carousel) .button--dark {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.carousel-viewport {
  border: 1px solid rgba(207,170,104,.42);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
}
.section:has(.pose-carousel) .carousel-button {
  color: #fff;
  background: rgba(255,255,255,.045);
  border-color: rgba(207,170,104,.42);
}
.section:has(.pose-carousel) .carousel-status { color: rgba(255,255,255,.62); }

.callout {
  background-color: var(--ink-soft);
  background-image: var(--anthracite-texture);
  border: 1px solid rgba(207,170,104,.44);
  border-radius: 24px 24px 6px 24px;
  box-shadow: 0 18px 40px rgba(35,27,17,.11);
}
.contact-card {
  border: 1px solid rgba(207,170,104,.38);
  border-radius: 24px 24px 6px 24px;
  box-shadow: 0 18px 40px rgba(35,27,17,.13);
}
.field input,
.field select,
.field textarea {
  background-color: rgba(248,241,230,.82);
  border-color: rgba(154,111,45,.30);
  box-shadow: inset 0 1px 3px rgba(55,41,24,.04);
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }

.site-footer {
  position: relative;
  border-top: 1px solid rgba(207,170,104,.52);
}
.site-footer::before {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold-light);
  border: 2px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}
.footer-grid > div + div { border-left: 1px solid rgba(207,170,104,.18); padding-left: 26px; }
.footer-brand img {
  border: 1px solid rgba(207,170,104,.42);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.footer-brand::after {
  display: block;
  margin-top: 15px;
  color: var(--gold-light);
  content: "Forniture • Logistica • Import/Export";
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
body:has(.hero) .footer-brand {
  position: relative;
  isolation: isolate;
}
body:has(.hero) .footer-brand::before {
  position: absolute;
  z-index: -1;
  top: -46.65px;
  left: -74.8px;
  width: 489.6px;
  height: 259.9px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(238,228,213,.66) 0 32%, rgba(238,228,213,.38) 50%, rgba(207,170,104,.14) 68%, transparent 86%);
  filter: blur(12px);
  pointer-events: none;
}
body:has(.hero) .footer-brand img {
  position: relative;
  width: clamp(270px, 25vw, 340px);
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.footer-bottom { border-top-color: rgba(207,170,104,.22); }

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.social-links--footer {
  width: max-content;
  margin: 20px 0 0;
}
.footer-grid + .social-links--footer { margin-top: 24px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gold-light);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(207,170,104,.38);
  border-radius: 50%;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.social-link img {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(89%) sepia(22%) saturate(667%) hue-rotate(350deg) brightness(102%) contrast(91%);
}
.social-link:hover,
.social-link:focus-visible {
  background: rgba(207,170,104,.13);
  border-color: var(--gold-light);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transform: translateY(-2px);
}
.contact-social { margin-top: 6px; }
.contact-social .social-links { margin-top: 8px; }
.contact-social .social-link {
  background: rgba(255,255,255,.055);
  border-color: rgba(244,228,195,.42);
}

@media (max-width: 980px) {
  .nav-list a:not(.nav-cta)::after { display: none; }
  .media-frame--institutional { border-radius: 56px 16px 16px 16px; }
  .footer-grid > div + div { padding-left: 0; border-left: 0; }
  body:has(.hero) .footer-brand::before { top: -37.04px; left: -59.4px; width: 388.8px; height: 206.4px; }
  body:has(.hero) .footer-brand img { width: 270px; }
}

@media (min-width: 981px) and (max-width: 1359px) {
  body:has(.hero) .footer-brand::before { top: -3.43vw; left: -5.5vw; width: 36vw; height: 19.11vw; }
}

@media (min-width: 981px) {
  body:has(.hero) .hero-visual {
    width: min(560px, calc(100% + 62px));
    max-width: none;
    justify-self: end;
  }
}

/* Mantiene visibili entrambe le vetrate con le scritte, senza ingrandire
   o deformare la fotografia reale del capannone. */
body:has(.hero) .hero-logo-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 32 / 21;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 680px) {
  main > .section + .section::before { width: 104px; }
  .media-frame--institutional {
    border-radius: 42px 14px 14px 14px;
    box-shadow: -8px 8px 0 -4px var(--ink-soft), -9px 9px 0 -3px rgba(207,170,104,.68), var(--shadow);
  }
  .media-frame--institutional::after { border-radius: 34px 8px 8px 8px; }
  .page-hero::after { right: -28vw; bottom: -34vw; width: 72vw; height: 72vw; }
  body:has(.hero) .footer-brand::before { top: -29.5px; left: -47.3px; width: 309.6px; height: 164.3px; }
  body:has(.hero) .footer-brand img { width: 215px; }
}

/* Palette beige/avorio approvata: variazioni cromatiche e texture soltanto. */
:root {
  --premium-ivory: #eee2d2;
  --premium-cream: #f6eee3;
  --premium-sand: #e7d8c4;
  --paper: #eee2d2;
  --ivory: #e7d8c4;
  --line: rgba(96, 73, 43, .18);
  --premium-surface:
    radial-gradient(ellipse at 10% 7%, rgba(255,255,255,.72) 0%, transparent 36%),
    radial-gradient(ellipse at 88% 72%, rgba(175,132,72,.11) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, transparent 57%, rgba(78,55,28,.04) 100%),
    linear-gradient(122deg, rgba(255,255,255,.18), transparent 43%, rgba(155,112,54,.035)),
    repeating-linear-gradient(116deg, rgba(76,55,29,.014) 0, rgba(76,55,29,.014) 1px, transparent 1px, transparent 7px);
  --premium-surface-light:
    radial-gradient(ellipse at 16% 10%, rgba(255,255,255,.78) 0%, transparent 40%),
    radial-gradient(ellipse at 84% 78%, rgba(185,143,83,.08) 0%, transparent 46%),
    linear-gradient(120deg, rgba(255,255,255,.14), rgba(229,214,193,.13)),
    repeating-linear-gradient(116deg, rgba(76,55,29,.011) 0, rgba(76,55,29,.011) 1px, transparent 1px, transparent 7px);
}

body,
.section--ivory,
.section--white,
.trust-strip {
  color: var(--ink);
}

.hero {
  color: var(--ink);
  background-color: var(--premium-sand);
  background-image: var(--premium-surface);
}
.hero::before {
  background:
    radial-gradient(ellipse at 7% 6%, rgba(255,255,255,.74) 0%, transparent 34%),
    radial-gradient(ellipse at 86% 18%, rgba(169,120,46,.11) 0%, transparent 38%),
    repeating-linear-gradient(116deg, rgba(76,55,29,.014) 0, rgba(76,55,29,.014) 1px, transparent 1px, transparent 8px);
}
.hero::after {
  background: radial-gradient(ellipse 60% 42% at 8% 108%, rgba(255,250,241,.72) 0%, rgba(214,187,145,.16) 45%, transparent 82%);
}
.hero .lead { color: #51483c; }
.hero .button--ghost {
  color: var(--ink);
  border-color: rgba(29,28,25,.38);
}
.hero .button--ghost:hover { background: rgba(29,28,25,.07); }
.hero-brand-lockup::before {
  inset: -14% -12%;
  background: radial-gradient(ellipse at center, rgba(246,238,227,.82) 0 46%, rgba(224,205,177,.28) 68%, transparent 88%);
  filter: blur(11px);
}

.page-hero {
  color: var(--ink);
  background-color: var(--premium-sand);
  background-image: var(--premium-surface);
}
.page-hero::before {
  background:
    radial-gradient(ellipse at 12% 8%, rgba(255,255,255,.68), transparent 38%),
    radial-gradient(ellipse at 84% 28%, rgba(169,120,46,.10), transparent 36%),
    repeating-linear-gradient(116deg, rgba(76,55,29,.013) 0, rgba(76,55,29,.013) 1px, transparent 1px, transparent 8px);
}
.page-hero::after {
  border-color: rgba(154,111,45,.28);
  box-shadow: 0 0 0 10px rgba(255,255,255,.12);
}
.page-hero .lead { color: #574e42; }
.breadcrumbs { color: rgba(29,28,25,.58); }

#rete {
  background-color: var(--premium-cream);
  background-image: var(--premium-surface-light);
}
#rete .rete-content { max-width: 1060px; text-align: center; }
#rete .eyebrow { justify-content: center; }
#rete h2 { max-width: 780px; margin: 0 auto 20px; }
#rete .rete-intro { max-width: 760px; margin: 0 auto; color: #51483c; }
#rete .rete-valori {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 38px 0 0;
  padding: 22px 0;
  border-top: 1px solid rgba(154,111,45,.35);
  border-bottom: 1px solid rgba(154,111,45,.35);
  list-style: none;
}
#rete .rete-valori li {
  padding: 6px 14px;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#rete .rete-valori li + li { border-left: 1px solid rgba(154,111,45,.28); }
#rete .rete-claim { margin: 24px 0 0; color: #66523a; font-family: Georgia, serif; font-size: 1.12rem; }
@media (max-width: 680px) {
  #rete .eyebrow { width: 100%; }
  #rete .eyebrow::before { display: none; }
  #rete .rete-valori { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; padding: 12px 0; }
  #rete .rete-valori li { padding: 12px 4px; font-size: .72rem; letter-spacing: .06em; }
  #rete .rete-valori li:nth-child(3) { border-left: 0; }
  #rete .rete-valori li:nth-child(n + 3) { border-top: 1px solid rgba(154,111,45,.28); }
  .return-nav .container { text-align: center; }
}

/* Correzione mirata Hero e footer: logo integrato, titolo su due righe,
   fotografia completa e chiusura di pagina più compatta. */
.hero h1 span,
.hero h1 em { display: block; }
.hero h1 {
  width: min(100%, 470px);
  max-width: 470px;
}
.hero .lead { max-width: 570px; }
.hero-brand-lockup {
  width: clamp(230px, 22vw, 300px);
}
.hero-brand-lockup img {
  -webkit-mask-image: none;
  mask-image: none;
}

@media (min-width: 981px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 5vw, 72px);
  }
  .hero-grid > div:first-child { --hero-title-measure: min(34.4vw, 470px); }
  .hero-brand-lockup {
    margin-left: calc((var(--hero-title-measure) - clamp(230px, 22vw, 300px)) / 2);
  }
  body:has(.hero) .hero-visual {
    width: min(590px, calc(100% + 42px));
  }
}

@media (min-width: 981px) and (max-width: 1199px) {
  body:has(.hero) .hero-visual { width: 100%; }
}

body:has(.hero) .hero-logo-card img {
  object-fit: contain;
  object-position: center;
}

.site-footer {
  padding: 16px 0 13px;
  color: var(--ink);
  background-color: var(--premium-sand);
  background-image:
    radial-gradient(ellipse at 88% 0%, rgba(154,111,45,.09), transparent 42%),
    linear-gradient(180deg, rgba(154,111,45,.045), rgba(154,111,45,.018) 48%, transparent 100%),
    repeating-linear-gradient(116deg, rgba(76,55,29,.014) 0, rgba(76,55,29,.014) 1px, transparent 1px, transparent 7px);
}
.site-footer .container {
  padding: 14px 22px 10px;
  border: 2px solid rgba(154,111,45,.84);
  border-radius: 18px 18px 6px 18px;
}
.footer-grid {
  grid-template-columns: 1.08fr .66fr 1fr;
  align-items: start;
  gap: 30px;
  padding-bottom: 24px;
}
.footer-brand {
  position: relative;
  isolation: isolate;
}
.footer-brand::before,
body:has(.hero) .footer-brand::before {
  display: none;
}
.footer-brand > img,
body:has(.hero) .footer-brand > img {
  position: relative;
  width: 152px;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.footer-brand p {
  max-width: 310px;
  margin: 10px 0 0;
  color: #453e34;
  font-size: .9rem;
}
.footer-brand::after {
  width: 44px;
  height: 1px;
  margin-top: 13px;
  overflow: hidden;
  color: transparent;
  background: var(--gold-light);
  content: "";
}
.footer-title { margin-bottom: 12px; color: #8e6427; }
.footer-grid > div + div {
  padding-left: 26px;
  border-left: 1px solid rgba(154,111,45,.34);
}
.footer-links li { margin: 6px 0; }
.footer-links,
.footer-links a { color: #40392f; }
.footer-links a:hover,
.footer-links a:focus-visible { color: #8e6427; }
.social-links--footer,
.footer-grid + .social-links--footer {
  margin: 12px 0 0;
}
.social-link {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.18);
  border-color: rgba(154,111,45,.54);
}
.social-link img,
body:has(.hero) .footer-brand .social-link img {
  width: 15px;
  height: 15px;
  filter: brightness(0) saturate(100%) invert(14%) sepia(9%) saturate(622%) hue-rotate(3deg) brightness(93%) contrast(90%);
}
.social-link:hover,
.social-link:focus-visible {
  background: rgba(154,111,45,.14);
  border-color: var(--gold);
  box-shadow: none;
}
.footer-bottom {
  padding-top: 16px;
  padding-right: 150px;
  color: rgba(37,35,31,.68);
  border-top-color: rgba(154,111,45,.42);
}
.footer-bottom a { color: #4b4338; }
.footer-bottom a:hover,
.footer-bottom a:focus-visible { color: #8e6427; }

@media (min-width: 681px) and (max-width: 980px) {
  .hero-brand-lockup {
    width: 245px;
    margin-left: calc((var(--hero-title-measure) - 245px) / 2);
  }
  .footer-grid {
    grid-template-columns: 1.15fr .75fr 1fr;
    gap: 22px;
  }
  body:has(.hero) .footer-brand > img { width: 146px; }
}

@media (max-width: 680px) {
  .hero-grid > div:first-child {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
    padding-inline: 2px;
  }
  .hero-brand-lockup {
    width: 190px;
    margin-right: auto;
    margin-left: auto;
  }
  .hero .eyebrow {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-inline: auto;
    text-align: center;
  }
  .hero .eyebrow::before { display: none; }
  .hero h1 {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
  .hero .lead {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
  .hero-actions {
    display: grid;
    width: 100%;
    max-width: 430px;
    gap: 12px;
    margin-right: auto;
    margin-left: auto;
  }
  .hero-actions .button { width: 100%; }
  .hero-visual {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .site-footer { padding: 16px 0 14px; }
  .site-footer .container {
    padding: 18px 16px 12px;
    border-radius: 14px 14px 5px 14px;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 22px;
  }
  .footer-grid > div {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
    text-align: center;
  }
  .footer-grid > div + div {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(154,111,45,.28);
    border-left: 0;
  }
  .footer-brand { text-align: center; }
  .footer-brand p { margin-right: auto; margin-left: auto; }
  .footer-brand > img,
  body:has(.hero) .footer-brand > img { width: 142px; margin-right: auto; margin-left: auto; }
  .footer-brand::after { margin-right: auto; margin-left: auto; }
  .social-links--footer { justify-content: center; margin-right: auto; margin-left: auto; }
  .footer-title,
  .footer-links { text-align: center; }
  .footer-bottom {
    align-items: center;
    gap: 8px;
    padding: 16px 0 64px;
    text-align: center;
  }
  .footer-bottom > span { width: 100%; }
}

/* Scelta Analytics: componente isolato dal layout delle pagine. */
.cookie-preferences-link {
  padding: 0;
  color: #4b4338;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-preferences-link:hover,
.cookie-preferences-link:focus-visible { color: #8e6427; }
.cookie-choice {
  position: fixed;
  z-index: 300;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 18px;
  width: min(560px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 24px;
  color: var(--ink);
  background: #f7f1e7;
  border: 1px solid rgba(154,111,45,.8);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(20,18,15,.24);
}
.cookie-choice h2 {
  margin: 0 30px 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  letter-spacing: -.025em;
}
.cookie-choice p { margin: 0 0 10px; font-size: .92rem; line-height: 1.5; }
.cookie-choice__details a { color: #654716; text-underline-offset: 2px; }
.cookie-choice__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cookie-choice__button {
  min-height: 46px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.cookie-choice__button--reject { color: var(--ink); background: transparent; }
.cookie-choice__button--accept { color: #fff; background: var(--ink); }
.cookie-choice__button:hover,
.cookie-choice__button:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(154,111,45,.18); }
.cookie-choice__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
body.cookie-choice-open .whatsapp { visibility: hidden; }
body.menu-open .cookie-choice { visibility: hidden; }
@media (max-width: 680px) {
  .cookie-choice {
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    right: 24px;
    width: auto;
    max-height: calc(100dvh - 24px);
    padding: 18px;
  }
  .cookie-choice h2 { font-size: 1.3rem; }
  .cookie-choice p { font-size: .85rem; }
}

/* Richiesta Presentazione Aziendale: solo Home. */
#presentazione { scroll-margin-top: 88px; }
.presentation-section {
  padding: 64px 0;
  background: radial-gradient(ellipse at 88% 15%, rgba(210,173,106,.14), transparent 48%),
              linear-gradient(130deg, #f7f1e7, #f0e8dc 68%, #f6efe4);
}
.presentation-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 36px;
  padding: 30px 36px;
  border: 1px solid rgba(169,120,46,.48);
  border-radius: 22px;
  background: rgba(255,252,246,.42);
}
.presentation-content h2 { max-width: 700px; margin-bottom: 14px; font-size: clamp(2rem, 3.1vw, 3.2rem); }
.presentation-content p:not(.eyebrow) { max-width: 770px; margin-bottom: 18px; }
.presentation-content .presentation-note { margin: 18px 0 0; color: #655b4d; font-size: .88rem; }
.presentation-cover {
  width: min(100%, 142px);
  margin: auto;
  transform: perspective(800px) rotateY(-5deg) rotateZ(1.5deg);
  transform-origin: center;
}
.presentation-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(169,120,46,.55);
  border-radius: 3px;
  box-shadow: 0 18px 32px rgba(55,43,28,.2), 0 4px 10px rgba(55,43,28,.12);
}

body.presentation-modal-open { overflow: hidden; }
body.presentation-modal-open .whatsapp,
body.presentation-modal-open .cookie-choice { visibility: hidden; }
.presentation-dialog {
  width: min(620px, calc(100vw - 24px));
  max-height: min(90dvh, 900px);
  margin: auto;
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(169,120,46,.8);
  border-radius: 18px;
  background: #f7f1e7;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  overflow-y: auto;
}
.presentation-dialog::backdrop { background: rgba(18,17,15,.72); }
.presentation-dialog__inner { position: relative; padding: 34px; }
.presentation-dialog__close { position: absolute; top: 12px; right: 15px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.presentation-dialog h2 { margin: 0 30px 10px 0; font-size: clamp(1.7rem, 4vw, 2.3rem); }
.presentation-dialog p { margin-bottom: 18px; }
.presentation-dialog .eyebrow { margin-bottom: 8px; }
.presentation-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.presentation-field { min-width: 0; }
.presentation-field label { display: block; margin-bottom: 4px; font-size: .87rem; font-weight: 700; }
.presentation-field input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #b6a995; border-radius: 8px; color: var(--ink); background: #fffdf8; font-size: 1rem; }
.presentation-field input:focus { border-color: var(--gold); }
.presentation-privacy { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 16px; font-size: .9rem; }
.presentation-privacy input { flex: 0 0 auto; width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--gold); }
.presentation-privacy a { text-underline-offset: 2px; }
.presentation-form__error { padding: 10px 12px; border-left: 3px solid #a62a24; color: #7d1f1a; background: #fff4f0; font-size: .9rem; }
.presentation-form .button:disabled { opacity: .65; cursor: wait; }
.presentation-success { padding: 16px 0; }
.presentation-success .button { margin-top: 4px; }
@media (max-width: 680px) {
  .presentation-section { padding: 42px 0; }
  .presentation-content { display: block; padding: 24px; }
  .presentation-cover { width: 112px; margin: 24px auto 0; transform: perspective(800px) rotateY(-4deg) rotateZ(1deg); }
  .presentation-content h2 { font-size: clamp(1.85rem, 7vw, 2.4rem); }
  .presentation-dialog__inner { padding: 28px 20px 22px; }
  .presentation-form__fields { grid-template-columns: 1fr; gap: 10px; }
}
