/*
Theme Name: HostSuite
Theme URI: https://www.hostsuite.it
Author: HostSuite
Description: Tema custom per HostSuite — property management di fascia alta (ville, boutique hotel, Airbnb Luxe).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hostsuite
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* --------------------------------------------------------------
     TEMA SCURO (Fase 2 — base globale, derivato da Learnn via hostsuite-design).
     I nomi --c-* restano invariati: tutto il tema li legge gia', quindi
     rimappando qui i VALORI l'intero sito passa a scuro in modo coerente.
     I valori originali (light) sono nel backup style.css.bak-lightmode-*.
     -------------------------------------------------------------- */
  --c-cream: #121214;        /* fondo pagina/app (era #FFFFFF) */
  --c-cream-deep: #17181B;   /* sezioni "sollevate" a fascia (era #F4F4F5) */
  --c-surface: #1C1D21;      /* NUOVO: fondo delle card, sopra la sezione */
  --c-ink: #F2F3F5;          /* testo primario / titoli, quasi bianco (era #18181B) */
  --c-ink-soft: #A1A4AB;     /* testo secondario (era #52525B) */
  --c-forest: #FF883A;       /* accento verde menta, visibile su scuro (era #1B4332) */
  --c-forest-light: #FFA968; /* accento hover piu' chiaro */
  --c-terracotta: #FF883A;   /* alias accento */
  --c-gold: #FF883A;         /* alias accento */
  --c-white: #FFFFFF;        /* resta bianco puro: testo su superfici scure */
  --c-border: #2A2B31;       /* bordi sottili su scuro (era #E4E4E7) */
  --c-mint: #17181B;         /* ex fascia verde chiara -> sezione scura neutra */
  --c-panel-forest: #1E150B; /* pannello "servizi" scuro con nota verde (ex --c-forest bg) */
  --c-panel-dark: #0D0D0F;   /* fondo footer, il piu' profondo */

  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1300px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 24px 48px -24px rgba(24, 24, 27, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(24, 24, 27, 0.10);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;
}

/* ============================================
   RESET / BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hs-bg-app);
  color: var(--hs-text-base);
  font-family: var(--hs-font-family);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 800;               /* tratto firma Learnn: titoli in black */
  letter-spacing: -0.04em;        /* tratto firma Learnn: tracking negativo */
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  color: var(--c-ink);
}
p { margin: 0 0 var(--space-2); }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
section { padding: var(--space-7) 0; }
@media (max-width: 782px) {
  section { padding: var(--space-5) 0; }
  body { font-size: 16px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-terracotta);
}

.h-xl { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 800; letter-spacing: -0.05em; }
.h-lg { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; }
.h-md { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.lede { font-size: 1.2rem; color: var(--c-ink-soft); max-width: 640px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1.6em;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

/* SISTEMA PULSANTI COERENTE (Fase 5)
   - accent (verde): la CTA in evidenza = richiesta valutazione (obiettivo di conversione)
   - primary (bianco): azioni prominenti non-valutazione (WhatsApp, call)
   - secondary (bordo): esplora / alternative / leggi */
.btn-accent {
  background: var(--c-forest);
  color: #241205;
}
.btn-accent:hover { background: var(--c-forest-light); }

.btn-primary, .btn-light {
  background: #FFFFFF;
  color: #121214;
}
.btn-primary:hover, .btn-light:hover { background: #E4E4E7; }

.btn-secondary, .btn-outline, .btn-on-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.24);
  color: var(--c-ink);
  backdrop-filter: none;
}
.btn-secondary:hover, .btn-outline:hover, .btn-on-dark:hover {
  border-color: var(--c-ink);
  background: rgba(255,255,255,0.05);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 20, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
/* Logo originale (arancione) sull'header scuro: lo sfondo del PNG e' trasparente,
   quindi si stacca bene senza bisogno di invertirlo in bianco. */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);   /* logo e burger staccati dai bordi, allineati al contenuto */
}
.site-logo {
  display: flex;
  align-items: center;
  height: 34px;
  flex-shrink: 0;
}
.site-logo img,
.site-logo .custom-logo-link img {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav ul { display: flex; gap: var(--space-4); }
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--c-terracotta); }
.header-cta { display: flex; align-items: center; gap: var(--space-2); }
.nav-toggle {
  display: none;
  position: relative;
  width: 28px; height: 22px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 2px; background: var(--c-ink);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle::before { top: 3px; }
.nav-toggle span { top: 10px; }
.nav-toggle::after { top: 17px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }   /* CTA spostata nella barra fissa in basso */

  /* Menu mobile: pannello "flottante" staccato dai bordi, voci centrate e piu' visive */
  .site-nav ul {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 12px; right: 12px;
    flex-direction: column; gap: 6px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    box-shadow: 0 30px 60px -24px rgba(0,0,0,0.85);
    padding: 12px;
  }
  .site-header.nav-open .site-nav ul { display: flex; animation: hsMenuIn .22s ease; }
  .site-nav ul li { width: 100%; }
  .site-nav ul a {
    display: flex; align-items: center; justify-content: center;
    padding: 1.05em 0; font-size: 1.12rem; font-weight: 600;
    border-radius: 12px; color: var(--c-ink); background: transparent;
    transition: background .15s ease, color .15s ease;
  }
  .site-nav ul a:hover, .site-nav ul a:active { background: rgba(255,136,58,0.12); color: var(--c-forest); }

  .site-header.nav-open .nav-toggle::before { top: 10px; transform: rotate(45deg); }
  .site-header.nav-open .nav-toggle span { opacity: 0; }
  .site-header.nav-open .nav-toggle::after { top: 10px; transform: rotate(-45deg); }
}
@keyframes hsMenuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  color: var(--c-white);
  overflow: hidden;
  padding: var(--space-7) 0 var(--space-6);
  background: var(--c-cream);   /* tema scuro: fondo pieno, il messaggio ha risalto */
  border-bottom: 1px solid var(--c-border);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: var(--space-5); } }
/* Alone luminoso dietro al titolo (stile Learnn): un bagliore verde morbido e ampio */
.hero::before {
  content: "";
  position: absolute; top: -10%; left: -8%;
  width: 62%; height: 105%;
  background: radial-gradient(ellipse 60% 55% at 32% 42%, rgba(255,136,58,0.20), rgba(255,136,58,0.06) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
}
.hero__bg { display: none; }   /* immagine hero rimossa: hero testuale su scuro */
.hero__content { position: relative; z-index: 2; max-width: none; }
.hero .eyebrow { color: #FFD0AE; }
.hero .eyebrow::before { background: #FFD0AE; }
.hero h1 {
  color: var(--c-white);
  font-size: clamp(2.6rem, 5vw, 4.4rem);   /* grande ma bilanciato con il widget a destra */
  line-height: 1.03;
  letter-spacing: -0.05em;
}
.hero h1 .accent {
  color: var(--c-forest);   /* parola-accento verde per il risalto */
  text-shadow: 0 0 40px rgba(255,136,58,0.35);
}
.hero p.lede { color: rgba(255,255,255,0.78); font-size: 1.2rem; max-width: 560px; }

/* ---- Widget hero: radar comparativo "Fai da te vs HostSuite" ---- */
.hero__widget { position: relative; z-index: 2; }
.hsw {
  background: linear-gradient(160deg, rgba(28,29,33,0.92), rgba(16,26,21,0.92));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-4) var(--space-3);
  box-shadow: 0 34px 70px -34px rgba(0,0,0,0.75);
}
.hsw__eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-forest); font-weight: 700; }
.hsw__title { font-size: 1.3rem; margin: 0.35em 0 0.5em; color: var(--c-white); font-weight: 800; letter-spacing: -0.03em; }
.hsw__title span { color: var(--c-ink-soft); font-weight: 400; }
.hsw__svg { width: 100%; height: auto; display: block; overflow: visible; }
.hsw__legend { display: flex; gap: var(--space-4); justify-content: center; margin-top: var(--space-1); }
.hsw__leg { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.82rem; color: var(--c-ink-soft); }
.hsw__dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.hsw__dot--self { background: rgba(160,164,171,0.55); }
.hsw__dot--hs { background: var(--c-forest); }
.hsw__foot { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--c-border); font-size: 0.8rem; color: var(--c-ink-soft); text-align: center; }
.hsw__foot b { color: var(--c-forest); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.25);
  position: relative;
  z-index: 2;
}
.stat__num { font-family: var(--font-serif); font-size: 2rem; color: var(--c-white); }
.stat__label { font-size: 0.85rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================
   CARDS — "Cosa gestiamo"
   ============================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-5); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,24,27,0) 55%, rgba(24,24,27,0.78) 100%);
}
.service-card__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-3);
  z-index: 2;
  color: var(--c-white);
}
.service-card__label .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4em;
}
.service-card__label h3 { color: var(--c-white); margin-bottom: 0.3em; font-size: 1.3rem; }
.service-card__label p { color: rgba(255,255,255,0.8); font-size: 0.92rem; margin: 0; }

/* ============================================
   METODO — steps
   ============================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-5); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.step__num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--c-terracotta);
  margin-bottom: var(--space-1);
}
.step h4 { font-size: 1.1rem; margin-bottom: 0.3em; }
.step p { font-size: 0.94rem; color: var(--c-ink-soft); margin: 0; }

/* ============================================
   SERVIZI — two columns
   ============================================ */
.section-forest { background: var(--c-panel-forest); color: var(--c-white); }
.section-forest .eyebrow { color: #E6C9A9; }
.section-forest .eyebrow::before { background: #E6C9A9; }
.section-forest h2 { color: var(--c-white); }
.section-forest .lede { color: rgba(255,255,255,0.75); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-5); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.feature-col {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.feature-col h3 { color: var(--c-white); font-size: 1.3rem; margin-bottom: var(--space-2); }
.feature-col ul li {
  display: flex;
  gap: 0.7em;
  padding: 0.6em 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 0.96rem;
}
.feature-col ul li:first-child { border-top: none; }
.feature-col ul li::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: rgba(255,180,130, 0.15);
  color: #FFD0AE;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============================================
   LUXURY PROOF
   ============================================ */
.luxury-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (max-width: 900px) { .luxury-proof { grid-template-columns: 1fr; } }
.luxury-proof img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.badge-row { display: flex; gap: var(--space-2); margin-bottom: var(--space-3); flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  background: var(--c-cream-deep);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 0.4em 1em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-ink-soft);
}
.check-list li {
  display: flex; gap: 0.7em; padding: 0.55em 0;
  font-size: 0.96rem;
}
.check-list li::before { content: "✓"; color: var(--c-forest); font-weight: 700; }

/* ============================================
   FOUNDERS TEASER
   ============================================ */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
@media (max-width: 780px) { .founders { grid-template-columns: 1fr; } }
.founder-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3);
}
.founder-card__photo { width: 104px; height: 104px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--c-cream-deep); }
.founder-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; display: block; }
.founder-card__text { flex: 1; min-width: 0; }
@media (max-width: 480px) { .founder-card__photo { width: 84px; height: 84px; } }
/* Avatar con iniziali (fallback se non c'e' la foto) */
.founder-card .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-forest); color: #241205;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem;
}
.founder-card .name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.2em; display: block; }
.founder-card .role { color: var(--c-forest); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.8em; display: block; }
.founder-card p { color: var(--c-ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ============================================
   FINAL CTA
   ============================================ */
.cta-band {
  background: var(--c-panel-forest);
  border: 1px solid var(--c-border);
  color: var(--c-white);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  margin: 0 auto;
}
.cta-band h2 { color: var(--c-white); }
.cta-band .lede { color: rgba(255,255,255,0.7); margin-left: auto; margin-right: auto; }
.cta-band .hero__cta { justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--c-panel-dark);
  border-top: 1px solid var(--c-border);
  padding: var(--space-6) 0 var(--space-3);
  margin-top: var(--space-6);
}
.site-footer .footer-grid img { opacity: 1; }   /* logo a colori (arancione) anche nel footer */
.site-footer .footer-grid > div:first-child p { color: rgba(255,255,255,.55); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #FFD0AE; margin-bottom: var(--space-2); font-weight: 700; }
.footer-grid ul li { padding: 0.35em 0; }
.footer-grid a { color: rgba(255,255,255,.65); font-size: 0.95rem; transition: color .15s ease; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
}

/* ============================================
   PAGE HERO (pagine interne)
   ============================================ */
.page-hero { padding: var(--space-6) 0 var(--space-4); text-align: center; }
.page-hero .lede { margin-left: auto; margin-right: auto; }
.stats-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-5);
  margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--c-border);
}
.stats-row .stat__num { color: var(--c-forest); }
.stats-row .stat__label { color: var(--c-ink-soft); }

/* ============================================
   ALLOGGI — filtri + layout mappa
   ============================================ */
.filters-bar {
  display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center;
  padding: var(--space-2) 0; margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--c-border);
  /* NON sticky: la barra filtri resta al suo posto e scorre via col contenuto
     (prima seguiva lo scroll e su mobile occupava troppo spazio). */
}
.filters-bar select, .filters-bar input[type="text"] {
  padding: 0.6em 1em; border-radius: 100px; border: 1px solid var(--c-border);
  background: var(--c-surface); font-size: 0.9rem; font-family: var(--font-sans); color: var(--c-ink);
}
.filters-bar select:focus, .filters-bar input[type="text"]:focus {
  outline: none; border-color: var(--c-forest); box-shadow: 0 0 0 3px rgba(27,67,50,0.12);
}
.search-input { position: relative; flex: 1 1 220px; min-width: 200px; }
.search-input svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--c-ink-soft); pointer-events: none; }
.search-input input { width: 100%; padding-left: 2.5em; }
.filters-bar__end { margin-left: auto; display: flex; align-items: center; gap: 1em; }
.filters-reset {
  display: none; align-items: center; gap: 0.3em; background: none; border: none;
  color: var(--c-forest); font-weight: 600; font-size: 0.85rem; cursor: pointer; padding: 0; font-family: var(--font-sans);
}
.filters-reset.is-active { display: inline-flex; }
.filters-reset:hover { text-decoration: underline; }
.filters-count { color: var(--c-ink-soft); font-size: 0.9rem; white-space: nowrap; }

.alloggi-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-4); align-items: flex-start; }
@media (max-width: 980px) { .alloggi-layout { grid-template-columns: 1fr; } }
.alloggi-map { position: sticky; top: 100px; height: 78vh; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
@media (max-width: 980px) { .alloggi-map { position: static; height: 46vh; order: -1; margin-bottom: var(--space-3); } }
.alloggi-list { display: flex; flex-direction: column; gap: var(--space-3); max-height: 78vh; overflow-y: auto; padding-right: 6px; }
@media (max-width: 980px) { .alloggi-list { max-height: none; overflow: visible; } }

.property-card {
  display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  animation: hsCardIn 0.5s cubic-bezier(.16,1,.3,1) backwards;
}
.alloggi-list .property-card:nth-child(1) { animation-delay: .02s; }
.alloggi-list .property-card:nth-child(2) { animation-delay: .06s; }
.alloggi-list .property-card:nth-child(3) { animation-delay: .10s; }
.alloggi-list .property-card:nth-child(4) { animation-delay: .14s; }
.alloggi-list .property-card:nth-child(5) { animation-delay: .18s; }
.alloggi-list .property-card:nth-child(6) { animation-delay: .22s; }
.alloggi-list .property-card:nth-child(n+7) { animation-delay: .26s; }
@keyframes hsCardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.property-card:hover { border-color: var(--c-forest); transform: translateY(-4px); }   /* nessuna ombra: solo bordo, stile Learnn */
.property-card.is-hidden { opacity: 0; transform: scale(0.97); pointer-events: none; }
.property-card__img { width: 100%; padding-top: 62.5%; background: var(--c-cream-deep); position: relative; overflow: hidden; flex-shrink: 0; border-radius: 16px 16px 0 0; }
.property-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.property-card:hover .property-card__img img { transform: scale(1.06); }
.property-card__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5em;
  background: repeating-linear-gradient(135deg, var(--c-mint) 0px, var(--c-mint) 14px, #202128 14px, #202128 28px);
  color: var(--c-forest);
}
.property-card__placeholder svg { width: 34px; height: 34px; opacity: 0.55; }
.property-card__placeholder span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; opacity: 0.7; text-transform: uppercase; }
.property-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; max-width: calc(100% - 24px); }
.property-card__badge {
  background: rgba(13,13,15,0.6); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; padding: 0.32em 0.75em; border-radius: 100px;
}
.property-card__badge--luxe { background: rgba(232,182,62,0.16); color: #E8B63E; border-color: rgba(232,182,62,0.45); }
.property-card__badge--super { background: rgba(255,136,58,0.16); color: #FF9E5E; border-color: rgba(255,136,58,0.45); }
.property-card__body { display: flex; flex-direction: column; padding: var(--space-3); min-width: 0; }
.property-card__metatop { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; }
.property-card__loc { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-forest); font-weight: 700; }
.property-card__rating { font-size: 0.82rem; font-weight: 600; color: var(--c-white); white-space: nowrap; }
.property-card__name { font-family: var(--font-serif); font-weight: 800; font-size: 1.2rem; margin: 0.25em 0; line-height: 1.2; letter-spacing: -0.02em; }
.property-card__meta { font-size: 0.85rem; color: var(--c-ink-soft); margin-bottom: 0.7em; }
.property-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5em; flex-wrap: wrap;
  margin-top: auto; padding-top: 0.7em; border-top: 1px solid var(--c-border);
}
.property-card__price { font-weight: 700; font-size: 0.95rem; }
.property-card__price span { font-weight: 400; color: var(--c-ink-soft); font-size: 0.78rem; }
.property-card__actions { display: flex; gap: 0.4em; }
.property-card__actions a { font-size: 0.8rem; padding: 0.5em 0.9em; }
.alloggi-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.8em;
  padding: var(--space-6) var(--space-3); color: var(--c-ink-soft);
}
.alloggi-empty svg { width: 40px; height: 40px; opacity: 0.4; }
.alloggi-empty h3 { margin: 0; color: var(--c-ink); font-size: 1.1rem; }
.alloggi-empty p { margin: 0; font-size: 0.92rem; }
/* Mappa Italia: tile reali (zoom/vie/fiumi nativi) + overlay regioni reali + pin/landmark custom */
.leaflet-container { font-family: var(--font-sans); background: #E5E9EC; }
/* Mappa CHIARA (stile Airbnb/Google): niente filtro scuro, tile OSM mostrate al naturale.
   Pin, overlay regioni e popup sono su pane separati. */
.leaflet-control-zoom a { border-radius: 8px !important; color: #18181B !important; }
.hs-region-tip { font-size: 0.78rem; font-weight: 600; border-radius: 6px !important; border: none !important; box-shadow: var(--shadow-sm); }

.hs-pin-halo { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--c-forest); opacity: 0.18; transition: all 0.15s ease; }
.hs-pin-dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-forest); border: 2.5px solid var(--c-white);
  box-shadow: 0 2px 6px rgba(24,24,27,0.3);
  cursor: pointer; transition: background 0.15s ease;
}
.hs-pin.is-active .hs-pin-dot { background: #121214; }
.hs-pin.is-active .hs-pin-halo { width: 30px; height: 30px; opacity: 0.28; }
.leaflet-popup-content-wrapper { border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 0; overflow: hidden; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-border); }
.leaflet-popup-tip { background: var(--c-surface); border: 1px solid var(--c-border); }
.leaflet-popup-close-button { color: var(--c-ink-soft) !important; }
.leaflet-popup-content { margin: 0; width: 220px !important; }
.hs-popup__img { width: 100%; aspect-ratio: 4/3; background: var(--c-cream-deep); overflow: hidden; }
.hs-popup__img img { width: 100%; height: 100%; object-fit: cover; }
.hs-popup__img--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--c-mint) 0px, var(--c-mint) 10px, #202128 10px, #202128 20px);
  color: var(--c-forest); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.75;
}
.hs-popup__body { padding: 0.7em 0.9em 0.9em; }
.hs-popup__loc { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-ink-soft); font-weight: 600; }
.hs-popup__name { font-size: 0.95rem; font-weight: 700; margin: 0.15em 0 0.3em; line-height: 1.25; }
.hs-popup__price { font-size: 0.85rem; color: var(--c-ink); }

.property-card.is-highlighted { border-color: var(--c-forest); box-shadow: 0 0 0 2px var(--c-forest); }

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.blog-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.blog-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--c-cream-deep); display: block; }
.blog-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.1rem 1.2rem 1.4rem; }
.blog-card__date { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-terracotta); font-weight: 600; }
.blog-card__title { font-size: 1.15rem; margin: 0.4em 0 0.4em; line-height: 1.3; }
.blog-card__title a { color: var(--c-ink); }
.blog-card__excerpt { color: var(--c-ink-soft); font-size: 0.92rem; margin-bottom: 0.8em; }

.article {
  max-width: 840px; margin: 0 auto;
}
.article__meta { text-align: center; color: var(--c-ink-soft); font-size: 0.9rem; margin-bottom: var(--space-3); }
.article__cover {
  border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-4); box-shadow: var(--shadow);
  width: 100vw; max-width: 1000px; margin-left: 50%; transform: translateX(-50%);
}
.article__cover img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 1040px) { .article__cover { width: calc(100% + 2 * var(--space-3)); margin-left: calc(var(--space-3) * -1); transform: none; max-width: none; } }
.article-body { font-size: 1.08rem; line-height: 1.8; }
.article-body h2 { margin-top: 1.8em; font-size: 1.6rem; }
.article-body h3 { margin-top: 1.4em; font-size: 1.25rem; }
.article-body p { margin-bottom: 1.2em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote { border-left: 3px solid var(--c-terracotta); margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em; font-style: italic; color: var(--c-ink-soft); }
.article-body img { border-radius: var(--radius-sm); }
.article-body a { color: var(--c-terracotta); text-decoration: underline; }

/* ============================================
   PREZZI
   ============================================ */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-4); align-items: stretch; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  height: 100%;
}
.pricing-card--featured { border-color: var(--c-forest); box-shadow: var(--shadow); position: relative; }
.pricing-card--featured::before {
  content: "Più scelto";
  position: absolute; top: -12px; right: 24px;
  background: var(--c-forest); color: var(--c-white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.3em 0.9em; border-radius: 100px;
}
.pricing-card__tag { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-forest); margin-bottom: 0.6em; }
.pricing-card__tagline { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.9em; min-height: 2.6em; }
.pricing-card__price { display: flex; align-items: baseline; gap: 0.5em; padding-bottom: var(--space-2); margin-bottom: 0.6em; }
.pricing-card__price-num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--c-ink); }
.pricing-card__price-unit { font-size: 0.85rem; color: var(--c-ink-soft); }
.pricing-card__commission { font-size: 0.88rem; color: var(--c-ink-soft); padding-bottom: var(--space-3); margin-bottom: var(--space-3); border-bottom: 1px solid var(--c-border); }
.pricing-card .check-list { margin-bottom: var(--space-3); }
.pricing-card .check-list li { align-items: flex-start; font-size: 0.92rem; }
.pricing-card__ideal { font-size: 0.88rem; color: var(--c-ink-soft); background: var(--c-cream-deep); border-radius: var(--radius-sm); padding: 0.8em 1em; margin-bottom: var(--space-3); }
.pricing-card > .btn { margin-top: auto; align-self: flex-start; }

.faq-list { max-width: 760px; margin: var(--space-4) auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.4em; }
.faq-item p { color: var(--c-ink-soft); font-size: 0.94rem; margin: 0; }

/* ============================================
   CONTATTI
   ============================================ */
.contact-section { background: var(--c-cream-deep); padding-top: 4.5rem; }
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-5); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-option {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-top: var(--space-3);
}
.contact-option__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-forest); }
.contact-option p { color: var(--c-ink-soft); font-size: 0.94rem; margin: 0.4em 0 0.8em; }
.contact-form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}
.contact-form-card h2 { margin-bottom: var(--space-3); }
/* Allinea i colori del form SureForms all'accento del brand */
[class*="srfm-form-container"] {
  --srfm-color-scheme-primary: var(--c-forest) !important;
  --srfm-btn-border-radius: 10px !important;
}
/* Campi del form leggibili su tema scuro (testo/placeholder chiari, campo scuro).
   NB: il dropdown Paesi di intl-tel-input (.iti__*) resta chiaro: e' un overlay a se'. */
.srfm-input-common,
.srfm-input-common input,
.srfm-input-common textarea,
.srfm-input-common select {
  background: var(--c-surface) !important;
  color: var(--c-ink) !important;
  border-color: var(--c-border) !important;
}
.srfm-input-common::placeholder,
.srfm-input-common input::placeholder,
.srfm-input-common textarea::placeholder { color: var(--c-ink-soft) !important; }
.srfm-block label,
.srfm-input-label,
.srfm-block-legend,
[class*="srfm-form-container"] label,
[class*="srfm-form-container"] legend { color: var(--c-ink) !important; }
/* Testi secondari del form (descrizioni, aiuti, prefisso telefonico) chiari ma tenui */
.srfm-description,
.srfm-input-description,
.srfm-block-description,
.iti__selected-dial-code { color: var(--c-ink-soft) !important; }
/* Asterisco obbligatorio + messaggi di errore ben visibili (rosso) */
.srfm-required { color: #FE5454 !important; }
.srfm-error-message,
.srfm-error { color: #FE5454 !important; }
/* Il contenitore del form SureForms ha uno sfondo bianco (classe srfm-bg-col):
   lo rendo trasparente cosi' si vede la card scura del tema. */
.srfm-form-container,
[class*="srfm-form-container"],
.srfm-form-container.srfm-bg-col { background-color: transparent !important; box-shadow: none !important; }

/* Dropdown TomSelect (campi "Seleziona un'opzione") a tema scuro e leggibili */
.ts-wrapper .ts-control,
.srfm-dropdown-common .ts-control {
  background: var(--c-cream) !important;   /* un nero leggermente diverso dalla card, per stacco */
  color: var(--c-ink) !important;
  border-color: var(--c-border) !important;
}
.ts-control .item, .ts-control input, .ts-control input::placeholder { color: var(--c-ink) !important; }
.ts-control input::placeholder { color: var(--c-ink-soft) !important; }
.ts-wrapper.single .ts-control:after { border-color: var(--c-ink-soft) transparent transparent !important; }  /* freccia */
.ts-dropdown {
  background: var(--c-surface) !important;
  color: var(--c-ink) !important;
  border-color: var(--c-border) !important;
}
.ts-dropdown .option, .ts-dropdown .optgroup-header { color: var(--c-ink) !important; background: transparent !important; }
.ts-dropdown .option.active, .ts-dropdown .option:hover { background: rgba(255,136,58,0.16) !important; color: var(--c-forest) !important; }

/* Pulsante "Invia" largo quanto la colonna del form */
[class*="srfm-form-container"] .wp-block-button,
[class*="srfm-form-container"] .srfm-submit-container { width: 100% !important; }
.srfm-submit-button, .srfm-btn-frontend { width: 100% !important; justify-content: center !important; }

/* Card che racchiude il form della pagina Stima: stacco dal testo a destra */
.stima-form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: var(--space-4);
  max-width: 640px; margin: 0 auto; width: 100%;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,0.4);
}
.wa-float svg { width: 28px; height: 28px; }

/* ============================================
   BARRA CTA FISSA (solo mobile) — massimizza le richieste di gestione
   ============================================ */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  padding: 0.7rem var(--space-3);
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(13,13,15,0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-border);
}
.mobile-cta-bar .btn { width: 100%; justify-content: center; padding: 0.95em 1.2em; font-size: 1.02rem; }
@media (max-width: 900px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 78px; }              /* spazio per non coprire il contenuto */
  .wa-float { bottom: 90px; }                 /* WhatsApp sopra la barra fissa */
}

/* Timeline "Chi siamo": data a sinistra + testo a destra (desktop), impilata su mobile */
.timeline-step { display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; }

/* ============================================
   RIFINITURE MOBILE (spaziature, centrature, no overflow a destra)
   ============================================ */
@media (max-width: 900px) {
  /* Stats hero home centrate (non allineate a sinistra) */
  .hero__stats { justify-content: center; text-align: center; }
}
@media (max-width: 782px) {
  /* Meno stacco tra header e hero/intestazioni pagina */
  .hero { padding-top: var(--space-4); }
  .page-hero { padding-top: var(--space-4); }
}
@media (max-width: 640px) {
  /* I pulsanti lunghi vanno a capo invece di sforare oltre il bordo destro */
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .luxury-proof > * { min-width: 0; }
}
@media (max-width: 600px) {
  /* Fondatori: foto centrata in alto, testo sotto a tutta larghezza */
  .founder-card { flex-direction: column; align-items: flex-start; }
  .founder-card__photo { align-self: center; width: 120px; height: 120px; }
  .founder-card__text { width: 100%; }
  /* Timeline impilata */
  .timeline-step { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ============================================
   WIZARD "Quanto rende il mio appartamento"
   ============================================ */
.wiz-wrap { max-width: 720px; margin: 0 auto; }
.wiz {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: var(--space-4);
  scroll-margin-top: 100px;   /* l'ancora #wiz non finisce sotto l'header fisso */
}
.wiz__progress { height: 4px; background: var(--c-border); border-radius: 100px; overflow: hidden; margin-bottom: var(--space-4); }
.wiz__bar { height: 100%; width: 25%; background: var(--c-forest); border-radius: 100px; transition: width .3s ease; }
.wiz__step { display: none; }
.wiz__step.is-active { display: block; animation: hsFade .3s ease; }
@keyframes hsFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wiz__count { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-forest); font-weight: 700; }
.wiz__q { font-size: 1.5rem; margin: 0.3em 0 var(--space-3); }
.wiz__sub { color: var(--c-ink-soft); margin-bottom: var(--space-3); }
.wiz__label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--c-ink-soft); margin: var(--space-2) 0 0.5em; }
.wiz__select, .wiz__input {
  width: 100%; padding: 0.85em 1em; border-radius: 12px; border: 1px solid var(--c-border);
  background: var(--c-cream); color: var(--c-ink); font-family: var(--font-sans); font-size: 1rem;
}
.wiz__select:focus, .wiz__input:focus { outline: none; border-color: var(--c-forest); }
.wiz__input::placeholder { color: var(--c-ink-soft); }
.wiz__cards { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.wiz__cards--grid { display: grid; grid-template-columns: 1fr 1fr; }
.wiz__card {
  flex: 1 1 auto; min-width: 130px;
  display: flex; flex-direction: column; gap: 0.15em;
  padding: 0.9em 1.1em; border-radius: 12px; cursor: pointer;
  background: var(--c-cream); border: 1px solid var(--c-border); color: var(--c-ink);
  font-family: var(--font-sans); font-size: 0.98rem; font-weight: 600; text-align: left;
  transition: border-color .15s ease, background .15s ease;
}
.wiz__card span { font-weight: 400; font-size: 0.8rem; color: var(--c-ink-soft); }
.wiz__card:hover { border-color: var(--c-forest-light); }
.wiz__card.is-selected { border-color: var(--c-forest); background: rgba(255,136,58,0.12); }
.wiz__nav { display: flex; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-4); }
.wiz__nav .btn { min-width: 120px; justify-content: center; }
.is-shake { animation: hsShake .4s; }
@keyframes hsShake { 0%,100%{transform:none;} 25%{transform:translateX(-5px);} 75%{transform:translateX(5px);} }
.wiz__result { text-align: center; padding: var(--space-3) 0 var(--space-2); }
.wiz__result-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-ink-soft); }
.wiz__range { font-family: var(--font-serif); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(1.8rem, 6vw, 2.8rem); color: var(--c-forest); margin: 0.2em 0; }
.wiz__result-sub { font-size: 0.85rem; color: var(--c-ink-soft); }
.wiz__analysis { background: var(--c-cream); border: 1px solid var(--c-border); border-radius: 12px; padding: var(--space-3); margin: var(--space-3) 0; font-size: 0.95rem; line-height: 1.65; color: var(--c-ink); }
.wiz__loading { color: var(--c-ink-soft); }
.wiz__disclaimer { font-size: 0.82rem; color: var(--c-ink-soft); }
.wiz__cta { width: 100%; justify-content: center; margin-top: var(--space-2); }
.wiz__form { display: flex; flex-direction: column; gap: 0.7rem; }
.wiz__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wiz__err { color: #FE5454; font-size: 0.85rem; min-height: 1em; }
.wiz__thanks { text-align: center; padding: var(--space-4) 0; }
.wiz__check { width: 56px; height: 56px; border-radius: 50%; background: var(--c-forest); color: #241205; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; margin: 0 auto var(--space-3); }
@media (max-width: 560px) {
  .wiz { padding: var(--space-3); border-radius: 16px; }
  .wiz__cards--grid { grid-template-columns: 1fr; }
  .wiz__q { font-size: 1.25rem; }
}

/* CTA calcolatore rendita in coda agli articoli del blog (auto, via the_content) */
.post-cta{margin:2.75rem 0 0;padding:1.85rem;background:var(--c-panel-forest);border:1px solid var(--c-border);border-left:4px solid var(--c-forest);border-radius:16px;}
.post-cta .eyebrow{margin-bottom:.6rem;}
.post-cta h3{font-size:1.5rem;font-weight:800;letter-spacing:-0.04em;line-height:1.15;margin:.15rem 0 .55rem;}
.post-cta p{color:var(--c-ink-soft);margin:0 0 1.25rem;max-width:54ch;}
.post-cta .hero__cta{margin-top:0;}
/* I link dentro l'articolo sono arancioni: dentro il CTA i bottoni devono mantenere il loro colore testo */
.post-cta .btn{text-decoration:none;}
.post-cta a.btn-accent{color:#241205 !important;}
.post-cta a.btn-on-dark{color:#FFFFFF !important;}
/* Riga zone local SEO nel footer */
.footer-zones{display:flex;flex-wrap:wrap;gap:.35rem 1rem;align-items:center;padding:1.1rem 0;border-top:1px solid var(--c-border);font-size:.85rem;color:var(--c-ink-soft);}
.footer-zones a{color:var(--c-ink-soft);text-decoration:none;}
.footer-zones a:hover{color:var(--c-forest);}
