/* Caratteri ospitati sul sito (Cormorant Garamond e Public Sans, SIL Open Font License):
   niente richieste a Google Fonts, l'indirizzo IP dei visitatori non esce dal sito. */
@font-face{ font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/cormorant-garamond-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/cormorant-garamond-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-garamond-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-garamond-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/cormorant-garamond-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/cormorant-garamond-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/public-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/public-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Public Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/public-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Public Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/public-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/public-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/public-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Public Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/public-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Public Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/public-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Antonella Baiocchi — Consulente Immobiliare
   Design tokens: travertino/terracotta romana, Cormorant Garamond + Public Sans
   ========================================================================== */

:root{
  --stone: #D6E2C5;        /* verde più deciso, base della palette A */
  --stone-deep: #C9D8B5;   /* section alternate background */
  --card: #EDF2E2;         /* card surface, lighter than bg */
  --ink: #2A2521;          /* near-black warm ink, primary text */
  --ink-soft: #55493F;     /* secondary text */
  --terracotta: #475F48;   /* primary accent — verde salvia profondo (≥4.5:1 su tutte le carte chiare) */
  --terracotta-dark: #344C35;
  --ochre: #B5714A;        /* secondary accent — terracotta caldo: solo segni (linee, bordi, stelle) */
  --ochre-ink: #884820;    /* terracotta per testo su carte chiare */
  --ochre-light: #E59D75;  /* terracotta per testo su fondi scuri */
  --taupe: #645849;        /* muted labels (≥4.5:1 sulle carte chiare) */
  --line: rgba(42,37,33,0.14);

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1120px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color: inherit; }

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.4em;
  color: var(--ink);
}

h1{ font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2{ font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3, h2.h3{ font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 600; }

p{ margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow{
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  display:inline-block;
  margin-bottom: 0.9em;
}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- Header / Nav ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(214,226,197,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap{
  position: relative;
  display:flex;
  align-items:center;
  flex-wrap: nowrap;
  gap: 28px;
  padding: 14px 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.brand-wrap{ flex-shrink: 0; display:flex; align-items:center; gap:10px; margin-right: auto; text-decoration: none; }
.brand-logo{ height: 28px; width: auto; display:block; }

.brand{
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand em{ font-style: italic; color: var(--terracotta); }

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration:none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor:pointer;
  transition: all .2s ease;
}
.btn-primary{ background: var(--terracotta); color: #F8F4EA; }
.btn-primary:hover{ background: var(--terracotta-dark); }
/* Secondario: contorno salvia, si riempie al passaggio */
.btn-outline{ background: transparent; border-color: var(--terracotta); color: var(--terracotta-dark); }
.btn-outline:hover{ background: var(--terracotta); border-color: var(--terracotta); color: #F8F4EA; }
.card-dark .btn-outline, .section-dark .btn-outline{ border-color: rgba(248,244,234,0.7); color: #F8F4EA; }
.card-dark .btn-outline:hover, .section-dark .btn-outline:hover{ background: #F8F4EA; border-color: #F8F4EA; color: var(--ink); }

/* ---------------- Seal / signature element ---------------- */
.seal{
  width: 148px; height: 148px;
  flex-shrink: 0;
}
.seal-inline{
  width: 96px; height:96px;
}

/* ---------------- Hero ---------------- */
.hero{
  padding: 90px 0 70px;
  position: relative;
  overflow:hidden;
}
.hero-photobg{ background: #EDE7DB; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items:center;
}
.hero h1{ margin-bottom: 0.3em; }
.hero .lede{ font-size: 1.15rem; max-width: 46ch; }
.hero-cta{ display:flex; gap:16px; margin-top: 34px; flex-wrap:wrap; }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-grid .hero-seal-col{ order:-1; display:flex; justify-content:center; }
}

/* ---------------- Page-hero with seal, reused across all sub-pages ---------------- */
.page-hero-grid{
  display:grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items:center;
}
.hero-cta-col{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-cta-col .btn{ justify-content: center; }
@media (max-width: 860px){
  .page-hero-grid{ grid-template-columns: 1fr; }
  .page-hero-grid .hero-seal-col{ order:-1; margin-bottom: 12px; }
}
.hero-seal-col{ display:flex; justify-content:center; }
.hero-seal-col img{ width:100%; max-width:300px; height:auto; margin:0 auto; display:block; }

.hero-photo{
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(42,37,33,0.18);
  animation: photoFadeUp 0.8s ease both;
  animation-delay: 0.1s;
}
.page-hero-grid--wide-photo{ grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
.hero-seal-col .hero-photo{ max-width: 420px; width: 100%; }
.hero-seal-col--flush{ align-self: stretch; display:flex; }
.hero-photo--flush{
  max-width: none !important;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  margin: -64px 0 -50px;
}
@keyframes photoFadeUp{
  0%{ opacity:0; transform: translateY(16px) scale(0.97); }
  100%{ opacity:1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .hero-photo{ animation: none; opacity: 1; }
}

/* Stamp-impact entrance: starts small, lands with an overshoot, settles — like a real stamp hitting paper */
@keyframes stampImpact{
  0%{ opacity:0; transform: scale(0.3) rotate(-10deg); }
  55%{ opacity:1; transform: scale(1.14) rotate(3deg); }
  75%{ transform: scale(0.94) rotate(-1.5deg); }
  100%{ opacity:1; transform: scale(1) rotate(0deg); }
}
.seal-stamp{
  animation: stampImpact 0.9s cubic-bezier(.25,.65,.3,1) both;
  animation-delay: 0.15s;
  transform-origin: center;
}
@media (prefers-reduced-motion: reduce){
  .seal-stamp{ animation: none; opacity: 1; }
}

/* ---------------- Sections ---------------- */
.section{ padding: 88px 0; }
.section-alt{ background: var(--stone-deep); }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.divider{
  width: 64px; height: 2px;
  background: var(--ochre);
  border:none;
  margin: 28px 0;
}
.divider.center{ margin-left:auto; margin-right:auto; }

/* ---------------- Method phases: stamp track ---------------- */
.stamp-track{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  position: sticky;
  top: 76px;
  z-index: 40;
  margin-bottom: 6px;
  padding: 10px 6px 26px;
  background: rgba(214,226,197,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  gap: 4px;
}
.stamp-item{
  display:flex; flex-direction:column; align-items:center;
  background:none; border:none; cursor:pointer; padding: 0;
  font-family: var(--body); flex: 1; min-width: 0; position: relative;
  transition: opacity .2s ease;
}
.stamp-mark{
  width: 72px; height: 72px; margin-bottom: 10px;
  position: relative; z-index: 1;
  transform-origin: center;
  transition: transform .35s cubic-bezier(.2,.8,.3,1.2), filter .35s ease;
}
.stamp-svg, .stamp-photo{
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: opacity .3s ease;
}
.stamp-svg{ overflow: visible; opacity: 0.3; }
.stamp-photo{ opacity: 0; object-fit: contain; }
.ring-outer{ fill:none; stroke: var(--terracotta); stroke-width: 3.4; }
.ring-inner{ fill:none; stroke: var(--terracotta); stroke-width: 0.9; }
.stamp-num{ font-family: var(--body); font-weight: 700; font-variant-numeric: lining-nums; letter-spacing: 0.5px; fill: var(--terracotta); }

.stamp-item.active .stamp-svg{ opacity: 0; }
.stamp-item.active .stamp-photo{ opacity: 1; }
.stamp-item.done .stamp-svg{ opacity: 0.62; }

.stamp-item:hover{ z-index: 6; }
.stamp-item:focus{ outline: none; }
.stamp-item:focus-visible{ outline: 2px solid var(--ochre); outline-offset: 6px; }
.stamp-item:hover .stamp-mark{
  transform: scale(1.7);
  filter: drop-shadow(-1px -1px 0.5px rgba(255,255,255,0.65)) drop-shadow(1.5px 2px 2px rgba(42,37,33,0.4));
}
.stamp-item:hover .stamp-svg{ opacity: 0; }
.stamp-item:hover .stamp-photo{ opacity: 1; }

.stamp-title{ font-size: 0.85rem; text-align:center; color: var(--ink-soft); line-height: 1.3; padding: 0 4px; }
.stamp-item.active .stamp-title{ color: var(--ink); font-weight: 700; }
@media (max-width: 760px){
  .stamp-track{
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: static;
    top: auto;
    z-index: auto;
    backdrop-filter: none;
  }
  .stamp-item{
    flex: 0 0 100%;
    scroll-snap-align: center;
    flex-direction: column;
    border-bottom: none;
    padding: 30px 0 10px;
    gap: 0;
  }
  .stamp-mark{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--terracotta);
    margin: 0 auto 22px;
  }
  .stamp-item{ align-items: center; text-align: center; }
  .stamp-item:hover .stamp-mark{ transform: none; filter: none; }
  .stamp-mark .stamp-photo{ display: none; }
  .stamp-mark .stamp-svg,
  .stamp-item.active .stamp-mark .stamp-svg,
  .stamp-item:hover .stamp-mark .stamp-svg{ opacity: 1; }
  .stamp-mark .ring-outer,
  .stamp-mark .ring-inner{ display: none; }
  .stamp-mark .stamp-num{ fill: #FFFFFF; font-size: 34px; }
  .stamp-title{ font-size: 1.3rem; font-weight: 700; text-align: center; padding: 0; }
}
.stamp-dots{ display:none; justify-content:center; align-items:center; gap:8px; margin: 4px 0 20px; }
@media (max-width: 760px){
  .stamp-dots{ display:flex; }
}
.stamp-dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--taupe); opacity: 0.4;
  transition: all 0.2s ease;
}
.stamp-dot.active{
  background: var(--terracotta);
  opacity: 1;
  width: 22px;
  border-radius: 4px;
}

.phase-extra{
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--line);
  padding: 34px 36px;
  margin-top: 26px;
}
.phase-extra.open{ display: block; }
.phase-extra h2, .phase-extra h3{ color: var(--terracotta); }
.phase-extra p{ color: var(--ink); }
.phase-extra .small{ color: var(--ink-soft); }
.phase-extra .eyebrow{ color: var(--terracotta); }
.phase-extra .card{
  background: var(--card);
  border: 1px solid var(--line);
}

@media (max-width: 640px){
}

/* ---------------- Cards ---------------- */
.card{
  background: var(--card);
  border: 1px solid var(--line);
  padding: 34px;
}
.card-dark{
  background: #43403E;
  border-color: #43403E;
}
.card-dark .eyebrow,
.card-dark h2,
.card-dark h3,
.card-dark p{
  color: #FFFFFF;
}

/* ---------------- Dark band (Relab grey) ---------------- */
.section-dark{
  background: #43403E;
  color: #F3F1EE;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4{ color: var(--ochre-light); }
.section-dark p{ color: #FFFFFF; }
.section-dark .eyebrow{ color: #FFFFFF; }
.section-dark .card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
}
.section-dark .list-check li{ color: #FFFFFF; }
.section-dark .list-check li::before{ border-color: #FFFFFF; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px){ .grid-3{ grid-template-columns: 1fr; } }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items:center;
}
@media (max-width: 860px){ .grid-2{ grid-template-columns: 1fr; } }

/* ---------------- Reviews ---------------- */
.review-card{
  background: var(--card);
  border: 1px solid var(--line);
  padding: 30px 30px 26px;
  position:relative;
}
.review-stars{ color: var(--ochre); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-quote{ font-family: var(--display); font-size: 1.2rem; font-style: italic; color: var(--ink); line-height:1.45; }
.review-name{
  margin-top: 20px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--taupe);
  font-weight: 600;
}
.review-verified{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 0.72rem; text-transform:uppercase; letter-spacing:0.05em;
  color: var(--terracotta); font-weight:700; margin-top:10px;
}

/* ---------------- Property listings ---------------- */
.listing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
@media (max-width: 900px){ .listing-grid{ grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px){ .listing-grid{ grid-template-columns: 1fr; } }

.listing-card{
  background: var(--terracotta);
  border: none;
  padding: 16px 16px 20px;
}
.listing-photo{
  aspect-ratio: 4/3;
  background: var(--terracotta-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
}
.listing-photo .placeholder-label{
  font-family: var(--body);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
}
.listing-stamp{
  position:absolute; top:16px; left:16px;
  width: 56px; height: 56px;
}
.listing-stamp svg{ width:100%; height:100%; overflow: visible; }
.listing-stamp .stamp-ring{ transform-origin: center; transform: rotate(-7deg); }
.listing-stamp .stamp-label{ font-family: var(--body); font-weight:700; letter-spacing:0.01em; fill: var(--terracotta); }
.listing-stamp.venduto .stamp-label{ fill: var(--taupe); }
.listing-body{ padding: 18px 2px 0; border-top: 1px solid rgba(248,244,234,0.25); margin-top: 18px; }
.listing-price{
  font-family: var(--display);
  font-size: 1.5rem;
  color: #F8F4EA;
  margin-bottom: 4px;
}
.listing-address{ font-weight:600; font-size: 0.95rem; margin-bottom: 8px; color: #F8F4EA; }
.listing-meta{
  font-size: 0.82rem;
  color: rgba(248,244,234,0.78);
  display:flex;
  gap: 14px;
  margin-bottom: 0;
}
.listing-note{
  font-size: 0.72rem;
  color: var(--taupe);
  font-style: italic;
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--stone-deep);
  border-left: 2px solid var(--ochre);
}

/* ---------------- Awards ---------------- */
.award-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px){ .award-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .award-grid{ grid-template-columns: 1fr; } }

.award-card{
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0 0 26px;
  display:flex;
  flex-direction:column;
  gap: 14px;
  overflow: hidden;
}
.award-photo{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.award-photo.pos-top{
  object-position: center 15%;
}
.award-card-body{
  padding: 0 26px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.award-medal{
  width: 46px; height:46px;
  flex-shrink:0;
}
.award-year{
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--ochre-ink);
}
.award-title{ font-size: 1.05rem; font-weight:600; color: var(--ink); margin: 0; }
.award-issuer{ font-size: 0.82rem; color: var(--taupe); text-transform:uppercase; letter-spacing:0.04em; font-weight:600; }
.award-cat{ font-size: 0.88rem; color: var(--ink-soft); margin:0; }

/* ---------------- Document cards ---------------- */
.doc-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px){ .doc-grid{ grid-template-columns: 1fr; } }

.doc-card{
  background: var(--card);
  border: 1px solid var(--line);
  padding: 30px 28px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.doc-icon{
  width: 40px; height:40px;
}
.doc-title{ font-family: var(--display); font-size: 1.3rem; margin: 0; }
.doc-desc{ font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------------- Footer ---------------- */
.site-footer{
  background: var(--ink);
  color: var(--stone);
  padding: 56px 0 32px;
}
.site-footer a{ color: var(--stone); text-decoration:none; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px){ .footer-grid{ grid-template-columns: 1fr; gap: 30px; } }
.footer-grid h2, .footer-grid h4{ font-family: var(--body); font-size: 0.78rem; line-height: 1.3; text-transform:uppercase; letter-spacing:0.08em; color: var(--ochre-light); margin-bottom: 16px; font-weight:700;}
.footer-grid p, .footer-grid a{ color: rgba(237,231,219,0.75); font-size: 0.92rem; }
.footer-bottom{
  border-top: 1px solid rgba(237,231,219,0.15);
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(237,231,219,0.5);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* ---------------- Page hero (interior pages) ---------------- */
.page-hero{
  padding: 64px 0 50px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero .eyebrow{ margin-bottom: 0.6em; }

/* Sfondi interior: immagine desktop e mobile via variabili */
.page-hero-bg, .hero-bg{ background-image: var(--bg-desk); }
@media (max-width: 700px){
  .page-hero-bg, .hero-bg{ background-image: var(--bg-mob, var(--bg-desk)); }
}

/* ---------------- Utility ---------------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.small{ font-size: 0.88rem; }
.list-check{ list-style:none; margin:0; padding:0; }
.list-check li{
  padding-left: 28px;
  position:relative;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.list-check li::before{
  content:"";
  position:absolute; left:0; top: 8px;
  width: 10px; height: 10px;
  border: 1.5px solid var(--terracotta);
  transform: rotate(45deg);
}

/* ---------------- Verifica di vendibilità (fase 2, questionario) ---------------- */
.vv-card{ margin: 8px 0 0; background: #FFFFFF; }
.vv-sections{ display:flex; gap:6px; margin:0 0 20px; }
.vv-sec{ flex:1; text-align:center; padding:9px 4px; font-family: var(--body); font-size:0.72rem; font-weight:600; letter-spacing:.02em; line-height:1.25; color: var(--ink-soft); background: var(--stone); border:1px solid var(--line); }
.vv-sec.active{ background: var(--terracotta); color:#F8F4EA; border-color: var(--terracotta); }
.vv-sec.done{ background: transparent; color: var(--terracotta); border-color: var(--terracotta); }
.vv-progress-label{ font-size:0.78rem; color: var(--ink-soft); margin:0 0 8px; }
.vv-progress-track{ height:3px; background: var(--stone-deep); overflow:hidden; margin:0 0 26px; }
.vv-progress-fill{ height:100%; width:100%; background: var(--terracotta); transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.16,1,.3,1); }
@keyframes vvFadeUp{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
.vv-fade{ animation: vvFadeUp .35s ease; }
.vv-question{ font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight:600; color: var(--ink); margin:0 0 18px; line-height:1.3; }
.vv-options{ display:flex; flex-direction:column; gap:8px; margin:0 0 26px; }
.vv-option{ display:flex; align-items:center; gap:12px; background: var(--stone); border:1px solid var(--line); padding:13px 16px; font-size:0.9rem; color: var(--ink); cursor:pointer; line-height:1.4; transition:border-color .15s, background .15s; }
.vv-option:hover{ border-color: var(--ochre); }
.vv-option.selected{ border-color: var(--terracotta); background: var(--card); color: var(--terracotta-dark); font-weight:600; }
.vv-radio{ width:15px; height:15px; border-radius:50%; border:1.5px solid var(--ink-soft); flex-shrink:0; position:relative; }
.vv-option.selected .vv-radio{ border-color: var(--terracotta); }
.vv-option.selected .vv-radio:after{ content:""; position:absolute; inset:3px; border-radius:50%; background: var(--terracotta); }
.vv-nav{ display:flex; justify-content:space-between; align-items:center; margin-top:6px; }
.vv-nav .btn:disabled{ opacity:.4; cursor:default; pointer-events:none; }
.vv-gauge-wrap{ display:flex; flex-direction:column; align-items:center; margin:6px 0 20px; }
.vv-gauge-tier{ margin:12px 0 0; text-align:center; }
.vv-badge{ display:inline-block; font-family: var(--body); font-size:0.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:6px 14px; border:1px solid; }
.vv-badge.g{ background:#EAF3DE; color:#27500A; border-color:#27500A; }
.vv-badge.o{ background:#FAEEDA; color:#633806; border-color:#633806; }
.vv-badge.r{ background:#F5E6DC; color:var(--ochre-ink); border-color:var(--ochre); }
.vv-diag{ font-size:0.92rem; line-height:1.6; color: var(--ink); margin:0 0 18px; text-align:center; }
.vv-checklist{ list-style:none; padding:0; margin:0 0 26px; }
.vv-checklist li{ font-size:0.85rem; color: var(--ink-soft); padding:9px 0 9px 20px; position:relative; border-bottom:1px solid var(--line); }
.vv-checklist li:before{ content:"—"; position:absolute; left:0; color: var(--ochre); }
.vv-service{ color: var(--terracotta); font-weight:600; font-size:0.76rem; display:block; margin-top:3px; }
.vv-field{ margin:0 0 14px; }
.vv-field label{ display:block; font-size:0.76rem; color: var(--ink-soft); margin:0 0 6px; text-transform:uppercase; letter-spacing:.04em; }
.vv-field input{ width:100%; background: var(--stone); border:1px solid var(--line); padding:11px 14px; font-size:0.9rem; font-family: var(--body); color: var(--ink); }
.vv-field input:focus{ outline:none; border-color: var(--ochre); }
.vv-thanks{ text-align:center; padding:22px 0; }
.vv-note{ font-size:0.78rem; color: var(--terracotta); margin:10px 0 0; text-align:center; display:none; }
@media (max-width: 640px){
  .vv-sec{ font-size:0.6rem; padding:7px 3px; }
  .vv-sections{ flex-wrap: wrap; }
}

.floating-cta{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  background: var(--terracotta);
  color: #F8F4EA;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(42,37,33,0.28);
  transition: background .2s ease;
}
.floating-cta:hover{ background: var(--terracotta-dark); }
@media (max-width: 640px){
  .floating-cta{
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
    padding: 14px 0;
  }
}

/* ---------------- Verifiche: pagina con le tre verifiche (multi-select, textarea) ---------------- */
.vv-check{ border-radius: 2px; }
.vv-option.selected .vv-check:after{ border-radius: 1px; }
.vv-field textarea{
  width:100%;
  background: var(--stone);
  border: 1px solid var(--line);
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: var(--body);
  color: var(--ink);
  min-height: 90px;
  resize: vertical;
}
.vv-field textarea:focus{ outline:none; border-color: var(--ochre); }

/* ---------------- Verifica 4: le tue provvigioni ---------------- */
.prov-base{
  display:flex; align-items:flex-start; justify-content:space-between;
  background: var(--stone); border: 1px solid var(--line);
  padding: 16px 18px; margin-bottom: 20px; gap: 12px;
}
.prov-base-label{ font-size:0.72rem; text-transform:uppercase; letter-spacing:0.06em; color: var(--ochre-ink); font-weight:700; }
.prov-base-title{ font-family: var(--body); font-size:0.88rem; font-weight:500; color: var(--ink); margin-top:4px; line-height:1.5; max-width:60ch; }
.prov-base-pct{ font-family: var(--display); font-size:1.6rem; color: var(--terracotta); white-space:nowrap; }
.prov-base-pct span{ font-size:0.7rem; color: var(--ink-soft); font-family: var(--body); }

.prov-option{ align-items:flex-start !important; cursor:pointer; }
.prov-option .vv-radio{ margin-top:2px; }
.prov-option-title{ font-size:0.92rem; font-weight:600; color: var(--ink); }
.prov-option-desc{ font-size:0.8rem; color: var(--ink-soft); margin-top:3px; line-height:1.4; font-weight:400; }
.prov-option-pct{ margin-left:auto; font-family: var(--display); font-size:1.1rem; color: var(--terracotta); white-space:nowrap; padding-left:10px; flex-shrink:0; }

.prov-presets{ display:flex; gap:10px; flex-wrap:wrap; margin: 4px 0 24px; }
.prov-preset-btn{
  flex:1; min-width:180px;
  background: var(--card); border: 1px solid var(--line);
  padding: 12px 16px; font-family: var(--body); font-size:0.78rem; font-weight:600;
  text-transform:uppercase; letter-spacing:0.03em; color: var(--ink-soft);
  cursor:pointer; text-align:center; transition: border-color .15s, color .15s;
}
.prov-preset-btn:hover{ border-color: var(--ochre); color: var(--ink); }
.prov-preset-btn.featured{ border-color: var(--terracotta); color: var(--terracotta); }
.prov-badge{ display:block; font-size:0.7rem; letter-spacing:0.04em; color: var(--ochre-ink); margin-top:3px; text-transform:uppercase; font-weight:700; }

.prov-result{ background: var(--stone-deep); border-left: 3px solid var(--terracotta); padding: 20px 22px; text-align:center; }
.prov-result-label{ font-size:0.7rem; text-transform:uppercase; letter-spacing:0.06em; color: var(--ink-soft); font-weight:700; }
.prov-result-pct{ font-family: var(--display); font-size:2.2rem; color: var(--terracotta); margin-top:6px; }
.prov-result-pct span{ font-size:0.85rem; color: var(--ink-soft); font-family: var(--body); }

/* ---------------- Chi Sono: sezione curriculum ---------------- */
.cv-stats{ display:flex; flex-wrap:wrap; margin: 26px 0 8px; }
.cv-stat{
  flex:1; min-width:150px;
  background: var(--stone);
  border-left: 3px solid var(--ochre);
  padding: 16px 18px;
  margin: 0 16px 12px 0;
}
.cv-stat:last-child{ margin-right:0; }
.cv-stat-num{
  display:block;
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--terracotta);
}
.cv-stat-label{
  display:block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 4px;
}
.cv-awards{ list-style:none; padding:0; margin: 10px 0 0; max-width: 68ch; }
.cv-awards li{
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}
.cv-award-year{
  font-family: var(--display);
  color: var(--ochre-ink);
  font-weight: 600;
  margin-right: 12px;
}
.cv-award-org{
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}
.section-dark .cv-awards li{ color: #FFFFFF; border-bottom-color: rgba(255,255,255,0.16); }
.section-dark .cv-award-year{ color: var(--ochre-light); }
.section-dark .cv-award-org{ color: rgba(255,255,255,0.75); }

/* ---------------- Caso studio (Via Mercalli), pagina Immobili ---------------- */
.listing-card-clickable{
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.listing-card-clickable:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(42,37,33,0.14);
}
.listing-cta{
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #F8F4EA;
}
.case-study-close{
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 3px;
  cursor: pointer;
}
.case-study-close:hover{
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.case-study-photo{
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 4px;
  line-height: 0;
}
.case-study-photo img{
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.case-study-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 860px){
  .case-study-grid{ grid-template-columns: 1fr; }
}
.case-stats-col{
  background: var(--terracotta);
  color: #FFFFFF;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
}
.case-stat-num{
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
}
.case-stat-label{
  font-size: 0.86rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}
.case-detail-col{
  background: var(--card);
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.case-detail-label{
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-ink);
  margin-bottom: 6px;
}
.case-detail-block p{ margin: 0; }
.case-quote{
  background: var(--stone);
  border-left: 3px solid var(--ochre);
  padding: 20px 24px;
  margin-top: 4px;
}
.case-quote p{
  font-style: italic;
  color: var(--ink);
  margin: 0 0 10px;
  font-size: 0.94rem;
  line-height: 1.5;
}
.case-quote-author{
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}


/* ---------------- Freccia torna indietro ---------------- */
.back-arrow{
  position: fixed;
  top: 86px;
  left: 18px;
  z-index: 55;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(42,37,33,0.14);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.back-arrow:hover{ color: var(--terracotta); transform: translateX(-2px); }
@media (max-width: 640px){
  .back-arrow{ top: auto; bottom: 18px; left: 14px; width: 40px; height: 40px; }
}

/* ---------------- Chat del sito (schedina in stile) ---------------- */
.chat-fab{
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 80;
  background: var(--terracotta);
  color: #F8F4EA;
  border: none;
  border-radius: 30px;
  padding: 14px 22px;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(42,37,33,0.25);
  transition: background .2s ease;
}
.chat-fab:hover{ background: var(--terracotta-dark); }



/* ---------------- Schede del dossier (link di navigazione nelle testate) ---------------- */
/* Fogli piatti color carta: titolo in serif, segno in mattone sul bordo alto
   come la linguetta di una cartellina, freccia in salvia che avanza al passaggio. */
.hero-square{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  width: 230px;
  height: 104px;
  padding: 16px 52px 14px 18px;
  border-radius: 2px;
  background: #F8F4EA;
  border: 1px solid rgba(42,37,33,0.22);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.hero-square::before{
  content: "";
  position: absolute;
  top: -1px; left: 17px;
  width: 28px; height: 2px;
  background: var(--ochre);
}
.hero-square::after{
  content: "";
  position: absolute;
  right: 18px; bottom: 18px;
  width: 20px; height: 10px;
  background: var(--terracotta-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h18M14 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h18M14 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .25s cubic-bezier(.16,1,.3,1), background .2s ease;
}
.hero-square:hover{ background: #FFFFFF; border-color: var(--terracotta-dark); }
.hero-square:hover::after{ transform: translateX(5px); }
.hero-square:focus-visible{ outline: 2px solid var(--ochre); outline-offset: 3px; }

/* Variante principale: l'azione che conta (es. Richiedi Valutazione) */
.hero-square--primary{
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: #F8F4EA;
}
.hero-square--primary::after{ background: #F8F4EA; }
.hero-square--primary:hover{ background: var(--ink); border-color: var(--ink); }

@media (max-width: 700px){
  .hero-square{ width: 250px; height: 96px; font-size: 1.3rem; }
}

/* ---------------- Hero Chi Sono: bottoni sotto il testo (desk), foto in mezzo (mobile) ---------------- */
.chi-buttons{ display:flex; gap:18px; flex-wrap:wrap; margin-top:30px; }
@media (max-width: 860px){
  .page-hero-grid--wide-photo.chi-hero{ grid-template-columns: 1fr; }
  .chi-hero .chi-left{ display: contents; }
  .chi-hero .hero-seal-col{ order: -2; margin: 0 0 10px; width: 100%; }
  .chi-hero .hero-seal-col img{ width: 100%; max-width: 100%; margin: 0; min-height: auto; }
  .chi-hero .chi-text{ order: -1; text-align: center; }
  .chi-hero .chi-buttons{ order: 0; justify-content: center; }
}

/* Contatti: giorno e orario impilati su mobile */
.riga-data-ora > div{ min-width: 0; }
.riga-data-ora input, .riga-data-ora select{ min-width: 0; box-sizing: border-box; }
@media (max-width: 700px){
  .riga-data-ora{ flex-direction: column; }
}

/* Contatti: campi tutti della stessa larghezza e altezza */
#contact-form input, #contact-form select,
#general-form input, #general-form textarea{ box-sizing: border-box; }
#contact-form input[type="date"]{
  -webkit-appearance: none;
  appearance: none;
  height: 46px;
  display: block;
  width: 100%;
}
#contact-form select{ height: 46px; }

/* Frecce del carosello fasi (solo mobile) */
.stamp-arrow{ display:none; }
@media (max-width: 760px){
  .stamp-wrap{ position: relative; }
  .stamp-arrow{
    display:flex; align-items:center; justify-content:center;
    position:absolute; top:120px; transform:translateY(-50%);
    width:44px; height:44px; border-radius:50%;
    border:none; background:rgba(52,76,53,0.92); color:#FFFFFF;
    font-size:28px; line-height:1; z-index:5; cursor:pointer; padding:0 0 3px;
    box-shadow:0 3px 10px rgba(0,0,0,0.18);
  }
  .stamp-arrow-left{ left:10px; }
  .stamp-arrow-right{ right:10px; }
  .stamp-arrow[disabled]{ opacity:0.25; }
}

/* Chi Sono: 4 bottoni su due righe (2+2) */
.chi-buttons-4{ display:grid; grid-template-columns:repeat(2, minmax(0,230px)); gap:18px; justify-content:start; }
@media (max-width: 860px){
  .chi-hero .chi-buttons-4{ justify-content:center; }
}

/* Griglia 2x2 bottoni: su mobile piu stretti, senza sovrapposizioni */
@media (max-width: 700px){
  .chi-buttons-4{ grid-template-columns: repeat(2, 1fr); width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; gap: 12px; }
  .chi-buttons-4 .hero-square{ width: 100%; min-width: 0; height: 92px; font-size: 1.1rem; padding: 14px 40px 12px 14px; }
  .chi-buttons-4 .hero-square::after{ right: 14px; bottom: 14px; }
}

/* --- Check Immobile: domande a gruppi (una scelta per riga) --- */
.vv-group{ margin:0 0 24px; }
.vv-group-row{ margin:0 0 20px; }
.vv-group-row:last-child{ margin-bottom:0; }
.vv-group-label{ font-family: var(--body); font-size:0.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--ink-soft); margin:0 0 9px; line-height:1.4; }
.vv-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.vv-chip{ display:inline-flex; align-items:center; gap:9px; background: var(--stone); border:1px solid var(--line); padding:11px 15px; font-size:0.87rem; color: var(--ink); cursor:pointer; line-height:1.3; transition:border-color .15s, background .15s; }
.vv-chip:hover{ border-color: var(--ochre); }
.vv-chip.selected{ border-color: var(--terracotta); background: var(--card); color: var(--terracotta-dark); font-weight:600; }
.vv-chip.selected .vv-radio{ border-color: var(--terracotta); }
.vv-chip.selected .vv-radio:after{ content:""; position:absolute; inset:3px; border-radius:50%; background: var(--terracotta); }
@media (max-width: 560px){
  .vv-chips{ flex-direction:column; }
  .vv-chip{ width:100%; }
}

/* ---------------- Home: percorso verso la valutazione ---------------- */
.btn-lg{ padding: 18px 34px; font-size: 0.95rem; }
.btn:focus-visible,
.text-link:focus-visible,
.home-cta-alt:focus-visible,
.proof-case-photo:focus-visible{ outline: 2px solid var(--ochre); outline-offset: 3px; }

.text-link{
  color: var(--terracotta-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s ease;
}
.text-link:hover{ color: var(--ink); }

.home-cta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 30px;
}
.home-cta-alt{
  background: #EDE7DB;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}
.home-cta-alt span{
  color: var(--terracotta-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: 4px;
}
.home-cta-alt:hover span{ color: var(--ink); }
.home-buyer{ margin: 28px 0 0; font-size: 0.85rem; }
.home-buyer a{
  background: #EDE7DB;
  padding: 4px 10px;
  color: var(--ink-soft);
  text-underline-offset: 3px;
}
.home-buyer a:hover{ color: var(--ink); }

/* Fascia delle prove */
.home-proof-title{ max-width: 18ch; margin-bottom: 44px; }
.proof-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}
.proof-case-photo{
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--terracotta-dark);
}
.proof-case-photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.proof-case-photo:hover img{ transform: scale(1.03); }
.proof-case-photo .listing-stamp{ width: 76px; height: 76px; top: 18px; left: 18px; }
.proof-case-photo .stamp-disc{ fill: rgba(52,76,53,0.88); }
.proof-case-photo .listing-stamp.venduto .stamp-label{ fill: #F8F4EA; }
.proof-case-body{ padding-top: 22px; }
.proof-case-price{
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 6px;
}
.proof-case-addr{ font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 22px; }
.proof-steps{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.proof-steps dt{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 6px;
}
.proof-steps dd{ margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink); }

.proof-side{ display: flex; flex-direction: column; gap: 36px; }
.proof-side figure{ margin: 0; }
.proof-review{ padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.proof-rating{ margin: 0 0 16px; font-size: 0.95rem; color: var(--ink); }
.proof-stars{ color: var(--ochre); letter-spacing: 2px; margin-right: 4px; }
.proof-review blockquote{
  margin: 0 0 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  color: var(--ink);
}
.proof-review figcaption,
.proof-award figcaption{ font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); }
.proof-award img{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 22%;
  margin-bottom: 14px;
}
.proof-award strong{ color: var(--ink); }

/* Ritratto + metodo */
.home-me-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.home-me-photo{ margin: 0; }
.home-me-photo img{ width: 100%; height: auto; border-radius: 4px; }
.home-me-text > p{ max-width: 58ch; }
.home-steps-title{ margin: 36px 0 18px; }
.home-steps{ list-style: none; margin: 0 0 26px; padding: 0; }
.home-steps li{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.home-steps li:last-child{ border-bottom: 1px solid var(--line); }
.home-step-n{
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--terracotta-dark);
}
.home-steps h4{ font-size: 1.3rem; font-weight: 600; margin: 0 0 4px; }
.home-steps p{ margin: 0; font-size: 0.95rem; }

/* Chiusura */
.home-close{ text-align: center; }
.home-close-inner{ max-width: 720px; }
.home-close h2{ margin-bottom: 0.3em; }
.home-close p{ font-size: 1.1rem; margin-bottom: 30px; }
.home-close-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
}

@media (max-width: 860px){
  .proof-grid, .home-me-grid{ grid-template-columns: 1fr; gap: 44px; }
  .home-me-photo{ max-width: 360px; }
}
@media (max-width: 560px){
  .proof-steps{ grid-template-columns: 1fr; gap: 16px; }
  .home-cta .btn{ width: 100%; justify-content: center; }
}

/* ---------------- Elementi fissi: "Scrivimi" e freccia indietro ---------------- */
.chat-fab{ transition: background .2s ease, opacity .25s ease, transform .3s cubic-bezier(.16,1,.3,1); }
.chat-fab.is-tucked{ opacity: 0; transform: translateY(16px); pointer-events: none; }
.chat-fab:focus-visible, .back-arrow:focus-visible{ outline: 2px solid var(--ochre); outline-offset: 3px; }
/* Sotto i 900px il menu è a tendina e il browser ha già il suo "indietro":
   la freccia fissa copriva contenuti e bottoni, quindi si ritira. */
@media (max-width: 900px){
  .back-arrow{ display: none; }
}
@media (max-width: 640px){
  .chat-fab{ right: 16px; bottom: 16px; padding: 12px 18px; }
}

/* ---------------- Valutazione: testata corta e scheda pensata per il telefono ---------------- */
.page-hero--compact.page-hero-photobg{ animation: none; }
.page-hero--compact .page-hero-bg{ animation: none; opacity: 0.32; filter: grayscale(45%); }
.page-hero--compact.page-hero-photobg .page-hero-grid{ animation: none; opacity: 1; }
.page-hero--compact.page-hero-photobg .seal-stamp{ animation-delay: 0.15s; }

.vv-intro{ font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 14px; }
.vv-facts{
  list-style: none;
  margin: 0 0 24px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.88rem;
  color: var(--ink);
}
.vv-facts li{ position: relative; padding-left: 16px; }
.vv-facts li::before{
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border: 1.5px solid var(--terracotta-dark);
  transform: rotate(45deg);
}

@media (max-width: 860px){
  .page-hero--compact{ padding: 30px 0 26px; }
  .page-hero--compact .hero-seal-col{ display: none; }
  .page-hero--compact h1{ font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .page-hero--compact + .section{ padding-top: 28px; }
}
@media (max-width: 560px){
  .vv-card{ padding: 24px 18px 18px; }
  .vv-card > h2, .vv-card > h3{ font-size: 1.35rem; }
  .vv-facts{ flex-direction: column; }
  .vv-sec{ font-size: 0.72rem; flex: 1 1 calc(50% - 6px); padding: 8px 4px; }
  .vv-field input, .vv-field textarea, .vv-text-input{ font-size: 16px; }
  /* Indietro / Avanti restano sotto il pollice anche con le domande lunghe */
  .vv-nav{
    position: sticky;
    bottom: 0;
    z-index: 5;
    gap: 10px;
    margin: 6px -18px -18px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: #FFFFFF;
    border-top: 1px solid var(--line);
  }
  .vv-nav .btn{ flex: 1; justify-content: center; min-height: 48px; }
}


/* ---------------- Menu di navigazione ---------------- */
/* Una sola struttura per desktop e mobile: sopra i 1180px voci in riga con
   sottomenu a foglio bianco; sotto, la stessa lista diventa una tendina. */
.nav-links{ display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-item{ position: relative; display: flex; align-items: center; }
.nav-links > .nav-item > a{
  position: relative;
  padding: 10px 0;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav-links a:hover{ color: var(--terracotta-dark); }
.nav-links > .nav-item > a.active{ color: var(--terracotta-dark); }
.nav-links > .nav-item > a.active::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 2px; background: var(--ochre);
}
.nav-links a:focus-visible, .nav-caret:focus-visible, .nav-toggle:focus-visible{ outline: 2px solid var(--ochre); outline-offset: 3px; }

.nav-caret{
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 32px; margin-left: 1px; padding: 0;
  background: none; border: 0; cursor: pointer;
  color: var(--ink-soft);
}
.nav-caret::before{
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.has-sub.open > .nav-caret::before{ transform: translateY(2px) rotate(225deg); }
.has-sub.open > .nav-caret{ color: var(--terracotta-dark); }

.nav-submenu{ display: none; list-style: none; margin: 0; padding: 0; }
.nav-submenu a{
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
}
.nav-submenu a[aria-current="page"]{ color: var(--terracotta-dark); font-weight: 600; }
.nav-item--blog{ display: none; }

.nav-cta{ padding: 11px 20px; font-size: 0.8rem; white-space: nowrap; flex-shrink: 0; }
.nav-cta[aria-current="page"]{ background: var(--terracotta-dark); }
.nav-cta-short{ display: none; }

.nav-toggle{
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -8px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  flex-shrink: 0;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after{
  display: block; width: 22px; height: 1.6px; background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bars{ position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after{ content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before{ top: -7px; }
.nav-toggle-bars::after{ top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars{ background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before{ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after{ transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1181px){
  .nav-submenu{
    position: absolute;
    top: 100%; left: -22px;
    min-width: 230px;
    padding: 8px 0;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(42,37,33,0.14);
    z-index: 60;
  }
  .has-sub:hover > .nav-submenu,
  .has-sub:focus-within > .nav-submenu,
  .has-sub.open > .nav-submenu{ display: block; }
  .nav-submenu a{ padding: 11px 22px; font-size: 0.88rem; }
  .nav-submenu a:hover{ background: var(--stone); }
}

@media (max-width: 1180px){
  .nav-wrap{ gap: 14px; padding: 12px 24px; }
  .nav-toggle{ display: inline-flex; }
  .site-nav{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: #FFFFFF;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(42,37,33,0.14);
    z-index: 70;
  }
  .site-nav.open{ display: block; }
  .nav-links{ flex-direction: column; align-items: stretch; gap: 0; max-width: 720px; margin: 0 auto; padding: 6px 0 10px; }
  .nav-item{ flex-wrap: wrap; padding: 0 24px; border-bottom: 1px solid var(--line); }
  .nav-item:last-child{ border-bottom: 0; }
  .nav-links > .nav-item > a{ flex: 1; padding: 15px 0; font-size: 0.9rem; }
  .nav-links > .nav-item > a.active::after{ display: none; }
  .nav-caret{ width: 48px; height: 48px; margin-right: -14px; }
  .has-sub.open > .nav-submenu{ display: block; flex-basis: 100%; padding: 0 0 12px 14px; border-left: 1px solid var(--line); margin-bottom: 12px; }
  .nav-submenu a{ padding: 11px 0; font-size: 0.98rem; }
  .nav-item--blog{ display: flex; }
}
@media (max-width: 480px){
  .nav-wrap{ gap: 8px; padding: 10px 16px; }
  .brand-wrap{ gap: 7px; }
  .brand{ font-size: 1.04rem; }
  .brand-logo{ height: 18px; }
  .nav-cta{ padding: 10px 11px; font-size: 0.72rem; letter-spacing: 0.02em; }
  .nav-cta-long{ display: none; }
  .nav-cta-short{ display: inline; }
}
/* Sui telefoni la barra tiene nome, bottone e menu: il logo Relab resta nel
   footer e nella fascia Relab della home, non qui. */
@media (max-width: 400px){
  .brand-logo{ display: none; }
}
@media (max-width: 340px){
  .brand{ font-size: 0.98rem; }
  .nav-cta{ padding: 9px 9px; }
}

/* ---------------- Testate fotografiche: fascia + testo su carta ---------------- */
/* La foto è una fascia panoramica a colori pieni sotto il menu; etichetta,
   titolo e testo stanno sotto, sulla carta, allineati alla griglia. Il sigillo
   si posa a cavallo del bordo inferiore della fascia, a destra. */
.hero-photobg,
.page-hero-photobg{
  --band-h: clamp(340px, 42vw, 580px);
  --seal: 150px;
  position: relative;
  min-height: 0;
  padding: 0 0 56px;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
  overflow: visible;
  animation: none;
}
.hero-photobg{ --band-h: clamp(340px, 40vw, 560px); padding-bottom: 72px; border-bottom: 0; }
/* Home: titolo a sinistra, testi e azioni a destra */
@media (min-width: 861px){
  .hero-photobg > .container{
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    column-gap: 72px;
    align-items: start;
  }
  .hero-photobg > .container > h1{ grid-column: 1; grid-row: 1 / span 5; margin: 0; max-width: 11ch; }
  .hero-photobg > .container > :not(h1){ grid-column: 2; }
  .hero-photobg .lede:first-of-type{ margin-top: 0.4em; }
  .hero-photobg .home-cta{ margin-top: 18px; }
}

.page-hero--compact.page-hero-photobg{ --band-h: clamp(220px, 26vw, 340px); padding-bottom: 40px; }

.hero-photobg .hero-bg,
.page-hero-photobg .page-hero-bg{
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: var(--band-h);
  background-size: cover;
  background-position: center 55%;
  opacity: 1;
  filter: none;
  animation: bandFocus .8s cubic-bezier(.16,1,.3,1) both;
}
.hero-photobg > .container,
.page-hero-photobg > .container{
  position: static;
  z-index: auto;
  max-width: var(--max) !important;
  text-align: left !important;
  padding-top: 52px;
  opacity: 1;
  animation: none;
}
/* Il testo entra leggermente dal basso; il sigillo ha il suo timbro */
.hero-photobg > .container > *,
.page-hero-photobg > .container > :not(.hero-seal-col--stamp),
.page-hero-photobg .page-hero-grid > div:first-child > *{
  animation: bandTextIn .7s cubic-bezier(.16,1,.3,1) .12s both;
}
.page-hero-photobg .page-hero-grid > div:first-child{ animation: none; }
:where(.page-hero-photobg > .container > *:not(.page-hero-grid):not(.hero-seal-col)){ max-width: 760px; }
.page-hero-photobg > .container .u-jc-center{ justify-content: flex-start; }
.page-hero--compact.page-hero-photobg > .container{ padding-top: 36px; }
@media (min-width: 701px){
  .hero-tall.page-hero-photobg{ min-height: 0; display: block; }
}

/* Testo direttamente sulla carta: niente riquadri, niente aloni */
.hero-photobg .eyebrow,
.hero-photobg h1,
.hero-photobg .lede,
.page-hero-photobg .eyebrow,
.page-hero-photobg h1,
.page-hero-photobg .lede{ text-shadow: none; }
.hero-photobg .eyebrow,
.page-hero-photobg .eyebrow{
  background: none;
  padding: 0;
  margin-bottom: 0.9em;
  color: var(--terracotta-dark);
  font-weight: 700;
}
.hero-photobg .lede,
.page-hero-photobg .lede{
  display: block;
  background: none;
  padding: 0;
  max-width: 56ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hero-photobg .lede + .lede{ margin-top: -0.2em; }
.home-cta-alt{ background: none; padding: 0; }
.home-buyer a{ background: none; padding: 0; }

/* Sigillo a cavallo del bordo della fascia */
.page-hero-photobg .hero-seal-col--stamp{
  position: absolute;
  z-index: 2;
  top: calc(var(--band-h) - var(--seal) / 2);
  right: max(32px, calc((100% - var(--max)) / 2 + 32px));
  width: var(--seal);
  margin: 0;
  display: block;
}
.page-hero-photobg .hero-seal-col--stamp img{ width: 100%; max-width: none; filter: drop-shadow(0 6px 14px rgba(42,37,33,0.18)); }
.page-hero-photobg .seal-stamp{ animation-delay: .35s; }
.page-hero-photobg .page-hero-grid{ grid-template-columns: minmax(0, 1fr); }
.page-hero-photobg .page-hero-grid > div:first-child{ max-width: 760px; padding-right: calc(var(--seal) + 24px); }

/* Chi sono: il ritratto resta accanto al testo, incorniciato */
.page-hero-photobg .page-hero-grid--wide-photo{ grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.page-hero-photobg .page-hero-grid--wide-photo > div:first-child{ padding-right: 0; }
.page-hero-photobg .hero-photo--flush{
  margin: 0;
  min-height: 0;
  max-height: 480px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 4px;
}

/* Cerchi casa / Vendi casa: schede del dossier sotto il testo, a sinistra */


@keyframes bandFocus{
  from{ opacity: .55; transform: scale(1.03); filter: blur(5px); }
  to{ opacity: 1; transform: none; filter: none; }
}
@keyframes bandTextIn{
  from{ opacity: 0; transform: translateY(12px); }
  to{ opacity: 1; transform: none; }
}
.hero-photobg, .page-hero-photobg{ overflow-x: clip; }

@media (max-width: 860px){
  .page-hero-photobg .page-hero-grid--wide-photo{ grid-template-columns: 1fr; }
  .page-hero-photobg .page-hero-grid > div:first-child{ padding-right: 0; }
  .page-hero-photobg .hero-seal-col--stamp{ --seal: 96px; }
  .chi-hero .hero-seal-col{ order: 0; margin: 8px 0 0; }
}
@media (max-width: 700px){
  .hero-photobg{ --band-h: 300px; padding-bottom: 56px; }
  .page-hero-photobg{ --band-h: 280px; padding-bottom: 44px; }
  .page-hero--compact.page-hero-photobg{ --band-h: 200px; padding-bottom: 32px; }
  .page-hero-photobg .hero-seal-col--stamp{ --seal: 88px; top: calc(var(--band-h) - 44px); right: 16px; width: 88px; }
  .page-hero-photobg .page-hero-grid > div:first-child{ padding-right: 0; }
  .page-hero-photobg .page-hero-grid > div:first-child .eyebrow{ max-width: calc(100% - 96px); }
  .hero-photobg > .container, .page-hero-photobg > .container{ padding-top: 34px; }
  .page-hero--compact.page-hero-photobg > .container{ padding-top: 28px; }
  .chi-hero .chi-text{ text-align: left; }
}
@media (prefers-reduced-motion: reduce){
  .hero-photobg .hero-bg, .page-hero-photobg .page-hero-bg,
  .hero-photobg > .container > *, .page-hero-photobg > .container > *,
  .page-hero-photobg .page-hero-grid > div:first-child > *{ animation: none; opacity: 1; transform: none; }
}

/* ---------------- Stili prima scritti nelle pagine ---------------- */
/* Ex stili in linea: classi con nome per i pattern ricorrenti dei moduli,
   piccole utility "u-" per i ritocchi puntuali. Le utility hanno la classe
   ripetuta (.u-x.u-x) per vincere sulle regole dei componenti come facevano
   gli stili in linea, ma restano sotto gli stili impostati da JavaScript. */
.img-cover{ width: 100%; height: 100%; object-fit: cover; }
.check-label{ display: flex; align-items: center; gap: 8px; font-weight: 400; }
.field-label{ display: block; margin-bottom: 6px; font-weight: 600; }
.check-label--top{ align-items: flex-start; }
.field-col{ flex: 1; min-width: 160px; }
.u-ai-center.u-ai-center{ align-items: center; }
.u-ai-flex-start.u-ai-flex-start{ align-items: flex-start; }
.u-ai-stretch.u-ai-stretch{ align-items: stretch; }
.u-as-flex-start.u-as-flex-start{ align-self: flex-start; }
.u-bd-1-solid-line.u-bd-1-solid-line{ border: 1px solid var(--line); }
.u-bd-1-solid-rgba000008.u-bd-1-solid-rgba000008{ border: 1px solid rgba(0,0,0,0.08); }
.u-bd-none.u-bd-none{ border: none; }
.u-bdb-none.u-bdb-none{ border-bottom: none; }
.u-bdl-3-solid-terracotta.u-bdl-3-solid-terracotta{ border-left: 3px solid var(--terracotta); }
.u-bdt-1-solid-line.u-bdt-1-solid-line{ border-top: 1px solid var(--line); }
.u-bdt-none.u-bdt-none{ border-top: none; }
.u-bg-fff.u-bg-fff{ background: #FFFFFF; }
.u-bg-fff-2.u-bg-fff-2{ background: #fff; }
.u-bg-line.u-bg-line{ background: var(--line); }
.u-bg-stone.u-bg-stone{ background: var(--stone); }
.u-bg-terracotta.u-bg-terracotta{ background: var(--terracotta); }
.u-bg-transparent.u-bg-transparent{ background: transparent; }
.u-br-2.u-br-2{ border-radius: 2px; }
.u-c-ink.u-c-ink{ color: var(--ink); }
.u-c-ochre.u-c-ochre{ color: var(--ochre); }
.u-c-ochre-light.u-c-ochre-light{ color: var(--ochre-light); }
.u-c-rgba24824423.u-c-rgba24824423{ color: rgba(248,244,234,0.85); }
.u-c-taupe.u-c-taupe{ color: var(--taupe); }
.u-c-terracotta.u-c-terracotta{ color: var(--terracotta); }
.u-d-block.u-d-block{ display: block; }
.u-d-flex.u-d-flex{ display: flex; }
.u-d-grid.u-d-grid{ display: grid; }
.u-fd-column.u-fd-column{ flex-direction: column; }
.u-ff-body.u-ff-body{ font-family: var(--body); }
.u-ff-display.u-ff-display{ font-family: var(--display); }
.u-flex-1.u-flex-1{ flex: 1; }
.u-fs-0_85r.u-fs-0_85r{ font-size: 0.85rem; }
.u-fs-0_8r.u-fs-0_8r{ font-size: 0.8rem; }
.u-fs-0_95r.u-fs-0_95r{ font-size: 0.95rem; }
.u-fs-0_9r.u-fs-0_9r{ font-size: 0.9rem; }
.u-fs-1_02r.u-fs-1_02r{ font-size: 1.02rem; }
.u-fs-1_15r.u-fs-1_15r{ font-size: 1.15rem; }
.u-fs-1_1r.u-fs-1_1r{ font-size: 1.1rem; }
.u-fs-1_3r.u-fs-1_3r{ font-size: 1.3rem; }
.u-fs-2r.u-fs-2r{ font-size: 2rem; }
.u-fs-clamp1_7r-3_4vw-2_3r.u-fs-clamp1_7r-3_4vw-2_3r{ font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.u-fst-italic.u-fst-italic{ font-style: italic; }
.u-fw-wrap.u-fw-wrap{ flex-wrap: wrap; }
.u-fwt-400.u-fwt-400{ font-weight: 400; }
.u-fwt-600.u-fwt-600{ font-weight: 600; }
.u-fwt-700.u-fwt-700{ font-weight: 700; }
.u-gap-10.u-gap-10{ gap: 10px; }
.u-gap-12.u-gap-12{ gap: 12px; }
.u-gap-14.u-gap-14{ gap: 14px; }
.u-gap-16.u-gap-16{ gap: 16px; }
.u-gap-18.u-gap-18{ gap: 18px; }
.u-gap-20.u-gap-20{ gap: 20px; }
.u-gap-28.u-gap-28{ gap: 28px; }
.u-gap-8.u-gap-8{ gap: 8px; }
.u-gtc-repeatauto-fill-minmax200-1fr.u-gtc-repeatauto-fill-minmax200-1fr{ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.u-gtc-repeatauto-fill-minmax96-1fr.u-gtc-repeatauto-fill-minmax96-1fr{ grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.u-h-100pct.u-h-100pct{ height: 100%; }
.u-h-4.u-h-4{ height: 4px; }
.u-h-auto.u-h-auto{ height: auto; }
.u-jc-center.u-jc-center{ justify-content: center; }
.u-jc-space-between.u-jc-space-between{ justify-content: space-between; }
.u-left-0.u-left-0{ left: 0; }
.u-list-none.u-list-none{ list-style: none; }
.u-ls-1.u-ls-1{ letter-spacing: 1px; }
.u-m-0.u-m-0{ margin: 0; }
.u-m-0-0-16.u-m-0-0-16{ margin: 0 0 16px; }
.u-m-0-0-20.u-m-0-0-20{ margin: 0 0 20px; }
.u-m-0-auto.u-m-0-auto{ margin: 0 auto; }
.u-m-0-auto-20.u-m-0-auto-20{ margin: 0 auto 20px; }
.u-m-0-auto-50.u-m-0-auto-50{ margin: 0 auto 50px; }
.u-m-10-0-0.u-m-10-0-0{ margin: 10px 0 0; }
.u-m-2-0-0.u-m-2-0-0{ margin: 2px 0 0; }
.u-m-22-0.u-m-22-0{ margin: 22px 0; }
.u-m-36-0.u-m-36-0{ margin: 36px 0; }
.u-m-4-0-8.u-m-4-0-8{ margin: 4px 0 8px; }
.u-m-46-0-0.u-m-46-0-0{ margin: 46px 0 0; }
.u-m-46-0-26.u-m-46-0-26{ margin: 46px 0 26px; }
.u-m-6-0-0.u-m-6-0-0{ margin: 6px 0 0; }
.u-m-8-0-0.u-m-8-0-0{ margin: 8px 0 0; }
.u-mb-0.u-mb-0{ margin-bottom: 0; }
.u-mb-10.u-mb-10{ margin-bottom: 10px; }
.u-mb-12.u-mb-12{ margin-bottom: 12px; }
.u-mb-14.u-mb-14{ margin-bottom: 14px; }
.u-mb-16.u-mb-16{ margin-bottom: 16px; }
.u-mb-18.u-mb-18{ margin-bottom: 18px; }
.u-mb-2.u-mb-2{ margin-bottom: 2px; }
.u-mb-20.u-mb-20{ margin-bottom: 20px; }
.u-mb-22.u-mb-22{ margin-bottom: 22px; }
.u-mb-26.u-mb-26{ margin-bottom: 26px; }
.u-mb-28.u-mb-28{ margin-bottom: 28px; }
.u-mb-32.u-mb-32{ margin-bottom: 32px; }
.u-mb-4.u-mb-4{ margin-bottom: 4px; }
.u-mb-6.u-mb-6{ margin-bottom: 6px; }
.u-mb-8.u-mb-8{ margin-bottom: 8px; }
.u-mnw-130.u-mnw-130{ min-width: 130px; }
.u-mnw-140.u-mnw-140{ min-width: 140px; }
.u-mnw-180.u-mnw-180{ min-width: 180px; }
.u-mnw-230.u-mnw-230{ min-width: 230px; }
.u-mt-10.u-mt-10{ margin-top: 10px; }
.u-mt-12.u-mt-12{ margin-top: 12px; }
.u-mt-14.u-mt-14{ margin-top: 14px; }
.u-mt-16.u-mt-16{ margin-top: 16px; }
.u-mt-18.u-mt-18{ margin-top: 18px; }
.u-mt-22.u-mt-22{ margin-top: 22px; }
.u-mt-26.u-mt-26{ margin-top: 26px; }
.u-mt-3.u-mt-3{ margin-top: 3px; }
.u-mt-34.u-mt-34{ margin-top: 34px; }
.u-mt-36.u-mt-36{ margin-top: 36px; }
.u-mt-40.u-mt-40{ margin-top: 40px; }
.u-mt-44.u-mt-44{ margin-top: 44px; }
.u-mt-8.u-mt-8{ margin-top: 8px; }
.u-mw-420.u-mw-420{ max-width: 420px; }
.u-mw-520.u-mw-520{ max-width: 520px; }
.u-mw-56ch.u-mw-56ch{ max-width: 56ch; }
.u-mw-640.u-mw-640{ max-width: 640px; }
.u-mw-680.u-mw-680{ max-width: 680px; }
.u-mw-68ch.u-mw-68ch{ max-width: 68ch; }
.u-mw-720.u-mw-720{ max-width: 720px; }
.u-mw-760.u-mw-760{ max-width: 760px; }
.u-mw-800.u-mw-800{ max-width: 800px; }
.u-mxh-220.u-mxh-220{ max-height: 220px; }
.u-ov-hidden.u-ov-hidden{ overflow: hidden; }
.u-ovy-auto.u-ovy-auto{ overflow-y: auto; }
.u-p-0.u-p-0{ padding: 0; }
.u-p-11-13.u-p-11-13{ padding: 11px 13px; }
.u-p-12-14.u-p-12-14{ padding: 12px 14px; }
.u-p-18-24.u-p-18-24{ padding: 18px 24px; }
.u-p-24-20.u-p-24-20{ padding: 24px 20px; }
.u-p-26-10.u-p-26-10{ padding: 26px 10px; }
.u-p-9-18.u-p-9-18{ padding: 9px 18px; }
.u-pb-24.u-pb-24{ padding-bottom: 24px; }
.u-pos-absolute.u-pos-absolute{ position: absolute; }
.u-pos-relative.u-pos-relative{ position: relative; }
.u-pt-0.u-pt-0{ padding-top: 0; }
.u-pt-20.u-pt-20{ padding-top: 20px; }
.u-pt-32.u-pt-32{ padding-top: 32px; }
.u-pt-40.u-pt-40{ padding-top: 40px; }
.u-right-0.u-right-0{ right: 0; }
.u-rs-vertical.u-rs-vertical{ resize: vertical; }
.u-shadow-0-6-14-rgba00008.u-shadow-0-6-14-rgba00008{ box-shadow: 0 6px 14px rgba(0,0,0,.08); }
.u-ta-center.u-ta-center{ text-align: center; }
.u-ta-left.u-ta-left{ text-align: left; }
.u-td-none.u-td-none{ text-decoration: none; }
.u-top-100pct.u-top-100pct{ top: 100%; }
.u-w-100pct.u-w-100pct{ width: 100%; }
.u-w-auto.u-w-auto{ width: auto; }
.u-z-20.u-z-20{ z-index: 20; }

/* ---------------- Scena FAKE sulla fascia fotografica ---------------- */
/* La frase tipica dell'agente compare sulla foto, nitida e ferma; poco dopo il
   timbro FAKE arriva da davanti allo schermo e si posa SOTTO la frase, senza
   coprirla, così chi legge più lentamente può finire di leggere. All'impatto la
   foto ha un piccolo sussulto. La foto qui non si sfoca né si ingrandisce:
   la frase ci sta dentro e verrebbe sdoppiata. */
.page-hero-photobg .page-hero-bg--claim,
.hero-photobg .page-hero-bg--claim{
  display: grid;
  place-items: center;
  animation: bandFade .5s ease-out both, bandThud .3s ease-out 1.42s;
}
.band-claim{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: 0 24px;
  pointer-events: none;
  isolation: isolate;
}
/* Nessun riquadro: solo un'ombra morbida della foto dietro le parole */
.band-claim::before{
  content: "";
  position: absolute;
  inset: -40% -18%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(20,18,16,0.42) 0%, rgba(20,18,16,0.18) 45%, rgba(20,18,16,0) 70%);
}
.band-claim-text{
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 16ch;
  text-wrap: balance;
  font-variant-numeric: lining-nums;
  color: #FFFFFF;
  text-shadow:
    0 1px 2px rgba(20,18,16,0.6),
    0 2px 10px rgba(20,18,16,0.5),
    0 6px 32px rgba(20,18,16,0.4);
  animation: claimIn .8s ease-out .2s both;
}
.band-claim-stamp{
  display: block;
  width: min(34%, 290px);
  height: auto;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  animation: stampFromViewer .48s cubic-bezier(.55,0,.8,.2) 1.1s both;
}
@keyframes bandFade{ from{ opacity: .6; } to{ opacity: 1; } }
@keyframes claimIn{ from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: none; } }
/* Il timbro parte enorme e sfocato (è vicino all'occhio), accelera verso lo
   schermo, si schiaccia all'impatto e si assesta sotto la frase */
@keyframes stampFromViewer{
  0%   { opacity: 0;  transform: scale(3.2) rotate(-24deg); filter: blur(8px); }
  40%  { opacity: .6; }
  70%  { opacity: 1;  transform: scale(.9) rotate(-7deg); filter: blur(0); }
  85%  {              transform: scale(1.05) rotate(-9deg); }
  100% { opacity: 1;  transform: scale(1) rotate(-8deg); filter: none; }
}
@keyframes bandThud{
  0%, 100%{ transform: none; }
  30%{ transform: translateY(3px); }
  65%{ transform: translateY(-1px); }
}
.band-claim--long .band-claim-text{ font-size: clamp(2.2rem, 4.6vw, 4.4rem); max-width: 18ch; }
.page-hero--compact .band-claim{ gap: 10px; }
.page-hero--compact .band-claim-text{ font-size: clamp(1.9rem, 3.6vw, 3.2rem); max-width: 22ch; }
.page-hero--compact .band-claim-stamp{ width: min(20%, 170px); }
@media (max-width: 700px){
  .band-claim{ gap: 12px; padding: 0 16px; }
  .band-claim-text{ font-size: clamp(2rem, 9vw, 2.8rem); }
  .band-claim--long .band-claim-text{ font-size: clamp(1.7rem, 7.2vw, 2.2rem); }
  .page-hero--compact .band-claim-text{ font-size: clamp(1.6rem, 7vw, 2rem); }
  .band-claim-stamp{ width: 40%; }
  .page-hero--compact .band-claim-stamp{ width: 30%; }
}
@media (prefers-reduced-motion: reduce){
  .page-hero-photobg .page-hero-bg--claim, .hero-photobg .page-hero-bg--claim, .band-claim-text, .band-claim-stamp{ animation: none; }
}
@media (max-width: 860px){
  /* Valutazione: fascia corta, il sigillo lascia la scena al timbro */
  .page-hero--compact .hero-seal-col--stamp{ display: none; }
}
/* Testate senza foto (Contatti, Documenti): su telefono il sigillo resta piccolo, il titolo arriva subito */
@media (max-width: 860px){
  .page-hero:not(.page-hero-photobg) .hero-seal-col--stamp{ justify-content: flex-start; margin-bottom: 4px; }
  .page-hero:not(.page-hero-photobg) .hero-seal-col--stamp img{ max-width: 104px; margin: 0; }
}

/* Pagine con la scena FAKE: una sola cosa si muove alla volta.
   Prima la frase, poi il timbro; titolo e descrizione sotto la foto sono già fermi, e il
   sigillo arriva solo dopo il FAKE. */
.page-hero-photobg:has(.page-hero-bg--claim) > .container > *,
.page-hero-photobg:has(.page-hero-bg--claim) .page-hero-grid > div:first-child > *,
.hero-photobg:has(.page-hero-bg--claim) > .container > *{ animation: none; }
.page-hero-photobg:has(.page-hero-bg--claim) .seal-stamp{ animation-delay: 2.1s; }

/* In attesa del font la scena è in pausa (vedi nav.js) */
.page-hero-photobg .page-hero-bg--claim.is-waiting-font,
.hero-photobg .page-hero-bg--claim.is-waiting-font{ animation-play-state: running, paused; }
.page-hero-bg--claim.is-waiting-font .band-claim-text,
.page-hero-bg--claim.is-waiting-font .band-claim-stamp{ animation-play-state: paused; }

/* Titolo della pagina sulla foto (Chi sono, Recensioni, Riconoscimenti):
   stesso trattamento della frase FAKE, senza timbro */
.band-claim--title .band-claim-text{
  max-width: 18ch;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  text-shadow:
    0 1px 2px rgba(20,18,16,0.6),
    0 2px 10px rgba(20,18,16,0.5),
    0 6px 32px rgba(20,18,16,0.4);
}
@media (max-width: 700px){
  .band-claim--title .band-claim-text{ font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
}
/* Testata fatta solo dalla fascia (Recensioni): niente spazio vuoto sotto */
.page-hero-photobg:not(:has(> .container)){ padding-bottom: 0; }

/* Il Metodo: il sigillo, più grande, sta accanto al titolo invece che sul bordo della foto */
.hero--seal-beside .page-hero-grid{
  grid-template-columns: minmax(0, 720px) auto;
  justify-content: start;
  align-items: center;
  column-gap: clamp(24px, 4vw, 64px);
}
.hero--seal-beside .page-hero-grid > div:first-child{ padding-right: 0; }
.page-hero-photobg.hero--seal-beside .hero-seal-col--stamp{
  position: static;
  width: clamp(170px, 18vw, 240px);
}
@media (max-width: 860px){
  .hero--seal-beside .page-hero-grid{ grid-template-columns: minmax(0, 1fr) auto; }
  .hero--seal-beside .page-hero-grid .hero-seal-col{ order: 0; margin: 0; }
  .page-hero-photobg.hero--seal-beside .hero-seal-col--stamp{ width: 120px; }
}
/* Sul telefono non c'è spazio accanto: il sigillo va sopra il titolo, a sinistra */
@media (max-width: 560px){
  .hero--seal-beside .page-hero-grid{ grid-template-columns: minmax(0, 1fr); }
  .hero--seal-beside .page-hero-grid .hero-seal-col{ order: -1; margin: 0 0 14px; }
  .page-hero-photobg.hero--seal-beside .hero-seal-col--stamp{ width: 96px; }
}

/* Il Metodo, barra delle sei fasi: ogni fase mostra sempre il suo numero.
   Prima la fase attiva diventava il sigillo-logo e non sembrava più una fase.
   Ora la fase attiva è il cerchio pieno in salvia con il numero in bianco. */
.stamp-item .stamp-photo,
.stamp-item.active .stamp-photo,
.stamp-item:hover .stamp-photo{ display: none; }
.stamp-item .stamp-svg,
.stamp-item:hover .stamp-svg{ opacity: .55; }
.stamp-item.done .stamp-svg{ opacity: .8; }
.stamp-item.active .stamp-svg{ opacity: 1; }
.stamp-item.active .ring-outer{ fill: var(--terracotta); }
.stamp-item.active .ring-inner{ stroke: rgba(248,244,234,0.6); }
.stamp-item.active .stamp-num{ fill: #F8F4EA; }
.stamp-item:hover .stamp-mark{ transform: scale(1.12); filter: none; }
.stamp-item.active:hover .stamp-mark{ transform: none; }

/* ---------------- Cerchi casa: confronto "Cosa succede spesso / Come lavoro io" ---------------- */
.compare-title{ max-width: 28ch; margin-bottom: 40px; text-wrap: balance; }
.compare-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.compare-head span:first-child{ color: var(--ochre-ink); }
.compare-head span:last-child{ color: var(--terracotta-dark); }
.compare-list{ list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.compare-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.compare-row p{ margin: 0; }
.compare-bad{
  position: relative;
  padding-left: 26px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.3;
  color: var(--ink);
}
/* una piccola croce in mattone: la cosa che non succede con me */
.compare-bad::before, .compare-bad::after{
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 13px; height: 1.6px;
  background: var(--ochre);
  transform: rotate(45deg);
}
.compare-bad::after{ transform: rotate(-45deg); }
.compare-good{
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.compare-good::before{
  content: "";
  position: absolute;
  left: 2px; top: 0.55em;
  width: 8px; height: 8px;
  border: 1.5px solid var(--terracotta-dark);
  transform: rotate(45deg);
}
.compare-bridge{ max-width: 760px; }
.compare-bridge p{ font-size: 1.08rem; max-width: 62ch; }
.compare-bridge-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
@media (max-width: 760px){
  .compare-head{ display: none; }
  .compare-row{ grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .compare-good{ margin-left: 26px; padding-left: 20px; }
  .compare-good::before{ left: 0; }
}

/* Home: invito alla vendita riservata */
.home-reserved{ padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-reserved-inner{ display: flex; align-items: center; justify-content: space-between; gap: 24px 56px; flex-wrap: wrap; }
.home-reserved-inner > div{ max-width: 640px; }
.home-reserved h2{ margin-bottom: 0.35em; }
.home-reserved p{ margin: 0; font-size: 1.05rem; }

/* ---------------- Vendita riservata (immobili di pregio) ---------------- */
.reserved-hero-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }
.reserved-title{ margin-bottom: 36px; }
.guarantees{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-top: 1px solid var(--line);
}
.guarantees li{ padding: 24px 0 22px; border-bottom: 1px solid var(--line); }
.guarantees h3{ font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0 0 6px; }
.guarantees p{ margin: 0; max-width: 46ch; }
.reserved-two{ display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.reserved-side{ display: flex; flex-direction: column; gap: 32px; }
.reserved-proof{ padding: 28px 28px 24px; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--ochre); }
.reserved-proof-label{ margin: 0 0 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-ink); }
.reserved-proof-value{ margin: 0 0 10px; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.reserved-proof-text{ margin: 0; font-size: 0.95rem; }
.reserved-net h3{ margin-bottom: 8px; }
.reserved-net p{ margin: 0; }
.reserved-form-card{ background: #FFFFFF; }
.reserved-form-intro{ margin: 0 0 22px; }
.reserved-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-bottom: 14px; }
.reserved-field{ display: flex; flex-direction: column; gap: 6px; font-size: 0.76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.reserved-field input, .reserved-field select{
  font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0;
  color: var(--ink); background: var(--stone); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: 0; min-height: 48px;
}
.reserved-field input:focus, .reserved-field select:focus{ outline: none; border-color: var(--ochre); }
.reserved-priv{ margin: 6px 0 18px; font-size: 0.85rem; color: var(--ink-soft); }
.reserved-note{ margin: 12px 0 0; font-weight: 600; color: var(--terracotta-dark); }
.reserved-note:empty{ display: none; }
.reserved-alt{ margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.95rem; }
@media (max-width: 860px){
  .guarantees{ grid-template-columns: 1fr; }
  .reserved-two{ grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px){
  .reserved-row{ grid-template-columns: 1fr; }
  .reserved-form-card .btn-lg{ width: 100%; justify-content: center; }
}

/* ---------------- Immobili in vendita (pagine generate da build.py) ---------------- */
.sale-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.sale-card{ display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); transition: border-color .2s ease, transform .25s cubic-bezier(.16,1,.3,1); }
a.sale-card:hover{ border-color: var(--terracotta-dark); transform: translateY(-3px); }
a.sale-card:focus-visible{ outline: 2px solid var(--ochre); outline-offset: 3px; }
.sale-card-photo{ position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-deep); }
.sale-card-photo img{ width: 100%; height: 100%; object-fit: cover; }
.sale-badge{ position: absolute; top: 14px; left: 14px; padding: 6px 10px; background: #F8F4EA; color: var(--terracotta-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.sale-badge--inline{ position: static; display: inline-block; margin-bottom: 14px; border: 1px solid var(--line); }
.sale-sold-stamp{ position: absolute; top: 16px; left: 16px; padding: 6px 12px; border: 2px solid #F8F4EA; color: #F8F4EA; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(-6deg); background: rgba(52,76,53,0.7); }
.sale-card--sold .sale-card-photo img{ filter: saturate(.75); }
.sale-card-body{ display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; }
.sale-card-title{ font-family: var(--display); font-size: 1.45rem; line-height: 1.15; color: var(--ink); }
.sale-card-place{ font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.sale-card-meta{ display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.85rem; color: var(--taupe); }
.sale-card-price{ margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 1.3rem; color: var(--terracotta-dark); font-variant-numeric: lining-nums; }
.sale-empty{ max-width: 620px; padding: 36px; background: var(--card); border: 1px solid var(--line); }
.sale-empty p{ margin-bottom: 0.8em; }
.sale-empty .btn{ margin-top: 10px; }
.sale-more{ margin: 32px 0 0; }
.sale-back{ margin: 0 0 22px; }
.sale-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.sale-head h1{ margin-bottom: 0.15em; }
.sale-place{ margin: 0; font-weight: 600; color: var(--ink-soft); }
.sale-price{ margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--terracotta-dark); font-variant-numeric: lining-nums; }
.sale-gallery{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 44px; }
.sale-gallery img{ width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sale-gallery img:first-child{ grid-column: span 4; aspect-ratio: 16 / 9; }
.sale-body{ display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 56px; align-items: start; }
.sale-text p{ max-width: 64ch; }
.sale-text .list-check{ margin-top: 20px; }
.sale-facts{ padding: 24px; background: var(--card); border: 1px solid var(--line); }
.sale-facts dl{ margin: 0; }
.sale-facts dl > div{ display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sale-facts dt{ font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.sale-facts dd{ margin: 0; text-align: right; color: var(--ink); }
.sale-privacy{ margin: 16px 0 0; font-size: 0.88rem; }
.reserved-field--full{ margin-bottom: 14px; }
.reserved-field textarea{ font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink); background: var(--stone); border: 1px solid var(--line); padding: 12px 14px; border-radius: 0; resize: vertical; }
.reserved-field textarea:focus{ outline: none; border-color: var(--ochre); }
@media (max-width: 900px){
  .sale-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .sale-body{ grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px){
  .sale-grid{ grid-template-columns: 1fr; }
  .sale-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sale-gallery img:first-child{ grid-column: span 2; }
}

/* Pulsante fisso "Mi scriva su WhatsApp" */
.chat-fab{ display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.chat-fab:hover, .chat-fab:focus-visible{ color: #F8F4EA; }
.chat-fab svg{ flex: 0 0 auto; }

/* Home: i numeri di Relab */
.relab-band h2{ margin: 0 0 30px; }
.relab-kicker{ font-size: 0.74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-ink); font-weight: 600; margin: 0 0 8px; }
.relab-stats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; }
.relab-stats div{ border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column-reverse; }
.relab-stats dd{ margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--terracotta); }
.relab-stats dt{ margin-top: 8px; font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.relab-note{ max-width: 62ch; margin: 28px 0 0; color: var(--taupe); font-size: 0.95rem; }
@media (max-width: 700px){ .relab-stats{ grid-template-columns: repeat(2, 1fr); gap: 22px; } }

/* Vendi casa: "Il modo di sempre / Il mio modo" */
.compare-topic{ grid-column: 1 / -1; font-size: 0.72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-dark); margin-bottom: -30px; }
.compare--sell .compare-bad{ font-family: var(--body); font-size: 1rem; line-height: 1.55; color: var(--taupe); }
.compare--sell .compare-good{ color: var(--ink); font-weight: 500; }
@media (max-width: 760px){ .compare-topic{ margin-bottom: 0; } }

/* "Due modi validi di vendere casa" */
.two-ways{ display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.way{ background: #FFFFFF; border: 1px solid var(--line); padding: 30px 28px; }
.way--mine{ background: var(--terracotta-dark); border-color: var(--terracotta-dark); color: #F8F4EA; }
.way-head{ border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 20px; }
.way--mine .way-head{ border-color: rgba(248,244,234,.25); }
.way-n{ font-size: 0.72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-ink); }
.way--mine .way-n{ color: var(--ochre-light); }
.way h3{ margin: 6px 0 10px; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.way--mine h3{ color: var(--ochre-light); }
.way-head p{ margin: 0; color: var(--taupe); }
.way--mine .way-head p, .way--mine .way-sub{ color: rgba(248,244,234,.88); }
.way-sub{ font-family: var(--display); font-style: italic; font-size: 1.15rem; margin: 0 0 10px; }
.way-steps{ list-style: none; margin: 0 0 22px; padding: 0; counter-reset: way; }
.way-steps li{ counter-increment: way; position: relative; padding: 0 0 12px 34px; line-height: 1.5; }
.way-steps li::before{ content: counter(way); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; font-size: .72rem; display: grid; place-items: center; opacity: .7; }
.way-note{ padding: 16px 18px; background: rgba(248,244,234,.1); border-left: 3px solid var(--ochre-light); }
.way-note--risk{ background: #F6EBDD; border-left-color: var(--ochre); }
.way-label{ display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-ink); margin-bottom: 6px; }
.way--mine .way-label{ color: var(--ochre-light); }
.way-note p{ margin: 0; }
.two-ways-cta{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 34px 0 0; }
.two-ways-cta span{ color: var(--taupe); font-size: .95rem; }
@media (max-width: 860px){ .two-ways{ grid-template-columns: 1fr; } }
.way--mine p, .way--mine li{ color: #F8F4EA; }
.way--mine .way-head p, .way--mine .way-sub{ color: rgba(248,244,234,.88); }

/* ---------------- Consenso cookie ---------------- */
.consent{
  position: fixed; z-index: 120; left: 22px; bottom: 22px;
  width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 44px); overflow-y: auto;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-top: 3px solid var(--terracotta);
  box-shadow: 0 18px 44px rgba(42,37,33,0.28);
  padding: 22px 22px 18px;
  font-family: var(--body);
}
.consent-title{ font-family: var(--display); font-size: 1.45rem; line-height: 1.15; margin: 0 28px 8px 0; color: var(--ink); }
.consent-text{ font-size: 0.88rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 16px; }
.consent-text a{ color: var(--terracotta-dark); text-decoration: underline; }
.consent-x{
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--taupe);
}
.consent-actions{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btn{
  appearance: none; cursor: pointer; min-height: 46px; padding: 11px 16px;
  background: var(--terracotta); color: #F8F4EA; border: 1px solid var(--terracotta);
  font-family: var(--body); font-size: 0.82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.consent-btn:hover{ background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
.consent-link{
  grid-column: 1 / -1; justify-self: center; margin-top: 4px; min-height: 36px;
  background: none; border: none; cursor: pointer; padding: 6px 4px;
  font-family: var(--body); font-size: 0.85rem; color: var(--terracotta-dark); text-decoration: underline;
}
.consent-x:focus-visible, .consent-btn:focus-visible, .consent-link:focus-visible, .consent-switch:focus-visible, .consent-text a:focus-visible{
  outline: 2px solid var(--ochre); outline-offset: 2px;
}
.consent-prefs{ border-top: 1px solid var(--line); margin: 0 0 14px; padding-top: 4px; }
.consent-prefs[hidden]{ display: none; }
.consent-pref{ display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: default; }
label.consent-pref{ cursor: pointer; }
.consent-pref strong{ display: block; font-size: 0.88rem; color: var(--ink); margin-bottom: 2px; }
.consent-pref span{ display: block; font-size: 0.8rem; line-height: 1.45; color: var(--taupe); }
.consent-always{ flex: 0 0 auto; font-size: 0.72rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta-dark) !important; }
.consent-switch{ flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--terracotta); cursor: pointer; }
.consent-prefs .consent-btn{ width: 100%; margin-top: 14px; }
.consent-open .chat-fab{ display: none; }
@media (max-width: 520px){
  .consent{ left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-left: none; border-right: none; padding: 20px 16px 16px; }
}
.footer-bottom button[data-preferenze-cookie]{ background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
