/* ==========================================================================
   Studio Dott. Geol. Marco Benedetto — foglio di stile
   Colori ripresi dal logo: marrone #422718 e oro #B58A51
   ========================================================================== */

:root {
  --brown-950: #1C110A;
  --brown-900: #2A1A10;
  --brown-800: #422718;
  --brown-700: #5A3A25;
  --brown-500: #8A6A52;
  --gold-600: #8C6630;
  --gold-500: #B58A51;
  --gold-400: #CDA56E;
  --gold-200: #EAD9BC;
  --sand-200: #E9E0D2;
  --sand-100: #F4EEE4;
  --sand-50: #FAF7F2;
  --white: #FFFFFF;
  --ink: #22170F;
  --text: #3B2E25;
  --muted: #6F6157;
  --line: #E3D8C7;
  --signal: #D9731A;
  --on-dark: #F4EEE4;
  --on-dark-muted: #C2B4A3;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(34, 23, 15, .06), 0 2px 8px rgba(34, 23, 15, .05);
  --shadow: 0 2px 6px rgba(34, 23, 15, .06), 0 14px 40px rgba(34, 23, 15, .10);
  --shadow-lg: 0 30px 80px rgba(10, 5, 2, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown-800); }
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-stretch: 108%;
  font-weight: 760;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 4.2vw + 1rem, 4.4rem); }
h2 { font-size: clamp(1.85rem, 2.4vw + 1rem, 3rem); }
h3 { font-size: clamp(1.2rem, .6vw + 1rem, 1.45rem); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong, b { color: var(--ink); font-weight: 650; }
em { font-style: italic; }
::selection { background: var(--gold-200); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brown-800); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-400); }
.lead { font-size: clamp(1.1rem, .4vw + 1rem, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.mono { font-family: var(--mono); font-size: .85em; letter-spacing: .02em; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font: 600 1rem/1 var(--font); font-stretch: 104%;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-primary { background: var(--gold-500); color: var(--brown-950); box-shadow: 0 6px 20px rgba(181, 138, 81, .28); }
.btn-primary:hover { background: var(--gold-400); color: var(--brown-950); }
.btn-dark { background: var(--brown-800); color: var(--white); }
.btn-dark:hover { background: var(--brown-700); color: var(--white); }
.btn-outline { border-color: var(--brown-800); color: var(--brown-800); background: transparent; }
.btn-outline:hover { background: var(--brown-800); color: var(--white); }
.btn-ghost-light { border-color: rgba(244, 238, 228, .35); color: var(--on-dark); background: transparent; }
.btn-ghost-light:hover { border-color: var(--on-dark); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; color: var(--brown-800); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Intestazione ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* Lo sfondo sfocato sta su uno pseudo-elemento: se fosse sull'header,
   il menu mobile (position: fixed) verrebbe confinato dentro l'header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 247, 242, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.nav-open .site-header::before { background: var(--sand-50); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(34, 23, 15, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.12rem; font-weight: 760; font-stretch: 110%; letter-spacing: -0.01em; color: var(--brown-800); }
.brand-text span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-top: 3px; }
.brand-light strong { color: var(--on-dark); }
.brand-light span { color: var(--gold-400); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem;
  transition: background .2s, color .2s;
}
.nav-list > li > a:hover, .nav-list > li > a.is-active { background: var(--sand-100); color: var(--brown-800); }
.nav-list > li > a.is-active { box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 999px 999px 999px 999px; }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 320px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sub-menu a:hover { background: var(--sand-100); }
.sub-menu b { display: block; font-weight: 650; }
.sub-menu small { display: block; color: var(--muted); font-size: .85rem; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--brown-800); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--gold-500); }
.nav-toggle { display: none; }

.nav-list > li > a, .nav-actions .btn { white-space: nowrap; }
@media (max-width: 1220px) {
  .nav-phone span { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--white); cursor: pointer; color: var(--brown-800);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    background: var(--sand-50);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { padding: 16px 4px; font-size: 1.15rem; border-radius: 0; }
  .nav-list > li > a:hover, .nav-list > li > a.is-active { background: transparent; box-shadow: none; }
  .has-sub > a::after { display: none; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; background: transparent; }
  .sub-menu a { padding: 10px 12px; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-phone { justify-content: center; min-height: 52px; border: 1.5px solid var(--brown-800); border-radius: 999px; }
  .nav-phone span { display: inline; }
  .nav-actions .btn { min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Sezioni ---------- */
.section { padding: var(--section) 0; }
.section-sand { background: var(--sand-100); }
.section-white { background: var(--white); }
.section-dark { background: var(--brown-950); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: var(--on-dark); }
.section-dark .lead { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Hero home ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--brown-950);
  color: var(--on-dark-muted);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/strati.svg") center bottom / cover no-repeat;
  opacity: .5;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -380px;
  background: radial-gradient(closest-side, rgba(181, 138, 81, .22), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--on-dark); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { color: var(--on-dark-muted); margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 40px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(244, 238, 228, .12); }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--on-dark); }
.hero-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(181, 138, 81, .18); }

.hero-visual { position: relative; }
.hero-photo {
  margin: 0 0 0 auto; width: 100%; aspect-ratio: 4 / 3.6; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero-photo figcaption {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  background: rgba(28, 17, 10, .72); color: var(--on-dark); padding: 6px 10px; border-radius: 6px;
  backdrop-filter: blur(6px);
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .hero-photo { aspect-ratio: 4 / 3; }
}

/* ---------- Pagine interne: testata ---------- */
.page-hero { position: relative; background: var(--brown-950); color: var(--on-dark-muted); padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/strati.svg") center bottom / cover no-repeat; opacity: .35; }
.page-hero h1 { color: var(--on-dark); font-size: clamp(2.2rem, 3.4vw + 1rem, 3.8rem); }
.page-hero .lead { color: var(--on-dark-muted); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; margin: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero-simple { padding-bottom: clamp(36px, 5vw, 64px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--brown-500); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb [aria-current] { color: var(--gold-400); }
.quick-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; margin: 30px 0 0; padding: 0; list-style: none; }
.quick-facts li { font-size: .9rem; color: var(--on-dark-muted); }
.quick-facts b { display: block; font-family: var(--mono); font-size: 1.1rem; font-weight: 500; color: var(--gold-400); }
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: repeat(2, auto); }
}

/* Indice interno della pagina */
.page-index { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.page-index ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.page-index ul::-webkit-scrollbar { display: none; }
.page-index a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 550; }
.page-index a:hover, .page-index a.is-current { background: var(--sand-100); color: var(--brown-800); }

/* ---------- Griglie e card ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-num { display: inline-block; font-family: var(--mono); font-size: .75rem; color: var(--gold-600); margin-bottom: 14px; letter-spacing: .08em; }

/* Card servizio (home) */
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); color: inherit; }
.service-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 0; background: var(--sand-200); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-media .tag { position: absolute; left: 16px; top: 16px; }
.service-card-body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; }
.service-card .question { font-size: 1.05rem; color: var(--brown-700); font-weight: 600; margin-bottom: 10px; }
.service-card ul { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 6px; }
.service-card li { position: relative; padding-left: 22px; font-size: .97rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--gold-500); }
.service-card .link-arrow { margin-top: auto; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; background: rgba(28, 17, 10, .78); color: var(--on-dark);
  backdrop-filter: blur(6px);
}
.tag-light { background: var(--sand-100); color: var(--brown-700); backdrop-filter: none; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip-list li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .93rem; color: var(--ink); }
.section-dark .chip-list li { background: rgba(244, 238, 228, .05); border-color: rgba(244, 238, 228, .14); color: var(--on-dark); }
.chip-list li small { color: var(--muted); margin-left: 4px; }
.section-dark .chip-list li small { color: var(--brown-500); }

/* ---------- Problemi che il metodo risolve ---------- */
.problem-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 28px); position: relative; }
.problem-card::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold-500); }
.problem-who { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.problem-card h3 { font-size: 1.12rem; line-height: 1.3; font-stretch: 100%; font-weight: 700; margin-bottom: 12px; }
.problem-card p { font-size: .96rem; color: var(--muted); }
.problem-card .problem-out { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink); font-weight: 600; font-size: .93rem; }
.problem-out span { display: block; font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.problem-card .method-link { display: inline-block; margin-top: 4px; font-weight: 600; font-size: .93rem; }
.problem-card-cta { background: var(--brown-800); border-color: var(--brown-800); }
.problem-card-cta::before { display: none; }
.problem-card-cta .problem-who { color: var(--gold-400); }
.problem-card-cta h3 { color: var(--on-dark); }
.problem-card-cta p { color: var(--on-dark-muted); }
.problem-card-cta .problem-out { border-top-color: rgba(244, 238, 228, .18); }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-top: clamp(28px, 3vw, 40px); padding: 20px 24px; border-radius: var(--radius); background: var(--sand-100); border: 1px solid var(--line); }
.section-sand .inline-cta { background: var(--white); }
.inline-cta p { margin: 0; max-width: 70ch; }

/* ---------- Sezione in evidenza (lavori da spingere) ---------- */
.feature .two-col { align-items: center; }
.feature-media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-media figcaption { position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 10px; background: rgba(28, 17, 10, .82); color: var(--on-dark); font-size: .95rem; backdrop-filter: blur(6px); }
.feature-media figcaption b { display: block; font-size: 1.5rem; font-weight: 760; font-stretch: 110%; color: var(--gold-400); line-height: 1.1; }
.feature .prose li { color: var(--on-dark); }
.feature .btn-row { margin-top: 26px; }

/* ---------- Pregi e limiti ---------- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.pros-cons > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.section-white .pros-cons > div { background: var(--sand-50); }
.pros-cons h3 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.pros-cons h3::before { content: ""; width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--brown-800) center / 15px no-repeat; }
.pros h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23CDA56E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cons h3::before { background-color: var(--signal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v8M12 18v.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pros-cons ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pros-cons li { position: relative; padding-left: 22px; font-size: .97rem; }
.pros-cons li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--gold-500); }
.cons li::before { background: var(--signal); }
@media (max-width: 760px) { .pros-cons { grid-template-columns: 1fr; } }

/* ---------- Dati per il preventivo ---------- */
.checklist { list-style: none; padding: 0; margin: 0; counter-reset: voce; display: grid; gap: 0; }
.checklist li { counter-increment: voce; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: counter(voce); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .75rem; background: var(--brown-800); color: var(--gold-400); margin-top: 1px; }
.checklist b { font-size: .98rem; }
.checklist span { font-size: .93rem; color: var(--muted); line-height: 1.5; }
.checklist-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--shadow-lg); }
.checklist-card .checklist b { color: var(--ink); }
.quote-section .lead { margin-bottom: 28px; }
.quote-phone { margin-top: 22px; font-size: .95rem; }
.quote-phone a { color: var(--gold-400); font-family: var(--mono); }
.checklist-group h3 { font-size: 1.15rem; margin-bottom: 6px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.compare-table { min-width: 720px; }
.compare-table thead th { background: var(--brown-800); color: var(--on-dark); font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; width: auto; }
.compare-table tbody th { width: 18%; }
@media (max-width: 560px) {
  .compare-table th, .compare-table td { display: table-cell; width: auto; }
  .compare-table tbody th { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
}

/* ---------- Pagine FAQ ---------- */
.faq-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); margin-bottom: clamp(36px, 5vw, 56px); }
.faq-summary > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.faq-summary b { display: block; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 6px; }
.faq-summary p { margin: 0; font-size: .96rem; }
@media (max-width: 860px) { .faq-summary { grid-template-columns: 1fr; } }
.faq-block { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(20px, 4vw, 56px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.faq-block:first-of-type { border-top: 0; padding-top: 0; }
.faq-block h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); position: sticky; top: calc(var(--header-h) + 72px); }
.faq-block h2 small { display: block; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.faq-block .faq { max-width: none; }
@media (max-width: 860px) { .faq-block { grid-template-columns: 1fr; } .faq-block h2 { position: static; } }
.faq-more { margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.faq-links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.faq-links a { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.faq-links a:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); color: var(--ink); }
.faq-links b { font-weight: 650; }
.lost-links { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
@media (max-width: 860px) { .lost-links { grid-template-columns: 1fr; } }
.faq-links span { font-size: .88rem; color: var(--muted); }
.answer ul { padding-left: 1.1em; margin: 0 0 1em; }
.answer li { margin-bottom: 4px; }

/* ---------- Perché la geofisica ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.why-quote { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); line-height: 1.18; font-weight: 700; font-stretch: 106%; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 28px; }
.why-quote span { color: var(--gold-600); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 30px; }
.benefits h3 { font-size: 1.08rem; margin-bottom: 4px; }
.benefits p { font-size: .96rem; margin: 0; color: var(--muted); }
.benefits .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brown-800); color: var(--gold-400); margin-bottom: 12px; }
.benefits .ico svg { width: 22px; height: 22px; }
.diagram { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 2vw, 28px); box-shadow: var(--shadow-sm); }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.diagram-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.diagram-legend span { display: inline-flex; align-items: center; gap: 7px; }
.diagram-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Processo ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 24px 0 0; }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--mono); font-weight: 500; font-size: .95rem;
  background: var(--brown-800); color: var(--gold-400); margin-bottom: 22px; position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; left: 52px; right: 0; top: 26px; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { font-size: .97rem; color: var(--muted); margin: 0; }
.section-dark .steps p { color: var(--on-dark-muted); }
.section-dark .steps li::before { background: var(--gold-500); color: var(--brown-950); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 32px 76px; min-height: 52px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { left: 26px; right: auto; top: 52px; bottom: 0; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-500) 0 6px, transparent 6px 12px); display: block; }
  .steps li:nth-child(2)::after { display: block; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:last-child::after { display: none; }
}

/* ---------- Numeri strumentazione ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(244, 238, 228, .14); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(244, 238, 228, .14); }
.stat b { display: block; font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem); font-weight: 760; font-stretch: 112%; color: var(--gold-400); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
.stat b small { font-size: .45em; font-weight: 600; margin-left: 4px; color: var(--on-dark); letter-spacing: 0; }
.stat span { display: block; color: var(--on-dark); font-weight: 600; margin-bottom: 4px; }
.stat p { font-size: .92rem; margin: 0; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 28px; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(244, 238, 228, .14); }
}

/* ---------- Casi studio ---------- */
.case-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.case-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.case-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover figure img { transform: scale(1.04); }
.case-card figure.is-contain { background: var(--white); border-bottom: 1px solid var(--line); }
.case-card figure.is-contain img { object-fit: contain; padding: 10px; }
.case-card:hover figure.is-contain img { transform: none; }
.case-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.case-card h3 { font-size: 1.2rem; }
.case-card p { font-size: .97rem; color: var(--muted); }
.case-card .link-arrow { margin-top: auto; }

/* Pagina lavori svolti */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn { font: 600 .95rem var(--font); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--brown-800); }
.filter-btn[aria-pressed="true"] { background: var(--brown-800); border-color: var(--brown-800); color: var(--white); }
.case-study { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); align-items: start; }
.case-study.is-first, .split-head + .case-study { border-top: 0; padding-top: 0; }
.case-study h3 { font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); line-height: 1.15; margin-top: 4px; }
.case-steps { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.case-steps li { position: relative; padding: 0 0 20px 24px; }
.case-steps li:last-child { padding-bottom: 0; }
.case-steps li::before { content: ""; position: absolute; left: -8px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--sand-50); border: 2px solid var(--gold-500); }
.case-steps li.is-result::before { background: var(--gold-500); }
.case-steps span { display: block; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 4px; }
.case-steps p { margin: 0; }
.case-steps .is-result p { color: var(--ink); }
.case-study[hidden] { display: none; }
.case-study h2 { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem); }
.case-facts { display: flex; flex-wrap: wrap; gap: 1px; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); overflow: hidden; }
.case-facts div { flex: 1 1 160px; padding: 14px 16px; background: var(--white); }
.case-facts dt { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); margin-bottom: 4px; }
.case-facts dd { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.case-study .gallery { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) {
  .case-study { grid-template-columns: 1fr; }
  .case-study .gallery { position: static; }
}

/* ---------- Galleria e lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand-200); grid-column: span 2; aspect-ratio: 4 / 3; }
.gallery figure.wide { grid-column: span 6; aspect-ratio: auto; }
.gallery figure.half { grid-column: span 3; }
.gallery figure.tall { aspect-ratio: 3 / 4; }
.gallery figure.contain { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.gallery figure.contain a { flex: 1; min-height: 0; padding: 6px; }
.gallery figure.contain img { object-fit: contain; }
.gallery a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figure.contain a:hover img { transform: none; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; font-size: .8rem; line-height: 1.3; color: var(--white); background: linear-gradient(transparent, rgba(20, 12, 7, .82)); pointer-events: none; }
.gallery figure.contain figcaption { position: static; background: none; color: var(--muted); padding: 8px 10px 10px; border-top: 1px solid var(--line); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-4 figure { grid-column: span 1; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure, .gallery figure.half { grid-column: span 1; }
  .gallery figure.wide { grid-column: span 2; }
}

/* Animazione delle slice georadar */
.gallery figure.slice-player { aspect-ratio: auto; background: var(--brown-950); display: flex; flex-direction: column; }
.slice-stage { position: relative; }
.slice-stage img { width: 100%; height: auto; display: block; aspect-ratio: 960 / 508; object-fit: cover; }
.gallery .slice-stage img { transform: none; }
.slice-depth {
  position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 8px;
  background: rgba(28, 17, 10, .82); color: var(--on-dark); font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.slice-depth b { color: var(--gold-400); font-weight: 500; font-size: 1rem; margin-left: 4px; }
.slice-controls { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--brown-950); color: var(--on-dark-muted); font-family: var(--mono); font-size: .72rem; }
.slice-controls input[type="range"] { flex: 1; accent-color: var(--gold-500); min-width: 0; }
.slice-play { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(244, 238, 228, .3); background: transparent; cursor: pointer; display: grid; place-items: center; }
.slice-play span { width: 10px; height: 12px; border-left: 3px solid var(--on-dark); border-right: 3px solid var(--on-dark); }
.slice-player.is-paused .slice-play span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--on-dark); margin-left: 3px; }
.slice-play:hover { border-color: var(--gold-400); }
.gallery figure.slice-player figcaption { position: static; background: var(--brown-950); color: var(--on-dark-muted); padding: 0 12px 12px; }
.slice-range { white-space: nowrap; }

/* Perché è un caso esemplare */
.case-why { background: var(--brown-800); color: var(--on-dark); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 20px; }
.case-why span { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 6px; }
.case-why p { margin: 0; font-size: 1.04rem; line-height: 1.55; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 56px 16px 24px; background: rgba(14, 8, 4, .94); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 150px); max-width: 100%; width: auto; border-radius: 6px; box-shadow: var(--shadow-lg); background: var(--white); }
.lightbox figcaption { color: var(--on-dark); margin-top: 14px; text-align: center; font-size: .95rem; max-width: 70ch; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.5rem; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 12px; transform: none; } }

/* ---------- Contenuti servizio ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, ul.prose { padding-left: 0; list-style: none; }
.prose ul li, ul.prose li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.prose ul li::before, ul.prose li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 2px; background: var(--gold-500); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.two-col.reverse > :first-child { order: 2; }
.two-col-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 960px) { .two-col, .two-col-wide { grid-template-columns: 1fr; } .two-col.reverse > :first-child { order: 0; } }

.app-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.app-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.app-card p { font-size: .96rem; color: var(--muted); margin: 0; }
.app-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand-100); color: var(--brown-800); display: grid; place-items: center; margin-bottom: 16px; }
.app-card .ico svg { width: 24px; height: 24px; }

.deliverables { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.deliverables li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.deliverables li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--brown-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23CDA56E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; margin-top: 1px; }
.deliverables b { display: block; }
.deliverables span { color: var(--muted); font-size: .95rem; }

.method { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.method:first-child { border-top: 0; padding-top: 0; }
.method-head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.method-head .tag { position: relative; top: -4px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .96rem; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 34%; font-weight: 650; color: var(--ink); background: var(--sand-50); }
.spec-table td .mono { color: var(--gold-600); }
@media (max-width: 560px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { border-bottom: 0; padding-bottom: 4px; } }

details.tech { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
details.tech summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 650; color: var(--brown-800); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.tech summary::-webkit-details-marker { display: none; }
details.tech summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--gold-600); transition: transform .2s; }
details.tech[open] summary::after { transform: rotate(45deg); }
details.tech .tech-body { padding: 0 20px 20px; font-size: .97rem; }
details.tech .tech-body p:last-child { margin-bottom: 0; }

.callout { border-left: 3px solid var(--gold-500); background: var(--white); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; }
.callout p:last-child { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-weight: 650; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--gold-500); border-bottom: 2px solid var(--gold-500); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 72ch; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Chi sono ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; margin: 0; }
.about-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -16px; bottom: 28px; background: var(--brown-800); color: var(--on-dark); padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 230px; font-size: .9rem; line-height: 1.4; }
.about-badge b { display: block; color: var(--gold-400); font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.credentials { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.credentials li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.credentials li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--gold-500); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 9px var(--gold-500); }
.section-sand .credentials li::before { box-shadow: inset 0 0 0 3px var(--sand-100), inset 0 0 0 9px var(--gold-500); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
  .about-badge { right: 12px; }
}

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); color: var(--text); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brown-800); color: var(--gold-400); display: grid; place-items: center; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.contact-card b { display: block; font-size: 1.05rem; word-break: break-word; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--sand-50);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: var(--white); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .9rem; color: var(--muted); align-items: start; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brown-800); }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--sand-100); color: var(--brown-800); font-size: .95rem; }
.form-status[hidden] { display: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Banda finale e piè di pagina ---------- */
.cta-band { background: var(--brown-800); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/strati.svg") center / cover no-repeat; opacity: .3; }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { max-width: 56ch; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--on-dark); text-decoration: none; font-family: var(--mono); font-size: 1.05rem; margin-top: 6px; }
.cta-phone svg { width: 20px; height: 20px; color: var(--gold-400); }
.cta-phone:hover { color: var(--gold-400); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--brown-950); color: var(--on-dark-muted); padding: clamp(56px, 6vw, 80px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr 1.2fr; gap: 36px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.site-footer h3 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-contacts a, .footer-contacts span { display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-contacts svg { width: 18px; height: 18px; flex: none; color: var(--gold-500); margin-top: 3px; }
.footer-contacts a { word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244, 238, 228, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Animazioni all'ingresso ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Utilità ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
