/* ═══════════════════════════════════════════════════════════
   GARDAIMMOBILI — scheda.css
   CSS completo per template: scheda.html
   ═══════════════════════════════════════════════════════════ */

  
:root {  
  --navy:    #0f1f38;  
  --gold:    #b8965a;  
  --gold-lt: #d4b07a;  
  --cream:   #f7f4ef;  
  --warm:    #ede8e0;  
  --text:    #1a1a1a;  
  --muted:   #6b6560;  
  --white:   #ffffff;  
  --serif:   'Cormorant Garamond', Georgia, serif;  
  --sans:    'Jost', sans-serif;  
  --trans:   .35s cubic-bezier(.4,0,.2,1);  
}  
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }  
html { scroll-behavior: smooth; }  
body {  
  font-family: var(--sans);  
  font-weight: 300;  
  color: var(--text);  
  background: var(--white);  
  overflow-x: hidden;  
}  
  
/* ── SKELETON LOADER ── */
@keyframes skPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ── TOPBAR ── */  
.topbar {  
  background: var(--navy);  
  color: rgba(255,255,255,.7);  
  font-size: .72rem;  
  letter-spacing: .12em;  
  text-transform: uppercase;  
  display: flex;  
  justify-content: space-between;  
  align-items: center;  
  padding: .55rem 3rem;  
}  
.topbar a { color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--trans); }  
.topbar a:hover { color: var(--gold-lt); }  
.topbar-left { display: flex; gap: 2rem; }  
.topbar-right { display: flex; gap: 1.2rem; align-items: center; }  
.lang-btn {  
  background: none;  
  border: 1px solid rgba(255,255,255,.25);  
  color: rgba(255,255,255,.7);  
  padding: .2rem .6rem;  
  font-size: .68rem;  
  letter-spacing: .1em;  
  cursor: pointer;  
  transition: all var(--trans);  
  font-family: var(--sans);  
}  
.lang-btn:hover, .lang-btn.active { border-color: var(--gold); color: var(--gold); }  
  
/* ── NAVBAR ── */  
nav {  
  position: sticky; top: 0; z-index: 100;  
  background: rgba(255,255,255,.97);  
  backdrop-filter: blur(12px);  
  border-bottom: 1px solid rgba(184,150,90,.2);  
  display: flex;  
  align-items: center;  
  justify-content: space-between;  
  padding: 0 3rem;  
  height: 72px;  
  box-shadow: 0 2px 20px rgba(15,31,56,.06);  
  transition: box-shadow var(--trans);  
}  
.logo {  
  font-family: var(--serif);  
  font-size: 1.55rem;  
  font-weight: 600;  
  color: var(--navy);  
  text-decoration: none;  
  letter-spacing: .04em;  
  display: flex; align-items: center; gap: .6rem; margin-right: auto;  
}  
.logo span { color: var(--gold); }  
.logo-sub {  
  font-family: var(--sans);  
  font-size: .58rem;  
  letter-spacing: .25em;  
  text-transform: uppercase;  
  color: var(--muted);  
  display: block;  
  margin-top: -2px;  
}  
.nav-links { display: flex; gap: 2.5rem; margin-left: 3rem; list-style: none; align-items: center; }  
.nav-links a {  
  text-decoration: none; color: var(--navy);  
  font-size: .78rem; letter-spacing: .12em;  
  text-transform: uppercase; font-weight: 400;  
  position: relative; padding-bottom: 4px;  
  transition: color var(--trans);  
}  
.nav-links a::after {  
  content: ''; position: absolute; bottom: 0; left: 0;  
  width: 0; height: 1px; background: var(--gold);  
  transition: width var(--trans);  
}  
.nav-links a:hover { color: var(--gold); }  
.nav-links a:hover::after { width: 100%; }  
.nav-cta {  
  background: var(--gold); color: var(--white) !important;  
  padding: .5rem 1.4rem;  
}  
.nav-cta::after { display: none !important; }  
.nav-cta:hover { background: var(--navy) !important; }  
  
/* ── BREADCRUMB ── */  
.breadcrumb {  
  background: var(--cream);  
  padding: 1rem 3rem;  
  font-size: .72rem;  
  letter-spacing: .1em;  
  text-transform: uppercase;  
  color: var(--muted);  
  border-bottom: 1px solid rgba(184,150,90,.15);  
}  
.breadcrumb a { color: var(--gold); text-decoration: none; }  
.breadcrumb a:hover { color: var(--navy); }  
.breadcrumb span { color: var(--muted); margin: 0 .5rem; }  
  
/* ── CONTAINER PRINCIPALE ── */  
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 3rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  /* CLS fix: pre-reserve space so footer doesn't shift when JS populates content */
  min-height: 2800px;
}
/* Remove min-height once content is loaded */
.main-container.loaded {
  min-height: 0;
}  
  
/* ── HEADER ANNUNCIO ── */  
.annuncio-header { margin-bottom: 2rem; }  
.badge-group { display: flex; gap: .8rem; margin-bottom: 1.2rem; flex-wrap: wrap; }  
.badge-tipologia {  
  background: var(--gold); color: var(--white);  
  padding: .25rem .9rem;  
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;  
}  
.badge-classe {  
  background: #1a6b1a; color: var(--white);  
  padding: .25rem .9rem;  
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;  
}  
.annuncio-header h1 {  
  font-family: var(--serif);  
  font-size: clamp(1.8rem, 4vw, 2.8rem);  
  font-weight: 300;  
  color: var(--navy);  
  margin-bottom: 1.2rem;  
  line-height: 1.2;  
}  
.info-rapide {  
  display: flex; flex-wrap: wrap; gap: 1.5rem;  
  color: var(--muted); font-size: .82rem;  
  margin-bottom: 1.5rem;  
  border-bottom: 1px solid var(--warm);  
  padding-bottom: 1rem;  
}  
.info-rapide strong { color: var(--navy); font-weight: 500; }  
.prezzo-grande {  
  font-family: var(--serif);  
  font-size: 2.2rem;  
  color: var(--gold);  
  font-weight: 400;  
  letter-spacing: -.01em;  
}  
  
/* ── GALLERIA ── */  
.gallery { margin-bottom: 3rem; }  
.gallery-main {  
  aspect-ratio: 16/9;  
  background: var(--warm);  
  overflow: hidden;  
  cursor: pointer;  
  position: relative;  
}  
.gallery-main img {  
  width: 100%; height: 100%;  
  object-fit: cover;  
  transition: transform var(--trans);  
}  
.gallery-main:hover img { transform: scale(1.02); }  
.gallery-main-hint {  
  position: absolute; bottom: 1rem; right: 1rem;  
  background: rgba(15,31,56,.75);  
  color: rgba(255,255,255,.8);  
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;  
  padding: .3rem .8rem;  
  backdrop-filter: blur(4px);  
}  
.gallery-thumbs {  
  display: grid;  
  grid-template-columns: repeat(6, 1fr);  
  gap: .4rem;  
  margin-top: .4rem;  
  width: 100%;  
}  
.thumb {  
  width: 100%; height: 68px;  
  object-fit: cover;  
  background: var(--warm);  
  cursor: pointer;  
  opacity: .55;  
  transition: opacity var(--trans);  
  display: block;  
}  
.thumb.active, .thumb:hover { opacity: 1; }  
.thumb-more {  
  width: 100%; height: 68px;  
  display: flex; align-items: center; justify-content: center;  
  background: var(--navy); color: var(--white);  
  font-size: .75rem; font-weight: 500;  
  cursor: pointer; letter-spacing: .05em;  
}  
  
/* ── SEZIONI CONTENUTO ── */  
.section-block { margin-bottom: 3rem; }  
.section-block h2 {  
  font-family: var(--serif);  
  font-size: 1.8rem; font-weight: 300;  
  color: var(--navy);  
  margin-bottom: 1.5rem;  
  padding-bottom: .8rem;  
  border-bottom: 1px solid rgba(184,150,90,.2);  
  display: flex; align-items: center; gap: .8rem;  
}  
.section-block h2::before {  
  content: '';  
  display: block;  
  width: 30px; height: 1px;  
  background: var(--gold);  
  flex-shrink: 0;  
}  
.descrizione-text {  
  line-height: 1.9;  
  color: var(--muted);  
  font-size: .92rem;  
}  
  
/* ── TABELLA CARATTERISTICHE ── */  
.caratteristiche-table {  
  width: 100%;  
  border-collapse: collapse;  
}  
.caratteristiche-table tr:nth-child(odd) { background: var(--cream); }  
.caratteristiche-table tr:nth-child(even) { background: var(--white); }  
.caratteristiche-table td {  
  padding: .85rem 1.2rem;  
  border-bottom: 1px solid var(--warm);  
  font-size: .85rem;  
}  
.caratteristiche-table td:first-child {  
  font-weight: 500;  
  color: var(--gold);  
  text-transform: uppercase;  
  letter-spacing: .1em;  
  width: 40%;  
  font-size: .78rem;  
}  
.caratteristiche-table td:last-child {  
  color: var(--navy);  
  font-weight: 400;  
}  
  
/* ── MAPPA (FIX: rimossa pointer-events:none per renderla cliccabile) ── */  
.mappa-container {  
  width: 100%; height: 320px;  
  background: var(--warm);  
  overflow: hidden;  
}  
.mappa-container iframe {  
  width: 100%; height: 100%; border: 0;  
}  
  
/* ── SIDEBAR ── */  
.sidebar {  
  position: sticky;  
  top: 100px;  
  align-self: start;  
}  
.card-sidebar {  
  background: var(--cream);  
  padding: 2rem;  
  border: 1px solid rgba(184,150,90,.15);  
  margin-bottom: 0;  
}  
.prezzo-sidebar {  
  font-family: var(--serif);  
  font-size: 2rem; font-weight: 400;  
  color: var(--gold);  
  margin-bottom: 1rem;  
  letter-spacing: -.01em;  
}  
.specs-sidebar {  
  display: flex; gap: 1rem; flex-wrap: wrap;  
  border-top: 1px solid rgba(184,150,90,.2);  
  border-bottom: 1px solid rgba(184,150,90,.2);  
  padding: 1rem 0; margin-bottom: 1.5rem;  
}  
.specs-sidebar span {  
  font-size: .78rem; color: var(--muted);  
  display: flex; flex-direction: column; gap: .1rem;  
}  
.specs-sidebar strong { color: var(--navy); font-weight: 600; font-size: .88rem; }  
.qr-container {  
  text-align: center;  
  margin: 1.5rem 0;  
  padding: 1.2rem;  
  background: var(--white);  
  border: 1px solid rgba(184,150,90,.15);  
}  
.qr-container img { width: 120px; height: 120px; margin-bottom: .6rem; display: block; margin: 0 auto .6rem; }  
.qr-container p { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }  
  
.btn-primary-sb {  
  background: var(--gold); color: var(--white);  
  padding: .9rem; width: 100%;  
  text-align: center; text-decoration: none;  
  text-transform: uppercase; font-size: .7rem;  
  letter-spacing: .2em; font-weight: 500;  
  display: block; margin-bottom: .8rem;  
  transition: background var(--trans);  
  border: none; cursor: pointer;  
  font-family: var(--sans);  
}  
.btn-primary-sb:hover { background: var(--navy); }  
  
.btn-outline-sb {  
  border: 1px solid var(--gold); color: var(--gold);  
  background: transparent; padding: .9rem; width: 100%;  
  text-align: center; text-decoration: none;  
  text-transform: uppercase; font-size: .7rem;  
  letter-spacing: .2em; display: block; margin-bottom: .8rem;  
  transition: all var(--trans);  
}  
.btn-outline-sb:hover { background: var(--gold); color: var(--white); }  
  
.btn-phone-sb {  
  background: var(--navy); color: var(--white);  
  padding: .9rem; width: 100%;  
  text-align: center; text-decoration: none;  
  text-transform: uppercase; font-size: .7rem;  
  letter-spacing: .2em; display: block; margin-bottom: 1.5rem;  
  transition: background var(--trans);  
}  
.btn-phone-sb:hover { background: var(--gold); }  
  
/* Form mini */  
.form-divider {  
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;  
  color: var(--gold); margin-bottom: 1rem;  
  display: flex; align-items: center; gap: .6rem; margin-right: auto;  
}  
.form-divider::before, .form-divider::after {  
  content: ''; flex: 1; height: 1px; background: rgba(184,150,90,.2);  
}  
.form-mini input, .form-mini textarea {  
  width: 100%; padding: .75rem .9rem;  
  margin-bottom: .7rem;  
  border: 1px solid rgba(184,150,90,.25);  
  background: var(--white);  
  font-family: var(--sans);  
  font-size: .82rem; font-weight: 300;  
  color: var(--text); outline: none;  
  transition: border-color var(--trans);  
}  
.form-mini input:focus, .form-mini textarea:focus { border-color: var(--gold); }  
.form-mini textarea { height: 90px; resize: vertical; }  
  
.info-agenzia {  
  font-size: .78rem; line-height: 1.7;  
  margin-top: 1.5rem; color: var(--muted);  
  padding-top: 1.2rem;  
  border-top: 1px solid rgba(184,150,90,.15);  
}  
.info-agenzia strong { color: var(--navy); font-size: .82rem; }  
  
/* ── SIDEBAR NUOVA (classi JS-generated) ── */  
.sidebar-card {  
  background: var(--cream);  
  border: 1px solid rgba(184,150,90,.18);  
  padding: 1.8rem;  
  margin-bottom: 1.2rem;  
}  
.sidebar-price-header {  
  border-bottom: 1px solid rgba(184,150,90,.2);  
  padding-bottom: 1.2rem;  
  margin-bottom: 1.2rem;  
}  
.sidebar-price {  
  font-family: var(--serif);  
  font-size: 1.9rem; font-weight: 400;  
  color: var(--gold); letter-spacing: -.01em;  
  margin-bottom: .3rem;  
}  
.sidebar-price em { font-style: normal; }  
.sidebar-price-sub {  
  font-size: .75rem; color: var(--muted);  
  letter-spacing: .1em; text-transform: uppercase;  
  margin-bottom: 1rem;  
}  
.sidebar-specs-strip {  
  display: flex; gap: 1.2rem;  
}  
.sspec {  
  display: flex; flex-direction: column; align-items: center;  
  background: var(--white);  
  border: 1px solid rgba(184,150,90,.15);  
  padding: .6rem 1rem;  
  min-width: 56px;  
}  
.sspec-v {  
  font-family: var(--serif);  
  font-size: 1.2rem; color: var(--navy); font-weight: 500;  
}  
.sspec-l {  
  font-size: .6rem; color: var(--muted);  
  text-transform: uppercase; letter-spacing: .12em;  
}  
.sidebar-badges {  
  display: flex; flex-wrap: wrap; gap: .5rem;  
  margin-bottom: 1.2rem;  
}  
.s-badge {  
  font-size: .62rem; letter-spacing: .14em;  
  text-transform: uppercase; padding: .3rem .7rem;  
  font-family: var(--sans);  
}  
.s-badge-green  { background: rgba(42,122,58,.1);  color: #2a7a3a; }  
.s-badge-gold   { background: rgba(184,150,90,.12); color: var(--gold); }  
.s-badge-navy   { background: rgba(15,31,56,.08);   color: var(--navy); }  
.sidebar-cta-body {  
  display: flex; flex-direction: column; gap: .7rem;  
  margin-bottom: 1.4rem;  
}  
.cta-primary {  
  background: var(--gold); color: var(--white);  
  border: none; padding: .9rem 1rem; width: 100%;  
  font-family: var(--sans); font-size: .72rem;  
  letter-spacing: .18em; text-transform: uppercase;  
  cursor: pointer; transition: background var(--trans);  
}  
.cta-primary:hover { background: var(--navy); }  
.cta-whatsapp {  
  background: #1A6B1A; color: var(--white);  
  border: none; padding: .85rem 1rem; width: 100%;  
  font-family: var(--sans); font-size: .72rem;  
  letter-spacing: .14em; text-transform: uppercase;  
  cursor: pointer; transition: background var(--trans);  
  display: flex; align-items: center; justify-content: center; gap: .5rem;  
}  
.cta-whatsapp:hover { background: #128c4e; }  
.cta-phone {  
  display: flex; align-items: center; justify-content: center; gap: .5rem;  
  background: var(--navy); color: var(--white);  
  padding: .85rem 1rem; width: 100%;  
  font-family: var(--sans); font-size: .72rem;  
  letter-spacing: .14em; text-transform: uppercase;  
  text-decoration: none; transition: background var(--trans);  
}  
.cta-phone:hover { background: var(--gold); color: var(--white); }  
.sidebar-agent {  
  display: flex; align-items: center; gap: .9rem;  
  padding-top: 1.2rem;  
  border-top: 1px solid rgba(184,150,90,.15);  
  font-size: .75rem; color: var(--muted);  
}  
.agent-avatar {  
  width: 42px; height: 42px;  
  border-radius: 6px; flex-shrink: 0;  
  display: block; object-fit: cover;
}  
/* Form sidebar */  
.sidebar-form-card {  
  background: var(--cream);  
  border: 1px solid rgba(184,150,90,.18);  
  padding: 1.8rem;  
  margin-bottom: 1.2rem;  
}  
.sidebar-form-header {  
  font-size: .65rem; letter-spacing: .25em;  
  text-transform: uppercase; color: var(--gold);  
  margin-bottom: 1.2rem;  
  padding-bottom: .8rem;  
  border-bottom: 1px solid rgba(184,150,90,.2);  
}  
.sidebar-form-body { display: flex; flex-direction: column; gap: .8rem; }  
.sf-group { display: flex; flex-direction: column; gap: .35rem; }  
.sf-group label {  
  font-size: .62rem; letter-spacing: .15em;  
  text-transform: uppercase; color: var(--muted);  
}  
.sf-group input, .sf-group select, .sf-group textarea {  
  width: 100%; padding: .7rem .9rem;  
  border: 1px solid rgba(184,150,90,.25);  
  background: var(--white);  
  font-family: var(--sans); font-size: .82rem;  
  color: var(--text); outline: none;  
  transition: border-color var(--trans);  
  box-sizing: border-box;  
}  
.sf-group input:focus, .sf-group select:focus, .sf-group textarea:focus {  
  border-color: var(--gold);  
}  
.sf-group textarea { height: 80px; resize: vertical; }  
.sf-privacy {  
  font-size: .7rem; color: var(--muted); line-height: 1.5;  
}  
.sf-privacy a { color: var(--gold); }  
/* QR card */  
.sidebar-qr-card {  
  background: var(--cream);  
  border: 1px solid rgba(184,150,90,.18);  
  padding: 1.5rem;  
  text-align: center;  
  margin-bottom: 1.2rem;  
}  
.sidebar-qr-card img { width: 110px; height: 110px; margin: 0 auto .8rem; display: block; }  
.sidebar-qr-card p {  
  font-size: .62rem; letter-spacing: .18em;  
  text-transform: uppercase; color: var(--muted);  
  margin-bottom: .3rem;  
}  
/* Info agenzia card */  
.sidebar-agency-card,  
.sidebar-info-card {  
  background: var(--navy);  
  border: 1px solid rgba(184,150,90,.25);  
  padding: 1.8rem;  
  font-size: .78rem; color: rgba(255,255,255,.7); line-height: 1.9;  
}  
.sidebar-info-card a,  
.sidebar-agency-card a {  
  color: var(--gold) !important;  
  text-decoration: none;  
}  
.sidebar-info-card a:hover,  
.sidebar-agency-card a:hover {  
  color: var(--white) !important;  
}  
.sidebar-agency-card .sic-label {  
  font-size: .58rem; letter-spacing: .25em; text-transform: uppercase;  
  color: var(--gold); margin-bottom: 1.2rem; display: block;  
  border-bottom: 1px solid rgba(184,150,90,.25); padding-bottom: .8rem;  
}  
.sidebar-agency-card .sic-row {  
  display: flex; flex-direction: column; gap: .15rem;  
  margin-bottom: .9rem; padding-bottom: .9rem;  
  border-bottom: 1px solid rgba(255,255,255,.08);  
}  
.sidebar-agency-card .sic-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }  
.sidebar-agency-card .sic-key {  
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;  
  color: var(--gold);  
}  
.sidebar-agency-card .sic-value { color: rgba(255,255,255,.85); font-size: .8rem; }  
.sidebar-agency-card strong { color: var(--white); }  
.sidebar-agency-card a { color: var(--gold); text-decoration: none; }  
.sidebar-agency-card a:hover { color: var(--white); }  
  
/* ── CORRELATI ── */  
.correlati-section {  
  max-width: 1280px;  
  margin: 0 auto 5rem;  
  padding: 0 3rem;  
}  
.correlati-section h2 {  
  font-family: var(--serif);  
  font-size: 2rem; font-weight: 300;  
  color: var(--navy);  
  margin-bottom: 2rem;  
  display: flex; align-items: center; gap: .8rem;  
}  
.correlati-section h2::before {  
  content: ''; display: block;  
  width: 30px; height: 1px; background: var(--gold);  
}  
.correlati-grid {  
  display: grid;  
  grid-template-columns: repeat(3, 1fr);  
  gap: 1.5rem;  
}  
.correlata-card {  
  border: 1px solid rgba(184,150,90,.15);  
  overflow: hidden;  
  transition: transform var(--trans), box-shadow var(--trans);  
  background: var(--white);  
  text-decoration: none; color: inherit; display: block;  
}  
.correlata-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,31,56,.1); }  
.correlata-img { aspect-ratio: 4/3; overflow: hidden; background: var(--warm); position: relative; }
.correlata-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.correlata-card:hover .correlata-img img { transform: scale(1.05); }
.correlata-badge { position: absolute; top: .7rem; left: .7rem; background: var(--gold); color: #fff; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 2px; z-index: 1; }
.correlata-body { padding: 1.2rem; }
.correlata-location { font-size: .6rem; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; margin-bottom: .3rem; }
.correlata-title { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); margin-bottom: .5rem; line-height: 1.3; }
.correlata-specs { display: flex; gap: 1rem; font-size: .72rem; color: #6b7a8d; margin-bottom: .5rem; }
.correlata-price { font-family: var(--serif); font-size: 1rem; color: var(--gold); font-weight: 400; }  
  
/* ── FOOTER ── */  
footer {  
  background: #0a1628;  
  padding: 4rem 3rem 2rem;  
  color: rgba(255,255,255,.5);  
}  
.footer-grid {  
  display: grid;  
  grid-template-columns: 2fr 1fr 1fr 1fr;  
  gap: 3rem; max-width: 1280px; margin: 0 auto 3rem;  
}  
.footer-logo {  
  font-family: var(--serif); font-size: 1.4rem;  
  color: var(--white); text-decoration: none;  
  display: block; margin-bottom: 1rem;  
}  
.footer-about { font-size: .82rem; line-height: 1.8; margin-bottom: 1rem; }  
.footer-col h4 {  
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;  
  color: var(--gold); margin-bottom: 1.2rem;  
}  
.footer-col ul { list-style: none; }  
.footer-col li { margin-bottom: .6rem; }  
.footer-col a, .footer-col span {  
  color: rgba(255,255,255,.5); text-decoration: none;  
  font-size: .82rem; transition: color var(--trans);  
  display: block;  
}  
.footer-col a:hover { color: var(--gold-lt); }  
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem; max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .72rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-lt); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {  
  position: fixed; bottom: 25px; right: 25px;  
  background: #1A6B1A; color: white;  
  width: 60px; height: 60px; border-radius: 50%;  
  display: flex; align-items: center; justify-content: center;  
  font-size: 28px;  
  box-shadow: 0 4px 15px rgba(0,0,0,.2);  
  z-index: 1000; transition: all .3s; text-decoration: none;  
}  
.whatsapp-float:hover { transform: scale(1.1); background: #20b358; }  
  
/* ── COOKIE BANNER ── */  
.cookie-banner {  
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;  
  background: rgba(10,22,40,.97); backdrop-filter: blur(10px);  
  padding: 1.5rem 3rem;  
  display: flex; align-items: center; justify-content: space-between;  
  gap: 2rem; transform: translateY(100%); transition: transform .5s ease;  
}  
.cookie-banner.show { transform: translateY(0); }  
.cookie-text { font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.6; max-width: 600px; }  
.cookie-text a { color: var(--gold-lt); }  
.cookie-btns { display: flex; gap: .8rem; flex-shrink: 0; }  
.cookie-accept {  
  background: var(--gold); color: var(--white); border: none;  
  padding: .6rem 1.6rem; font-family: var(--sans); font-size: .72rem;  
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;  
  transition: background var(--trans);  
}  
.cookie-accept:hover { background: var(--gold-lt); }  
.cookie-refuse {  
  background: none; color: rgba(255,255,255,.5);  
  border: 1px solid rgba(255,255,255,.2); padding: .6rem 1.6rem;  
  font-family: var(--sans); font-size: .72rem; letter-spacing: .12em;  
  text-transform: uppercase; cursor: pointer;  
  transition: all var(--trans);  
}  
.cookie-refuse:hover { border-color: var(--gold); color: var(--gold); }  
  
/* ── SECTION HEADER ── */  
.section-header {  
  display: flex; align-items: center; gap: .8rem;  
  margin-bottom: 1.5rem; padding-bottom: 1rem;  
  border-bottom: 1px solid var(--warm);  
}  
.section-header-line { width: 30px; height: 1px; background: var(--gold); flex-shrink: 0; }  
.section-header h2 {  
  font-family: var(--serif); font-size: 1.4rem; font-weight: 300; color: var(--navy);  
}  
.desc-text { font-size: .9rem; color: var(--text); line-height: 1.9; }  
.desc-text p { margin-bottom: 1rem; }  
.desc-text strong { color: var(--navy); font-weight: 500; }  
.desc-highlight {  
  background: linear-gradient(135deg, rgba(184,150,90,.08), rgba(184,150,90,.04));  
  border-left: 3px solid var(--gold); padding: 1.2rem 1.5rem;  
  margin: 1.5rem 0; border-radius: 0 4px 4px 0;  
}  
.desc-highlight p { margin: 0; font-size: .88rem; color: var(--navy); }  
  
/* ── VIDEO ── */  
.video-section {  
  background: var(--white); border: 1px solid rgba(184,150,90,.15);  
  margin-bottom: 1.5rem; overflow: hidden;  
}  
.video-section-header {  
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--warm);  
  display: flex; align-items: center; gap: .6rem; margin-right: auto;  
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);  
}  
.video-section-header svg { color: var(--gold); }  
.video-wrap { position: relative; aspect-ratio: 16/9; background: var(--navy); }  
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }  
  
/* ── PLANIMETRIE ── */  
.planimetria-thumb {  
  border: 1px solid rgba(184,150,90,.2);  
  overflow: hidden; cursor: pointer;  
  transition: transform var(--trans), box-shadow var(--trans);  
  background: var(--cream);  
}  
.planimetria-thumb:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(15,31,56,.12); }  
.planimetria-thumb img { width: 100%; height: auto; display: block; }  
.planimetria-label { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); padding: .6rem 1rem; text-align: center; }  
  
  
.lightbox {  
  display: none;  
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;  
  background: rgba(0,0,0,.92); z-index: 2000;  
  justify-content: center; align-items: center; flex-direction: column;  
}  
.lightbox.active { display: flex; }  
.lightbox-img { max-width: 90%; max-height: 80vh; object-fit: contain; }  
.lightbox-close {  
  position: absolute; top: 20px; right: 30px;  
  color: rgba(255,255,255,.7); font-size: 40px;  
  cursor: pointer; line-height: 1; transition: color var(--trans);  
  font-family: sans-serif; font-weight: 300;  
}  
.lightbox-close:hover { color: var(--gold); }  
.lightbox-prev, .lightbox-next {  
  position: absolute; top: 50%; transform: translateY(-50%);  
  background: rgba(255,255,255,.1); color: white;  
  padding: 1rem 1.2rem; cursor: pointer;  
  font-size: 1.5rem; user-select: none;  
  transition: background var(--trans);  
}  
.lightbox-prev { left: 20px; }  
.lightbox-next { right: 20px; }  
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(184,150,90,.4); }  
.lightbox-counter {  
  position: absolute; bottom: 20px;  
  color: rgba(255,255,255,.6); font-size: .78rem;  
  letter-spacing: .15em; text-transform: uppercase;  
}  
  
/* ── STATO ERRORE ── */  
.error-state {  
  grid-column: 1 / -1;  
  text-align: center;  
  padding: 6rem 2rem;  
}  
.error-state h2 {  
  font-family: var(--serif); font-size: 2rem;  
  font-weight: 300; color: var(--navy); margin-bottom: 1rem;  
}  
.error-state p { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }  
  
/* ── REVEAL ── */  
.reveal { opacity: 0; transform: translateY(20px); transition: all .7s ease; }  
.reveal.visible { opacity: 1; transform: translateY(0); }  
  
/* ── MOBILE CTA BAR ── */  
.mobile-cta-bar {  
  display: none;  
  position: fixed; bottom: 0; left: 0; right: 0;  
  background: var(--navy); z-index: 998;  
  padding: .8rem 1rem;  
  gap: .5rem;  
}  
.mobile-cta-bar a {  
  flex: 1; text-align: center; padding: .75rem;  
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;  
  font-weight: 500; text-decoration: none;  
}  
.mobile-cta-call { background: var(--white); color: var(--navy); }  
.mobile-cta-wa { background: #1A6B1A; color: var(--white); }  
  
/* ── RESPONSIVE ── */
@media (max-width: 1400px) {
  .topbar-left span { display: none; }
  .topbar { padding: .55rem 1.5rem; }
  .topbar-left { gap: 1.2rem; }
}

@media (max-width: 1024px) {  
  .main-container { grid-template-columns: 1fr; }  
  .sidebar { position: static; }  
  .correlati-grid { grid-template-columns: repeat(2,1fr); }  
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; }  
}  
@media (max-width: 768px) {  
  .topbar { display: none; }  
  nav { padding: 0 1.5rem; }  
  .nav-links { display: none; }  
  .main-container { padding: 2rem 1.5rem; }  
  .breadcrumb { padding: 1rem 1.5rem; }  
  .correlati-section { padding: 0 1.5rem; }  
  .correlati-grid { grid-template-columns: 1fr; }  
  .footer-grid { grid-template-columns: 1fr; }  
  footer { padding: 3rem 1.5rem 2rem; }  
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }  
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1.5rem; }  
  .mobile-cta-bar { display: flex; }  
  body { padding-bottom: 70px; }  
  .descrizione-text { font-size: 1.05rem; }  
}  
  
/* ── SELETTORE LINGUA MOBILE (navbar) ── */  
.nav-lang-select {  
  display: none;  
  background: none;  
  border: 1px solid rgba(184,150,90,.5);  
  color: var(--navy);  
  font-family: var(--sans);  
  font-size: .72rem;  
  letter-spacing: .08em;  
  padding: .3rem .5rem;  
  cursor: pointer;  
  outline: none;  
  transition: border-color var(--trans);  
}  
.nav-lang-select:focus { border-color: var(--gold); }  
@media (max-width: 768px) {  
  .nav-lang-select { display: block; }  
}  
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: .4rem; }  
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; transition: var(--trans); }  
@media (max-width: 768px) {  
  .menu-toggle { display: flex; }  
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); flex-direction: column; padding: 1.5rem; gap: 1.2rem; z-index: 99; border-bottom: 1px solid rgba(184,150,90,.2); box-shadow: 0 8px 20px rgba(15,31,56,.08); list-style: none; }  
  .nav-links.show { display: flex; }  
}  
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .logo-img { height: 28px; }
  .footer-logo-img { height: 22px; }
}

.footer-col li { font-size: .82rem; }
.footer-col li span { font-size: inherit; color: rgba(255,255,255,.5); }

.footer-social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.2); transition: background .2s, border-color .2s; }
.footer-social-link:hover { background: var(--gold); border-color: var(--gold); }
.footer-social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,.9); }
.footer-social-link:hover svg { fill: var(--white); }