/* ═══════════════════════════════════════════════════════════
   GARDAIMMOBILI — home.css
   CSS completo per template: index.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);
  --transition: .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;
}

/* ── 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 {
  display: inline-block; text-decoration: none;
  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: all 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;
}
.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; 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; border: none;
  font-size: .72rem !important; letter-spacing: .14em;
  transition: background var(--trans) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy) !important; color: var(--white) !important; }

/* ── HERO ── */
.hero {
  position: relative; height: 92vh; min-height: 600px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(15,31,56,.65) 0%, rgba(15,31,56,.2) 50%, rgba(184,150,90,.15) 100%),
    url('/assets/images/hero/soggiorno-vista-lago-garda-lusso.webp') center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.00); } }

.hero-content {
  position: relative; z-index: 2;
  padding: 4rem 3rem 5rem;
  max-width: 700px;
  animation: fadeUp .9s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

.hero-tag {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .8rem;
}
.hero-tag::before { content:''; display:block; width:40px; height:1px; background: var(--gold); }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }

.hero p {
  color: rgba(255,255,255,.8);
  font-size: .95rem; line-height: 1.8;
  margin-bottom: 2.5rem; max-width: 480px;
}
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--white);
  padding: .85rem 2.2rem; text-decoration: none;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 500; transition: all var(--trans); display: inline-block;
}
.btn-primary:hover { background: var(--white); color: var(--navy); }
.btn-outline {
  border: 1px solid rgba(255,255,255,.5); color: var(--white);
  padding: .85rem 2.2rem; text-decoration: none;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 400; transition: all var(--trans); display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ── SEARCH BAR ── */
.search-section {
  background: var(--navy);
  padding: 2rem 3rem;
}
.search-form {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 1px; background: rgba(255,255,255,.1);
  max-width: 1100px; margin: 0 auto;
}
.search-field {
  background: rgba(255,255,255,.06);
  padding: 1rem 1.4rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.search-field label {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lt);
}
.search-field select, .search-field input {
  background: none; border: none; outline: none;
  color: var(--white); font-family: var(--sans);
  font-size: .85rem; font-weight: 300;
  cursor: pointer;
}
.search-field select option { background: var(--navy); }
.search-btn {
  background: var(--gold); border: none; cursor: pointer;
  color: var(--white); padding: 0 2rem;
  font-family: var(--sans); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  font-weight: 500; transition: background var(--trans);
}
.search-btn:hover { background: var(--gold-lt); }

/* ── SECTION COMMONS ── */
section { padding: 6rem 3rem; }
.section-tag {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8rem;
  display: flex; align-items: center; gap: .8rem;
}
.section-tag::before { content:''; display:block; width:30px; height:1px; background: var(--gold); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.2;
  color: var(--navy); margin-bottom: 1rem;
}
.section-sub {
  font-size: .9rem; color: var(--muted); line-height: 1.8;
  max-width: 560px; margin-bottom: 3rem;
}

/* ── KPI STRIP ── */
.kpi-strip {
  background: var(--cream); padding: 3.5rem 3rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(184,150,90,.2);
  border-bottom: 1px solid rgba(184,150,90,.2);
}
.kpi-item {
  text-align: center; padding: 1.5rem 1rem;
  border-right: 1px solid rgba(184,150,90,.2);
}
.kpi-item:last-child { border-right: none; }
.kpi-num {
  font-family: var(--serif);
  font-size: 3rem; font-weight: 300;
  color: var(--navy); line-height: 1;
  margin-bottom: .4rem;
}
.kpi-num span { color: var(--gold); }
.kpi-label {
  font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

/* ── IMMOBILI GRID ── */
.immobili-section { background: var(--white); }
.immobili-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 3rem;
}
.view-all {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  display: flex; align-items: center; gap: .5rem;
  transition: gap var(--trans);
}
.view-all:hover { gap: .9rem; }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.prop-card {
  background: var(--white);
  border: 1px solid rgba(184,150,90,.15);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
}
.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15,31,56,.12);
}

.prop-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--warm);
}

.prop-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.prop-card:hover .prop-img img { transform: scale(1.06); }
.prop-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--white);
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .3rem .8rem;
}
.prop-badge.exclusive {
  background: var(--navy);
}
.prop-price {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(15,31,56,.85); color: var(--white);
  font-family: var(--serif); font-size: 1.1rem;
  padding: .4rem .9rem; backdrop-filter: blur(4px);
}
.prop-body { padding: 1.5rem; display: flex; flex-direction: column; }
.prop-location {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .5rem;
}
.prop-title {
  font-family: var(--serif); font-size: 1.25rem;
  color: var(--navy); margin-bottom: .8rem; line-height: 1.3;
}
.prop-desc {
  font-size: .83rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 1.2rem;
  flex: 1;
}
.prop-specs {
  display: flex; gap: 1.5rem;
  font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  border-top: 1px solid var(--warm); padding-top: 1rem;
  margin-bottom: 1rem;
}
.prop-spec { display: flex; align-items: center; gap: .4rem; }
.prop-spec svg { color: var(--gold); }
.btn-visita {
  width: 100%;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: .6rem;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--trans);
  font-family: var(--sans);
  font-weight: 500;
  margin-top: .5rem;
}
.btn-visita:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── EXCLUSIVE BANNER ── */
.exclusive-banner {
  background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 500px; overflow: hidden;
  padding: 0;
}
.exc-img {
  background: url('/assets/images/misc/terrazza-jacuzzi-lago-garda.webp') center/cover;
  min-height: 400px;
}
.exc-content {
  padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.exc-tag {
  font-size: .65rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .8rem;
}
.exc-tag::before { content:''; display:block; width:30px; height:1px; background: var(--gold); }
.exc-content h2 {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--white); line-height: 1.2;
  margin-bottom: 1.5rem;
}
.exc-content h2 em { font-style: italic; color: var(--gold-lt); }
.exc-content p {
  color: rgba(255,255,255,.65); font-size: .9rem;
  line-height: 1.9; margin-bottom: 2.5rem;
}

/* ── SERVIZI ── */
.servizi-section { background: var(--cream); }
.servizi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 1rem;
}
.servizio-card {
  background: var(--white); padding: 2.5rem 2rem;
  border-bottom: 3px solid transparent;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.servizio-card:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(15,31,56,.08);
}
.servizio-icon {
  width: 48px; height: 48px;
  background: var(--cream); border: 1px solid rgba(184,150,90,.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; color: var(--gold);
}
.servizio-card h3 {
  font-family: var(--serif); font-size: 1.3rem;
  color: var(--navy); margin-bottom: .8rem;
}
.servizio-card p {
  font-size: .85rem; color: var(--muted); line-height: 1.8;
}

/* ── VALUTAZIONE CTA ── */
.valutazione-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3260 100%);
  text-align: center; padding: 7rem 3rem;
  position: relative; overflow: hidden;
}
.valutazione-section::before {
  content: '';
  position: absolute; top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: rgba(184,150,90,.05);
  transform: rotate(-15deg);
  pointer-events: none;
}
.valutazione-section h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; color: var(--white); margin-bottom: 1rem;
}
.valutazione-section h2 em { font-style: italic; color: var(--gold-lt); }
.valutazione-section p {
  color: rgba(255,255,255,.65); font-size: .95rem;
  line-height: 1.8; max-width: 550px; margin: 0 auto 3rem;
}
.valutazione-form {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1px; background: rgba(255,255,255,.1);
  max-width: 860px; margin: 0 auto;
}
.val-field {
  background: rgba(255,255,255,.07); padding: 1.1rem 1.4rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.val-field label {
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-lt);
}
.val-field input, .val-field select {
  background: none; border: none; outline: none;
  color: var(--white); font-family: var(--sans); font-size: .88rem;
}
.val-field select option { background: var(--navy); }
.val-submit {
  background: var(--gold); border: none; cursor: pointer;
  color: var(--white); padding: 0 2rem;
  font-family: var(--sans); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  font-weight: 500; transition: background var(--trans);
}
.val-submit:hover { background: var(--gold-lt); }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--white); }

/* ── SLIDESHOW RECENSIONI ── */
.testi-slideshow { position: relative; overflow: hidden; }
.testi-slide { display: none; animation: testi-fadein .45s ease; }
.testi-slide.active { display: block; }
@keyframes testi-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.testi-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 66.7%;
  margin: 0 auto;
}
.testi-card {
  padding: 2rem 2rem 1.8rem; border: 1px solid rgba(184,150,90,.18);
  position: relative; background: var(--cream);
  transition: box-shadow var(--trans);
  opacity: 1;
}
.testi-card:hover { box-shadow: 0 8px 28px rgba(15,31,56,.08); }
.testi-card::before {
  content: '\201C';
  font-family: var(--serif); font-size: 4.5rem;
  color: var(--gold); opacity: .18;
  position: absolute; top: .3rem; left: 1.2rem;
  line-height: 1;
}
.testi-stars { color: #fbbc04; font-size: .85rem; margin-bottom: .7rem; letter-spacing: .05em; }
.testi-text {
  font-family: var(--serif); font-size: 1rem;
  color: var(--navy); line-height: 1.75;
  margin-bottom: 1.4rem; font-style: italic;
}
.testi-footer { display:flex; align-items:center; justify-content:space-between; gap:.8rem; flex-wrap:wrap; }
.testi-author { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.testi-location { font-size: .70rem; color: var(--muted); margin-top: .15rem; }
.testi-verified { display:flex; align-items:center; gap:.3rem; font-size:.62rem; color:#70757a; letter-spacing:.06em; text-transform:uppercase; flex-shrink:0; }
/* ── DOT INDICATOR ── */
.testi-dots { display:flex; justify-content:center; gap:.75rem; margin-top:2.2rem; }
.testi-dot {
  width:8px; height:8px; border-radius:50%;
  border:1px solid var(--gold); background:transparent;
  cursor:pointer; transition:background .3s, transform .3s; padding:0;
}
.testi-dot.active { background:var(--gold); transform:scale(1.25); }
.testi-dot:hover:not(.active) { background:rgba(184,150,90,.3); }

/* ── FRECCE RECENSIONI (solo mobile) ── */
.testi-arrows {
  display: none;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.testi-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans);
  pointer-events: auto;
  touch-action: manipulation;
}
.testi-arrow:hover {
  background: var(--gold);
  color: var(--cream);
  transform: scale(1.08);
}
.testi-arrow:active {
  transform: scale(0.95);
}
@media (max-width: 768px) {
  .testi-arrows {
    display: flex;
  }
}

/* ── CHI SIAMO CON QR ── */
.chi-siamo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center; padding: 6rem 3rem;
}
.chi-img {
  position: relative;
}
.chi-img img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
}
.chi-img::after {
  content: '';
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 60%; height: 60%;
  border: 2px solid var(--gold); z-index: -1;
}
.qr-code {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem;
  background: var(--cream);
  border-radius: 4px;
}
.qr-code img {
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
}
.qr-code p {
  font-size: 0.7rem;
  color: var(--muted);
}
.chi-list { list-style: none; margin-top: 2rem; }
.chi-list li {
  padding: .8rem 0; border-bottom: 1px solid var(--warm);
  font-size: .85rem; color: var(--muted);
  display: flex; align-items: center; gap: .8rem;
}
.chi-list li::before { content: '—'; color: var(--gold); }

/* ── BLOG / NEWS ── */
.blog-section { background: var(--cream); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: var(--white); overflow: hidden; }
.blog-img {
  aspect-ratio: 16/10; overflow: hidden;
  background: var(--warm);
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform .5s ease; }
.blog-img img.img-top { object-position: center top; }
.blog-img img.img-bottom { object-position: center bottom; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 1.8rem; }
.blog-cat {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .6rem;
}
.blog-title {
  font-family: var(--serif); font-size: 1.2rem;
  color: var(--navy); margin-bottom: .8rem; line-height: 1.3;
}
.blog-excerpt { font-size: .83rem; color: var(--muted); line-height: 1.7; }

/* ── CONTATTI ── */
.contatti-section {
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0;
  padding: 0;
}
.contatti-info {
  background: var(--navy); padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.contatti-info h2 {
  font-family: var(--serif); font-size: 2.5rem;
  font-weight: 300; color: var(--white); margin-bottom: 2rem;
}
.contatti-info h2 em { font-style: italic; color: var(--gold-lt); }
.contatti-item {
  margin-bottom: 1.8rem;
}
.contatti-item label {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .3rem;
}
.contatti-item a, .contatti-item p {
  color: rgba(255,255,255,.8); text-decoration: none;
  font-size: .92rem; line-height: 1.6;
  transition: color var(--trans);
}
.contatti-item a:hover { color: var(--gold-lt); }
.social-links { display: flex; gap: 1rem; margin-top: 2.5rem; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all var(--trans);
}
.social-link svg {
  width: 18px; height: 18px;
  fill: rgba(255,255,255,.6);
  transition: fill var(--trans);
}
.social-link:hover { border-color: var(--gold); }
.social-link:hover svg { fill: var(--gold); }

.contatti-form { padding: 5rem 4rem; }
.contatti-form h3 {
  font-family: var(--serif); font-size: 1.8rem;
  color: var(--navy); margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid rgba(184,150,90,.25); padding: .9rem 1rem;
  font-family: var(--sans); font-size: .88rem; color: var(--text);
  outline: none; background: var(--cream);
  transition: border-color var(--trans);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── MAPPA ── */
.mappa-section { height: 380px; background: var(--warm); position: relative; overflow: hidden; }
.mappa-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8e0d5 0%, #d5cfc6 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
}
.mappa-placeholder p { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }
.mappa-placeholder span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ── 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; margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--serif); font-size: 1.4rem;
  color: var(--white); margin-bottom: 1rem; display: block;
}
.footer-about { font-size: .82rem; line-height: 1.8; margin-bottom: 1.5rem; }
.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 {
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: .82rem; transition: color var(--trans);
}
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 2rem;
  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); }

/* ── SKELETON LOADER ── */
@keyframes skel-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.prop-skeleton { pointer-events: none; }
.skel-img {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(90deg, #e8e4dc 25%, #f2efe8 50%, #e8e4dc 75%);
  background-size: 600px 100%;
  animation: skel-shimmer 1.4s infinite linear;
  border-radius: 4px 4px 0 0;
}
.skel-line {
  height: 13px; border-radius: 4px; margin-bottom: 10px;
  background: linear-gradient(90deg, #e8e4dc 25%, #f2efe8 50%, #e8e4dc 75%);
  background-size: 600px 100%;
  animation: skel-shimmer 1.4s infinite linear;
}
.skel-short  { width: 40%; }
.skel-long   { width: 75%; height: 18px; }
.skel-mid    { width: 60%; }
.skel-btns   { display: flex; gap: .6rem; margin-top: 1.2rem; }
.skel-btn    {
  flex: 1; height: 38px; border-radius: 4px;
  background: linear-gradient(90deg, #e8e4dc 25%, #f2efe8 50%, #e8e4dc 75%);
  background-size: 600px 100%;
  animation: skel-shimmer 1.4s infinite linear;
}

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #1A6B1A;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: all 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #155715;
}

/* ── 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); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .prop-card.featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi-item:nth-child(2) { border-right: none; }
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); transition: var(--trans); display: block; }

@media (max-width: 768px) {
  .topbar { display: none; }
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-links.show { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: rgba(255,255,255,.97); padding: 1.5rem; gap: 1rem; z-index: 99; }
  .menu-toggle { display: flex; }
  section { padding: 4rem 1.5rem; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .properties-grid, .servizi-grid, .testi-grid, .blog-grid { grid-template-columns: 1fr; }
  .testi-grid-2 { grid-template-columns: 1fr; max-width: 100%; }
  .exclusive-banner, .chi-siamo, .contatti-section { grid-template-columns: 1fr; }
  .valutazione-form { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.5rem; }
  .hero-content { padding: 2rem 1.5rem 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 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; }
}
.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; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE IMPROVEMENTS — v88 patch
   Solo regole @media: zero impatto sul layout desktop
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* 1 ── SEARCH BAR: padding eccessivo + griglia anomala ──────
     Su mobile la griglia 1fr 1fr lascia il bottone in posizione
     spezzata. Portiamo tutto in colonna singola. */
  .search-section {
    padding: 1.5rem 1rem;
  }
  .search-form {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .search-btn {
    width: 100%;
    padding: 1rem 0;
    font-size: .8rem;
  }

  /* 2 ── PADDING SEZIONI CUSTOM ───────────────────────────────
     Alcune sezioni mantengono il padding desktop (4-5rem laterale)
     che su 390px schiaccia eccessivamente il contenuto. */
  .valutazione-section {
    padding: 4rem 1.5rem;
  }
  .contatti-info {
    padding: 3rem 1.5rem;
  }
  .contatti-form {
    padding: 3rem 1.5rem;
  }
  .exc-content {
    padding: 3rem 1.5rem;
  }
  .exc-img {
    min-height: 260px;
  }

  /* 3 ── KPI STRIP: bordo visibile sul 4° item ────────────────
     Con 2 colonne, solo nth-child(2) era gestito.
     Tutti i pari (2°, 4°) non devono avere border-right. */
  .kpi-item:nth-child(even) {
    border-right: none;
  }

  /* 4 ── CHI SIAMO: bordo decorativo fuori schermo ────────────
     ::after usa right: -1.5rem che su mobile esce dal viewport. */
  .chi-img::after {
    display: none;
  }

  /* 5 ── TOUCH TARGET: min 48×48px (Google / WCAG 2.5.5) ──────
     Bottoni principali sotto la soglia minima di tocco. */
  .btn-primary,
  .btn-outline,
  .btn-visita,
  .nav-cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .testi-arrow {
    width: 48px;
    height: 48px;
  }

  /* 6 ── CONTRASTO TESTO (WCAG AA: min 4.5:1) ─────────────────
     --muted #6b6560 su cream #f7f4ef = ~3.8:1 → insufficiente.
     Scuriamo a #554f4b (~4.7:1). Footer link: .65 vs .5. */
  .kpi-label,
  .prop-desc,
  .blog-excerpt,
  .servizio-card p,
  .section-sub,
  .testi-text {
    color: #554f4b;
  }
  .footer-about,
  .footer-col a {
    color: rgba(255, 255, 255, .65);
  }

  /* 7 ── INPUT FORM: iOS zoom automatico ──────────────────────
     font-size < 16px su input triggera uno zoom non desiderato
     su Safari iOS. Forziamo 1rem (16px) su tutti i campi. */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .val-field input,
  .val-field select,
  .search-field input,
  .search-field select {
    font-size: 1rem;
    min-height: 48px;
  }

  /* 8 ── HERO: titolo ridimensionato per schermi piccoli ──────
     clamp(2.8rem,6vw,5rem) → min a 390px è 2.8rem ≈ 45px,
     troppo grande. Scaliamo verso il basso. */
  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
  .hero p {
    font-size: .88rem;
    margin-bottom: 2rem;
  }

  /* 9 ── SAFE AREA: notch / home bar iOS ─────────────────────
     Elementi fixed vicino ai bordi devono rispettare le
     aree sicure dei dispositivi con notch. */
  .whatsapp-float {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .cookie-banner {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* 10 ── FOOTER LINK: area di tocco ──────────────────────────
     Aumenta spaziatura verticale tra link per facilitare il tocco. */
  .footer-col li {
    margin-bottom: .9rem;
  }
  .footer-col a {
    display: inline-block;
    padding: .2rem 0;
  }

  /* 11 ── TESTI TROPPO PICCOLI SU MOBILE ───────────────────────
     .hero-tag (.68rem=10.88px), .kpi-label (.68rem=10.88px) e
     .search-field label (.6rem=9.6px) sono sotto la soglia
     minima di leggibilità (12px). Li portiamo a .75rem (12px). */
  .hero-tag {
    font-size: .75rem;
  }
  .kpi-label {
    font-size: .75rem;
  }
  .search-field label {
    font-size: .75rem;
  }

  /* 12 ── BOTTONE "RICHIEDI →": area di tocco ─────────────────
     .val-submit non ha altezza minima: risulta 17px, impossibile
     da toccare con il dito. Forziamo min-height 44px (standard
     iOS/Android per touch target). */
  .val-submit {
    min-height: 44px;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

}
