/* ==========================================================================
   C.S. ASTE · CONSULENZA ASTE IMMOBILIARI & SALDO E STRALCIO
   Design System Ufficiale — Ispirato a csasteconsulting.it
   Colori Ufficiali: Rosso C.S. ASTE #a3131d · Antracite #212223 · Navy #131d2e
   ========================================================================== */

:root {
  --paper:          #faf9f6;
  --paper-alt:      #f3f0e8;
  --card:           #ffffff;
  --ink:            #1a1d20;
  --slate:          #33373d;
  --muted:          #636b75;
  --accent:         #a3131d;
  --accent-dark:    #820d15;
  --accent-light:   rgba(163, 19, 29, 0.08);
  --navy:           #131d2e;
  --navy-dark:      #0c131f;
  --gold:           #c89d49;
  --line:           rgba(26, 29, 32, 0.09);
  --line-strong:    rgba(26, 29, 32, 0.18);
  --shadow-sm:      0 4px 14px rgba(19, 29, 46, 0.06);
  --shadow-md:      0 12px 34px rgba(19, 29, 46, 0.10);
  --shadow-lg:      0 24px 60px rgba(19, 29, 46, 0.16);
  --serif:          'Cormorant Garamond', Georgia, serif;
  --sans:           'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-pill:    999px;
  --container:      1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark {
  background: var(--navy);
  color: #f7f5f0;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(163, 19, 29, 0.22), transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(200, 157, 73, 0.12), transparent 40%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.section-dark h2 em { color: #f2d494; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
.section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   Utility Bar & Header
   ========================================================================== */
.utility-bar {
  background: #17181a;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.utility-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a745;
  display: inline-block;
  margin-right: 7px;
}
.utility-right a {
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.utility-right a:hover { color: #f2d494; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

/* Logo Brand Link — exact like csasteconsulting.it */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.brand-logo:hover { transform: scale(1.02); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate);
}
.nav-links a {
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Area Riservata Trigger Button (No Emojis) */
.btn-investor-trigger {
  background: var(--navy);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-investor-trigger:hover {
  background: #1d2c44;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(19, 29, 46, 0.25);
}
.btn-investor-trigger svg {
  stroke: #f2d494;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(163, 19, 29, 0.25);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: #ffffff;
}
.btn-navy:hover {
  background: #1b283d;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.btn-light {
  background: #ffffff;
  color: var(--navy);
}
.btn-light:hover {
  background: #f4f1ea;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.mobile-drawer {
  display: none;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 18px 4%;
  flex-direction: column;
  gap: 12px;
}
.mobile-drawer.is-open { display: flex; }
.mobile-drawer a {
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer a.btn { border-bottom: 0; margin-top: 6px; }

/* ==========================================================================
   HOMEPAGE HERO & CAROSELLO FOTO — Exact like csasteconsulting.it
   ========================================================================== */
.hero-official {
  position: relative;
  min-height: 660px;
  background-color: #15181e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 110px 0 130px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease-in-out, transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-official-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.65) 100%);
  pointer-events: none;
}
.hero-official-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin-inline: auto;
  padding: 0 20px;
}
.hero-official-title {
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-official-subtitle {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-family: var(--sans);
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hero-official-tagline {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 700px;
  margin: 0 auto 28px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Indicatori carosello foto */
.hero-carousel-dots {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
.hero-dot.active {
  background: var(--accent);
  border-color: #ffffff;
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(163, 19, 29, 0.6);
}

/* Floating Search Bar (Motore di Ricerca csasteconsulting.it) */
.hero-search-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -46px;
  padding: 0 16px;
}
.hero-search-bar {
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.2);
  padding: 8px 10px 8px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1.15fr auto;
  align-items: center;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.search-field select {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #2b2f38;
  outline: none;
  cursor: pointer;
  padding: 12px 28px 12px 6px;
  font-family: var(--sans);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: color 0.2s ease;
}
.search-field select::-ms-expand {
  display: none;
}
.search-field select:focus {
  color: var(--accent);
}
.search-divider {
  width: 1px;
  height: 36px;
  background: #e2e8f0;
}
.search-btn {
  padding: 14px 44px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 40px;
  background: #a3131d;
  color: #ffffff;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}
.search-btn:hover {
  background: #850f17;
  transform: translateY(-1px);
}

/* Badge Lingua [ IT ] in Navbar */
.lang-badge {
  border: 1.5px solid var(--ink);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  user-select: none;
  letter-spacing: 0.05em;
}

/* Quick Trust Pill beneath search */
.hero-trust-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* ==========================================================================
   4 Pilastri (Facts Bar)
   ========================================================================== */
.facts-bar {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 36px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact-cell {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}
.fact-cell:last-child { border-right: 0; }
.fact-num {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.fact-cell h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.fact-cell p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   CHI SIAMO & FONDATORE SALVATORE TATA (Dedicated Section)
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}
.founder-media-stack {
  position: relative;
}
.founder-portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 4.4;
  background: var(--navy);
}
.founder-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.founder-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  max-width: 270px;
}
.founder-badge-card small {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 800;
}
.founder-badge-card strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 2px;
}

.founder-quote {
  margin: 22px 0;
  padding: 16px 20px;
  background: var(--paper-alt);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}
.founder-quote span {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.sedi-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}
.sede-pill {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
}

/* ==========================================================================
   Aste Immobiliari Showcase Cards
   ========================================================================== */
.auction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.auction-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}
.auction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.auction-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.auction-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.auction-card:hover .auction-thumb img { transform: scale(1.04); }
.auction-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(19, 29, 46, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.auction-price-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}
.auction-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 14px;
}
.auction-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.auction-loc {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
}
.auction-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.spec-chip {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tab-btn {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.item-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.item-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--navy);
  font-weight: 800;
}
.item-badge {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 8px;
}
.item-title-row h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}
.item-price {
  font-weight: 800;
  color: var(--accent);
  font-size: 14px;
  white-space: nowrap;
}
.item-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.item-wa-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.item-wa-link:hover { text-decoration: underline; }

/* ==========================================================================
   Dark Spotlight (Metodo & Rubrica)
   ========================================================================== */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.spotlight-copy h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  color: #ffffff;
  margin-bottom: 16px;
}
.spotlight-copy p {
  color: rgba(247, 245, 240, 0.82);
  margin: 0 0 22px;
  font-size: 15px;
}
.rubrica-list { display: grid; gap: 12px; margin-top: 20px; }
.rubrica-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.rubrica-item strong {
  display: block;
  font-size: 14px;
  color: #f2d494;
  margin-bottom: 4px;
}
.rubrica-item p {
  margin: 0;
  font-size: 13px;
  color: rgba(247, 245, 240, 0.8);
}
.spotlight-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.spotlight-stat {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 12px;
}
.spotlight-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: #f2d494;
  line-height: 1.1;
}
.spotlight-stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}
.spotlight-box {
  background: #19263b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.spotlight-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
}
.spotlight-photo img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-box h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 8px;
}

/* ==========================================================================
   Case Highlight & Testimonials
   ========================================================================== */
.case-highlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}
.case-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-copy h3 { font-size: 1.85rem; margin-bottom: 12px; }
.case-copy p { color: var(--muted); margin: 0 0 16px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.review-platform-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.review-platform-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.review-platform-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
}
.review-verified-tag {
  background: #ecfdf5;
  color: #15803d;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.star-rating {
  display: flex;
  gap: 4px;
  color: #eab308;
  font-size: 15px;
  margin-bottom: 10px;
}
.review-card p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
  font-style: italic;
}
.review-card footer {
  font-size: 13px;
  color: var(--slate);
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-card footer small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}

/* ==========================================================================
   Guide & Approfondimenti Pratici (SEO Content Hub)
   ========================================================================== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.guide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.guide-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.25;
}
.guide-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}
.guide-takeaways {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}
.guide-takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  font-weight: 600;
  line-height: 1.4;
}
.guide-takeaway-item svg {
  color: #15803d;
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.guide-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.guide-link:hover {
  gap: 10px;
  text-decoration: underline;
}

/* Siracusa Web Design Badge nel Footer */
.swd-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 8px 16px;
  color: #ffffff;
  transition: all 0.25s ease;
  margin-top: 6px;
}
.swd-footer-badge:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.swd-badge-logo {
  height: 32px;
  width: auto;
}
.swd-badge-text small {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.swd-badge-text strong {
  display: block;
  font-size: 13.5px;
  color: #f2d494;
  font-weight: 700;
}

/* ==========================================================================
   Galleria Fotografica
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  margin: 0;
  background: var(--navy);
}
.gallery-item.is-featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 14px 10px;
  background: linear-gradient(transparent, rgba(19, 29, 46, 0.85));
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
}

/* ==========================================================================
   FAQ & Sedi
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}
.zones-box {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 22px;
}
.zones-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}
.zones-box span { font-size: 13.5px; color: var(--muted); }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-plus {
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq-item.is-open .faq-plus { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 14px;
}
.faq-item.is-open .faq-a { display: block; }

/* ==========================================================================
   Contatti & WhatsApp Form
   ========================================================================== */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-meta {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}
.contact-meta div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.contact-meta small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}
.contact-meta strong, .contact-meta a {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.map-frame {
  margin-top: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 220px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.wa-form { display: grid; gap: 14px; }
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  color: var(--slate);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}
.field textarea { min-height: 90px; resize: vertical; }

/* ==========================================================================
   SLIDE-OVER DRAWER: AREA RISERVATA INVESTITORI
   ========================================================================== */
.investor-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 31, 0.65);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.investor-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.investor-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 94vw);
  background: #ffffff;
  z-index: 999;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.investor-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  background: var(--navy);
  color: #ffffff;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.drawer-title-group h3 {
  font-size: 1.45rem;
  color: #ffffff;
  margin: 0 0 3px;
}
.drawer-title-group p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.drawer-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.drawer-close:hover { background: rgba(255, 255, 255, 0.25); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: var(--paper);
}

/* Tabs inside Drawer (Login / Register) */
.drawer-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-alt);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.drawer-tab-btn {
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.drawer-tab-btn.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.drawer-tab-content { display: none; }
.drawer-tab-content.is-active { display: block; }

.auth-form { display: grid; gap: 14px; }
.auth-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-bottom: 5px;
}
.auth-field input, .auth-field select {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #ffffff;
  font-family: inherit;
  font-size: 14px;
}

/* Dashboard Logged-In State */
.investor-dashboard { display: none; }
.investor-dashboard.is-active { display: block; }

.investor-user-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.user-badge {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* Simulatore Calcolatore Rendimento ROI */
.investor-calc-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}
.calc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--accent);
}
.calc-header h5 {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.calc-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}
.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.calc-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.calc-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
}
.calc-input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--sans);
}
.calc-results-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}
.calc-res-item span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.calc-res-item strong {
  display: block;
  font-size: 14.5px;
  margin-top: 2px;
}

/* Toast Notifica Investitore */
.investor-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  font-size: 13.5px;
  font-weight: 600;
  z-index: 99999;
  border-left: 4px solid var(--accent);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
}
.investor-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.res-lot-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.res-lot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.res-lot-roi {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.res-lot-card h4 {
  font-size: 1.15rem;
  margin: 0 0 4px;
}
.res-lot-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.res-lot-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12px;
  background: var(--paper-alt);
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.res-lot-actions {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #17181a;
  color: rgba(255, 255, 255, 0.78);
  padding: 54px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}
.footer-links a:hover { color: #f2d494; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
}

.mobile-wa-bar {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 19, 29, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-inner {
  max-width: min(980px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox-inner img {
  max-height: 76vh;
  max-width: 100%;
  border-radius: 10px;
  object-fit: contain;
}
.lightbox-caption {
  color: #f7f5f0;
  font-size: 14px;
  text-align: center;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Responsive Design System
   ========================================================================== */

/* 1. Medium Screens / Tablets (<= 1040px) */
@media (max-width: 1040px) {
  .hero-search-bar {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    padding: 20px;
    gap: 12px;
  }
  .search-divider { display: none; }
  .search-btn { grid-column: span 2; }
  .founder-grid, .spotlight-grid, .faq-layout, .visit-grid, .case-highlight {
    grid-template-columns: 1fr;
  }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .auction-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.is-featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 10;
  }
}

/* 2. Mobile Viewports (<= 768px) */
@media (max-width: 768px) {
  /* Utility Bar */
  .utility-bar {
    font-size: 11.5px;
  }
  .utility-inner {
    padding: 6px 0;
    justify-content: center;
    gap: 10px;
  }
  .utility-left {
    display: none;
  }
  .utility-right {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }
  .utility-right a[href="#area-investitori"] {
    display: none;
  }

  /* Header & Navigation */
  .site-header {
    top: 0;
  }
  .header-inner {
    padding: 8px 0;
    gap: 10px;
  }
  .brand-logo {
    height: 38px;
    max-width: 130px;
  }
  .nav-links {
    display: none;
  }
  .header-actions {
    gap: 8px;
    align-items: center;
  }
  .header-actions .btn {
    display: none;
  }
  .btn-investor-trigger {
    display: none;
  }
  .lang-badge {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    background: var(--paper-alt);
    border: 1.5px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    flex-shrink: 0;
  }

  /* Mobile Drawer */
  .mobile-drawer {
    display: none;
    background: #ffffff;
    border-bottom: 2px solid var(--line);
    padding: 14px 16px 20px;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  }
  .mobile-drawer.is-open {
    display: flex;
  }
  .mobile-drawer a {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    box-sizing: border-box;
  }
  .mobile-drawer a:active,
  .mobile-drawer a:hover {
    color: var(--accent);
  }
  .mobile-drawer a.js-open-investor {
    color: var(--accent);
    background: rgba(163, 19, 29, 0.05);
    border-radius: 8px;
    padding: 12px 12px;
    margin: 6px 0;
    border-bottom: 0;
    font-weight: 800;
  }
  .mobile-drawer a.btn {
    margin-top: 8px;
    border-bottom: 0;
    width: 100%;
    justify-content: center;
  }

  /* Section Spacing */
  .section {
    padding: 50px 0;
  }
  .section-head {
    margin-bottom: 28px;
    gap: 12px;
  }
  .section-head h2 {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem);
  }

  /* Hero Section */
  .hero-official {
    min-height: 420px;
    padding: 42px 14px 68px;
  }
  .hero-official-content {
    padding: 0;
    max-width: 100%;
  }
  .hero-official-title {
    font-size: clamp(2.1rem, 8.5vw, 2.8rem);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
  }
  .hero-official-subtitle {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
    margin-bottom: 10px;
  }
  .hero-official-tagline {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 100%;
  }
  .hero-carousel-dots {
    bottom: 20px;
    gap: 8px;
  }
  .hero-dot {
    width: 9px;
    height: 9px;
  }

  /* Search Engine Bar */
  .hero-search-wrapper {
    margin-top: -24px;
    padding: 0 12px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-search-bar {
    grid-template-columns: 1fr !important;
    border-radius: 18px;
    padding: 12px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  .search-divider {
    display: none !important;
  }
  .search-field {
    width: 100%;
  }
  .search-field select {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13.5px;
    box-sizing: border-box;
  }
  .search-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 14.5px;
    grid-column: span 1 !important;
    box-sizing: border-box;
  }

  /* Trust Bar */
  .hero-trust-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
    padding: 0 4px;
    width: 100%;
    box-sizing: border-box;
  }
  .trust-item {
    font-size: 12px;
    line-height: 1.35;
    gap: 8px;
  }

  /* 4 Pilastri */
  .facts-bar {
    margin-top: 28px;
  }
  .facts-grid {
    grid-template-columns: 1fr !important;
  }
  .fact-cell {
    padding: 18px 14px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .fact-cell:last-child {
    border-bottom: 0;
  }

  /* Chi siamo Salvatore Tata */
  .founder-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .founder-media-stack {
    max-width: 100%;
  }
  .founder-portrait-frame {
    aspect-ratio: 4 / 3.8;
  }
  .founder-badge-card {
    position: static;
    margin-top: 12px;
    max-width: 100%;
    box-sizing: border-box;
    right: auto;
    bottom: auto;
  }

  /* Catalog & Grids */
  .auction-grid,
  .items-grid,
  .spotlight-stats,
  .reviews-grid,
  .guides-grid,
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .gallery-item.is-featured {
    grid-column: span 1 !important;
    aspect-ratio: 16 / 10;
  }

  /* Case Highlight */
  .case-highlight {
    padding: 18px;
    gap: 18px;
  }
  .case-copy h3 {
    font-size: 1.45rem;
  }

  /* Contact & Map */
  .visit-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .contact-card, .form-card {
    padding: 20px 16px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 24px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Floating WhatsApp FAB (Bottom-Right, Clean) */
  .mobile-wa-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    right: 16px;
    bottom: 20px;
    left: auto;
    z-index: 95;
    background: #25d366;
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .mobile-wa-bar:active {
    transform: scale(0.96);
  }
  body {
    padding-bottom: 24px;
  }

  /* Investor Modal Drawer */
  .investor-drawer {
    width: 100vw;
    max-width: 100vw;
  }
  .drawer-header {
    padding: 16px 18px;
  }
  .drawer-body {
    padding: 18px 16px;
  }
  .calc-inputs-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .calc-results-bar {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
}

/* 3. Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .hero-official-title {
    font-size: 2.1rem;
  }
  .hero-official-subtitle {
    font-size: 1.1rem;
  }
  .item-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .tab-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
}
