
:root{--navy:#0d2942;--blue:#154e75;--paper:#f5f7fa;--ink:#172e41;--muted:#536579;--line:#d9e1e8;--accent:#fed86a}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:150px}body{margin:0;background:white;color:var(--ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #db9c00;outline-offset:4px}.wrap{max-width:1120px;margin:auto;padding:0 24px}.demo{background:var(--navy);color:white;text-align:center;padding:9px 16px;font-size:13px;letter-spacing:.02em}.demo strong{color:var(--accent)}header{position:sticky;top:0;background:#fffffffa;z-index:10;border-bottom:1px solid var(--line)}.head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:86px}.brand{text-decoration:none;display:flex;align-items:center;gap:12px}.mark{background:var(--navy);color:white;border-radius:8px;width:42px;height:42px;display:grid;place-items:center;font:32px Georgia}.brand b{display:block;font-size:19px;line-height:1.2}.brand small{color:var(--muted);font-size:13px}.switch{display:flex;background:var(--paper);padding:4px;border-radius:9px;gap:4px}.switch button{border:0;background:transparent;padding:9px 14px;border-radius:6px;font-size:14px;color:var(--muted)}.switch button[aria-pressed=true]{background:var(--navy);color:white}.nav{display:flex;gap:28px;padding-bottom:15px;font-size:14px}.nav a{text-decoration:none}.nav a:hover{text-decoration:underline}.eyebrow{font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue)}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em;line-height:1.06}h1{font-size:clamp(44px,6vw,78px);margin-bottom:24px}h2{font-size:clamp(34px,4vw,49px);margin-bottom:20px}h3{font-size:21px;line-height:1.3}.hero{padding:64px 0 54px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:56px}.lead{font-size:19px;color:var(--muted);max-width:520px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 18px}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 20px;border:1px solid var(--navy);border-radius:7px;background:var(--navy);color:white;text-decoration:none;font-weight:600;font-size:15px}.btn.secondary{background:white;color:var(--navy)}.btn:hover{background:var(--blue);color:white}.micro{font-size:13px;color:var(--muted)}.visual{min-height:360px;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:30px;display:flex;flex-direction:column;justify-content:space-between}.visual-top{display:flex;justify-content:space-between;font-size:13px;letter-spacing:.08em}.visual-title{font:76px/.9 Georgia;letter-spacing:-.06em;color:var(--navy)}.visual-title span{display:block;font:14px system-ui;letter-spacing:.3em;margin-top:20px}.placeholder{font-size:14px;background:#fff;border:1px dashed #899caf;padding:14px;border-radius:6px;color:var(--muted)}.strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;display:flex;gap:24px;justify-content:space-between;font-size:14px}.strip span{color:var(--muted)}section{padding:66px 0;scroll-margin-top:20px}.two{display:grid;grid-template-columns:1fr 1fr;gap:60px}.bodycopy{color:var(--muted)}.facts{display:grid;gap:0;border-top:1px solid var(--line)}.fact{padding:18px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:15px}.pending{color:#725209;background:#fff4cc;padding:3px 8px;border-radius:4px;font-size:13px;white-space:normal}.sale{background:var(--navy);color:white;border-radius:14px;padding:46px;display:grid;grid-template-columns:1.05fr 1fr;gap:48px}.sale .eyebrow{color:var(--accent)}.sale p{color:#d0dce7}.sale .btn{background:var(--accent);border-color:var(--accent);color:var(--navy)}.sale-box{border:1px solid #526679;border-radius:8px;padding:25px;align-self:center}.sale-box strong{font-size:19px}.sale-box p{font-size:15px;margin:10px 0 20px}.sale-box .fact{border-color:#526679;display:block}.sale-box .fact span{display:block;margin-top:6px}.contact{background:var(--paper)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}.contact-card{background:white;border:1px solid var(--line);padding:28px;border-radius:10px}.contact-card .btn{width:100%;margin-top:12px}details{border-top:1px solid var(--line);padding:18px 0}summary{font-weight:600;cursor:pointer}details p{margin:15px 0 0;color:var(--muted)}footer{padding:28px 0 100px;font-size:13px;color:var(--muted)}.foot{display:flex;justify-content:space-between;gap:20px}.mobile-cta{display:none}.proposal{padding:55px 0}.proposal .intro{max-width:720px}.prices{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:32px 0}.price{border:1px solid var(--line);border-radius:12px;padding:30px;background:var(--paper)}.price:first-child{background:var(--navy);color:white}.amount{font:64px Georgia;margin:12px 0}.amount small{font:16px system-ui}.price p{margin:0}.steps{counter-reset:step;display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:30px 0}.step{border-top:2px solid var(--line);padding-top:20px}.step:before{counter-increment:step;content:'0' counter(step);color:var(--blue);font-size:14px;display:block;margin-bottom:12px}.note{padding:22px;border-left:4px solid var(--accent);background:var(--paper);margin:25px 0}.hidden,[hidden]{display:none!important}dialog{border:0;border-radius:13px;max-width:560px;width:calc(100% - 32px);padding:28px;color:var(--ink);max-height:90dvh;overflow:auto}dialog::backdrop{background:#081e34b8}.close{float:right;border:0;background:var(--paper);border-radius:50%;width:40px;height:40px;font-size:24px}.field{display:block;margin:16px 0;font-size:14px;font-weight:600}input,select,textarea{width:100%;border:1px solid #91a2b2;border-radius:6px;background:white;padding:11px;margin-top:6px;color:var(--ink)}textarea{min-height:100px;resize:vertical}.result{background:#eef4fa;padding:18px;border-radius:8px;margin-top:20px}.result p{white-space:pre-wrap}.dialog-title{font-size:32px;margin-top:15px}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;z-index:50;background:white;padding:12px}@media(max-width:700px){.wrap{padding:0 20px}.head{min-height:78px;gap:10px}.brand b{font-size:16px}.brand small{font-size:12px}.mark{width:34px;height:38px}.switch button{padding:8px;font-size:12px}.nav{gap:20px;justify-content:space-between;font-size:13px}.hero{grid-template-columns:1fr;padding:38px 0;gap:25px}h1{font-size:51px}.lead{font-size:17px}.hero .actions{margin-top:24px}.visual{min-height:240px;padding:23px}.visual-title{font-size:59px}.strip{display:grid;gap:10px}.two,.sale,.contact-grid{grid-template-columns:1fr;gap:28px}section{padding:44px 0}.sale{padding:27px;border-radius:10px}.sale h2{font-size:39px}.fact{flex-direction:column;gap:7px}.contact-card{padding:22px}.mobile-cta{display:block;position:fixed;bottom:0;left:0;right:0;padding:10px 20px calc(10px + env(safe-area-inset-bottom));background:#fffffffa;border-top:1px solid var(--line);z-index:20}.mobile-cta .btn{width:100%}.prices{grid-template-columns:1fr;gap:16px}.steps{grid-template-columns:1fr}.foot{flex-direction:column;gap:8px}.proposal{padding-top:35px}html{scroll-padding-top:145px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{header,.mobile-cta,.demo{position:static}.mobile-cta{display:none}section{break-inside:avoid}}
.brand>span:last-child{min-width:0}.brand b{max-width:220px}.visual-title{font-size:clamp(50px,6vw,76px)}@media(max-width:700px){.head{flex-wrap:wrap;padding:14px 0;gap:12px}.brand b{max-width:none}.switch{margin-left:auto}.visual-title{font-size:59px}}@media(max-width:360px){h1{font-size:44px}.head .switch{margin-left:0}.nav{gap:10px}}

/* DVS Local One — Hero photo */
.hero-photo {
  display: block;
  width: 100%;
  max-height: 340px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}


/* DVS Local One — Presentation photo */
.presentation-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 24px;
}


/* DVS Local One — Feature photo */
.feature-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: 8px;
  margin: 24px 0;
}

/* Logo facoltativo dell'attività */
.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

@media (max-width: 700px) {
  .brand-logo {
    width: 34px;
    height: 38px;
    flex-basis: 34px;
  }
}


/* DVS Local One — Hero V2 */

/* Struttura a due colonne */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding: 64px 0;
}

/* Tipografia più adatta a un'identità commerciale */
.hero h1 {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

/* Testi */
.hero .lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
}

/* Fotografia principale */
.hero .visual {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* CTA telefonica */
.hero-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 14px 24px;
  min-height: 50px;
}

/* Responsive */
@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .hero .lead {
    font-size: 16px;
  }

  .hero-call {
    width: 100%;
  }
}

/* DVS Local One — Hero layout definitivo */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero-content {
  min-width: 0;
}

.hero-identity {
  margin-bottom: 22px;
}

.hero-logo {
  display: block;
  width: min(100%, 420px);
  max-height: 240px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.hero-identity + .eyebrow {
  margin-top: 0;
}

.hero .hero-call {
  margin: 20px 0 0;
}

@media (max-width: 700px) {
  .hero-logo {
    width: min(100%, 320px);
    max-height: 180px;
  }

  .hero-identity {
    margin-bottom: 18px;
  }
}

/* DVS Local One — Hero photo layout 47.8 */

.hero .visual {
  position: relative;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border-radius: 12px;
}

.hero .hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

@media (max-width: 700px) {
  .hero .visual {
    min-height: 250px;
  }

  .hero .hero-photo {
    min-height: 250px;
  }
}

/* Local One — navigazione superiore 47.15B */

/* I collegamenti restano nel DOM per compatibilità con la demo. */
header .nav {
  display: none;
}

/* Con logo nella Hero, l'intestazione non serve. */
header.local-one-logo-header {
  display: none;
}


/* DVS Local One — Hero buttons 47.21 */

.hero-phone-slot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero .hero-call,
.hero .hero-whatsapp {
  margin: 0;
}

.hero-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.hero-whatsapp:hover,
.hero-whatsapp:focus-visible {
  background: #1ebe5b;
  border-color: #1ebe5b;
  color: #ffffff;
}

.hero-whatsapp .wa-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.hero-whatsapp .wa-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 700px) {
  .hero-phone-slot {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .hero-call,
  .hero .hero-whatsapp {
    width: 100%;
  }
}


/* DVS Local One — Galleria 47.26 */

.local-one-gallery {
  padding: 48px 0;
}

.local-one-gallery h2 {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-grid img:only-child {
  grid-column: 1 / -1;
  max-width: 680px;
}

@media (max-width: 700px) {
  .local-one-gallery {
    padding: 32px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-grid img:only-child {
    max-width: 100%;
  }
}


/* Local One — foto solo in galleria 47.28 */

/* Le fotografie aggiuntive sono mostrate dalla galleria. */
#attivita img,
.feature-photo {
  display: none;
}


/* DVS Local One — Footer credit 47.33A */

footer .dvs-credit {
  margin-top: 12px;
  padding: 10px 0 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #596778;
}

footer .dvs-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer .dvs-credit a:hover,
footer .dvs-credit a:focus-visible {
  color: #0d2942;
}


/* DVS Local One — Contatti 47.35 */

/* Titolo sopra la scheda, anziché in una colonna vuota. */
.contact .contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contact .contact-grid > div:first-child {
  width: 100%;
  max-width: 820px;
}

/* Elimina l'etichetta ripetitiva CONTATTI. */
.contact .contact-grid > div:first-child > .eyebrow {
  display: none;
}

/* Titolo compatto. */
.contact .contact-grid > div:first-child > h2 {
  margin: 0;
  text-align: center;
}

/* Scheda centrale più ampia. */
.contact .contact-card {
  width: 100%;
  max-width: 820px;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .contact .contact-grid {
    align-items: stretch;
    gap: 18px;
  }

  .contact .contact-grid > div:first-child > h2 {
    text-align: left;
  }

  .contact .contact-card {
    max-width: 100%;
  }
}

/* Local One — centratura contenuti mobile */
@media (max-width: 700px) {
  .hero-content,
  .hero-identity,
  .local-one-gallery h2,
  .contact .contact-grid > div:first-child > h2 {
    text-align: center;
  }

  .hero-logo {
    margin-inline: auto;
    object-position: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .hero-phone-slot {
    align-items: stretch;
  }

  .local-one-gallery .gallery-grid {
    justify-items: center;
  }

  footer .dvs-credit {
    text-align: center;
  }
}
