/* Canova Immobiliare — stile "v2 Moderno": chiaro, card arrotondate, pillole, Bricolage Grotesque.
   Desktop dal frame 1280px del design, mobile (< 1024px) dal frame 390px. */

/* Font ospitato sul sito (Bricolage Grotesque, licenza OFL): nessuna richiesta ai server di Google */
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format('woff2-variations');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations');
  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;
}

:root {
  --bg: #f4f1ec;          /* sfondo pagina */
  --surface: #fff;        /* card e pannelli */
  --ink: #151313;         /* testo e pannelli scuri */
  --fg: #151313;
  --muted: #6b6560;
  --muted-2: #4a4540;
  --muted-3: #8a847d;
  --line: #ece7e0;
  --line-2: #ddd6ce;
  --brand: #8b1a2b;
  --brand-hover: #6f1322;
  --brand-soft: #f5dfe2;
  --accent: #8b1a2b;
  --accent-on-dark: #e8a0ab;
  --on-brand-muted: #f3d6da;
  --star: #e0a100;
  --on-dark-muted: #b3aca4;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif: var(--sans);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --shadow: 0 24px 60px rgba(21, 19, 19, .18);
  --shadow-soft: 0 20px 44px rgba(21, 19, 19, .12);
  /* margine laterale: 64px, il contenuto si ferma a 1312px sugli schermi larghi */
  --gut: max(64px, calc((100vw - 1312px) / 2));
  /* margine dei pannelli arrotondati a tutta larghezza */
  --edge: max(32px, calc((100vw - 1376px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 700; letter-spacing: -.03em; }
/* Il nuovo stile non usa il corsivo nei titoli */
h1 i, h2 i, h3 i { font-style: normal; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
input::placeholder, textarea::placeholder { color: var(--muted-3); }
input[type=range] { accent-color: var(--brand); }
.nowrap { white-space: nowrap; }

.rail { display: flex; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; }

.eyebrow { font-size: 16px; color: var(--brand); font-weight: 600; }

.logo { display: block; height: 36px; }

/* Bottoni (pillole) */
.btn-brand, .btn-ghost, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.4;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-brand { padding: 15px 28px; border: 0; background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { padding: 14px 20px; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline { padding: 14px 28px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.icon-btn {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 20px;
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}
.hero > * { grid-column: 1; }
.hero-bg {
  grid-row: 2 / 4; min-height: 680px;
  margin: 0 var(--edge);
  border-radius: var(--r-xl);
  background: #333 center 58% / cover no-repeat;
  background-image:
    linear-gradient(90deg, rgba(18, 10, 12, .8) 0%, rgba(18, 10, 12, .35) 55%, rgba(18, 10, 12, .1) 100%),
    url(img/hero.jpg);
}
.topbar {
  grid-row: 1; position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--edge);
}
.nav { display: flex; gap: 4px; background: var(--surface); border-radius: 999px; padding: 6px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 9px 18px; border-radius: 999px; white-space: nowrap; transition: background .2s; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.topbar-cta { padding: 10px 20px; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.topbar-cta:hover { background: var(--ink); color: #fff; }

.hero-copy {
  grid-row: 3; position: relative; z-index: 1;
  margin: 0 calc(var(--edge) + 52px) 120px;
  display: flex; flex-direction: column; gap: 22px; max-width: 820px; color: #fff;
}
.eyebrow-hero {
  align-self: flex-start; color: #fff; font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 8px 16px;
}
.hero h1 { font-size: 76px; line-height: .98; letter-spacing: -.035em; }
.hero h1 i { color: inherit; }

/* Finder: valutazione guidata / ricerca */
.finder {
  grid-row: 4; position: relative; z-index: 3;
  margin: -70px calc(var(--edge) + 32px) 0;
  background: var(--surface); border-radius: 24px; padding: 12px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.finder-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.modes { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 999px; padding: 5px; }
.modes button {
  white-space: nowrap; border: 0; border-radius: 999px; padding: 12px 20px;
  background: transparent; color: var(--ink); font-size: 15px; font-weight: 600; transition: background .2s, color .2s;
}
.modes button[aria-selected=true] { background: var(--ink); color: #fff; }
.steps { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); padding-right: 8px; }
.steps-bar { width: 180px; height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.steps-fill { height: 6px; width: 6%; border-radius: 3px; background: var(--brand); transition: width .35s; }

.val, .buy { padding: 4px 4px 4px; }
.step { display: flex; align-items: center; }
.step-q { font-size: 16px; font-weight: 600; white-space: nowrap; }
.step0 { gap: 16px; padding-left: 8px; }
.types { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-size: 14px; font-weight: 500; transition: all .15s;
}
@media (hover: hover) { .chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; } }

.step1 { gap: 20px; padding-left: 8px; }
.step1 input[type=range] { flex: 1; min-width: 0; }
.mq-val { font-size: 32px; font-weight: 700; letter-spacing: -.03em; min-width: 110px; line-height: 1.2; }
.step1 .btn-ghost { padding: 13px 20px; }
.step1 .btn-brand { padding: 13px 28px; }

.step2 { gap: 10px; }
.field {
  min-width: 0; padding: 15px 16px; background: var(--bg); border: 1.5px solid transparent; border-radius: var(--r-md);
  color: var(--ink); font-size: 15px; outline: none;
}
.field:focus { border-color: var(--line-2); background: var(--surface); }
.f-addr { flex: 1.6; }
.f-name, .f-tel { flex: 1; }

.step3 { justify-content: space-between; gap: 24px; padding: 6px 4px 6px 8px; }
.thanks { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }

.buy { display: flex; gap: 10px; align-items: stretch; }
.seg { display: flex; gap: 6px; }
.seg button {
  padding: 12px 18px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: all .15s;
}
.seg button[aria-checked=true] { background: var(--brand); border-color: var(--brand); color: #fff; }
.dd { position: relative; flex: 1; min-width: 220px; }
.dd-btn {
  width: 100%; height: 100%; min-height: 50px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 15px 16px; background: var(--bg); border: 0; border-radius: var(--r-md);
  color: var(--muted-3); font-size: 15px; text-align: left;
}
.dd-btn.has-value { color: var(--ink); }
.dd-caret { display: inline-block; transition: transform .2s; }
.dd-btn[aria-expanded=true] .dd-caret { transform: rotate(180deg); }
.dd-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  background: var(--surface); border-radius: 18px; padding: 6px;
  max-height: 300px; overflow-y: auto; box-shadow: 0 20px 50px rgba(21, 19, 19, .2);
}
.dd-list button {
  display: flex; justify-content: space-between; width: 100%; text-align: left;
  padding: 12px 14px; border: 0; border-radius: 12px;
  font-size: 15px; background: transparent; color: var(--ink);
}
.dd-list button[aria-selected=true] { background: var(--brand-soft); }
.dd-list button:hover { background: var(--bg); }
.dd-list .check { color: var(--brand); font-weight: 700; }
.buy-go { padding: 15px 40px; background: var(--ink); }
.buy-go:hover { background: #000; }

/* ───────── Sezioni ───────── */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-title { display: flex; flex-direction: column; gap: 10px; }
.sec-title h2 { font-size: 54px; line-height: 1; }

/* Immobili */
.listings { padding: 88px var(--gut) 80px; }
.listings .sec-head { margin-bottom: 36px; }
.groups { display: flex; flex-direction: column; gap: 48px; }
.group {
  display: grid; grid-template-columns: 240px 1fr; gap: 32px;
  border-top: 1px solid var(--line-2); padding-top: 28px;
}
.group-info { display: flex; flex-direction: column; gap: 6px; }
.group-n { font-size: 14px; color: var(--brand); font-weight: 600; }
.group-info h3 { font-size: 34px; line-height: 1.05; }
.group-addr { color: var(--muted); font-size: 14px; }
.group-link {
  align-self: flex-start; margin-top: 10px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.group-link:hover { background: var(--ink); color: #fff; }
.group-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Card immobile: foto sopra, testo sotto */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: var(--r-lg); color: var(--ink); text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card img, .card-noimg {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ddd;
}
.card-tag {
  position: absolute; z-index: 1; top: 14px; left: 14px;
  background: var(--brand); color: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: 12px; font-weight: 600; line-height: 1.5;
}
.card-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 12px; align-items: end;
  padding: 18px 20px 20px;
}
.card-body > * { grid-column: 1; }
.card-body::after {
  content: '→'; grid-column: 2; grid-row: 1 / 4; align-self: end;
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background .2s, color .2s;
}
.card:hover .card-body::after { background: var(--ink); color: #fff; }
.card-price { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.card-title { font-weight: 600; }
.card-town { color: var(--muted); font-size: 14px; }
.card-facts { font-weight: 400; color: var(--muted); }
.card-noimg { display: flex; align-items: center; justify-content: center; color: var(--muted-3); font-size: 13px; }

/* Team (homepage): pannello scuro arrotondato */
.team {
  margin: 0 var(--edge); padding: 72px 56px; border-radius: var(--r-xl);
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.team .eyebrow { color: var(--accent-on-dark); }
.team-photo { position: relative; height: 600px; }
.team-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 20px;
  object-fit: cover; object-position: center 20%; display: block;
  opacity: 0; transition: opacity .4s;
}
.team-photo img.on { opacity: 1; }
.team-body { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.team-body h2 { font-size: 54px; line-height: 1; }
.team-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.team-list button {
  display: flex; align-items: baseline; gap: 12px; padding: 10px 0;
  background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
  text-align: left; transition: color .2s; color: #8a817a;
}
.team-list .n { font-size: 12px; color: #6f6760; }
.team-list .who { display: flex; flex-direction: column; }
.team-list .name { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.team-list .role { font-size: 12px; }
.team-list button.on, .team-list button:hover { color: #fff; }
.team-list button.on .n { color: var(--accent-on-dark); }

/* Recensioni */
.reviews { padding: 100px 0; }
.reviews .sec-head { padding: 0 var(--gut); margin-bottom: 40px; }
.gbadge {
  display: flex; align-items: center; gap: 14px; background: var(--surface);
  border-radius: 18px; padding: 16px 18px; text-decoration: none; transition: box-shadow .2s;
}
.gbadge:hover { box-shadow: var(--shadow-soft); }
.gbadge-g { font: 800 26px sans-serif; color: #4285f4; }
.gbadge-txt { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 16px; }
.marquee { gap: 20px; padding: 0 var(--gut); scroll-behavior: auto; }
.review {
  width: 440px; background: var(--surface); border-radius: var(--r-xl); padding: 36px;
  display: flex; flex-direction: column; gap: 20px; justify-content: space-between;
}
.review p { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; }
.review p::before { content: '“'; display: block; font-size: 72px; line-height: .6; height: 32px; color: var(--brand); font-weight: 800; }
.review-by { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px;
}

/* Mappa */
.map { position: relative; height: 540px; margin: 0 var(--edge) 32px; border-radius: var(--r-xl); overflow: hidden; background: #ddd; }
.map iframe { border: 0; width: 100%; height: 100%; display: block; filter: grayscale(.3); }
.map-over {
  position: absolute; left: 28px; bottom: 28px; width: 370px;
  background: var(--surface); border-radius: 24px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; gap: 16px;
}
.map-over h2 { font-size: 34px; line-height: 1.05; }
.offices { display: flex; flex-direction: column; gap: 8px; }
.office {
  text-align: left; padding: 14px 18px; transition: all .2s; border: 0; border-radius: 18px;
  display: flex; flex-direction: column; gap: 2px; background: var(--bg); color: var(--ink);
}
.office[aria-pressed=true] { background: var(--ink); color: #fff; }
.office-name { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.office-addr { font-size: 14px; opacity: .8; }
.office-tel { font-size: 14px; font-weight: 600; }

/* Footer: pannello bordeaux */
.footer {
  margin: 0 var(--edge) 32px; padding: 56px 56px 28px; border-radius: var(--r-xl);
  background: var(--brand); color: #fff; display: flex; flex-direction: column; gap: 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; font-size: 15px; }
.foot-brand { font-size: 72px; line-height: .9; font-weight: 800; letter-spacing: -.05em; color: #fff; }
.foot-brand i { font-style: normal; display: block; color: #c4c4c4; } /* grigio, come "Immobiliare" nel logo */
.foot-col { display: flex; flex-direction: column; gap: 2px; }
.foot-col span { color: var(--on-brand-muted); }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom {
  display: flex; justify-content: space-between; font-size: 13px; color: var(--on-brand-muted);
  border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px;
}

/* Menu mobile */
.mmenu {
  position: fixed; inset: 0; z-index: 50; background: var(--bg);
  display: flex; flex-direction: column; padding: 14px 16px 24px; overflow-y: auto;
}
.mmenu .logo { height: 28px; }
.mmenu-top { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.mmenu-top .icon-btn { background: var(--ink); color: #fff; }
.mmenu-list { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; flex: 1; }
.mmenu-list a {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink); text-decoration: none;
}
.mmenu-list a > span:last-child { display: flex; flex-direction: column; flex: 1; }
.mmenu-list a::after {
  content: '→'; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.mmenu-n { font-size: 13px; color: var(--brand); font-weight: 600; align-self: flex-start; padding-top: 4px; min-width: 20px; }
.mmenu-label { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.mmenu-sub { font-size: 13px; color: var(--muted); }
.mmenu-cta { padding: 16px; margin-top: 20px; }
.mmenu-tel { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.mmenu-tel a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* ───────── Visibilità per breakpoint ───────── */
@media (min-width: 1024px) {
  .m-only { display: none !important; }
  .mmenu { display: none !important; }
}

/* ───────── Mobile (< 1024px) ───────── */
@media (max-width: 1023.98px) {
  .d-only { display: none !important; }
  body { font-size: 15px; }
  .eyebrow { font-size: 15px; }
  .logo { height: 28px; }

  .hero { grid-template-rows: auto minmax(0, 1fr) auto 24px auto; }
  .hero-bg {
    grid-row: 2 / 5; min-height: 440px; margin: 0 12px; border-radius: 24px;
    background-image:
      linear-gradient(to top, rgba(18, 10, 12, .88) 0%, rgba(18, 10, 12, .2) 60%),
      url(img/hero-mobile.jpg);
  }
  .topbar { padding: 14px 16px 14px 20px; }
  .hero-copy { margin: 0 36px; gap: 12px; }
  .eyebrow-hero { font-size: 12px; padding: 6px 12px; }
  .hero h1 { font-size: 38px; line-height: 1; letter-spacing: -.03em; }

  .finder { grid-row: 5; margin: 10px 12px 0; padding: 8px; gap: 12px; }
  .finder-head { flex-wrap: wrap; row-gap: 14px; }
  .modes { display: grid; width: 100%; padding: 4px; }
  .modes button { font-size: 14px; padding: 12px 8px; }
  .steps { width: 100%; padding: 0 10px; }
  .steps-bar { width: 100%; }
  .val, .buy { padding: 6px 10px 10px; }

  .step { flex-direction: column; align-items: stretch; }
  .step-q { font-size: 15px; white-space: normal; }
  .step0 { gap: 12px; padding-left: 0; }
  .chip { padding: 10px 14px; }

  .step1 {
    display: grid; grid-template-columns: 1fr 2fr; gap: 12px 8px; align-items: baseline; padding-left: 0;
    grid-template-areas: "q val" "range range" "back next";
  }
  .step1 .step-q { grid-area: q; }
  .step1 .mq-val { grid-area: val; justify-self: end; font-size: 28px; min-width: 0; }
  .step1 input[type=range] { grid-area: range; }
  .step1 .s1-back { grid-area: back; }
  .step1 .s1-next { grid-area: next; }
  .step1 .btn-ghost, .step1 .btn-brand { padding: 14px; }

  .step2 { gap: 10px; }
  .field { padding: 14px; }
  .step2 .btn-brand { padding: 15px; white-space: normal; }

  .step3 { gap: 12px; padding: 4px 0; }
  .thanks { font-size: 20px; }
  .step3 .btn-ghost { padding: 14px; }

  .buy { flex-direction: column; gap: 10px; }
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .seg button { padding: 12px 6px; }
  .dd { min-width: 0; }
  .dd-list { max-height: 240px; }
  .buy-go { padding: 15px; }

  .sec-head { display: block; }
  .sec-title { gap: 12px; }
  .sec-title h2 { font-size: 34px; }

  .rail { gap: 12px; padding-right: 20px; scroll-snap-type: x mandatory; }
  .rail > * { scroll-snap-align: start; }

  .listings { padding: 52px 0 44px 20px; }
  .listings .sec-head { margin-bottom: 18px; }
  .listings .card { width: 280px; }
  .card { border-radius: 20px; }
  .card:hover { transform: none; box-shadow: none; }
  .card-tag { top: 12px; left: 12px; font-size: 11px; padding: 5px 10px; }
  .card-body { padding: 16px 18px; grid-template-columns: minmax(0, 1fr); }
  .card-body::after { display: none; }
  .card-price { font-size: 22px; }
  .card-town { font-size: 13px; }

  .team { display: block; margin: 0 12px; padding: 40px 0 36px 20px; border-radius: 24px; }
  .team-body { gap: 16px; }
  .team-body h2 { font-size: 34px; padding-right: 20px; }
  .member { width: 210px; display: flex; flex-direction: column; gap: 10px; }
  .member img { width: 210px; height: 270px; border-radius: 18px; object-fit: cover; object-position: center 20%; display: block; }
  .member-name { font-weight: 600; font-size: 16px; }
  .member-role { color: var(--on-dark-muted); font-size: 13px; margin-top: -8px; }

  .reviews { padding: 52px 0 44px 20px; }
  .reviews .sec-head { padding: 0; margin-bottom: 18px; }
  .marquee { padding: 0 20px 0 0; scroll-snap-type: none; }
  .marquee > * { scroll-snap-align: none; }
  .review { width: 300px; padding: 26px; gap: 16px; border-radius: var(--r-lg); }
  .review .avatar { width: 38px; height: 38px; font-size: 15px; }
  .review p { font-size: 18px; }
  .review p::before { font-size: 56px; height: 24px; }

  .map { height: 480px; margin: 0 12px 12px; border-radius: 24px; }
  .map-over { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; padding: 18px; gap: 12px; border-radius: 20px; }
  .offices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .office { padding: 12px 14px; border-radius: 14px; }
  .office-name { font-size: 15px; line-height: 1.15; }
  .office-addr, .office-tel { font-size: 12px; }

  .footer { margin: 0 12px 12px; padding: 28px 22px; gap: 14px; font-size: 14px; border-radius: 24px; }
  .foot-grid { display: block; }
  .foot-brand { font-size: 44px; }
  .foot-mobile { color: var(--on-brand-muted); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Consenso privacy sotto il modulo di valutazione */
.step2 { flex-wrap: wrap; }
.consent { flex-basis: 100%; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); padding: 0 4px; }
.consent input { margin-top: 3px; accent-color: var(--brand); }
.consent a { color: var(--ink); }
.step2 .form-status { flex-basis: 100%; margin: 0; padding: 0 4px; font-size: 14px; color: var(--brand); }
.step2 .form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

