/* =========================================================
   Fincasa Immobiliare — foglio di stile
   Colori: blu notte #233857 (sezioni scure), #003f70 (accenti e link),
   fondo bianco #ffffff / avorio #f6f5f2, testi #484848.
   Caratteri: Italiana (titoli), Istok Web (testi ed etichette).
   ========================================================= */
:root {
  --ink: #05081f;  --ink-2: #0a0f2e;  --ink-3: #111843;  --navy: #030f9a;  --royal: #2438d6;  --oro: #d8c08f;  --oro-2: #f0e2bf;  --oro-3: #a98c58;  --paper: #f3efe7;  --muted: rgba(243, 239, 231, .62);  --dim: rgba(243, 239, 231, .42);  --line: rgba(243, 239, 231, .1);  --line-2: rgba(243, 239, 231, .18);  --vetro: rgba(255, 255, 255, .045);  --verde: #1e9a3b;  --rosso: #c8102e;  --beige: #ece5d8;  --blue: #1a2f56;  --ease: cubic-bezier(.32, .72, 0, 1);  --ease-out: cubic-bezier(.16, 1, .3, 1);  --serif: 'Instrument Serif','Times New Roman',serif;  --sans: 'Geist',system-ui,sans-serif;  --mono: 'Geist Mono',ui-monospace,monospace;  --pad: clamp(16px, 4vw, 64px);  --max: 1440px;  color-scheme: dark;}
*,::after,::before {
  box-sizing: border-box;  margin: 0;  padding: 0;}
html {
  -webkit-text-size-adjust: 100%;  scroll-behavior: smooth;}
html.lenis,html.lenis body {
  height: auto;}
body {
  background: var(--ink);  color: var(--paper);  font: 400 16px/1.6 var(--sans);  -webkit-font-smoothing: antialiased;  overflow-x: hidden;  background: var(--ink);}
img {
  display: block;  max-width: 100%;}
a {
  color: inherit;  text-decoration: none;}
button,input,select,textarea {
  font: inherit;  color: inherit;}
button {
  background: 0 0;  border: 0;  cursor: pointer;}
em {
  font-family: var(--serif);  font-style: italic;  font-weight: 400;}
::selection {
  background: var(--oro);  color: var(--ink);}
.wrap {
  max-width: var(--max);  margin: 0 auto;  padding: 0 var(--pad);}
:focus-visible {
  outline: 2px solid var(--oro);  outline-offset: 3px;}
.grana {
  position: fixed;  inset: -50%;  z-index: 90;  pointer-events: none;  opacity: .045;  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
.tricolore {
  display: inline-flex;  height: 2px;  width: 44px;  flex-shrink: 0;}
.tricolore i {
  flex: 1;}
.tricolore i:first-child {
  background: var(--verde);}
.tricolore i:nth-child(2) {
  background: #fff;}
.tricolore i:nth-child(3) {
  background: var(--rosso);}
.eyebrow {
  display: inline-flex;  align-items: center;  gap: 12px;  font: 500 11px/1 var(--mono);  letter-spacing: .22em;  text-transform: uppercase;  color: var(--oro);}
.eyebrow::before {
  content: '';  width: 28px;  height: 1px;  background: currentColor;  opacity: .7;}
.h2 {
  font: 400 clamp(44px, 6.4vw, 104px)/.95 var(--serif);  letter-spacing: -.02em;  margin-top: 22px;}
.h2 em {
  color: var(--oro);}
.lead {
  color: var(--muted);  font-size: clamp(16px, 1.15vw, 18px);  max-width: 480px;  margin-top: 22px;}
.sez-head {
  display: flex;  justify-content: space-between;  align-items: flex-end;  gap: 32px;  flex-wrap: wrap;  margin-bottom: clamp(40px,5vw,72px);}
.vetro {
  background: linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));  backdrop-filter: blur(22px) saturate(1.3);  -webkit-backdrop-filter: blur(22px) saturate(1.3);  box-shadow: inset 0 0 0 1px var(--line),inset 0 1px 0 rgba(255,255,255,.08),0 40px 80px -40px rgba(0,0,0,.6);}
.btn {
  position: relative;  overflow: hidden;  isolation: isolate;  display: inline-flex;  align-items: center;  justify-content: center;  gap: 10px;  height: 56px;  padding: 0 26px;  border-radius: 14px;  white-space: nowrap;  font-weight: 500;  font-size: 15px;  letter-spacing: .01em;  background: var(--navy);  color: #fff;  transition: transform .45s var(--ease),box-shadow .45s var(--ease),color .3s;}
.btn::after {
  content: '';  position: absolute;  inset: 0;  z-index: -1;  background: linear-gradient(105deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);  transform: translateX(-120%);  transition: transform .9s var(--ease);}
.btn:hover::after {
  transform: translateX(120%);}
.btn:hover {
  transform: translateY(-2px);}
.btn:active {
  transform: translateY(0) scale(.98);}
.btn svg {
  width: 18px;  height: 18px;  flex-shrink: 0;}
.btn .ic {
  display: grid;  place-items: center;  transition: transform .45s var(--ease);}
.btn .ic svg {
  width: 17px;  height: 17px;}
.btn:hover .ic {
  transform: translateX(4px);}
.btn--oro {
  background: linear-gradient(135deg,var(--oro-2),var(--oro) 55%,var(--oro-3));  color: var(--ink);  box-shadow: 0 14px 30px -16px rgba(216,192,143,.65);}
.btn--oro:hover {
  box-shadow: 0 22px 40px -18px rgba(216,192,143,.8);}
.btn--vetro {
  background: var(--vetro);  color: var(--paper);  box-shadow: inset 0 0 0 1px var(--line-2);  backdrop-filter: blur(14px);  -webkit-backdrop-filter: blur(14px);}
.btn--vetro:hover {
  box-shadow: inset 0 0 0 1px var(--oro);  color: var(--oro-2);}
.btn--sm {
  height: 44px;  padding: 0 18px;  font-size: 14px;  border-radius: 12px;}
.btn--full {
  width: 100%;}
.loader {
  position: fixed;  inset: 0;  z-index: 200;  background: var(--ink);  display: grid;  place-items: center;}
body.loading {
  overflow: hidden;}
.intro {
  height: auto;  overflow: visible;  transition: transform .9s cubic-bezier(.76,0,.24,1),opacity .7s;}
.loader.via .intro {
  transform: scale(.94) translateY(-10px);  opacity: 0;}
.loader.veloce .intro {
  display: none;}
.top {
  inset: 0 0 auto;  z-index: 50;  transition: transform .6s var(--ease),background .5s,box-shadow .5s;}
.top__in {
  display: flex;  align-items: center;  justify-content: space-between;  height: 84px;  gap: 24px;  transition: height .5s var(--ease);}
.top.is-solid {
  backdrop-filter: blur(20px) saturate(1.4);  -webkit-backdrop-filter: blur(20px) saturate(1.4);  box-shadow: 0 1px 0 var(--line);}
.top.is-hidden {
  transform: translateY(-101%);}
.nav {
  display: flex;  gap: 32px;  font-size: 14px;}
.nav a {
  position: relative;  color: var(--muted);  transition: color .3s;}
.nav a::after {
  content: '';  position: absolute;  left: 0;  right: 0;  bottom: -6px;  height: 1px;  background: var(--oro);  transform: scaleX(0);  transform-origin: right;  transition: transform .5s var(--ease);}
.nav a.on,.nav a:hover {
  color: var(--paper);}
.nav a.on::after,.nav a:hover::after {
  transform: scaleX(1);  transform-origin: left;}
.nav__drop {
  position: relative;  display: flex;  align-items: stretch;}
.nav__drop > a {
  display: flex;  align-items: center;  gap: 5px;}
.nav__drop > a svg {
  width: 12px;  height: 12px;  transition: transform .35s var(--ease);}
.nav__drop:hover > a svg,.nav__drop:focus-within > a svg {
  transform: rotate(180deg);}
.nav__drop::after {
  content: '';  position: absolute;  left: -8px;  right: -8px;  top: 100%;  height: 46px;}
.nav__drop-panel {
  position: absolute;  top: calc(100% + 30px);  right: 0;  z-index: 70;
  width: auto;  min-width: 280px;  max-width: calc(100vw - 48px);  padding: 8px;
  background: #fff;  color: var(--navy);
  box-shadow: 0 30px 70px -36px rgba(13,26,50,.5),inset 0 0 0 1px var(--line);
  opacity: 0;  visibility: hidden;  transform: translateY(-8px);
  transition: opacity .25s,transform .35s var(--ease),visibility .25s;}
.nav__drop:hover .nav__drop-panel,.nav__drop:focus-within .nav__drop-panel {
  opacity: 1;  visibility: visible;  transform: none;}
.nav__drop-panel a {
  display: block;  padding: 10px 14px;  font-size: 14px;
  white-space: nowrap;  transition: background .2s;}
.nav__drop-panel a span {
  color: var(--navy);}
.nav__drop-panel a::after {
  display: none!important;}
.nav__drop-panel a:hover {
  background: #f6f5f2;}
.nav__drop-panel a:hover span {
  color: var(--blu);}
.drawer nav .drawer__sub {
  display: grid;  gap: 0;  margin: 2px 0 6px 3px;  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.16);}
.drawer nav .drawer__sub a {
  display: flex;  align-items: center;  gap: 10px;
  padding: 7px 0;  border-bottom: 0;
  font: 400 16px/1.3 var(--sans);  color: rgba(255,255,255,.82);}
.drawer nav .drawer__sub a:hover {
  color: #fff;  padding-left: 4px;}
.top__cta {
  display: flex;  align-items: center;  gap: 18px;}
.tel {
  display: inline-flex;  align-items: center;  gap: 8px;  font: 500 13px/1 var(--mono);  letter-spacing: .04em;  color: var(--muted);  transition: color .3s;}
.tel:hover {
  color: var(--oro);}
.tel svg {
  width: 15px;  height: 15px;}
.burger {
  display: none;  width: 46px;  height: 46px;  border-radius: 14px;  box-shadow: inset 0 0 0 1px var(--line-2);  position: relative;}
.burger i {
  position: absolute;  left: 14px;  right: 14px;  height: 1.5px;  background: currentColor;  transition: transform .5s var(--ease);}
.burger i:nth-of-type(1) {
  top: 19px;}
.burger i:nth-of-type(2) {
  top: 26px;}
.menu-open .burger i:nth-of-type(1) {
  transform: translateY(3.5px) rotate(45deg);}
.menu-open .burger i:nth-of-type(2) {
  transform: translateY(-3.5px) rotate(-45deg);}
.drawer {
  position: fixed;  inset: 0;  z-index: 45;  background: var(--ink);  padding: 120px var(--pad) 40px;  display: flex;  flex-direction: column;  justify-content: space-between;  clip-path: inset(0 0 100% 0);  transition: clip-path .8s var(--ease);  visibility: hidden;  overflow-y: auto;  overscroll-behavior: contain;}
.menu-open .drawer {
  clip-path: inset(0);  visibility: visible;}
.menu-open .top {
  background: 0 0;  box-shadow: none;  backdrop-filter: none;  transform: none;}
.drawer nav {
  display: grid;  gap: 4px;}
.drawer nav a {
  font: 400 48px/1.1 var(--serif);  opacity: 0;  transform: translateY(20px);  transition: opacity .6s var(--ease-out),transform .6s var(--ease-out),color .3s;}
.drawer nav a:hover {
  color: var(--oro);  padding-left: 10px;}
.menu-open .drawer nav a {
  opacity: 1;  transform: none;}
.drawer nav a:nth-child(2) {
  transition-delay: .05s;}
.drawer nav a:nth-child(3) {
  transition-delay: .1s;}
.drawer nav a:nth-child(4) {
  transition-delay: .15s;}
.drawer nav a:nth-child(5) {
  transition-delay: .2s;}
.drawer__foot {
  display: grid;  gap: 8px;  font: 400 13px/1.5 var(--mono);  color: var(--muted);}
.hero {
  position: relative;  min-height: 100svh;  overflow: hidden;  display: flex;  align-items: stretch;  background: var(--ink);}
.hero__media {
  position: absolute;  inset: 0;}
.hero__media img {
  position: absolute;  inset: 0;  width: 100%;  height: 100%;  object-fit: cover;  opacity: 0;  transform: scale(1.12);  transition: opacity 1.1s var(--ease),transform 8s linear;}
.hero__media img.on {
  opacity: 1;  transform: scale(1.02);}
/* La madonnina sta al centro della foto: spostata a destra resta fuori dalla
   colonna del testo, anche quando lo schermo è stretto. */
.hero__media img.hero__madonnina {
  object-position: 40% 50%;}
/* La panoramica è molto larga (1720x600): il taglio va tenuto a sinistra, così
   la statua e il sole restano dentro l'inquadratura anche su schermo stretto. */
.hero__media img.hero__panorama {
  object-position: 24% 50%;}
/* Il velo del hero nasce dallo stesso blu delle sezioni scure: niente nero,
   niente secondo blu. Le due sfumature servono solo a far leggere il testo. */
.hero__media::after {
  content: '';  position: absolute;  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,47,86,.58) 0%, rgba(26,47,86,.10) 30%, rgba(26,47,86,.86) 100%),
    linear-gradient(90deg, rgba(26,47,86,.78) 0%, rgba(26,47,86,.28) 48%, transparent 78%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 58%, transparent) 0%, color-mix(in srgb, var(--ink) 10%, transparent) 30%, color-mix(in srgb, var(--ink) 86%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 78%, transparent) 0%, color-mix(in srgb, var(--ink) 28%, transparent) 48%, transparent 78%);}
.hero__grid {
  position: relative;  width: 100%;  min-height: 100svh;
  display: grid;  grid-template-columns: minmax(0,1fr);  grid-template-rows: 1fr auto;
  align-items: center;  row-gap: clamp(22px,3.4vh,46px);
  padding-top: calc(var(--nav-h) + clamp(22px,4.4vh,52px));  padding-bottom: clamp(20px,3.4vh,40px);}
.hero__copy {
  min-width: 0;  max-width: 820px;}
.hero__grid .search {
  grid-column: 1/-1;  align-self: end;  margin-top: 0;}
.hero__kicker {
  display: flex;  align-items: center;  gap: 16px;  font: 500 11px/1.4 var(--mono);  letter-spacing: .22em;  text-transform: uppercase;  color: var(--oro-2);}
.hero h1 {
  font: 400 clamp(42px, 5.4vw, 88px)/.92 var(--serif);  letter-spacing: -.025em;  margin-top: 26px;  max-width: 13ch;}
.hero h1 em {
  color: var(--oro);}
.hero h1 .ln {
  display: block;  overflow: hidden;}
.hero h1 .ln > span {
  display: block;}
.hero__lead {
  max-width: 520px;  margin-top: 26px;  color: var(--muted);  font-size: 17px;}
.hero__controlli {
  display: flex;  align-items: center;  gap: 16px;  margin-top: clamp(22px,3vh,34px);}
.hero__dots {
  display: flex;  align-items: center;  gap: 6px;}
.hero__dots button {
  position: relative;  width: 38px;  height: 38px;  padding: 0;}
.hero__dots button::before {
  content: '';  position: absolute;  left: 0;  right: 0;  top: 50%;  height: 3px;  margin-top: -1.5px;  border-radius: 3px;  background: var(--line-2);  transition: background .3s,transform .3s var(--ease);}
.hero__dots button:hover::before,.hero__dots button:focus-visible::before {
  background: var(--oro-2);}
.hero__dots button.on::before {
  background: var(--oro);  transform: scaleY(1.5);}
.hero__pausa {
  width: 40px;  height: 40px;  border-radius: 50%;  display: grid;  place-items: center;  color: var(--paper);  box-shadow: inset 0 0 0 1px var(--line-2);  background: rgba(26,47,86,.4);  transition: background .3s,color .3s;}
.hero__pausa[hidden] {
  display: none;}
.hero__pausa:hover,.hero__pausa:focus-visible {
  background: var(--ink);  color: var(--oro-2);}
.hero__pausa svg {
  width: 16px;  height: 16px;}
.hero__pausa .hero__play {
  display: none;}
.hero__pausa.fermo .hero__pausa-icon {
  display: none;}
.hero__pausa.fermo .hero__play {
  display: block;}

.search {
  margin-top: clamp(30px,3.6vw,50px);  display: grid;  grid-template-columns: 1.1fr 1.2fr 1.3fr 1.2fr auto;  align-items: stretch;  border-radius: 22px;  padding: 6px;  backdrop-filter: blur(24px) saturate(1.4);  -webkit-backdrop-filter: blur(24px) saturate(1.4);  box-shadow: inset 0 0 0 1px var(--line-2),0 30px 70px -30px rgba(0,0,0,.6);}
.search > label {
  display: grid;  gap: 4px;  padding: 13px 22px;  border-right: 1px solid var(--line);  align-content: center;}
.search > label:last-of-type {
  border-right: 0;}
.search > label > span {
  font: 500 10px/1 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: var(--oro);}
.search .btn {
  height: auto;  min-height: 62px;  border-radius: 17px;  padding: 0 30px;  font-size: 16px;}
.seg {
  position: relative;  display: grid;  grid-template-columns: 1fr 1fr;  padding: 6px;}
.seg::before {
  content: '';  position: absolute;  top: 6px;  bottom: 6px;  left: 6px;  width: calc(50% - 6px);  border-radius: 13px;  box-shadow: inset 0 0 0 1px var(--line-2),inset 0 -2px 0 var(--oro);  transition: transform .6s var(--ease);}
.seg.aff::before {
  transform: translateX(100%);}
.seg button {
  position: relative;  z-index: 1;  display: inline-flex;  align-items: center;  justify-content: center;  gap: 8px;  font-size: 14.5px;  color: var(--dim);  transition: color .4s var(--ease);  min-height: 48px;}
.seg button.on {
  color: var(--paper);}
.seg button svg {
  width: 17px;  height: 17px;}
.tnd {
  position: relative;}
.tnd select {
  position: absolute;  opacity: 0;  pointer-events: none;  width: 1px;  height: 1px;}
.tnd__btn {
  width: 100%;  display: flex;  align-items: center;  justify-content: space-between;  gap: 12px;  text-align: left;  font-size: 16px;  color: var(--paper);  padding: 2px 0;}
.tnd__btn span {
  overflow: hidden;  text-overflow: ellipsis;  white-space: nowrap;}
.tnd__btn svg {
  width: 11px;  height: 8px;  flex-shrink: 0;  color: var(--oro);  transition: transform .45s var(--ease);}
.tnd.aperta .tnd__btn svg {
  transform: rotate(180deg);}
.tnd__lista {
  position: absolute;  left: -12px;  top: calc(100% + 16px);  z-index: 80;  min-width: calc(100% + 24px);  max-height: 300px;  overflow-y: auto;  backdrop-filter: blur(24px);  -webkit-backdrop-filter: blur(24px);  box-shadow: inset 0 0 0 1px var(--line-2),0 30px 60px -20px rgba(0,0,0,.7);  opacity: 0;  visibility: hidden;  transform: translateY(-6px);  transition: opacity .25s ease,transform .4s var(--ease),visibility 0s .4s;  scrollbar-width: thin;}
.tnd.su .tnd__lista {
  top: auto;  bottom: calc(100% + 16px);  transform: translateY(6px);}
.tnd.aperta .tnd__lista {
  opacity: 1;  visibility: visible;  transition: opacity .25s ease,transform .4s var(--ease);}
.tnd__lista button {
  width: 100%;  display: flex;  justify-content: space-between;  align-items: center;  gap: 16px;  font-size: 14.5px;  text-align: left;  white-space: nowrap;  color: var(--muted);  transition: background .2s,color .2s;}
.tnd__lista button:focus-visible,.tnd__lista button:hover {
  color: var(--paper);  outline: 0;}
.tnd__lista button i {
  width: 16px;  height: 16px;  color: var(--oro);  opacity: 0;}
.tnd__lista button.on {
  color: var(--oro-2);}
.tnd__lista button.on i {
  opacity: 1;}
.fiducia__in {
  display: grid;  grid-template-columns: repeat(4,1fr);}
.fiducia__in > div {
  display: flex;  align-items: center;  gap: 16px;  padding: 28px 22px;  border-right: 1px solid var(--line);}
.fiducia__in > div:last-child {
  border-right: 0;}
.fiducia b {
  font: 400 54px/1 var(--serif);  color: var(--oro);  font-variant-numeric: tabular-nums;}
.fiducia i {
  width: 46px;  height: 46px;  border-radius: 14px;  box-shadow: inset 0 0 0 1px var(--line-2);  color: var(--oro);  display: grid;  place-items: center;  flex-shrink: 0;}
.fiducia i svg {
  width: 21px;  height: 21px;}
.fiducia span {
  font-size: 14px;  line-height: 1.4;  color: var(--muted);}
.cat {
  padding: clamp(80px,10vw,150px) 0;}
.scegli {
  display: grid;  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);  gap: 16px;}
.quadri {
  display: grid;  grid-template-columns: repeat(3,minmax(0,1fr));  gap: 12px;}
.quadro {
  position: relative;  aspect-ratio: 1;  border-radius: 18px;  overflow: hidden;  display: flex;  flex-direction: column;  align-items: center;  justify-content: center;  gap: 16px;  text-align: center;  padding: 14px;  background: var(--vetro);  box-shadow: inset 0 0 0 1px var(--line);  transition: background .35s,box-shadow .35s;}
.quadro::before {
  content: '';  position: absolute;  left: 0;  top: 0;  height: 2px;  width: 100%;  background: var(--oro);  transform: scaleX(0);  transform-origin: left;  transition: transform .5s var(--ease);}
.quadro__ic {
  color: var(--muted);  transition: color .35s;}
.quadro__ic svg {
  width: 38px;  height: 38px;  stroke-width: 1.15;}
.quadro__n {
  font-size: 14px;  color: var(--muted);  line-height: 1.25;  transition: color .35s;}
.quadro__c {
  position: absolute;  top: 12px;  right: 12px;  font: 500 11px/1 var(--mono);  color: var(--dim);  transition: color .35s;}
.quadro:hover .quadro__ic,.quadro:hover .quadro__n {
  color: var(--paper);}
.quadro.on {
  box-shadow: inset 0 0 0 1px rgba(216,192,143,.4);}
.quadro.on::before {
  transform: scaleX(1);}
.quadro.on .quadro__ic {
  color: var(--oro);}
.quadro.on .quadro__n {
  color: var(--paper);}
.quadro.on .quadro__c {
  color: var(--oro);}
.spiega {
  display: grid;  grid-template-rows: 1fr auto;  border-radius: 22px;  overflow: hidden;  background: var(--ink-2);  box-shadow: inset 0 0 0 1px var(--line);}
.spiega__img {
  position: relative;  min-height: 240px;}
.spiega__img img {
  position: absolute;  inset: 0;  width: 100%;  height: 100%;  object-fit: cover;  opacity: 0;  transition: opacity .6s;}
.spiega__img img.on {
  opacity: 1;}
.spiega__img::after {
  content: '';  position: absolute;  inset: 0;  background: linear-gradient(180deg,rgba(10,15,46,0) 35%,var(--ink-2));}
.spiega__txt {
  position: relative;  margin-top: -1px;  padding: 0 clamp(22px,2.6vw,36px) clamp(22px,2.6vw,36px);}
.spiega__n {
  display: inline-flex;  align-items: center;  gap: 10px;  font: 500 11px/1 var(--mono);  letter-spacing: .14em;  text-transform: uppercase;  color: var(--oro);}
.spiega__n i {
  width: 30px;  height: 30px;  border-radius: 10px;  box-shadow: inset 0 0 0 1px var(--line-2);  display: grid;  place-items: center;}
.spiega__n svg {
  width: 16px;  height: 16px;}
.spiega h3 {
  font: 400 clamp(36px, 3.4vw, 54px)/1 var(--serif);  margin-top: 16px;}
.spiega p {
  color: var(--muted);  font-size: 16px;  margin-top: 12px;  max-width: 40ch;  min-height: 3em;}
.spiega .btn {
  margin-top: 22px;}
.spiega.cambia .spiega__txt > * {
  animation: sale .5s var(--ease-out) both;}
@keyframes sale {
  from {
    opacity: 0;    transform: translateY(8px);  }
}
.vetrina {
  padding: clamp(70px,8vw,120px) 0 clamp(60px,7vw,100px);  background: var(--ink-2);  overflow: hidden;}
.vetrina .lead {
  margin-top: 18px;}
.freccia {
  width: 56px;  height: 56px;  border-radius: 16px;  box-shadow: inset 0 0 0 1px var(--line-2);  display: grid;  place-items: center;  transition: transform 140ms var(--ease-out),box-shadow .3s,color .3s;}
.freccia:active {
  transform: scale(.96);}
@media (hover:hover) and (pointer:fine) {
  .freccia:hover {
    box-shadow: inset 0 0 0 1px var(--oro);    color: var(--oro);  }
}
.freccia svg {
  width: 20px;  height: 20px;}

.vcard {
  position: relative;  display: block;  border-radius: 20px;  overflow: hidden;  background: var(--ink-3);  isolation: isolate;  aspect-ratio: 4/5;  box-shadow: 0 40px 70px -40px rgba(0,0,0,.8);  container-type: inline-size;}
.vcard img {
  position: absolute;  inset: 0;  z-index: -2;  width: 100%;  height: 100%;  object-fit: cover;  transition: transform .9s var(--ease-out);}
@media (hover:hover) and (pointer:fine) {
  .vcard:hover img {
    transform: scale(1.05);  }
}
.tag {
  display: inline-flex;  align-items: center;  gap: 6px;  padding: 7px 12px;  border-radius: 99px;  font: 500 10px/1 var(--mono);  letter-spacing: .16em;  text-transform: uppercase;  color: var(--paper);  background: rgba(5,8,31,.45);  backdrop-filter: blur(12px);  -webkit-backdrop-filter: blur(12px);  box-shadow: inset 0 0 0 1px var(--line-2);  white-space: nowrap;}
.tag--oro {
  color: var(--ink);  background: var(--oro);  box-shadow: none;}
.tag svg {
  width: 13px;  height: 13px;}
.vcard__body {
  position: absolute;}
.vcard__prezzo {
  font: 400 32px/1 var(--serif);  color: var(--oro-2);}
.vcard h3 {
  font: 450 17px/1.3 var(--sans);  margin-top: 8px;}
.vcard p {
  display: flex;  align-items: center;  gap: 6px;  font-size: 13.5px;  color: var(--muted);  margin-top: 6px;}
.card .luogo svg,.vcard p svg {
  width: 15px;  height: 15px;  flex-shrink: 0;  color: var(--oro);}
.cercala {
  padding: clamp(90px,11vw,160px) 0;}
.cercala__head {
  max-width: 760px;}
.cercala__box {
  margin-top: clamp(36px,4vw,56px);  box-shadow: inset 0 0 0 1px var(--line-2),0 40px 90px -40px rgba(36,56,214,.5);  backdrop-filter: blur(20px);  -webkit-backdrop-filter: blur(20px);}
.cercala__campo {
  display: flex;  align-items: flex-start;  gap: 16px;  box-shadow: inset 0 0 0 1px var(--line);  transition: box-shadow .4s;}
.cercala__campo:focus-within {
  box-shadow: inset 0 0 0 1px var(--oro),0 0 0 6px rgba(216,192,143,.08);}
.cercala__ic {
  color: var(--oro);}
.cercala textarea {
  flex: 1;  background: 0 0;  border: 0;  outline: 0;  resize: none;  font: 400 clamp(19px, 2vw, 28px)/1.35 var(--sans);  color: var(--paper);  min-height: 1.4em;  overflow: hidden;}
.cercala textarea::placeholder {
  color: var(--dim);}
.cercala__esempi {
  display: flex;  flex-wrap: wrap;  align-items: center;  gap: 8px;}
.cercala__esempi span {
  font: 500 10px/1 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: var(--dim);  margin-right: 6px;}
.cercala__esempi button {
  padding: 9px 14px;  border-radius: 99px;  font-size: 13.5px;  color: var(--muted);  box-shadow: inset 0 0 0 1px var(--line-2);  transition: color .3s,box-shadow .3s,background .3s;}
.cercala__esempi button:hover {
  color: var(--oro-2);  box-shadow: inset 0 0 0 1px var(--oro);}
.cercala__capito {
  display: flex;  flex-wrap: wrap;  gap: 8px;  align-items: center;  padding: 0 10px;  max-height: 0;  overflow: hidden;  transition: max-height .5s var(--ease),padding .5s var(--ease);}
.cercala__capito.on {
  max-height: 200px;  padding: 12px 10px 8px;}
.cercala__capito > span {
  font: 500 10px/1 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: var(--oro);  margin-right: 6px;}
.chip-ai {
  display: inline-flex;  align-items: center;  gap: 7px;  padding: 8px 13px;  border-radius: 10px;  font-size: 13.5px;  color: var(--oro-2);  box-shadow: inset 0 0 0 1px rgba(216,192,143,.25);  animation: sale .5s var(--ease-out) both;}
.cercala__meta {
  display: flex;  justify-content: space-between;  align-items: center;  gap: 20px;  flex-wrap: wrap;  margin-bottom: 18px;  color: var(--muted);  font-size: 15px;}
.cercala__meta b {
  color: var(--paper);  font-weight: 500;}
.cercala__grid {
  display: grid;  grid-template-columns: repeat(3,minmax(0,1fr));  gap: 16px;}
.cercala__vuoto {
  padding: 30px;  border-radius: 20px;  background: var(--vetro);  box-shadow: inset 0 0 0 1px var(--line);  display: flex;  justify-content: space-between;  align-items: center;  gap: 24px;  flex-wrap: wrap;}
.cercala__vuoto p {
  color: var(--muted);  max-width: 52ch;}
.storia {
  padding: clamp(90px,11vw,160px) 0;  background: var(--ink-2);}
.storia__grid {
  display: grid;  grid-template-columns: 1fr 1fr;  gap: clamp(40px,6vw,110px);  align-items: center;}
.storia__img {
  position: relative;  border-radius: 26px;  overflow: hidden;  aspect-ratio: 4/5;  background: var(--ink-3);}
.storia__img img {
  width: 100%;  height: 115%;  object-fit: cover;}
.storia__img::after {
  content: '';  position: absolute;  inset: 0;  background: linear-gradient(180deg,transparent 50%,rgba(5,8,31,.6));}
.storia__badge {
  position: absolute;  z-index: 1;  left: 20px;  right: 20px;  bottom: 20px;  display: flex;  justify-content: space-between;  align-items: center;  padding: 18px 22px;  border-radius: 16px;  backdrop-filter: blur(14px);  -webkit-backdrop-filter: blur(14px);  box-shadow: inset 0 0 0 1px var(--line-2);  font: 400 12px/1.4 var(--mono);  letter-spacing: .06em;  color: var(--muted);}
.storia__badge b {
  font: 400 40px/1 var(--serif);  font-style: italic;  color: var(--oro);}
.storia__lead {
  margin-top: 26px;  color: var(--muted);  font-size: 17px;  max-width: 52ch;}
.portali {
  margin-top: 22px;  font-size: 13px;  color: var(--dim);}
.portali b {
  color: var(--muted);  font-weight: 500;}
.valuta {
  padding: clamp(90px,11vw,160px) 0;  position: relative;  overflow: hidden;}
.valuta::before {
  content: '';  position: absolute;  inset: 0;  background: radial-gradient(55% 70% at 100% 20%,rgba(36,56,214,.35),transparent 70%),radial-gradient(40% 50% at 0 100%,rgba(216,192,143,.1),transparent 70%);  pointer-events: none;}
.valuta__box {
  position: relative;  display: grid;  grid-template-columns: 1fr 1fr;  gap: clamp(40px,6vw,100px);  align-items: center;}
.valuta__foto {
  position: absolute;  inset: 0;  width: 100%;  height: 100%;  object-fit: cover;  opacity: .2;}
.blocco__foto--alto img {
  object-position: center 22%;}
.steps {
  list-style: none;  margin-top: 38px;  display: grid;}
.steps li {
  display: flex;  gap: 22px;  padding: 18px 0;  border-top: 1px solid var(--line);}
.steps li:last-child {
  border-bottom: 1px solid var(--line);}
.steps b {
  font: 400 28px/1 var(--serif);  font-style: italic;  color: var(--oro);  min-width: 34px;}
.steps strong {
  display: block;  font-weight: 500;}
.steps span {
  font-size: 14px;  color: var(--muted);}
.form {
  display: grid;  gap: 12px;  border-radius: 26px;  padding: clamp(24px,3vw,40px);  align-self: start;}
.form h3 {
  font: 400 34px/1 var(--serif);  margin-bottom: 10px;}
.f2 {
  display: grid;  grid-template-columns: 1fr 1fr;  gap: 12px;}
.fld {
  position: relative;  display: block;}
.fld input,.fld textarea {
  width: 100%;  border: 0;  outline: 0;  border-radius: 14px;  padding: 24px 16px 10px;  font-size: 15px;  box-shadow: inset 0 0 0 1px var(--line);  color: var(--paper);  transition: box-shadow .3s,background .3s;}
.fld textarea {
  resize: vertical;  min-height: 120px;}
.fld > span {
  position: absolute;  left: 16px;  top: 17px;  font-size: 15px;  color: var(--dim);  pointer-events: none;  transition: top .35s var(--ease),font-size .35s var(--ease),color .3s,letter-spacing .35s;}
.fld input:focus,.fld textarea:focus {
  box-shadow: inset 0 0 0 1px var(--oro),0 0 0 5px rgba(216,192,143,.08);}
.fld input:focus + span,.fld input:not(:placeholder-shown) + span,.fld textarea:focus + span,.fld textarea:not(:placeholder-shown) + span {
  top: 8px;  font-size: 10.5px;  letter-spacing: .08em;  text-transform: uppercase;  color: var(--oro);}
.fld--sel {
  display: grid;  border-radius: 14px;  padding: 9px 16px 12px;  box-shadow: inset 0 0 0 1px var(--line);}
.fld--sel > span {
  position: static;  letter-spacing: .08em;  text-transform: uppercase;  color: var(--oro);  margin-bottom: 4px;}
.fld--sel .tnd__btn {
  font-size: 15px;}
.fld--sel .tnd__lista {
  left: -16px;  min-width: calc(100% + 32px);}
.privacy {
  display: flex;  gap: 12px;  align-items: flex-start;  font-size: 12.5px;  color: var(--muted);  line-height: 1.5;  cursor: pointer;  position: relative;}
.privacy input {
  position: absolute;  opacity: 0;  width: 1px;  height: 1px;}
.privacy i {
  width: 20px;  height: 20px;  border-radius: 6px;  flex-shrink: 0;  box-shadow: inset 0 0 0 1px var(--line-2);  display: grid;  place-items: center;  transition: background .3s,box-shadow .3s;}
.privacy i::after {
  content: '';  width: 9px;  height: 5px;  border: solid var(--ink);  border-width: 0 0 2px 2px;  transform: rotate(-45deg) scale(0);  transition: transform .3s var(--ease);  margin-top: -2px;}
.privacy input:checked + i {
  background: var(--oro);  box-shadow: none;  background: #263e6c;}
.privacy input:focus-visible + i {
  outline: 2px solid var(--oro);  outline-offset: 2px;}
.form .btn {
  margin-top: 6px;}
.form__ok {
  display: none;  padding: 16px;  border-radius: 12px;  background: rgba(30,154,59,.14);  color: #8fe0a5;  font-size: 14px;}
.form.sent .form__ok {
  display: block;}
.contatti {
  padding: clamp(90px,11vw,160px) 0 0;  background: var(--ink-2);}
.contatti__grid {
  display: grid;  grid-template-columns: 1fr 1fr;  gap: clamp(40px,6vw,100px);}
.info {
  display: grid;  margin-top: 40px;}
.info a {
  display: grid;  grid-template-columns: 110px 1fr;  gap: 20px;  border-top: 1px solid var(--line);  font-size: 18px;}
.info a:hover {
  color: var(--oro-2);}
.info span {
  font: 500 10px/2.3 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: var(--oro);}
.lavora {
  margin-top: 24px;  padding: 16px 18px;  border-radius: 14px;  background: var(--vetro);  box-shadow: inset 0 0 0 1px var(--line);  font-size: 14px;  color: var(--muted);}
.lavora a {
  color: var(--oro-2);  text-decoration: underline;  text-underline-offset: 3px;}
.mappa {
  margin-top: 28px;  border-radius: 22px;  overflow: hidden;  aspect-ratio: 16/10;  background: var(--ink-3);}
.mappa iframe {
  width: 100%;  height: 100%;  border: 0;  filter: grayscale(1) invert(.92) hue-rotate(200deg) contrast(.92) brightness(.9);  filter: none;}
.footer {
  background: var(--ink-2);  padding: clamp(70px,9vw,120px) 0 30px;  font: 400 12px/1.7 var(--mono);  color: var(--dim);}
.footer a:hover {
  color: var(--oro);}
.footer__big {
  font: 400 10vw/.9 var(--serif);  margin-top: 40px;  white-space: nowrap;  user-select: none;  padding-bottom: .04em;}
.pilone {
  /* sopra il pulsante della chat DOMA, che sta a 20px dal bordo ed è alto 64px */
  position: fixed;  right: clamp(14px,2.4vw,30px);  bottom: calc(clamp(14px,2.4vw,26px) + 82px);  z-index: 55;  color: var(--oro);  transform: translateY(20px);  pointer-events: none;  transition: opacity .5s var(--ease),transform .5s var(--ease),color .3s;  filter: drop-shadow(0 0 6px rgba(5,8,31,.6));}
.pilone.on {
  opacity: 1;  transform: none;  pointer-events: auto;}
.pilone svg {
  width: 14px;  height: 44px;  overflow: visible;  display: block;}
.pilone__corpo {
  transition: transform .6s var(--ease);}
.pilone:hover {
  color: var(--oro-2);}
.pilone:hover .pilone__corpo {
  transform: translateY(-5px);}
.page-head {
  padding: 150px 0 46px;}
.page-head h1 {
  font: 400 clamp(52px, 7.6vw, 128px)/.92 var(--serif);  letter-spacing: -.02em;  margin-top: 22px;}
.page-head h1 em {
  color: var(--oro);}
.filtri {
  position: sticky;  top: 0;  z-index: 30;  backdrop-filter: blur(20px);  -webkit-backdrop-filter: blur(20px);  border-block: 1px solid var(--line);}
.filtri__in {
  display: flex;  flex-wrap: wrap;  gap: 10px;  align-items: center;  padding: 12px var(--pad);  max-width: var(--max);  margin: 0 auto;}
.chip {
  height: 42px;  padding: 0 18px;  border-radius: 12px;  font-size: 14px;  color: var(--muted);  box-shadow: inset 0 0 0 1px var(--line-2);  transition: background .4s var(--ease),color .3s,box-shadow .3s;}
.chip:hover {
  color: var(--paper);  box-shadow: inset 0 0 0 1px var(--oro);}
.chip.on {
  background: var(--oro);  color: var(--ink);  box-shadow: none;}
.filtri .sep {
  width: 1px;  height: 24px;  background: var(--line-2);  margin: 0 4px;}
.filtri .tnd__btn {
  height: 42px;  padding: 0 16px 0 18px;  border-radius: 12px;  box-shadow: inset 0 0 0 1px var(--line-2);  font-size: 14px;  transition: box-shadow .3s;}
.filtri .tnd.aperta .tnd__btn,.filtri .tnd__btn:hover {
  box-shadow: inset 0 0 0 1px var(--oro);}
.filtri .tnd__lista {
  left: 0;  top: calc(100% + 8px);  min-width: 230px;}
.filtri .count {
  margin-left: auto;  font: 400 12px/1 var(--mono);  color: var(--dim);}
.griglia {
  display: grid;  grid-template-columns: repeat(3,minmax(0,1fr));  gap: 22px;  padding: 36px 0 clamp(80px,10vw,140px);}
.card {
  position: relative;  display: flex;  flex-direction: column;  border-radius: 22px;  overflow: hidden;  background: var(--ink-3);  box-shadow: inset 0 0 0 1px var(--line);  transition: transform .5s var(--ease),box-shadow .5s var(--ease);}
.card:hover {
  transform: translateY(-4px);  box-shadow: inset 0 0 0 1px rgba(216,192,143,.3),0 30px 60px -30px rgba(36,56,214,.55);}
.card__img {
  position: relative;  aspect-ratio: 4/3;  overflow: hidden;}
.card__img img {
  width: 100%;  height: 100%;  object-fit: cover;  transition: transform 1.4s var(--ease-out);}
.card:hover .card__img img {
  transform: scale(1.07);}
.card__img::after {
  content: '';  position: absolute;  inset: 0;  background: linear-gradient(180deg,rgba(5,8,31,.35),transparent 30%,transparent 55%,rgba(17,24,67,.92));}
.card__tags {
  position: absolute;  z-index: 1;  top: 14px;  left: 14px;  right: 14px;  display: flex;  gap: 6px;  align-items: center;}
.card__tags .foto {
  margin-left: auto;}
.card__prezzo {
  position: absolute;  z-index: 1;  font: 400 32px/1 var(--serif);  color: var(--oro-2);}
.card__prezzo small {
  font: 400 13px var(--sans);  color: var(--muted);}
.card__body {
  padding: 16px 20px 18px;  display: flex;  flex-direction: column;  flex: 1;}
.card h3 {
  font: 450 17px/1.3 var(--sans);}
.card .luogo {
  display: flex;  align-items: center;  gap: 6px;  font-size: 14px;  color: var(--muted);  margin-top: 6px;}
.card__sep {
  height: 1px;  background: var(--line);  margin-top: 16px;}
.specs {
  margin-top: auto;  padding-top: 16px;  display: grid;  grid-template-columns: repeat(3,1fr) auto;  gap: 8px;  align-items: center;  font-size: 13px;}
.specs > span {
  display: flex;  align-items: center;  gap: 7px;  color: var(--paper);}
.specs svg {
  width: 17px;  height: 17px;  color: var(--oro);  flex-shrink: 0;}
.specs .rif {
  font: 400 11px/1 var(--mono);  color: var(--dim);  justify-self: end;}
.vuoto {
  grid-column: 1/-1;  text-align: center;  padding: 80px 0;  color: var(--muted);}
.altri {
  grid-column: 1/-1;  display: flex;  justify-content: center;  padding-top: 6px;}
.altri__btn:focus-visible {
  outline: 2px solid var(--oro);  outline-offset: 3px;}
.scheda {
  padding: 130px var(--pad) clamp(60px,8vw,120px);}
.back {
  display: inline-flex;  align-items: center;  gap: 10px;  font: 500 12px/1 var(--mono);  letter-spacing: .12em;  text-transform: uppercase;  color: var(--muted);  transition: color .3s;}
.back:hover {
  color: var(--oro);}
.scheda__head {
  display: flex;  justify-content: space-between;  align-items: flex-end;  gap: 40px;  margin: 30px 0 34px;  flex-wrap: wrap;}
.scheda__tit {
  min-width: 0;  flex: 1 1 auto;}
.scheda h1 {
  font: 400 clamp(44px, 5.4vw, 88px)/.95 var(--serif);  letter-spacing: -.015em;  max-width: 18ch;}
.scheda .luogo {
  display: flex;  align-items: center;  gap: 8px;  color: var(--muted);  margin-top: 14px;  font-size: 16px;}
.scheda .luogo svg {
  width: 18px;  height: 18px;  color: var(--oro);}
.prezzo-big {
  font: 400 clamp(40px, 4.4vw, 66px)/1 var(--serif);  color: var(--oro-2);  white-space: nowrap;  text-align: right;}
.prezzo-big small {
  display: block;  font: 500 10px/1 var(--mono);  letter-spacing: .2em;  text-transform: uppercase;  color: var(--oro);  margin-bottom: 12px;}
.gal {
  display: grid;  grid-template-columns: 2fr 1fr;  grid-template-rows: 1fr 1fr;  gap: 10px;  height: min(70vh,640px);}
.gal button {
  position: relative;  border-radius: 18px;  overflow: hidden;  background: var(--ink-3);}
.gal button:first-child {
  grid-row: span 2;}
.gal img {
  width: 100%;  height: 100%;  object-fit: cover;  transition: transform 1.2s var(--ease-out);}
.gal button:hover img {
  transform: scale(1.05);}
.gal .piu {
  position: absolute;  right: 14px;  bottom: 14px;  padding: 10px 16px;  border-radius: 99px;  backdrop-filter: blur(10px);  font: 500 11px/1 var(--mono);  letter-spacing: .1em;  box-shadow: inset 0 0 0 1px var(--line-2);}
.scheda__grid {
  display: grid;  grid-template-columns: 1.6fr 1fr;  gap: clamp(40px,6vw,100px);  margin-top: clamp(40px,5vw,70px);}
.kpi {
  display: grid;  grid-template-columns: repeat(4,1fr);  border-block: 1px solid var(--line);}
.kpi div {
  padding: 22px 0;}
.kpi div + div {
  padding-left: 20px;  border-left: 1px solid var(--line);}
.kpi b {
  display: block;  font: 400 42px/1 var(--serif);  color: var(--oro-2);}
.kpi span {
  font: 500 10px/1 var(--mono);  letter-spacing: .16em;  text-transform: uppercase;  color: var(--dim);}
.descr {
  margin-top: 40px;  display: grid;  gap: 16px;  font-size: 17px;  line-height: 1.75;  max-width: 64ch;}
.descr.intro p:first-child {
  font: 400 clamp(24px, 2.2vw, 32px)/1.3 var(--serif);  color: var(--paper);  color: #0d1a32;}
.descr.lunga {
  max-height: 15em;  overflow: hidden;  -webkit-mask-image: linear-gradient(180deg,#000 55%,transparent);  mask-image: linear-gradient(180deg,#000 55%,transparent);}
.leggi {
  margin-top: 14px;  font-weight: 500;  color: var(--oro);  padding: 10px 16px;  border-radius: 12px;  box-shadow: inset 0 0 0 1px rgba(216,192,143,.3);  transition: background .3s;}
.leggi:hover {
  background: rgba(216,192,143,.08);}
.side {
  align-self: start;}
.agente {
  display: flex;  gap: 14px;  align-items: center;  padding-bottom: 18px;  border-bottom: 1px solid var(--line);  margin-bottom: 4px;}
.agente__av {
  width: 48px;  height: 48px;  border-radius: 50%;  background: linear-gradient(135deg,var(--oro-2),var(--oro-3));  color: var(--ink);  display: grid;  place-items: center;  font: 400 24px/1 var(--serif);  font-style: italic;}
.agente b {
  display: block;  font-weight: 500;}
.agente span {
  font-size: 13px;  color: var(--muted);}
.side__tel {
  display: grid;  grid-template-columns: 1fr 1fr;  gap: 8px;  margin-top: 4px;}
.side__tel a {
  height: 46px;  border-radius: 12px;  box-shadow: inset 0 0 0 1px var(--line-2);  display: grid;  place-items: center;  font-size: 14px;  transition: box-shadow .3s,color .3s;}
.side__tel a:hover {
  box-shadow: inset 0 0 0 1px var(--oro);  color: var(--oro-2);}
.lb {
  position: fixed;  inset: 0;  z-index: 120;  background: rgba(5,8,31,.97);  display: none;  place-items: center;}
.lb.on {
  display: grid;}
.lb img {
  max-width: 92vw;  max-height: 84vh;  border-radius: 10px;}
.lb button {
  position: absolute;  width: 54px;  height: 54px;  border-radius: 16px;  box-shadow: inset 0 0 0 1px var(--line-2);  display: grid;  place-items: center;  transition: box-shadow .3s,color .3s;}
.lb button:hover {
  box-shadow: inset 0 0 0 1px var(--oro);  color: var(--oro);}
.lb .x {
  top: 22px;  right: 22px;}
.lb .pr {
  left: 22px;  top: 50%;}
.lb .nx {
  right: 22px;  top: 50%;}
.lb .k {
  position: absolute;  bottom: 26px;  left: 50%;  transform: translateX(-50%);  color: var(--muted);  font: 400 12px/1 var(--mono);}
.rv {
  opacity: 0;  transform: translateY(30px);  transition: opacity 1.1s var(--ease-out),transform 1.1s var(--ease-out);}
.rv.in {
  opacity: 1;  transform: none;}
@media (max-width:1100px) {
  .nav,  .tel {
    display: none;  }
  .burger {
    display: block;  }
  .search {
    grid-template-columns: 1fr 1fr;  }
  .search .seg {
    grid-column: 1/-1;  }
  .search > label {
    border-bottom: 1px solid var(--line);  }
  .search > label:nth-of-type(2) {
    border-right: 0;  }
  .search .btn {
    grid-column: 1/-1;  }
  .scegli {
    grid-template-columns: minmax(0,1fr);  }
  .cercala__grid,  .griglia {
    grid-template-columns: repeat(2,minmax(0,1fr));  }

}
@media (max-width:860px) {
  .contatti__grid,  .scheda__grid,  .storia__grid,  .valuta__box {
    grid-template-columns: 1fr;  }
  .fiducia__in {
    grid-template-columns: 1fr 1fr;  }
  .fiducia__in > div {
    padding: 18px 12px;    border-bottom: 1px solid var(--line);  }
  .fiducia__in > div:nth-child(2) {
    border-right: 0;  }
  .fiducia__in > div:nth-child(odd) {
    padding-left: 0;  }
  .fiducia__in > div:nth-child(n+3) {
    border-bottom: 0;  }
  .fiducia b {
    font-size: 42px;  }
  .top .btn--sm {
    display: none;  }
  .kpi {
    grid-template-columns: 1fr 1fr;  }
  .kpi div:nth-child(3) {
    padding-left: 0;    border-left: 0;  }
  .kpi div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);  }
  .scheda {
    padding-top: 110px;  }
  .scheda__head {
    margin: 22px 0 24px;    gap: 18px;  }
  .prezzo-big {
    text-align: left;    width: 100%;  }
  .prezzo-big small {
    margin-bottom: 10px;  }

}

@media (max-width:860px) {
  .hero__grid {
    padding-top: calc(var(--nav-h) + 26px);}
  .hero h1 {
    font-size: clamp(46px, 9vw, 78px);    max-width: 15ch;  }
}
@media (max-width:600px) {
  .hero h1 {
    font-size: clamp(52px, 15vw, 74px);  }
  .hero__grid {
    padding-top: calc(var(--nav-h) + 22px);  }
  .hero__dots button {
    width: 32px;  }
  .hero__kicker {
    font-size: 9.5px;    letter-spacing: .16em;    gap: 10px;  }
  .hero__kicker .tricolore {
    width: 26px;  }
  .hero__lead {
    font-size: 15px;    margin-top: 18px;  }
  .search {
    grid-template-columns: 1fr;    border-radius: 20px;  }
  .search > label {
    border-right: 0!important;    padding: 12px 18px;  }
  .search .btn {
    min-height: 56px;  }
  .h2 {
    font-size: clamp(42px, 12vw, 60px);  }
  .quadri {
    gap: 8px;  }
  .quadro {
    gap: 10px;    padding: 10px 6px;    border-radius: 14px;  }
  .quadro__ic svg {
    width: 28px;    height: 28px;  }
  .quadro__n {
    font-size: 12px;  }
  .quadro__c {
    top: 8px;    right: 8px;    font-size: 10px;  }
  .spiega__img {
    min-height: 200px;  }
  .cercala__grid,  .f2,  .griglia {
    grid-template-columns: 1fr;  }
  .info a {
    grid-template-columns: 1fr;    gap: 2px;    font-size: 16px;  }
  .storia__img {
    aspect-ratio: 4/3.6;  }
  .cercala__esempi button:nth-of-type(n+3),  .filtri .sep {
    display: none;  }
  .filtri .chip {
    flex: 1;  }
  .filtri .tnd {
    flex: 1 1 calc(50% - 5px);  }
  .filtri .tnd:nth-of-type(2n) .tnd__lista {
    left: auto;    right: 0;  }
  .filtri .count {
    width: 100%;    text-align: center;    margin: 0;  }
  .page-head {
    padding-top: 120px;  }
  .pilone svg {
    width: 12px;    height: 38px;  }

}
@media (prefers-reduced-motion:reduce) {
  *,  ::after,  ::before {
    animation: none!important;    transition: none!important;  }
  .rv {
    opacity: 1;    transform: none;  }
}

.cercala__capito > span.chip-ai {
  font: 400 13.5px/1 var(--sans);  letter-spacing: 0;  text-transform: none;  color: var(--oro-2);  margin: 0;}
.chip-ai svg {
  width: 14px;  height: 14px;  flex-shrink: 0;}
.page-head {
  padding-left: var(--pad);  padding-right: var(--pad);}
.top,.top.is-hidden,.top.is-solid {
  position: absolute;  transform: none;  background: 0 0;  backdrop-filter: none;  -webkit-backdrop-filter: none;  box-shadow: none;}
.top.is-solid .top__in {
  height: 84px;}
.menu-open .top {
  position: fixed;}
body:has(.top.is-solid:not(.is-hidden)) .filtri {
  top: 0;}
.hero__lead {
  color: rgba(243,239,231,.86);}
.hero h1,.hero__kicker,.hero__lead {
  text-shadow: 0 1px 16px rgba(26,47,86,.45),0 0 3px rgba(26,47,86,.28);}
.top .nav a,.top .tel {
  color: #fff;  text-shadow: 0 1px 12px rgba(5,8,31,.55),0 0 2px rgba(5,8,31,.35);}
.top .brand svg {
  filter: drop-shadow(0 1px 8px rgba(5,8,31,.5));}
.hero__kicker {
  text-shadow: 0 1px 14px rgba(26,47,86,.5);}
:root {
  --ink: #f7f8fb;  --ink-2: #eef1f7;  --ink-3: #e1e5ee;  --paper: #0d1a32;  --muted: rgba(13,26,50,.68);  --dim: rgba(13,26,50,.46);  --line: rgba(13,26,50,.12);  --line-2: rgba(13,26,50,.2);  --vetro: #ffffff;  --oro: #3b5584;  --oro-2: #263e6c;  --blu: #1a2f56;  color-scheme: light;}
.scuro {
  --ink: #1a2f56;  --ink-2: #21365d;  --ink-3: #273c64;  --paper: #ffffff;  --muted: rgba(255,255,255,.78);  --dim: rgba(255,255,255,.55);  --line: rgba(255,255,255,.16);  --line-2: rgba(255,255,255,.26);  --vetro: rgba(255,255,255,.08);  --oro: #b4c5e2;  --oro-2: #ffffff;  --blue: #263e6c;  background: var(--ink);  color: var(--paper);}
.grana {
  opacity: .025;}
.cat,.cercala,.page-head {
  background: var(--ink)!important;}
.contatti,.footer,.storia {
  background: var(--ink-2);}
.footer.scuro {
  background: #11213e;}
.vetrina.scuro {
  background: var(--ink);}
.valuta::before {
  display: none;}
.vetro {
  background: var(--vetro);  backdrop-filter: none;  -webkit-backdrop-filter: none;  box-shadow: inset 0 0 0 1px var(--line),0 24px 50px -34px rgba(13,26,50,.35);}
.scuro .vetro {
  background: #233860;  box-shadow: inset 0 0 0 1px var(--line);}
.btn::after {
  display: none;}
.btn--oro {
  box-shadow: none;}
.btn--oro:hover {
  box-shadow: none;}
.btn--vetro {
  backdrop-filter: none;  -webkit-backdrop-filter: none;}
.search {
  background: rgba(26,47,86,.86);  backdrop-filter: blur(10px);  -webkit-backdrop-filter: blur(10px);  box-shadow: none;}
.seg::before {
  background: rgba(255,255,255,.14);  box-shadow: inset 0 -2px 0 var(--oro);}
.top {
  --paper: #ffffff;  --muted: rgba(255,255,255,.9);  color: #fff;}
body:not(:has(.hero)) .top {
  --paper: #0d1a32;  --muted: rgba(13,26,50,.7);  color: #0d1a32;}
body:not(:has(.hero)) .top .nav a,body:not(:has(.hero)) .top .tel {
  color: #0d1a32;  text-shadow: none;}
body:not(:has(.hero)) .top .brand svg {
  filter: none;}
.tnd__lista {
  background: #fff;  backdrop-filter: none;  box-shadow: inset 0 0 0 1px rgba(13,26,50,.14),0 24px 50px -24px rgba(13,26,50,.4);}
.tnd__lista button {
  color: rgba(13,26,50,.75);}
.tnd__lista button:focus-visible,.tnd__lista button:hover {
  background: #eef1f7;  color: #0d1a32;}
.tnd__lista button.on {
  color: #263e6c;}
.tnd__lista button i {
  color: #3b5584;}
.fiducia {
  border-block: 1px solid var(--line);  background: var(--ink-2);}
.quadro,.quadro:hover {
  background: #fff;}
.quadro.on {
  box-shadow: inset 0 0 0 1px rgba(38,62,108,.45);}
.spiega {
  background: #1a2f56;  color: #fff;  --paper: #ffffff;  --muted: rgba(255,255,255,.78);  --oro: #b4c5e2;  --line-2: rgba(255,255,255,.26);}
.spiega__img::after {
  display: none;}
.spiega__txt {
  padding-top: 24px;}
.card__tags .tag {
  background: rgba(13,26,50,.78);  color: #fff;  box-shadow: none;  backdrop-filter: none;}
.vcard__body {
  color: #fff;}
.vcard__prezzo {
  font-size: 28px;  color: #fff;}
.vcard p {
  color: rgba(255,255,255,.75);}
.vcard p svg {
  color: #b4c5e2;}
.card {
  background: #fff;}
.card__img::after {
  display: none;}
.card__prezzo {
  left: 14px;  bottom: 14px;  padding: 9px 14px;  border-radius: 12px;  color: #fff;  font-size: 26px;}
.card__prezzo small {
  color: rgba(255,255,255,.75);}
.card__prezzo.ris {
  font-size: 19px;}
.card:hover {
  box-shadow: inset 0 0 0 1px rgba(38,62,108,.4),0 24px 50px -30px rgba(13,26,50,.4);}
.cercala__box {
  background: #fff;  backdrop-filter: none;  -webkit-backdrop-filter: none;  box-shadow: inset 0 0 0 1px var(--line),0 24px 50px -34px rgba(13,26,50,.3);}
.cercala__campo {
  background: #fff;}
.cercala__campo:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--oro);}
.chip-ai {
  box-shadow: inset 0 0 0 1px rgba(38,62,108,.35);}
.storia__img::after {
  display: none;}
.storia__badge {
  background: rgba(13,26,50,.88);  color: rgba(255,255,255,.8);  box-shadow: none;  backdrop-filter: none;  --oro: #b4c5e2;}
.fld input,.fld textarea,.fld--sel {
  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.fld input:focus,.fld textarea:focus {
  background: #fff;  box-shadow: inset 0 0 0 1.5px var(--oro);}
.scuro .fld input,.scuro .fld textarea,.scuro .fld--sel {
  background: #1a2f56;  box-shadow: inset 0 0 0 1px var(--line-2);}
.scuro .fld input:focus,.scuro .fld textarea:focus {
  background: #15284b;}
.filtri {
  transition: top .6s var(--ease);  backdrop-filter: none;  -webkit-backdrop-filter: none;}
.agente__av,.chip.on {
  background: #1a2f56;  color: #fff;}
.gal .piu {
  background: rgba(13,26,50,.85);  color: #fff;  backdrop-filter: none;}
.descr {
  color: rgba(13,26,50,.85);}


:root {
  --muted: #4f5668;  --dim: #6f7686;  --line: #e1e5ee;  --line-2: #cdd2dd;}
.btn--oro {
  background: #263e6c;  color: #fff;}
.btn--oro:hover {
  background: #3b5584;}
.scuro .btn--oro,.spiega .btn--oro {
  background: #fff;  color: #1a2f56;}
.scuro .btn--oro:hover,.spiega .btn--oro:hover {
  background: #e7edf7;}
.btn--vetro {
  background: #fff;  color: #0d1a32;  box-shadow: inset 0 0 0 1px #cdd2dd;}
.btn--vetro:hover {
  box-shadow: inset 0 0 0 1px #263e6c;  color: #263e6c;}
.scuro .btn--vetro {
  background: 0 0;  color: #fff;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);}
.scuro .btn--vetro:hover {
  box-shadow: inset 0 0 0 1px #fff;  color: #fff;}
.card__tags .tag--oro,.tag--oro {
  background: #fff!important;  color: #1a2f56!important;}
.quadro.on {
  box-shadow: inset 0 0 0 1px #b4c5e2;}
.quadro::before {
  background: #263e6c;}
.quadro.on .quadro__c,.quadro.on .quadro__ic {
  color: #263e6c;}
.cat,.cercala,.page-head {
  background: #f7f8fb!important;}
.contatti,.storia {
  background: #eef1f7;}
.fiducia {
  background: #fff;}
.fiducia b,.fiducia i,.kpi b {
  color: #263e6c;}
.steps b {
  color: #b4c5e2;}
.card__prezzo {
  background: #1a2f56;}
.cercala__capito > span.chip-ai,.chip-ai {
  box-shadow: inset 0 0 0 1px #d0dbef;}
.cercala__capito > span:first-child,.spiega__n {
  color: #3b5584;}
.spiega__n {
  color: #d0dbef;}
.fld input:focus + span,.fld input:not(:placeholder-shown) + span,.fld textarea:focus + span,.fld textarea:not(:placeholder-shown) + span,.fld--sel > span {
  color: #3b5584;}
.scuro .fld input:focus + span,.scuro .fld input:not(:placeholder-shown) + span,.scuro .fld--sel > span {
  color: #d0dbef;}
.fld input:focus,.fld textarea:focus {
  box-shadow: inset 0 0 0 1.5px #4e699a;}
.privacy input:checked + i::after {
  transform: rotate(-45deg) scale(1);  border-color: #fff;}
.scuro .privacy input:checked + i {
  background: #fff;}
.scuro .privacy input:checked + i::after {
  border-color: #1a2f56;}
.chip.on {
  background: #263e6c;  color: #fff;}
.chip:hover,.filtri .tnd.aperta .tnd__btn,.filtri .tnd__btn:hover {
  box-shadow: inset 0 0 0 1px #263e6c;}
.tnd__btn svg {
  color: currentColor;  opacity: .7;}
.leggi {
  color: #263e6c;  box-shadow: inset 0 0 0 1px #d0dbef;}
.info a:hover,.side__tel a:hover {
  color: #263e6c;}
.back:hover,.info span {
  color: #3b5584;}
.lavora a,.pilone {
  color: #263e6c;}
.nav a::after {
  background: #b4c5e2;}
body:not(:has(.hero)) .nav a::after {
  background: #263e6c;}
.search > label > span {
  color: #d0dbef;}
.seg::before {
  box-shadow: inset 0 -2px 0 #b4c5e2;}
.footer__big {
  color: rgba(255,255,255,.07);}
.fiducia b {
  display: inline-block;  min-width: 1.6em;}
@media (min-width:861px) {
  .hero__grid {
    padding-top: calc(var(--nav-h) + clamp(22px,4.4vh,52px));  padding-bottom: clamp(20px,3.4vh,40px);}
  .hero h1 {
    margin-top: 20px;  }
  .hero__lead {
    margin-top: 18px;  }
}
.h2 em,.page-head h1 em {
  color: #3a4f78;}
.hero h1 em,.scuro .h2 em {
  color: #d6dde9;}
.hero__kicker,.scuro .eyebrow {
  color: #c9d1de;}
.fiducia b,.kpi b,.prezzo-big {
  color: #1a2f56;}
.quadro.on {
  background: #eef1f6;  box-shadow: inset 0 0 0 1px #b9c3d4;}
.cercala__capito > span.chip-ai,.chip-ai {
  background: #eef1f6;  color: #263e6c;  box-shadow: inset 0 0 0 1px #d3d9e4;}
.parole.rv {
  opacity: 1;  transform: none;}
.parole .w > span {
  display: inline-block;  transform: translateY(105%);  transition: transform 1.1s var(--ease-out);}
.parole.in .w > span {
  transform: none;}
.tenda {
  clip-path: inset(0 0 100% 0 round 22px);  transition: clip-path 1.3s cubic-bezier(.76,0,.24,1);}
.tenda img {
  transform: scale(1.18);  transition: transform 1.8s var(--ease-out);}
.tenda.in {
  clip-path: inset(0 0 0 0 round 22px);}
.tenda.in img {
  transform: none;}
.card__img.tenda {
  clip-path: inset(0 0 100% 0);}
.card__img.tenda.in {
  clip-path: inset(0);}
.card:hover .card__img.tenda.in img {
  transform: scale(1.06);}
.storia__img.tenda.in img {
  transform: none;}
/* sopra il banner cookie (2147483001) e la bolla chat DOMA (2147483000): il pannello copre la pagina intera */
.passaggio {
  position: fixed;  inset: 0;  z-index: 2147483002;  color: #d6dde9;  display: grid;  place-items: center;  pointer-events: none;  transform: translateY(101%);}
.passaggio.copre {
  transform: none;  pointer-events: auto;}
.passaggio.esce {
  transform: translateY(-101%);}
.passaggio.fermo {
  transition: none;}
.passaggio__logo svg {
  width: 44px;  height: 44px;  opacity: .8;}
.cuore {
  position: absolute;  z-index: 2;  right: 14px;  bottom: 14px;  width: 42px;  height: 42px;  border-radius: 50%;  display: grid;  place-items: center;  background: rgba(255,255,255,.92);  color: #1a2f56;  box-shadow: 0 6px 18px -8px rgba(13,26,50,.5);  transition: transform .3s var(--ease),background .3s;}
.cuore svg {
  width: 20px;  height: 20px;  fill: none;  stroke: currentColor;  stroke-width: 1.7;  transition: fill .3s;}
.cuore:hover {
  transform: scale(1.08);}
.cuore.on {
  color: #c8102e;}
.cuore.on svg {
  fill: currentColor;}
.cuore.batte {
  animation: batte .45s var(--ease-out);}
@keyframes batte {
  30% {
    transform: scale(1.25);  }
}
.cuore--testa {
  position: static;  width: 48px;  height: 48px;  box-shadow: inset 0 0 0 1px var(--line-2);  background: #fff;}
.mutuo {
  margin-top: 50px;  padding: 28px;  border-radius: 22px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.mutuo h2,.mutuo h3 {
  font: 400 36px/1 var(--serif);}
.mutuo > p {
  color: var(--muted);  font-size: 14px;  margin-top: 8px;}
.mutuo__grid {
  display: grid;  grid-template-columns: 1.2fr 1fr;  gap: 30px;  margin-top: 24px;  align-items: center;}
.cursore {
  display: grid;  gap: 10px;  margin-bottom: 22px;}
.cursore label {
  display: flex;  justify-content: space-between;  font-size: 14px;  color: var(--muted);}
.cursore label b {
  color: var(--paper);  font-weight: 500;}
.cursore input[type=range] {
  -webkit-appearance: none;  appearance: none;  width: 100%;  height: 4px;  border-radius: 4px;  background: linear-gradient(90deg,#263e6c var(--p,50%),#e1e5ee var(--p,50%));  outline: 0;}
.cursore input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;  width: 22px;  height: 22px;  border-radius: 50%;  background: #fff;  box-shadow: 0 0 0 2px #263e6c,0 4px 10px -2px rgba(13,26,50,.4);  cursor: grab;  transition: transform .2s;}
.cursore input[type=range]::-webkit-slider-thumb:active {
  transform: scale(1.15);}
.cursore input[type=range]::-moz-range-thumb {
  width: 22px;  height: 22px;  border-radius: 50%;  background: #fff;  border: 2px solid #263e6c;}
.rata {
  text-align: center;  padding: 26px 20px;  border-radius: 18px;  background: #1a2f56;  color: #fff;}
.rata small {
  display: block;  font: 500 10px/1 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: #c9d1de;}
.rata b {
  display: block;  font: 400 58px/1 var(--serif);  margin: 12px 0 6px;  font-variant-numeric: tabular-nums;}
.rata span {
  font-size: 13px;  color: #c9d1de;}
.rata .btn {
  margin-top: 16px;  background: #fff;  color: #1a2f56;  height: 46px;  font-size: 14px;}
.mutuo__nota {
  margin-top: 16px;  font-size: 12px;  color: var(--dim);}
@media (max-width:860px) {
  .mutuo__grid {
    grid-template-columns: 1fr;  }
  .mutuo {
    padding: 22px;  }
}
.chip--pref {
  display: inline-flex;  align-items: center;  gap: 7px;}
.chip--pref svg {
  width: 15px;  height: 15px;  fill: none;  stroke: currentColor;  stroke-width: 1.8;}
.chip--pref.on svg {
  fill: #fff;}
.intro,.intro * {
  animation: none!important;}
.loader {
  background: #1a2f56;}
.parole .w {
  display: inline-block;  overflow: hidden;  vertical-align: top;  padding: 0 .12em .14em;  margin: 0 -.12em -.14em;}
.parole.fatto .w {
  overflow: visible;}
.pilone {
  color: #6b7a96;  opacity: 0;  filter: none;  mix-blend-mode: normal;}
.pilone.on {
  opacity: .85;}
.pilone.su-scuro {
  color: #c9d1de;}
.pilone:hover {
  color: #263e6c;  opacity: 1;}
.pilone.su-scuro:hover {
  color: #fff;}
.page-head .lead {
  margin-top: 24px;  max-width: 560px;}
.sotto {
  display: flex;  flex-wrap: wrap;  gap: 8px;  margin-top: 30px;}
.sotto .chip {
  display: inline-flex;  align-items: center;}
.blocco {
  padding: clamp(70px,9vw,130px) 0;  background: #f7f8fb;}
.blocco--alt {
  background: #eef1f7;}
.blocco__grid {
  display: grid;  grid-template-columns: 5fr 7fr;  gap: clamp(36px,6vw,100px);  align-items: start;}
.blocco__testa {
  position: sticky;}
.blocco__corpo {
  display: grid;  gap: 18px;  font-size: 17px;  line-height: 1.7;  color: var(--muted);  max-width: 64ch;}
.blocco__corpo > p:first-child {
  font-size: clamp(19px, 1.5vw, 22px);  line-height: 1.55;  color: var(--paper);}
.ok-lista {
  list-style: none;  display: grid;  grid-template-columns: 1fr 1fr;  gap: 10px;  margin-top: 6px;}
.ok-lista li {
  display: flex;  gap: 12px;  align-items: flex-start;  padding: 14px 16px;  border-radius: 14px;  box-shadow: inset 0 0 0 1px var(--line);  font-size: 15px;  line-height: 1.45;  color: var(--paper);}
.ok-lista i {
  width: 30px;  height: 30px;  border-radius: 9px;  flex-shrink: 0;  display: grid;  place-items: center;  background: #eef1f6;  color: #263e6c;}
.ok-lista i svg {
  width: 16px;  height: 16px;}
.passi {
  list-style: none;  display: grid;  gap: 0;  counter-reset: p;}
.passi li {
  display: flex;  gap: 22px;  border-top: 1px solid var(--line);}
.passi li:last-child {
  border-bottom: 1px solid var(--line);}
.passi b {
  font: 400 30px/1 var(--serif);  color: #3a4f78;}
.passi strong {
  display: block;  font-weight: 500;  color: var(--paper);  font-size: 16px;}
.passi span {
  font-size: 15px;  color: var(--muted);}
.bottoni {
  display: flex;  flex-wrap: wrap;  gap: 10px;  margin-top: 8px;}
.blocco__corpo > .btn {
  justify-self: start;  margin-top: 8px;}
.nota {
  font-size: 14px;  color: var(--dim);}
.citazione {
  font: 400 clamp(26px, 2.6vw, 38px)/1.15 var(--serif);  color: var(--paper);  margin-top: 10px;}
.citazione em {
  color: #3a4f78;}
.motto {
  padding: 20px 22px;  border-left: 2px solid #3a4f78;  font: 400 21px/1.4 var(--serif);  font-style: italic;  color: var(--paper);  background: #fff;  border-radius: 0 14px 14px 0;}
.sotto-tit {
  font: 400 28px/1 var(--serif);  color: var(--paper);  margin-top: 18px;}
.servizi-pag {
  padding: clamp(70px,9vw,130px) 0;  background: #f7f8fb;}
.servizi-pag.blocco--alt {
  background: #eef1f7;}
.serv-grid {
  display: grid;  grid-template-columns: repeat(3,1fr);  gap: 14px;  margin-top: clamp(36px,4vw,56px);}
.serv {
  padding: 26px;  border-radius: 20px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);  transition: box-shadow .4s,transform .4s var(--ease);}
.serv:hover {
  transform: translateY(-3px);  box-shadow: inset 0 0 0 1px #b9c3d4,0 20px 40px -30px rgba(13,26,50,.4);}
.serv i {
  width: 46px;  height: 46px;  border-radius: 13px;  display: grid;  place-items: center;  background: #1a2f56;  color: #fff;}
.serv i svg {
  width: 22px;  height: 22px;}
.serv h3 {
  font: 400 26px/1.1 var(--serif);  margin-top: 18px;  color: var(--paper);}
.serv p {
  font-size: 14.5px;  color: var(--muted);  margin-top: 10px;  line-height: 1.55;}
.serv__link {
  display: inline-flex;  align-items: center;  gap: 7px;  margin-top: 18px;
  font-size: 13px;  font-weight: 500;  color: #263e6c;  transition: color .3s;}
.serv__link .ic {
  display: grid;  place-items: center;}
.serv__link .ic svg {
  width: 14px;  height: 14px;}
.serv__link:hover {
  color: #1a2f56;  text-decoration: underline;  text-underline-offset: 3px;}
.serv--foto {
  display: flex;  flex-direction: column;  padding: 0;  overflow: hidden;}
.serv--foto .serv__foto {
  margin: 0;  aspect-ratio: 7/4;  overflow: hidden;  background: #eef1f6;}
.serv--foto .serv__foto img {
  width: 100%;  height: 100%;  object-fit: cover;}
.serv--foto .serv__testo {
  display: flex;  flex-direction: column;  align-items: flex-start;  padding: 22px 26px 26px;}
.serv--foto .serv__testo h3 {
  margin-top: 0;}
.credito-lead {
  max-width: 760px;}
.credito-griglia {
  display: grid;  grid-template-columns: 1fr 1fr;  gap: 14px;
  margin-top: clamp(36px,4vw,56px);}
.credito-gruppo {
  padding: 28px;  border-radius: 20px;  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);}
.credito-gruppo h3 {
  font: 400 26px/1.15 var(--serif);  color: var(--paper);}
.credito-gruppo ul {
  list-style: none;  display: grid;  gap: 10px;  margin-top: 16px;}
.credito-gruppo li {
  position: relative;  padding-left: 18px;
  font-size: 14.5px;  line-height: 1.55;  color: var(--muted);}
.credito-gruppo li::before {
  content: '';  position: absolute;  left: 0;  top: .66em;
  width: 8px;  height: 1.5px;  background: #8a97ad;}
/* --- Finanziamenti: le immagini dello slider WeUnit del vecchio sito --- */
.galleria-credito__track {
  display: flex;  gap: 18px;  align-items: center;
  overflow-x: auto;  overflow-y: hidden;
  height: clamp(220px, 52vw, 610px);
  transition: height .55s var(--ease);
  scroll-snap-type: x mandatory;  scroll-behavior: smooth;
  scrollbar-width: none;  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;  overscroll-behavior-x: contain;}
.galleria-credito__track::-webkit-scrollbar {
  display: none;}
.galleria-credito__slide {
  flex: 0 0 100%;  margin: 0;  scroll-snap-align: start;}
.galleria-credito__slide img {
  display: block;  width: 100%;  height: auto;}
.galleria-credito__comandi {
  display: flex;  align-items: center;  gap: 10px;
  margin-top: clamp(16px,2.2vw,26px);}
.galleria-credito__pos {
  display: inline-flex;  align-items: baseline;  gap: 5px;  padding: 0 6px;
  font: 500 11px/1 var(--mono);  letter-spacing: .12em;
  color: #6a6f76;  font-variant-numeric: tabular-nums;}
.galleria-credito__pos b {
  font-weight: 500;  color: var(--navy);}
@media (max-width:600px) {
  .galleria-credito__track {
    gap: 12px;  }
}
@media (prefers-reduced-motion: reduce) {
  .galleria-credito__track {
    scroll-behavior: auto;    transition: none;  }
}
.partner-sez {
  padding: clamp(70px,9vw,120px) 0;  background: #f7f8fb;}
.partner {
  display: grid;  grid-template-columns: repeat(5,1fr);  gap: 12px;  margin-top: 40px;}
.partner > * {
  padding: 22px;  border-radius: 16px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);  display: grid;  gap: 6px;  transition: box-shadow .3s;}
.partner a:hover {
  box-shadow: inset 0 0 0 1px #263e6c;}
.partner b {
  font: 400 24px/1 var(--serif);  color: var(--paper);}
.partner span {
  font-size: 13px;  color: var(--muted);}
.social {
  display: flex;  flex-wrap: wrap;  gap: 8px;  margin-top: 24px;}
.social a {
  box-shadow: inset 0 0 0 1px var(--line-2);  font-size: 14px;  color: var(--paper);  transition: box-shadow .3s;}
.social a:hover {
  box-shadow: inset 0 0 0 1px #263e6c;}
.info__riga {
  display: grid;  grid-template-columns: 110px 1fr;  gap: 20px;  border-top: 1px solid var(--line);  font-size: 18px;}
.info__riga span {
  font: 500 10px/2.3 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: #1b42d0;}
.news {
  display: grid;  gap: 8px;}
.news input {
  flex: 1;  min-width: 0;  height: 44px;  border: 0;  outline: 0;  border-radius: 12px;  padding: 0 14px;  background: rgba(255,255,255,.1);  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);  color: #fff;  font-size: 14px;}
.news input::placeholder {
  color: rgba(255,255,255,.55);}
.news input:focus {
  box-shadow: inset 0 0 0 1px #fff;}
.footer .form__ok {
  padding: 10px 12px;}
@media (max-width:1100px) {
  .partner {
    grid-template-columns: repeat(3,1fr);  }
}
@media (max-width:860px) {
  .blocco__grid {
    grid-template-columns: 1fr;  }
  .blocco__testa {
    position: static;  }
  .serv-grid {
    grid-template-columns: 1fr 1fr;  }
  .credito-griglia {
    grid-template-columns: 1fr;  }
}
@media (max-width:600px) {
  .ok-lista,  .serv-grid {
    grid-template-columns: 1fr;  }
  .partner {
    grid-template-columns: 1fr 1fr;  }
  .info__riga {
    grid-template-columns: 1fr;    gap: 2px;    font-size: 16px;  }
}
.cercala .come {
  list-style: none;  display: flex;  flex-wrap: wrap;  gap: 10px 22px;  margin-top: 26px;  font-size: 14px;  color: var(--muted);}
.cercala .come li {
  display: flex;  align-items: center;  gap: 10px;}
.cercala .come b {
  width: 26px;  height: 26px;  border-radius: 50%;  display: grid;  place-items: center;  background: #1a2f56;  color: #fff;  font: 500 12px/1 var(--mono);}
.cercala__box {
  padding: 12px;  border-radius: 28px;}
.cercala__campo {
  padding: 24px 26px;  border-radius: 20px;  align-items: center;}
.cercala__ic {
  width: 48px;  height: 48px;  border-radius: 14px;  background: #1a2f56;  color: #fff;  display: grid;  place-items: center;  padding: 0;  flex-shrink: 0;}
.cercala__ic svg {
  width: 22px;  height: 22px;}
.cercala textarea {
  font-size: clamp(20px, 2.1vw, 30px);  font-family: var(--serif);  letter-spacing: -.005em;}
.cercala textarea::placeholder {
  color: #8a95ab;}
.cercala__esempi button {
  background: #fff;}
.cercala__esempi button:hover {
  color: #1a2f56;  box-shadow: inset 0 0 0 1px #263e6c;  background: #fff;}
.passaggio {
  visibility: hidden;  transition-duration: .3s;  background: #1a2f56;}
.passaggio.copre,.passaggio.esce {
  visibility: visible;}
.lead .link,.lead a {
  color: inherit;  text-decoration: underline;  text-underline-offset: 3px;}
.cercala__esempi {
  gap: 10px;}
.filtri .chip,.social a,.sotto .chip {
  position: relative;  display: inline-flex;  align-items: center;  gap: 10px;  height: auto;  min-height: 46px;  padding: 8px 40px 8px 10px;  border-radius: 12px;  background: #fff;  color: #1a2f56;  font: 500 14px/1.25 var(--sans);  text-align: left;  box-shadow: inset 0 0 0 1px #e1e5ee,0 1px 0 rgba(13,26,50,.03),0 10px 22px -18px rgba(13,26,50,.45);  transition: transform .35s var(--ease),box-shadow .35s var(--ease),background .3s,color .3s;}
.filtri .chip::after,.social a::after,.sotto .chip::after {
  content: '';  position: absolute;  right: 14px;  top: 50%;  width: 14px;  height: 14px;  margin-top: -7px;  background: currentColor;  opacity: .45;  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;  transition: transform .35s var(--ease),opacity .3s;}
.filtri .chip:hover,.social a:hover,.sotto .chip:hover {
  transform: translateY(-2px);  color: #1a2f56;  background: #fff;  box-shadow: inset 0 0 0 1px #263e6c,0 16px 28px -18px rgba(13,26,50,.55);}
.filtri .chip:hover::after,.social a:hover::after,.sotto .chip:hover::after {
  transform: translateX(4px);  opacity: 1;}
.sotto .chip::after {
  transform: rotate(90deg);}
.sotto .chip:hover::after {
  transform: rotate(90deg) translateX(3px);}
.social a,.sotto .chip {
  padding-left: 16px;}
.filtri .chip {
  min-height: 42px;  padding: 8px 16px;}
.filtri .chip::after {
  display: none;}
.filtri .chip.on,.filtri .chip.on:hover {
  background: #1a2f56;  color: #fff;  box-shadow: 0 10px 22px -14px rgba(13,26,50,.6);}
.filtri .chip--pref.on svg {
  fill: #fff;}
.cercala__esempi > span {
  width: 100%;  margin: 0 0 2px 4px;  font: 500 10px/1 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: var(--dim);}
.grana {
  display: none;}
html.attesa body::after {
  content: '';  position: fixed;  inset: 0;  z-index: 299;  background: #1a2f56;}
.tappe {
  list-style: none;  display: grid;  margin-top: 34px;}
.tappe li {
  display: grid;  grid-template-columns: 96px 1fr;  gap: 20px;  padding: 20px 0;  border-top: 1px solid var(--line);}
.tappe li:last-child {
  border-bottom: 1px solid var(--line);}
.tappe b {
  font: 400 30px/1 var(--serif);  font-style: italic;  color: #3a4f78;}
.tappe strong {
  display: block;  font-weight: 500;  color: var(--paper);}
.tappe span {
  display: block;  font-size: 15px;  color: var(--muted);  margin-top: 4px;  line-height: 1.55;}
.link-storia {
  display: inline-block;  margin-top: 22px;  font-size: 15px;  color: #1a2f56;  text-decoration: underline;  text-underline-offset: 4px;}
.intro {
  width: min(600px,90vw);}
#spettacolo {
  background: #fff;  color: #1a2f56;}
#spettacolo:hover {
  background: #e7edf7;}
.passaggio__filo {
  position: absolute;  left: 0;  right: 0;  top: 0;  height: 5px;  display: flex;}
.passaggio__filo--giu {
  top: auto;  bottom: 0;}
.passaggio__filo i {
  flex: 1;}
.passaggio__filo i:first-child {
  background: #1e9a3b;}
.passaggio__filo i:nth-child(2) {
  background: #fff;}
.passaggio__filo i:nth-child(3) {
  background: #c8102e;}
.passaggio__logo {
  width: min(360px,84vw);  height: auto;  opacity: 1;}
.passaggio.copre .passaggio__logo circle,.passaggio.copre .passaggio__logo path,.passaggio.esce .passaggio__logo circle,.passaggio.esce .passaggio__logo path {
  stroke-dashoffset: 0;}
.passaggio.fermo .passaggio__logo circle,.passaggio.fermo .passaggio__logo path {
  transition: none;  stroke-dashoffset: 0;}
.top.is-solid .brand svg {
  height: 46px;}
.footer .brand svg {
  height: 56px;}
@media (max-width:600px) {
  .cercala__esempi button:nth-of-type(n+3) {
    display: inline-flex;  }
  .brand svg {
    height: 40px;  }
}
.brand svg {
  width: auto;  display: block;  height: 62px;}
@media (max-width:600px) {
  .brand svg {
    height: 46px;  }
}
.vetrina__testa {
  display: grid;  grid-template-columns: minmax(0,1.05fr) minmax(0,.72fr);  gap: 24px 56px;  align-items: end;  margin-bottom: clamp(10px,2vw,30px);}
@media (max-width:860px) {
  .vetrina__testa {
    grid-template-columns: 1fr;    gap: 18px;  }



}
.vetrina__titoli {
  display: block;}
.vetrina__lato {
  display: grid;  justify-items: start;  gap: 22px;}
.vetrina__lato .lead {
  margin-top: 0;  max-width: 44ch;}

.team {
  padding: clamp(80px,10vw,140px) 0;  background: #eef1f7;}
@media (max-width:1439px) and (min-width:1101px) {
  .nav {
    gap: 22px;  }
  .tel {
    display: none;  }
}
.page-head--foto {
  position: relative;  min-height: 78svh;  display: flex;  align-items: flex-end;  padding: 150px 0 56px!important;  background: #1a2f56!important;  overflow: hidden;}
.page-head__foto {
  position: absolute;  inset: 0;}
.page-head__foto img {
  width: 100%;  height: 115%;  object-fit: cover;  transform: translateY(var(--py,0)) scale(1.06);}
.page-head__foto::after {
  content: '';  position: absolute;  inset: 0;  background: rgba(13,26,50,.5);}
.page-head__in {
  position: relative;  width: 100%;}
.page-head--foto h1 {
  color: #fff;}
.page-head--foto .eyebrow,.page-head--foto h1 em {
  color: #d6dde9;}
.page-head--foto .lead {
  color: rgba(255,255,255,.85);}
.page-head--foto .sotto .chip {
  background: rgba(255,255,255,.12);  color: #fff;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);  backdrop-filter: blur(8px);  -webkit-backdrop-filter: blur(8px);}
.page-head--foto .sotto .chip:hover {
  background: #fff;  color: #1a2f56;}
.page-head--dove .page-head__in {
  display: grid;  grid-template-columns: minmax(0,1fr) auto;  align-items: end;  column-gap: clamp(24px,4vw,56px);}
.page-head--dove .page-head__copy {
  min-width: 0;}
.page-head--dove .page-head__side {
  padding-bottom: 4px;}
.page-head--dove .sotto {
  grid-column: 1 / -1;}
@media (max-width:860px) {
  .page-head--dove .page-head__in {
    grid-template-columns: 1fr;  }
  .page-head--dove .page-head__side {
    margin-top: 22px;  padding-bottom: 0;}
  .page-head--dove .sotto {
    grid-column: auto;  }
}
body:has(.page-head--foto) .top {
  --paper: #fff;  color: #fff;}
body:has(.page-head--foto) .top .nav a,body:has(.page-head--foto) .top .tel {
  color: #fff;  text-shadow: 0 1px 10px rgba(13,26,50,.5);}
body:has(.page-head--foto) .top .btn--oro {
  background: #fff;  color: #1a2f56;}
.cifre {
  background: #fff;  border-bottom: 1px solid var(--line);}
.cifre__in {
  display: grid;  grid-template-columns: repeat(4,1fr);}
.cifre__in > div {
  padding: 30px 22px;  border-right: 1px solid var(--line);}
.cifre__in > div:first-child {
  padding-left: 0;}
.cifre__in > div:last-child {
  border-right: 0;}
.cifre b {
  display: block;  font: 400 clamp(44px, 4.6vw, 64px)/1 var(--serif);  color: #1a2f56;  font-variant-numeric: tabular-nums;}
.cifre span {
  display: block;  margin-top: 8px;  font-size: 14px;  color: var(--muted);}
.blocco__foto {
  margin-top: 30px;  border-radius: 22px;  overflow: hidden;  aspect-ratio: 4/3.2;  background: #e1e5ee;}
.blocco__foto img {
  width: 100%;  height: 118%;  object-fit: cover;  transform: translateY(var(--py,0));}
/* le foto con persone si vedono intere: il ritaglio del parallasse taglierebbe le teste */
.blocco__foto--persone img {
  height: 100%;  transform: none;}
.blocco__testa {
  position: sticky;  top: 30px;}
.ok-lista li.rv {
  transition-delay: calc(var(--i, 0) * 60ms);}
.ok-lista li {
  transition: transform .35s var(--ease),box-shadow .35s var(--ease);}
.ok-lista li:hover {
  transform: translateY(-2px);  box-shadow: inset 0 0 0 1px #263e6c,0 14px 26px -20px rgba(13,26,50,.5);}
.ok-lista li:hover i {
  background: #1a2f56;  color: #fff;}
.ok-lista i {
  transition: background .3s,color .3s;}
.passi {
  position: relative;  padding-left: 0;}
.passi::before {
  content: '';  position: absolute;  left: 19px;  top: 24px;  bottom: 24px;  width: 2px;  background: #e1e5ee;}
.passi::after {
  content: '';  position: absolute;  left: 19px;  top: 24px;  width: 2px;  height: calc((100% - 48px) * var(--avanz,0));  background: #1a2f56;  transition: height .15s linear;}
.passi li {
  border: 0!important;  padding: 16px 0;  position: relative;  z-index: 1;}
.passi b {
  width: 40px;  height: 40px;  min-width: 40px;  border-radius: 50%;  display: grid;  place-items: center;  background: #fff;  box-shadow: inset 0 0 0 1.5px #cdd2dd;  font: 500 13px/1 var(--mono);  font-style: normal;  color: var(--muted);  transition: background .4s,color .4s,box-shadow .4s;}
.passi li.acceso b {
  background: #1a2f56;  color: #fff;  box-shadow: none;}
.passi li > div {
  padding-top: 8px;}
.partner > *,.serv.rv {
  transition-delay: calc(var(--i, 0) * 70ms);}
@media (max-width:860px) {
  .page-head--foto {
    min-height: 70svh;    padding-top: 120px!important;  }
  .cifre__in {
    grid-template-columns: 1fr 1fr;  }
  .cifre__in > div {
    padding: 20px 12px;    border-bottom: 1px solid var(--line);  }
  .cifre__in > div:nth-child(2) {
    border-right: 0;  }
  .cifre__in > div:nth-child(odd) {
    padding-left: 0;  }
  .blocco__testa {
    position: static;  }
  .blocco__foto {
    aspect-ratio: 16/10;  }
}
.chiave-cursore {
  position: fixed;  left: 0;  top: 0;  z-index: 400;  pointer-events: none;  width: 0;  height: 0;  perspective: 300px;}
.chiave-cursore svg {
  position: absolute;  color: #1a2f56;  box-shadow: 0 8px 22px -8px rgba(13,26,50,.55);  transform-origin: 12px 20px;  transition: transform .35s var(--ease);  box-sizing: content-box;}
html.con-chiave .card,html.con-chiave .card *,html.con-chiave .vcard,html.con-chiave .vcard * {
  cursor: none;}
.forza {
  display: flex;  flex-wrap: wrap;  gap: 8px;  margin-bottom: 18px;}
.forza span {
  display: inline-flex;  align-items: center;  gap: 9px;  padding: 8px 14px 8px 8px;  border-radius: 99px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);  font-size: 14px;  font-weight: 500;  color: var(--paper);}
.forza i {
  width: 28px;  height: 28px;  border-radius: 50%;  display: grid;  place-items: center;  background: #1a2f56;  color: #fff;}
.forza i svg {
  width: 14px;  height: 14px;}
/* --- Vetrina in cima alla scheda: una foto per volta, frecce, contatore --- */
.vetrina-foto {
  position: relative;  aspect-ratio: 16/9;  max-height: 72vh;  border-radius: 22px;  overflow: hidden;  background: #e9eef6;  touch-action: pan-y;  box-shadow: 0 30px 60px -46px rgba(13,26,50,.6);}
.vetrina-foto__track {
  display: flex;  height: 100%;  transition: transform .65s var(--ease);  will-change: transform;}
.vetrina-foto__slide {
  flex: 0 0 100%;  width: 100%;  height: 100%;  cursor: zoom-in;  background: #e9eef6;}
.vetrina-foto__slide img {
  width: 100%;  height: 100%;  object-fit: cover;}
.vetrina-foto__n,.vetrina-foto__mappa {
  position: absolute;  bottom: 16px;  z-index: 2;  display: inline-flex;  align-items: center;  gap: 8px;  height: 38px;  padding: 0 14px;  border-radius: 99px;  background: rgba(13,26,50,.78);  color: #fff;  font: 500 12px/1 var(--mono);  letter-spacing: .06em;  backdrop-filter: blur(8px);}
.vetrina-foto__n {
  left: 16px;}
.vetrina-foto__n b {
  font-weight: 600;}
.vetrina-foto__n svg,.vetrina-foto__mappa svg {
  width: 15px;  height: 15px;}
.vetrina-foto__mappa {
  left: 16px;  right: auto;  top: 16px;  bottom: auto;  transition: background .3s;}
.vetrina-foto__mappa:hover {
  background: #1a2f56;}
.vetrina-foto__nav {
  position: absolute;  top: 50%;  z-index: 2;  width: 46px;  height: 46px;  margin-top: -23px;  display: grid;  place-items: center;  border-radius: 50%;  background: rgba(255,255,255,.92);  color: #1a2f56;  box-shadow: 0 10px 24px -14px rgba(13,26,50,.7);  transition: transform .3s var(--ease),background .3s;}
.vetrina-foto__nav:hover {
  background: #fff;  transform: scale(1.06);}
.vetrina-foto__nav svg {
  width: 17px;  height: 17px;}
.vetrina-foto__nav.pr {
  left: 16px;}
.vetrina-foto__nav.nx {
  right: 16px;}
/* --- Sezioni della scheda: descrizione, dettagli, posizione --- */
.scheda-sez {
  margin-top: clamp(38px,4.6vw,62px);  scroll-margin-top: 96px;}
.scheda-sez h2 {
  font: 400 clamp(26px,3vw,36px)/1.05 var(--serif);  margin-bottom: 20px;}
.scheda-sez.mutuo h2 {
  font: 400 36px/1 var(--serif);}
.scheda-sez__testa {
  display: flex;  justify-content: space-between;  align-items: baseline;  gap: 10px 20px;  flex-wrap: wrap;}
.scheda-sez__testa h2 {
  margin-bottom: 12px;}
.scheda-sez__luogo {
  display: inline-flex;  align-items: center;  gap: 8px;  margin-bottom: 12px;  font-size: 14.5px;  color: var(--muted);}
.scheda-sez__luogo svg {
  width: 17px;  height: 17px;  color: var(--oro);  flex-shrink: 0;}
.scheda-sez .descr {
  margin-top: 0;}
/* etichette e valori su due colonne, come una scheda tecnica */
.tab-dett {
  display: grid;  grid-template-columns: 1fr 1fr;  border-radius: 22px;  overflow: hidden;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.tab-dett > div {
  display: flex;  justify-content: space-between;  align-items: baseline;  gap: 16px;  padding: 13px 22px;  border-bottom: 1px solid var(--line);  min-width: 0;}
.tab-dett dt {
  font: 500 11px/1.5 var(--mono);  letter-spacing: .08em;  text-transform: uppercase;  color: var(--dim);}
.tab-dett dd {
  font-size: 15px;  font-weight: 500;  text-align: right;  overflow-wrap: anywhere;}
.mappa-scheda {
  margin-top: 16px;}
#mappaScheda {
  height: min(46vh,420px);  border-radius: 22px;  overflow: hidden;  background: #e9eef6;  box-shadow: inset 0 0 0 1px var(--line);  z-index: 0;}
.nota-mappa {
  margin-top: 10px;  font-size: 13px;  color: var(--dim);}
/* --- Colonna laterale: contatti, cerca ancora, altre case --- */
.scheda__cta-mobile {
  display: none;}
.side__cta {
  display: grid;  gap: 10px;  margin-bottom: 20px;}
.side__cta svg {
  width: 17px;  height: 17px;}
.side__blocco {
  margin-top: 22px;  padding: 22px;  border-radius: 22px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.side__blocco h3 {
  font: 400 24px/1.1 var(--serif);  margin-bottom: 14px;}
.cerca-via {
  display: grid;  gap: 10px;}
.cerca-via .tnd__btn {
  height: 46px;  padding: 0 14px;  border-radius: 12px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);  font-size: 14.5px;}
.cerca-via .tnd__lista {
  left: 0;  top: calc(100% + 6px);  min-width: 100%;}
.cerca-via .btn {
  margin-top: 4px;}
.mini-lista {
  display: grid;}
.mini {
  display: flex;  align-items: center;  gap: 12px;  padding: 10px 0;  border-bottom: 1px solid var(--line);}
.mini:first-child {
  padding-top: 0;}
.mini:last-child {
  border-bottom: 0;  padding-bottom: 0;}
.mini img {
  width: 74px;  height: 56px;  border-radius: 10px;  object-fit: cover;  flex-shrink: 0;}
.mini b {
  display: block;  font-size: 14px;  font-weight: 500;  line-height: 1.35;}
.mini__p {
  display: block;  margin-top: 3px;  font: 400 19px/1.1 var(--serif);  color: var(--oro-2);}
.mini__d {
  display: block;  font-size: 12.5px;  color: var(--dim);}
.mini:hover b {
  color: #263e6c;}
@media (prefers-reduced-motion:reduce) {
  .vetrina-foto__track {
    transition: none;  }
}
.ape-box {
  margin-top: 14px;  padding: 22px 24px;  border-radius: 22px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.ape-box__t {
  display: flex;  justify-content: space-between;  align-items: center;  margin-bottom: 22px;}
.ape-box__t span {
  font: 400 24px/1 var(--serif);  color: var(--paper);}
.ape-box__t b {
  min-width: 44px;  height: 44px;  padding: 0 10px;  border-radius: 12px;  display: grid;  place-items: center;  background: #1a2f56;  color: #fff;  font: 600 18px/1 var(--sans);}
.ape2 {
  position: relative;  display: grid;  grid-template-columns: repeat(7,1fr);}
.ape2__c:first-child {
  border-radius: 99px 0 0 99px;}
.ape2__c:nth-child(7) {
  border-radius: 0 99px 99px 0;}
.ape2__c--0 {
  background: #1e9a3b;}
.ape2__c--1 {
  background: #5cb03a;}
.ape2__c--2 {
  background: #a7c43a;}
.ape2__c--3 {
  background: #e9c62f;}
.ape2__c--4 {
  background: #eb9a2c;}
.ape2__c--5 {
  background: #e2622a;}
.ape2__c--6 {
  background: #c8102e;}
.ape2__frec {
  position: absolute;  top: -13px;  left: calc(var(--p) * 100%);  width: 0;  height: 0;  transform: translateX(-50%);  border: 8px solid transparent;  border-top: 10px solid #1a2f56;}
.ape2__lab {
  display: grid;  grid-template-columns: repeat(7,1fr);  text-align: center;  font: 500 12px/1 var(--mono);  color: var(--muted);}
.ape-box p {
  margin-top: 16px;  font-size: 14px;  color: var(--muted);}
.ape2__c:first-child,.ape2__c:nth-child(7) {
  border-radius: 0;}
.ape-box p b {
  color: var(--paper);  font-weight: 500;}
@media (max-width:860px) {
  .vetrina-foto {
    aspect-ratio: 4/3;    max-height: none;    border-radius: 18px;  }
  .vetrina-foto__nav {
    width: 40px;    height: 40px;    margin-top: -20px;  }
  .vetrina-foto__nav.pr {
    left: 10px;  }
  .vetrina-foto__nav.nx {
    right: 10px;  }
  .vetrina-foto__n {
    left: 10px;    bottom: 10px;  }
  .vetrina-foto__mappa {
    top: 10px;    left: 10px;  }
  .tab-dett {
    grid-template-columns: 1fr;  }
  .tab-dett > div {
    padding: 12px 18px;  }
  .scheda__cta-mobile {
    display: grid;    grid-template-columns: 1fr 1fr;    gap: 10px;    margin-top: 20px;  }
  .scheda__cta-mobile .btn {
    height: 48px;    gap: 8px;  }
  .scheda__cta-mobile .btn:first-child {
    grid-column: 1/-1;  }
  .scheda__cta-mobile svg {
    width: 16px;    height: 16px;  }
  .scheda-sez {
    margin-top: 38px;  }
  .side__blocco {
    padding: 18px;  }
}
.cima-tinta {
  background-color: #e9eef6!important;  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20900%20180%22%20fill%3D%22none%22%20stroke%3D%22%23b9c6dc%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%3Cpath%20d%3D%22M0%20118%20C60%2096%20110%20104%20170%2088%20S290%2070%20350%2084%20S470%2062%20540%2076%20S660%2058%20730%2072%20S840%2066%20900%2074%22/%3E%0A%3Cpath%20d%3D%22M0%20140%20H900%22%20stroke-dasharray%3D%222%207%22/%3E%0A%3Cpath%20d%3D%22M0%20152%20H900%22%20stroke-dasharray%3D%221%209%22%20opacity%3D%22.7%22/%3E%0A%3Cpath%20d%3D%22M120%20140%20V112%20H150%20V140%20M126%20112%20V98%20H144%20V112%20M130%2098%20L135%2086%20L140%2098%20M135%2086%20V80%22/%3E%0A%3Ccircle%20cx%3D%22135%22%20cy%3D%22124%22%20r%3D%225%22/%3E%0A%3Cpath%20d%3D%22M200%20140%20V126%20H232%20V140%20M206%20126%20L216%20118%20L226%20126%22/%3E%0A%3Cpath%20d%3D%22M250%20140%20V120%20H270%20V140%20M256%20120%20L260%20114%20L264%20120%22/%3E%0A%3Cpath%20d%3D%22M690%20140%20V128%20H716%20V140%20M694%20128%20V120%20H712%20V128%22/%3E%0A%3Cpath%20d%3D%22M703%20120%20V66%20M698%20120%20L700%2074%20L706%2074%20L708%20120%20M699%2066%20H707%20M703%2066%20V56%20M700%2060%20C700%2054%20706%2054%20706%2060%22/%3E%0A%3Cpath%20d%3D%22M600%20140%20C606%20134%20612%20134%20618%20140%20M760%20140%20C766%20135%20772%20135%20778%20140%22%20opacity%3D%22.8%22/%3E%0A%3C/svg%3E")!important;  background-repeat: no-repeat!important;  background-position: right var(--pad) bottom 0!important;  background-size: min(760px,62vw) auto!important;}
.scheda.cima-tinta {
  padding-bottom: 0!important;  background-image: none!important;}
.scheda-cima {
  position: absolute;  left: 0;  right: 0;  top: 0;  height: var(--h,420px);  z-index: -1;  background: #e9eef6 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20900%20180%22%20fill%3D%22none%22%20stroke%3D%22%23b9c6dc%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%3Cpath%20d%3D%22M0%20118%20C60%2096%20110%20104%20170%2088%20S290%2070%20350%2084%20S470%2062%20540%2076%20S660%2058%20730%2072%20S840%2066%20900%2074%22/%3E%0A%3Cpath%20d%3D%22M0%20140%20H900%22%20stroke-dasharray%3D%222%207%22/%3E%0A%3Cpath%20d%3D%22M0%20152%20H900%22%20stroke-dasharray%3D%221%209%22%20opacity%3D%22.7%22/%3E%0A%3Cpath%20d%3D%22M120%20140%20V112%20H150%20V140%20M126%20112%20V98%20H144%20V112%20M130%2098%20L135%2086%20L140%2098%20M135%2086%20V80%22/%3E%0A%3Ccircle%20cx%3D%22135%22%20cy%3D%22124%22%20r%3D%225%22/%3E%0A%3Cpath%20d%3D%22M200%20140%20V126%20H232%20V140%20M206%20126%20L216%20118%20L226%20126%22/%3E%0A%3Cpath%20d%3D%22M250%20140%20V120%20H270%20V140%20M256%20120%20L260%20114%20L264%20120%22/%3E%0A%3Cpath%20d%3D%22M690%20140%20V128%20H716%20V140%20M694%20128%20V120%20H712%20V128%22/%3E%0A%3Cpath%20d%3D%22M703%20120%20V66%20M698%20120%20L700%2074%20L706%2074%20L708%20120%20M699%2066%20H707%20M703%2066%20V56%20M700%2060%20C700%2054%20706%2054%20706%2060%22/%3E%0A%3Cpath%20d%3D%22M600%20140%20C606%20134%20612%20134%20618%20140%20M760%20140%20C766%20135%20772%20135%20778%20140%22%20opacity%3D%22.8%22/%3E%0A%3C/svg%3E") no-repeat right var(--pad) bottom 0/min(760px,62vw) auto;  background-position: right var(--pad) top 120px;}
.page-head.cima-tinta {
  padding-bottom: 70px;}
body:has(#schedaCima) {
  position: relative;  isolation: isolate;}
.drawer nav a {
  font-size: clamp(32px, 9vw, 48px);  padding: 6px 0;  border-bottom: 1px solid rgba(255,255,255,.08);  transition: opacity .55s var(--ease-out),transform .55s var(--ease-out),color .3s,padding-left .4s var(--ease);}
.cercala__esempi {
  display: flex;  flex-wrap: wrap;  align-items: center;  gap: 6px 4px;  padding: 18px 16px 10px;}
.cercala__esempi .cercala__prova {
  width: auto;  margin: 0 10px 0 0;  font: 500 10px/1 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: var(--dim);}
.esempio {
  position: relative;  padding: 8px 12px;  border-radius: 10px;  font: italic 400 19px/1.2 var(--serif);  color: #3a4f78;  background: 0 0;  box-shadow: none;  transition: color .3s,background .3s;}
.esempio::after {
  content: '';  position: absolute;  left: 12px;  right: 12px;  bottom: 5px;  height: 1px;  background: currentColor;  transform: scaleX(0);  transform-origin: left;  transition: transform .45s var(--ease);}
.esempio:hover {
  color: #1a2f56;  background: #eef1f6;}
.esempio:hover::after {
  transform: scaleX(1);}
.esempio + .esempio::before {
  content: '·';  position: absolute;  left: -4px;  color: #b9c3d4;  font-style: normal;}
.scheda__grid {
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);}
@media (max-width:860px) {
  .scheda__grid {
    grid-template-columns: minmax(0,1fr);  }
}
.scheda__grid > * {
  min-width: 0;}
.cercala__esempi button.esempio {
  padding: 8px 12px;  border-radius: 10px;  font: italic 400 19px/1.2 var(--serif);  color: #3a4f78;  background: 0 0;  box-shadow: none;}
.cercala__esempi button.esempio:hover {
  color: #1a2f56;  background: #eef1f6;  box-shadow: none;}
@media (max-width:600px) {
  .esempio {
    font-size: 17px;    padding: 6px 8px;  }
  .cercala__esempi button.esempio {
    font-size: 17px;    padding: 6px 8px;    display: inline-block;  }
}
.vcard__body {
  left: 14px;  right: 14px;  bottom: 14px;  padding: 18px 16px 14px;  border-radius: 16px;  background: rgba(13,26,50,.9);  text-align: center;  display: grid;  justify-items: center;  gap: 4px;}
.vcard__tipo {
  font: 500 10px/1 var(--mono);  letter-spacing: .18em;  text-transform: uppercase;  color: #b4c5e2;  margin-bottom: 6px;}
.vcard__body .vcard__prezzo {
  font: 400 30px/1 var(--serif);  color: #fff;}
.vcard__body h3 {
  font: 450 16px/1.3 var(--sans);  margin-top: 6px;  color: #fff;  display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical;  overflow: hidden;}
.vcard__body .vcard__luogo {
  justify-content: center;  margin-top: 2px;  font-size: 13px;  color: rgba(255,255,255,.72);}

@media (max-width:600px) {
  .vcard__body {
    left: 10px;    right: 10px;    bottom: 10px;    padding: 12px 10px 10px;    gap: 2px;  }
  .vcard__tipo {
    margin-bottom: 4px;    font-size: 9px;  }
  .vcard__body .vcard__prezzo {
    font-size: 22px;  }
  .vcard__body h3 {
    font-size: 14px;    margin-top: 4px;    -webkit-line-clamp: 1;  }
  .vcard__body .vcard__luogo {
    font-size: 12px;  }




}
.tnd__lista {
  border-radius: 18px;  padding: 8px;  transform-origin: 50% 0;  transform: translateY(-8px) scale(.97);  box-shadow: 0 0 0 1px rgba(26,47,86,.08),0 28px 60px -24px rgba(13,26,50,.45);  transition: opacity .3s ease,transform .45s var(--ease-out),visibility 0s .45s;}
.tnd.su .tnd__lista {
  transform-origin: 50% 100%;  transform: translateY(8px) scale(.97);}
.tnd.aperta .tnd__lista {
  transform: none;  transition: opacity .3s ease,transform .45s var(--ease-out);}
.tnd__lista button {
  border-radius: 12px;  padding: 12px 14px;  opacity: 0;  transform: translateY(-4px);  transition: background .25s,color .25s,opacity .35s ease,transform .45s var(--ease-out);}
.tnd.aperta .tnd__lista button {
  opacity: 1;  transform: none;}
.tnd.aperta .tnd__lista button:nth-child(2) {
  transition-delay: .03s;}
.tnd.aperta .tnd__lista button:nth-child(3) {
  transition-delay: .06s;}
.tnd.aperta .tnd__lista button:nth-child(4) {
  transition-delay: .09s;}
.tnd.aperta .tnd__lista button:nth-child(5) {
  transition-delay: .12s;}
.tnd.aperta .tnd__lista button:nth-child(6) {
  transition-delay: .15s;}
.tnd.aperta .tnd__lista button:nth-child(n+7) {
  transition-delay: .18s;}
.tnd__lista button.on {
  background: #eef1f6;}
.tnd__btn svg {
  transition: transform .5s var(--ease-out);}
.drawer {
  overflow-y: auto;  overscroll-behavior: contain;  clip-path: none;  opacity: 0;  transform: translateY(-14px);  transition: opacity .45s ease,transform .6s var(--ease-out),visibility 0s .6s;}
.menu-open .drawer {
  opacity: 1;  transform: none;  transition: opacity .45s ease,transform .6s var(--ease-out);}
.drawer nav a:nth-child(6) {
  transition-delay: .25s;}
.info a,.info__riga {
  border-top: 0;  border-radius: 14px;  padding: 16px 14px;  margin: 0 -14px;  transition: background .25s,color .3s;}
.info a:hover {
  background: rgba(26,47,86,.05);}
.scuro .info a:hover {
  background: rgba(255,255,255,.06);}
.steps li,.tappe li {
  border-top-color: rgba(26,47,86,.07);}
.steps li:last-child,.tappe li:last-child {
  border-bottom-color: rgba(26,47,86,.07);}
.scuro .steps li {
  border-top-color: rgba(255,255,255,.08);}
.scuro .steps li:last-child {
  border-bottom-color: rgba(255,255,255,.08);}
.ok-lista li {
  box-shadow: none;  background: #fff;  border: 0;}
.ok-lista li:hover {
  box-shadow: 0 14px 28px -22px rgba(13,26,50,.45);}
.filtri {
  background: 0 0;  border: 0;}
.filtri__in {
  margin-top: 10px;  border-radius: 20px;  background: rgba(255,255,255,.92);  box-shadow: 0 0 0 1px rgba(26,47,86,.06),0 16px 36px -28px rgba(13,26,50,.45);  padding: 10px 12px;  max-width: calc(var(--max) - 2 * var(--pad));}
body,html {
  overflow-x: clip;}
@media (max-width:600px) {
  .filtri__in {
    margin: 8px 10px 0;    border-radius: 16px;  }
  .filtri .tnd__lista {
    min-width: 100%;    max-width: calc(100vw - 24px);  }
  .filtri .tnd:nth-of-type(2n) .tnd__lista {
    left: auto;    right: 0;  }
}
.menu-open .top,.menu-open .top .brand {
  color: #fff!important;}
.menu-open .top .burger {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);}
.chiave-cursore svg {
  left: -9px;  top: -9px;  width: 46px;  height: 18px;  padding: 0;  border-radius: 0;  background: 0 0;  box-shadow: none;  filter: drop-shadow(0 2px 3px rgba(13,26,50,.45));  transform: scale(.6) rotate(-35deg);  transform-origin: 9px 9px;  opacity: 0;  transition: transform .3s var(--ease),opacity .2s ease;}
.chiave-cursore.on svg {
  transform: scale(1) rotate(-35deg);  opacity: 1;}
.chiave-cursore.gira svg {
  transform: scale(1) rotate(145deg);  opacity: 1;  transition: transform .36s cubic-bezier(.65,0,.35,1);}
html.con-chiave .card__img,html.con-chiave .card__img *,html.con-chiave .vcard,html.con-chiave .vcard * {
  cursor: none;}
html.con-chiave .card,html.con-chiave .card .cuore,html.con-chiave .card .cuore *,html.con-chiave .card__body,html.con-chiave .card__body * {
  cursor: pointer;}
.vcard .vcard__body {
  left: 5cqw;  right: 5cqw;  bottom: 5cqw;  padding: 5.5cqw 4.5cqw 4.5cqw;  border-radius: 5cqw;  gap: 1.2cqw;}
.vcard .vcard__tipo {
  font-size: 3.3cqw;  margin-bottom: 1.6cqw;  letter-spacing: .16em;}
.vcard .vcard__body .vcard__prezzo {
  font-size: 10cqw;}
.vcard .vcard__body h3 {
  font-size: 5.4cqw;  margin-top: 1.6cqw;  -webkit-line-clamp: 1;  line-clamp: 1;  max-width: 100%;}
.vcard .vcard__body .vcard__luogo {
  font-size: 4.4cqw;  gap: 1.6cqw;  margin-top: 0;  max-width: 100%;  white-space: nowrap;  overflow: hidden;  text-overflow: ellipsis;  display: flex;}
.vcard .vcard__body .vcard__luogo svg {
  width: 4.6cqw;  height: 4.6cqw;}

.chiave-cursore.entra svg {
  opacity: 1;  transform: translateX(16px) rotate(0);  transition: transform .3s cubic-bezier(.3,.7,.3,1);}
.chiave-cursore.entra.ruota svg {
  transform: translateX(16px) rotate(0) rotateX(80deg);  transition: transform .38s cubic-bezier(.6,0,.3,1);}
@keyframes toppa-in {
  from {
    transform: scale(.4);    opacity: 0;  }
}
.chiave-cursore.nascosta svg {
  opacity: 0!important;  transition: none;}
.serratura {
  position: fixed;  z-index: 402;  width: 110px;  height: 18px;  pointer-events: none;  perspective: 260px;}
.serratura__placca i {
  position: absolute;  left: 50%;  top: 50%;  transition: transform .4s cubic-bezier(.6,0,.3,1);}
.serratura__placca i::before {
  content: '';  position: absolute;  border-radius: 50%;  left: 3px;  top: 3px;  width: 6px;  height: 6px;  background: #14171c;}
.serratura__placca i::after {
  content: '';  position: absolute;  left: 5px;  top: 7px;  width: 2px;  height: 11px;  border-radius: 1px;  background: #14171c;}
.serratura__clip {
  position: absolute;  left: 0;  top: 0;  height: 18px;  overflow: hidden;}
.serratura__clip svg {
  position: absolute;  left: 0;  top: 0;  width: 46px;  height: 18px;  opacity: 1!important;  transform: translateX(-6px);  transition: transform .36s cubic-bezier(.3,.7,.25,1);  filter: drop-shadow(0 2px 2px rgba(13,26,50,.4));}
.serratura.gira .serratura__placca i {
  transform: rotate(90deg);}
.scheda-cima {
  background-size: min(500px,36vw) auto;  background-position: right var(--pad) top 230px;}
.page-head.cima-tinta {
  background-size: min(560px,40vw) auto!important;}
@media (max-width:1100px) {
  .page-head.cima-tinta,  .scheda-cima {
    background-image: none!important;  }
}
.page-head.cima-tinta,.scheda-cima {
  background-image: none!important;}
.stretto-riga {
  height: clamp(56px,7vw,92px);  margin: 6px 0 18px;  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20900%20180%22%20fill%3D%22none%22%20stroke%3D%22%23b9c6dc%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%3Cpath%20d%3D%22M0%20118%20C60%2096%20110%20104%20170%2088%20S290%2070%20350%2084%20S470%2062%20540%2076%20S660%2058%20730%2072%20S840%2066%20900%2074%22/%3E%0A%3Cpath%20d%3D%22M0%20140%20H900%22%20stroke-dasharray%3D%222%207%22/%3E%0A%3Cpath%20d%3D%22M0%20152%20H900%22%20stroke-dasharray%3D%221%209%22%20opacity%3D%22.7%22/%3E%0A%3Cpath%20d%3D%22M120%20140%20V112%20H150%20V140%20M126%20112%20V98%20H144%20V112%20M130%2098%20L135%2086%20L140%2098%20M135%2086%20V80%22/%3E%0A%3Ccircle%20cx%3D%22135%22%20cy%3D%22124%22%20r%3D%225%22/%3E%0A%3Cpath%20d%3D%22M200%20140%20V126%20H232%20V140%20M206%20126%20L216%20118%20L226%20126%22/%3E%0A%3Cpath%20d%3D%22M250%20140%20V120%20H270%20V140%20M256%20120%20L260%20114%20L264%20120%22/%3E%0A%3Cpath%20d%3D%22M690%20140%20V128%20H716%20V140%20M694%20128%20V120%20H712%20V128%22/%3E%0A%3Cpath%20d%3D%22M703%20120%20V66%20M698%20120%20L700%2074%20L706%2074%20L708%20120%20M699%2066%20H707%20M703%2066%20V56%20M700%2060%20C700%2054%20706%2054%20706%2060%22/%3E%0A%3Cpath%20d%3D%22M600%20140%20C606%20134%20612%20134%20618%20140%20M760%20140%20C766%20135%20772%20135%20778%20140%22%20opacity%3D%22.8%22/%3E%0A%3C/svg%3E") right center/auto 100% no-repeat;}
.page-head .stretto-riga {
  margin: 26px 0 0;}
@media (max-width:600px) {
  .stretto-riga {
    height: 48px;    background-position: center;    background-size: auto 100%;  }
}
.serratura__placca {
  position: absolute;  box-shadow: 0 3px 8px rgba(13,26,50,.5),inset 0 0 0 1.5px rgba(110,84,32,.85),inset 0 2px 0 rgba(255,246,220,.6);  animation: toppa-in .28s var(--ease-out) both;  left: 50px;  top: -15px;  width: 30px;  height: 48px;  border-radius: 9px;  background: linear-gradient(100deg,#eef1f5,#c3c9d3 45%,#9aa2b0 70%,#d9dee6);  box-shadow: 0 6px 14px -4px rgba(13,26,50,.55),inset 0 0 0 1px rgba(90,98,112,.55),inset 0 1px 0 rgba(255,255,255,.8);}
.serratura__placca i {
  width: 12px;  height: 22px;  margin: -11px 0 0 -6px;  border-radius: 6px;  background: linear-gradient(100deg,#d5dae2,#a1a9b6);  box-shadow: inset 0 0 0 1px rgba(80,88,102,.6);}
.serratura__clip {
  width: 66px;}
.serratura.dentro .serratura__clip svg {
  transform: translateX(28px);}
.serratura.gira .serratura__clip svg {
  transition: transform .4s cubic-bezier(.6,0,.3,1);  transform: translateX(28px) rotateX(80deg);}
.chiave-cursore svg {
  filter: drop-shadow(0 2px 3px rgba(13,26,50,.4));}
.ape2 {
  height: 14px;  align-items: center;  margin: 30px 0 0;}
.ape2__c {
  height: 14px;  position: relative;  display: grid;  place-items: center;  transition: transform .4s var(--ease);}
.ape2__c.on {
  height: 40px;  border-radius: 10px!important;  z-index: 1;  transform: scaleX(1.12);  box-shadow: 0 10px 22px -8px rgba(13,26,50,.55);  color: #fff;  font: 700 17px/1 var(--sans);  transform: none;}
.ape2__frec {
  display: none;}
.ape2__lab span.on {
  visibility: hidden;}
.ape-box__t b.ape2__b {
  min-width: 60px;  height: 52px;  border-radius: 14px;  font-size: 24px;  color: #fff;}
.ape-box__t b.ape2__c--0 {
  background: #1e9a3b;}
.ape-box__t b.ape2__c--1 {
  background: #5cb03a;}
.ape-box__t b.ape2__c--2 {
  background: #a7c43a;}
.ape-box__t b.ape2__c--3 {
  background: #e9c62f;  color: #1a2f56;}
.ape-box__t b.ape2__c--4 {
  background: #eb9a2c;}
.ape-box__t b.ape2__c--5 {
  background: #e2622a;}
.ape-box__t b.ape2__c--6 {
  background: #c8102e;}
.ape2__c--3.on {
  color: #1a2f56;}
.ape2__lab {
  margin-top: 20px;}
.passaggio {
  will-change: transform;  contain: strict;  transition: transform .32s cubic-bezier(.7,0,.3,1);}
.passaggio.esce {
  transition-duration: .42s;}
.passaggio__logo circle,.passaggio__logo path {
  stroke-dasharray: 240;  stroke-dashoffset: 240;  stroke-dasharray: none;  stroke-dashoffset: 0;  transition: none;}
.passaggio__logo {
  opacity: 0;  transition: opacity .2s .08s;}
.passaggio.copre .passaggio__logo {
  opacity: 1;}
.passaggio.esce .passaggio__logo {
  opacity: 0;  transition-delay: 0s;}
.hero h1 .ln {
  padding-bottom: .2em;  margin-bottom: -.13em;}
.chip--mappa {
  display: inline-flex;  align-items: center;  gap: 7px;}
.chip--mappa svg {
  width: 16px;  height: 16px;}
.mappa-case {
  margin-top: 28px;}
#mappaCase {
  height: min(62vh,560px);  border-radius: 22px;  overflow: hidden;  box-shadow: inset 0 0 0 1px var(--line),0 20px 40px -32px rgba(13,26,50,.5);  background: #e9eef6;  z-index: 0;}
.mappa-case__nota {
  margin-top: 10px;  font-size: 13px;  color: var(--dim);}
.pin-prezzo {
  display: inline-block;  transform: translate(-50%,-100%);  padding: 6px 10px;  border-radius: 99px;  background: #1a2f56;  color: #fff;  font: 600 12.5px/1 var(--sans);  white-space: nowrap;  box-shadow: 0 6px 14px -6px rgba(13,26,50,.6);  transition: transform .2s;  cursor: pointer;}
.pin-prezzo::after {
  content: '';  position: absolute;  left: 50%;  bottom: -5px;  margin-left: -5px;  border: 5px solid transparent;  border-bottom: 0;  border-top-color: #1a2f56;}
.pin-prezzo.aff {
  background: #fff;  color: #1a2f56;  box-shadow: inset 0 0 0 1.5px #1a2f56,0 6px 14px -6px rgba(13,26,50,.5);}
.pin-prezzo.aff::after {
  border-top-color: #1a2f56;}
.pin-prezzo:hover {
  transform: translate(-50%,-100%) scale(1.08);}
.pin-sede {
  display: inline-block;  transform: translate(-50%,-100%);  padding: 6px 10px;  border-radius: 8px;  background: #c8102e;  color: #fff;  font: 700 11px/1 var(--sans);  letter-spacing: .06em;  text-transform: uppercase;  box-shadow: 0 6px 14px -6px rgba(13,26,50,.6);}
.pop-casa .leaflet-popup-content-wrapper {
  padding: 0;  border-radius: 16px;  overflow: hidden;  box-shadow: 0 20px 40px -18px rgba(13,26,50,.55);}
.pop-casa .leaflet-popup-content {
  margin: 0;  width: 240px!important;}
.pop {
  display: grid;  gap: 3px;  padding-bottom: 12px;  color: #1a2f56;  text-decoration: none;  font-family: var(--sans);}
.pop img {
  width: 100%;  height: 140px;  object-fit: cover;  margin-bottom: 8px;}
.pop > b,.pop > span {
  padding: 0 14px;}
.pop__t {
  font: 500 10px/1 var(--mono);  letter-spacing: .14em;  text-transform: uppercase;  color: #6b7a96;}
.pop b {
  font: 400 24px/1.1 var(--serif);}
.pop__n {
  font-size: 14px;  font-weight: 500;}
.pop__l {
  font-size: 12.5px;  color: #6b7a96;}
.leaflet-container a.pop {
  color: #1a2f56;}
.azioni-casa {
  display: flex;  align-items: center;  gap: 14px;  flex-wrap: wrap;  margin-top: 18px;}
.condividi {
  display: inline-flex;  align-items: center;  gap: 6px;  padding: 4px 4px 4px 14px;  border-radius: 99px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);  position: relative;}
.condividi > span {
  font-size: 13px;  color: var(--muted);  margin-right: 4px;}
.condividi__b {
  width: 40px;  height: 40px;  border-radius: 50%;  display: grid;  place-items: center;  color: #1a2f56;  transition: background .25s,color .25s;}
.condividi__b svg {
  width: 18px;  height: 18px;}
.condividi__b:hover {
  background: #1a2f56;  color: #fff;}
.condividi__b[data-cond=whatsapp]:hover {
  background: #1fa855;}
.condividi__b[data-cond=facebook]:hover {
  background: #1877f2;}
.condividi__b[data-cond=messenger]:hover {
  background: #0084ff;}
.condividi__ok {
  position: absolute;  left: 50%;  top: calc(100% + 8px);  transform: translate(-50%,-4px);  padding: 6px 10px;  border-radius: 8px;  background: #1a2f56;  color: #fff;  font: 500 12px/1 var(--sans);  white-space: nowrap;  opacity: 0;  transition: opacity .25s,transform .3s var(--ease);  pointer-events: none;}
.condividi__ok.on {
  opacity: 1;  transform: translate(-50%,0);}
.condividi-pagina {
  padding: 30px 0;  border-top: 1px solid var(--line);}
.condividi-pagina .condividi {
  margin: 0;}
@media (max-width:600px) {
  .condividi-pagina {
    padding: 22px 0;  }
  .condividi {
    gap: 0;    padding: 4px 6px;  }
  .condividi > span {
    margin-right: 0;    padding-left: 8px;    font-size: 12px;  }
  .condividi__b {
    width: 36px;  height: 36px;  }
  .condividi__b svg {
    width: 16px;  height: 16px;  }
  .condividi-pagina .condividi {
    width: 100%;    justify-content: space-between;  }
}
@media (max-width:350px) {
  .condividi > span {
    display: none;  }
}
.recensioni {
  padding: clamp(80px,9vw,130px) 0;  background: #f7f8fb;}
.stelle {
  display: inline-flex;  gap: 3px;  color: #f2b01e;}
.stelle svg {
  width: 22px;  height: 22px;  fill: currentColor;}
.recensioni__lista {
  display: grid;  gap: 14px;}
.rec {
  padding: 26px 28px;  border-radius: 22px;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line),0 18px 40px -32px rgba(13,26,50,.4);}
.rec__testa {
  display: flex;  align-items: center;  gap: 12px;}
.rec__av {
  width: 44px;  height: 44px;  border-radius: 50%;  display: grid;  place-items: center;  background: #1a2f56;  color: #fff;  font: 500 18px/1 var(--sans);}
.rec__testa b {
  display: block;  font-weight: 500;  color: var(--paper);}
.rec__testa small {
  font-size: 13px;  color: var(--muted);}
.rec__g {
  width: 22px;  height: 22px;  margin-left: auto;}
.rec .stelle {
  margin-top: 14px;}
.rec .stelle svg {
  width: 17px;  height: 17px;}
.rec blockquote {
  margin-top: 10px;  font: 400 clamp(24px, 2.2vw, 30px)/1.25 var(--serif);  color: var(--paper);}
.tasselli-tenui {
  filter: grayscale(.85) brightness(1.05) contrast(.9) sepia(.08) hue-rotate(190deg);}
.mappa-case {
  display: grid;  grid-template-rows: 1fr;  transition: grid-template-rows .55s var(--ease),margin .55s var(--ease),opacity .4s ease;}
.mappa-case > * {
  min-height: 0;}
.mappa-case.chiusa {
  grid-template-rows: 0fr;  margin-top: 0;  opacity: 0;  overflow: hidden;  pointer-events: none;}
.mappa-case.chiusa>div,.mappa-case__in {
  overflow: hidden;}
.footer {
  font: 400 15px/1.6 var(--sans);  color: rgba(255,255,255,.72);  padding-top: clamp(60px,7vw,100px);}
.piede {
  display: grid;  grid-template-columns: 1.1fr .8fr .8fr 1.5fr;  gap: clamp(28px,4vw,60px);  padding-bottom: 44px;}
.piede__col {
  display: flex;  flex-direction: column;  gap: 9px;  align-items: flex-start;}
.piede h4 {
  font: 500 11px/1 var(--mono);  letter-spacing: .2em;  text-transform: uppercase;  color: #fff;  margin-bottom: 10px;}
.piede p {
  margin: 0 0 6px;}
.piede a {
  color: rgba(255,255,255,.72);  transition: color .25s;}
.piede a:hover {
  color: #fff;}
.piede__news label {
  font-size: 14.5px;  color: rgba(255,255,255,.72);  max-width: 36ch;}
.piede__campo {
  display: flex;  gap: 8px;  width: 100%;  margin-top: 8px;}
.piede__campo input {
  flex: 1;  min-width: 0;  height: 46px;  border: 0;  outline: 0;  border-radius: 12px;  padding: 0 14px;  background: rgba(255,255,255,.08);  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);  color: #fff;  font-size: 14.5px;  transition: box-shadow .25s;}
.piede__campo input::placeholder {
  color: rgba(255,255,255,.5);}
.piede__campo input:focus {
  box-shadow: inset 0 0 0 1.5px #fff;}
.piede__campo .btn {
  height: 46px;}
.piede__news .form__ok {
  display: none;  font-size: 14px;}
.piede__news.sent .form__ok {
  display: block;}
.piede__base {
  display: flex;  justify-content: space-between;  gap: 12px 30px;  flex-wrap: wrap;  padding: 22px 0;  border-top: 1px solid rgba(255,255,255,.1);  font-size: 13px;  color: rgba(255,255,255,.5);}
.piede__base span:last-child {
  display: flex;  gap: 22px;}
.piede__base a {
  color: rgba(255,255,255,.6);}
.piede__base a:hover {
  color: #fff;}
.footer .footer__big {
  margin-top: 20px;}
@media (max-width:1000px) {
  .piede {
    grid-template-columns: 1fr 1fr;  }
  .piede__news {
    grid-column: 1/-1;  }
}
@media (max-width:560px) {
  .piede {
    grid-template-columns: 1fr 1fr;    gap: 30px 20px;  }
  .piede__col--ag {
    grid-column: 1/-1;  }
}
.mappa {
  position: relative;}
.mappa-sede {
  width: 100%;  z-index: 0;  position: absolute;  inset: 0;  min-height: 0;  height: auto;}
.pin-sede--grande {
  font-size: 12px;  padding: 8px 12px;  border-radius: 10px;  white-space: nowrap;}
.mappa__vai {
  position: absolute;  z-index: 500;  right: 12px;  bottom: 12px;  padding: 9px 14px;  border-radius: 10px;  background: #1a2f56;  color: #fff!important;  font: 500 13px/1 var(--sans);  box-shadow: 0 8px 18px -10px rgba(13,26,50,.6);}
.mappa__vai:hover {
  background: #263e6c;}
.eyebrow {
  font-size: 12px;  letter-spacing: .18em;  color: #3f5070;}
.hero__kicker,.page-head--foto .eyebrow,.scuro .eyebrow {
  color: #d6dde9;}
.fld--sel > span,.pop__t,.search > label > span,.vcard__tipo {
  font-size: 11px;}
.blocco__testa .h2 {
  font-size: clamp(40px, 4.2vw, 68px);}
.ape2__c.on {
  margin: 0 1px;}
.ape2__c.on:last-child {
  margin-right: 0;  border-radius: 10px 99px 99px 10px!important;}
.ape2__c.on:first-child {
  margin-left: 0;  border-radius: 99px 10px 10px 99px!important;}
.fiducia__in > div,.fiducia__in > div:first-child {
  justify-content: center;  padding-left: 16px;  padding-right: 16px;}
.fiducia span {
  min-width: 0;}
@media (min-width:861px) {
  .brand svg {
    height: 66px;  }
}
.chip--filtri {
  display: none;}
@media (max-width:600px) {
  .eyebrow {
    font-size: 11.5px;  }
  .hero__kicker {
    font-size: 10.5px;  }
  .chip--filtri {
    display: inline-flex;    align-items: center;    gap: 7px;    flex: 0 0 auto!important;  }
  .chip--filtri svg {
    width: 16px;    height: 16px;  }
  .filtri__in {
    flex-wrap: wrap;  }
  .filtri__in > .chip[data-c] {
    flex: 1 1 0;    padding: 0 10px;  }
  .filtri__in:not(.aperti) > :not(.chip[data-c]):not(.chip--filtri) {
    display: none;  }
  .filtri__in.aperti .chip--filtri {
    background: #1a2f56;    color: #fff;  }
  .filtri__in.aperti > #soloPref,  .filtri__in.aperti > #vediMappa,  .filtri__in.aperti > .tnd {
    animation: sale .35s var(--ease-out) both;  }
}
.social-ico {
  display: flex;  flex-wrap: wrap;  gap: 8px;  margin-bottom: 8px;  display: grid;  grid-template-columns: repeat(6,38px);  gap: 7px;}
.social-ico a {
  display: grid;  place-items: center;  color: #fff!important;  background: rgba(255,255,255,.08);  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);  transition: background .25s,transform .3s var(--ease),box-shadow .25s;  width: 38px;  height: 38px;  border-radius: 11px;}
.social-ico a:hover {
  transform: translateY(-2px);  background: #fff;  color: #1a2f56!important;  box-shadow: none;}
.social-ico svg {
  width: 17px;  height: 17px;}
@media (max-width:1200px) {
  .social-ico {
    grid-template-columns: repeat(3,40px);    gap: 8px;  }
  .social-ico a {
    width: 40px;    height: 40px;  }
}
.cercala {
  padding-bottom: clamp(60px,6vw,90px);}
.cercala + .storia {
  padding-top: clamp(60px,6vw,90px);}
.cercala__ris {
  margin-top: 34px;}
.cercala--dentro {
  padding: 0;  margin-top: clamp(50px,6vw,80px);  background: 0 0!important;}
.cercala__head--corta {
  display: flex;  flex-wrap: wrap;  align-items: baseline;  gap: 6px 18px;  max-width: none;}
.cercala__head--corta .eyebrow {
  flex-basis: 100%;}
.cercala__tit {
  font: 400 clamp(30px, 3.2vw, 46px)/1.05 var(--serif);  color: var(--paper);}
.cercala__tit em {
  color: #3a4f78;}
.cercala__head--corta .lead {
  margin-top: 0;  max-width: 460px;  font-size: 15.5px;}
.cercala--dentro .cercala__box {
  margin-top: 22px;}
.recensioni--dentro {
  padding: clamp(50px,6vw,80px) var(--pad) 0;  background: 0 0;}
.recensioni__riga {
  display: flex;  flex-wrap: wrap;  align-items: center;  gap: 10px 18px;  margin-bottom: 18px;}
.recensioni__riga p {
  color: var(--muted);}
.recensioni__riga p b {
  color: var(--paper);  font-weight: 500;}
.recensioni__riga .link-storia {
  margin: 0;}
.recensioni--dentro .recensioni__lista {
  grid-template-columns: 1fr 1fr;}
.recensioni--dentro .rec blockquote {
  font-size: clamp(22px, 1.9vw, 26px);}
@media (max-width:760px) {
  .recensioni--dentro .recensioni__lista {
    grid-template-columns: 1fr;  }
}

/* =========================================================
   Barra di navigazione blu, larga quanto il contenuto della pagina
   ========================================================= */
:root {
  --nav-h: 84px;
  /* la barra non copre tutta la finestra: si ferma alla larghezza del contenuto */
  /* 1420px: con il marchio più grande le voci del menu non si toccano */
  --nav-w: min(100%, 1420px);}
html {
  scroll-padding-top: calc(var(--nav-h) + 12px);}
.filtri {
  top: var(--nav-h);}
body:has(.top.is-solid:not(.is-hidden)) .filtri {
  top: var(--nav-h);}
@media (max-width:600px) {
  :root {
    --nav-h: 74px;  }
}

/* =========================================================
   Vetrina più ampia: più respiro alla testa della sezione
   ========================================================= */
.vetrina.scuro {
  padding: clamp(96px,10vw,160px) 0 clamp(84px,9vw,140px);
  background: radial-gradient(75% 55% at 50% 0%,#2b4577 0%,rgba(33,54,93,0) 70%),var(--ink);}
.vetrina .wrap {
  max-width: 1720px;}
.vetrina__testa {
  margin-bottom: clamp(28px,4vw,56px);}
.vetrina__lato .lead {
  max-width: 520px;}

/* =========================================================
   Cosa stai cercando: griglia blu, testi bianchi, casetta Fincasa in hover
   ========================================================= */
.quadro,.quadro:hover,.quadro.on {
  background: #1a2f56;}
.quadro:hover {
  background: #233860;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);}
.quadro.on,.quadro.on:hover {
  background: #263e6c;  box-shadow: inset 0 0 0 1px #b4c5e2;}
.quadro__ic,.quadro:hover .quadro__ic,.quadro.on .quadro__ic {
  color: #d0dbef;}
.quadro:hover .quadro__ic,.quadro.on .quadro__ic {
  color: #fff;}
.quadro__n,.quadro:hover .quadro__n,.quadro.on .quadro__n {
  color: #fff;}
.quadro__c,.quadro.on .quadro__c {
  color: rgba(255,255,255,.55);}
.quadro:hover .quadro__c,.quadro.on .quadro__c {
  color: #b4c5e2;}
.quadro::before,.quadro.on::before {
  background: #b4c5e2;}
.quadro__ic,.quadro__n {
  position: relative;  z-index: 1;}
.quadro__c {
  z-index: 1;}
.quadro__casa {
  position: absolute;  left: 16px;  bottom: 15px;  z-index: 0;  color: #fff;
  opacity: 0;  transform: translateY(6px);  pointer-events: none;
  transition: opacity .45s var(--ease),transform .7s var(--ease);}
.quadro__casa svg {
  display: block;  width: 66px;  height: auto;  fill: none;  stroke: currentColor;  stroke-width: 1.3;  stroke-linecap: round;  stroke-linejoin: round;}
.quadro:hover .quadro__casa,.quadro:focus-visible .quadro__casa {
  opacity: .38;  transform: none;}
@media (hover:none) {
  .quadro.on .quadro__casa {
    opacity: .28;    transform: none;  }
}
@media (max-width:600px) {
  .quadro__casa {
    left: 10px;    bottom: 9px;  }
  .quadro__casa svg {
    width: 40px;  }
}

/* =========================================================
   Valutazione: tabella delle quotazioni OMI per fascia di zona
   ========================================================= */
.tab-scroll {
  margin-top: 26px;  overflow-x: auto;  border-radius: 22px;  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);}
.tab-zone {
  width: 100%;  border-collapse: collapse;  font-variant-numeric: tabular-nums;}
.tab-zone caption {
  caption-side: top;  text-align: left;  padding: 16px 22px 6px;  font: 500 11px/1.5 var(--mono);  letter-spacing: .08em;  text-transform: uppercase;  color: var(--dim);}
.tab-zone th,.tab-zone td {
  padding: 14px 22px;  border-bottom: 1px solid var(--line);  text-align: right;}
.tab-zone thead th {
  font: 500 11px/1 var(--mono);  letter-spacing: .08em;  text-transform: uppercase;  color: var(--dim);  white-space: nowrap;}
.tab-zone thead th:first-child,.tab-zone tbody th {
  text-align: left;}
.tab-zone tbody th {
  font-weight: 500;  font-size: 15px;  color: var(--paper);}
.tab-zone tbody tr:last-child th,.tab-zone tbody tr:last-child td {
  border-bottom: 0;}
.tab-zone tbody tr:hover {
  background: #f4f6fa;}
@media (max-width:600px) {
  .tab-zone caption {
    padding: 14px 12px 4px;    font-size: 10px;  }
  .tab-zone th,.tab-zone td {
    padding: 10px 9px;    font-size: 13.5px;  }
  .tab-zone thead th {
    font-size: 9.5px;    letter-spacing: .03em;  }
  .tab-zone tbody th {
    font-size: 13.5px;  }
}

/* =========================================================
   Valutazione: quadro siciliano e dettaglio dei capoluoghi
   ========================================================= */
.mercato-testo {
  margin-top: 22px;  max-width: 78ch;  color: var(--muted);  font-size: 16px;}
.mercato-nota {
  margin-top: 30px;}
.mercato-aiuto {
  display: none;  margin-top: 20px;  font: 500 11px/1.5 var(--mono);  letter-spacing: .06em;  color: var(--dim);}
.tab-scroll::-webkit-scrollbar {
  height: 6px;}
.tab-scroll::-webkit-scrollbar-thumb {
  background: var(--line-2);  border-radius: 99px;}
.mercato-titolo {
  margin-top: clamp(44px,5vw,70px);  font: 400 clamp(26px,2.8vw,36px)/1.15 var(--serif);  color: var(--navy);}
.mercato-citta {
  margin-top: clamp(34px,4vw,52px);  padding-top: clamp(28px,3vw,42px);  border-top: 1px solid var(--line);}
.mercato-citta__testa {
  display: flex;  flex-wrap: wrap;  align-items: baseline;  justify-content: space-between;  gap: 8px 24px;}
.mercato-citta h3 {
  font: 400 clamp(28px,3.2vw,40px)/1.1 var(--serif);  color: var(--navy);}
.mercato-citta__cifre {
  font: 500 11px/1.6 var(--mono);  letter-spacing: .08em;  text-transform: uppercase;  color: var(--dim);}
.mercato-citta > p {
  margin-top: 12px;  max-width: 76ch;  color: var(--muted);  font-size: 15.5px;}
.mercato-citta .tab-scroll {
  margin-top: 20px;}
@media (max-width:600px) {
  .mercato-aiuto {
    display: block;  }
  .mercato-citta h3 {
    font-size: 26px;  }
  .mercato-citta__cifre {
    font-size: 10px;  }
  .mercato-citta .tab-zone tbody th {
    white-space: nowrap;  }
  .tab-scroll {
    scrollbar-width: thin;  scrollbar-color: var(--line-2) transparent;  }
}

/* =========================================================
   Vetrina: galleria piatta, una fila di schede che scorre
   ========================================================= */
.galleria__track {
  display: flex;  gap: 18px;  overflow-x: auto;  overflow-y: hidden;
  scroll-snap-type: x mandatory;  scroll-behavior: smooth;
  scrollbar-width: none;  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;  overscroll-behavior-x: contain;
  padding-bottom: 2px;}
.galleria__track::-webkit-scrollbar {
  display: none;}
.galleria__track .vcard {
  flex: 0 0 clamp(250px, 27vw, 380px);  width: auto;
  scroll-snap-align: start;
  box-shadow: 0 30px 60px -44px rgba(5,8,31,.8);}
.galleria__track .vcard:hover {
  box-shadow: 0 20px 44px -34px rgba(13,26,50,.5);}
.galleria__track .vcard__body {
  background: rgba(26,47,86,.92);
  background: color-mix(in srgb, var(--ink) 92%, transparent);}
.vcard .vcard__body h3 {
  -webkit-line-clamp: 2;  line-clamp: 2;}
.galleria__comandi {
  display: flex;  align-items: center;  gap: 8px;
  margin-top: clamp(18px,2.4vw,28px);}
.galleria__pos {
  display: inline-flex;  align-items: baseline;  gap: 6px;
  padding: 0 6px;
  font: 500 11px/1 var(--mono);  letter-spacing: .12em;
  color: var(--dim);  font-variant-numeric: tabular-nums;}
.galleria__pos b {
  font-weight: 500;  color: var(--paper);}
.galleria__nota {
  margin-left: 12px;
  font: 500 10px/1 var(--mono);  letter-spacing: .2em;  text-transform: uppercase;
  color: var(--dim);  white-space: nowrap;}
@media (max-width:860px) {
  .galleria__track .vcard {
    flex-basis: clamp(240px, 46vw, 340px);  }
}
@media (max-width:600px) {
  .galleria__track {
    gap: 12px;  }
  .galleria__track .vcard {
    flex-basis: min(78vw, 300px);  }
  .galleria__nota {
    display: none;  }
}
@media (prefers-reduced-motion:reduce) {
  .galleria__track {
    scroll-behavior: auto;  }
}

/* "Trattativa riservata" è un'informazione, non un prezzo: non deve urlare */
.vcard__body .vcard__prezzo.ris {
  font: 500 11px/1.2 var(--mono);  letter-spacing: .16em;  text-transform: uppercase;
  color: #b4c5e2;  padding: 5px 0 3px;}

/* =========================================================
   Tema editoriale
   Fondo bianco, blu notte, serif sottile, angoli vivi, etichette
   maiuscole. È il linguaggio visivo delle agenzie immobiliari di
   pregio: qui veste i contenuti e i servizi di Fincasa.
   ========================================================= */
:root {
  --ink: #ffffff;  --ink-2: #f6f5f2;  --ink-3: #eeebe5;
  --paper: #233857;  --navy: #233857;  --navy-2: #1b2c4a;  --blu: #003f70;
  --oro: #003f70;  --oro-2: #233857;  --oro-3: #002e52;
  --muted: #5a5f66;  --dim: #8a8f96;
  --line: #e6e3dc;  --line-2: #d3cfc6;  --vetro: #ffffff;
  --serif: 'Italiana','Instrument Serif',Georgia,serif;
  --sans: 'Istok Web',system-ui,sans-serif;
  --mono: 'Istok Web',system-ui,sans-serif;
  --pad: clamp(18px,4vw,56px);  --max: 1200px;  --nav-h: 92px;
  color-scheme: light;}
.scuro {
  --ink: #233857;  --ink-2: #1b2c4a;  --ink-3: #142036;
  --paper: #ffffff;  --muted: rgba(255,255,255,.82);  --dim: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.16);  --line-2: rgba(255,255,255,.3);
  --vetro: rgba(255,255,255,.06);  --oro: #dfe6ef;  --oro-2: #ffffff;}
html {
  scroll-padding-top: calc(var(--nav-h) + 16px);}
body {
  background: #fff;  color: #484848;  font: 400 16px/1.65 var(--sans);}
.wrap {
  max-width: var(--max);}
h1,h2,h3,h4 {
  font-family: var(--serif);  font-weight: 400;  letter-spacing: .2px;  color: var(--paper);}
.h2 {
  font-size: clamp(32px, 3.6vw, 50px);  line-height: 1.12;  letter-spacing: .2px;  margin-top: 16px;}
.h2 em,.page-head h1 em,.hero h1 em,.scuro .h2 em,.cercala__tit em,.citazione em {
  color: inherit;  font-style: normal;}
.eyebrow {
  font: 500 11px/1.4 var(--sans);  letter-spacing: .3em;  text-transform: uppercase;  color: var(--blu);}
.eyebrow::before {
  display: none;}
.lead {
  color: var(--muted);  font-size: 16.5px;  line-height: 1.7;  max-width: 56ch;}
.btn {
  height: 52px;  padding: 0 30px;  border-radius: 0;  background: var(--navy);  color: #fff;
  font: 500 12px/1 var(--sans);  letter-spacing: .18em;  text-transform: uppercase;  box-shadow: none;}
.btn:hover {
  background: #142036;  transform: none;}
.btn svg,.btn .ic svg {
  width: 15px;  height: 15px;}
.btn--oro {
  background: var(--navy);  background-image: none;  color: #fff;  box-shadow: none;}
.btn--oro:hover {
  background: #142036;  box-shadow: none;}
.btn--vetro {
  background: transparent;  color: var(--navy);  box-shadow: inset 0 0 0 1px var(--navy);}
.btn--vetro:hover {
  background: var(--navy);  color: #fff;  box-shadow: inset 0 0 0 1px var(--navy);}
.btn--sm {
  height: 42px;  padding: 0 20px;  font-size: 11px;}
.scuro .btn--oro,.spiega .btn--oro {
  background: #fff;  color: var(--navy);}
.scuro .btn--oro:hover,.spiega .btn--oro:hover {
  background: #ecebe7;}
.scuro .btn--vetro {
  background: transparent;  color: #fff;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);}
.scuro .btn--vetro:hover {
  background: #fff;  color: var(--navy);  box-shadow: inset 0 0 0 1px #fff;}

/* --- Testata: barra blu piena, larga quanto serve alle voci del menu, uguale su ogni pagina --- */
.top,.top.is-solid,.top.is-hidden,
body:not(:has(.hero)) .top,
body:has(.page-head--foto) .top {
  position: fixed;  transform: none;  color: #fff;
  background: none;  box-shadow: none;
  backdrop-filter: none;  -webkit-backdrop-filter: none;}
.top__in,.top.is-solid .top__in {
  height: var(--nav-h);  width: var(--nav-w);  gap: 16px;
  padding-left: clamp(18px,2.4vw,44px);  padding-right: clamp(18px,2.4vw,44px);
  background: #233857;
  box-shadow: inset 0 -1px 0 rgba(240,226,191,.34),0 18px 38px -30px rgba(5,8,31,.9);}
.menu-open .top__in {
  box-shadow: inset 0 -1px 0 rgba(240,226,191,.34);}
.top .wrap {
  max-width: var(--nav-w);}
.top .brand {
  flex-shrink: 0;}
.top .brand svg {
  height: 62px;  filter: none;}
.top .nav {
  gap: clamp(14px,1.6vw,19px);}
@media (max-width:1360px) and (min-width:1101px) {
  .top__in {
    padding-left: 16px;  padding-right: 16px;  }
  .top .nav {
    gap: 13px;  }
  .top .btn--sm {
    padding-left: 12px;  padding-right: 12px;  }
}
.top .nav a,body:not(:has(.hero)) .top .nav a,body:has(.page-head--foto) .top .nav a {
  color: #fff;  font: 400 11px/1 var(--sans);  letter-spacing: .1em;  text-transform: uppercase;
  white-space: nowrap;  text-shadow: none;}
.top .nav a:hover,.top .nav a.on,body:not(:has(.hero)) .top .nav a.on,
body:has(.page-head--foto) .top .nav a:hover {
  color: #fff;}
.top .nav a::after,body:not(:has(.hero)) .nav a::after,body:has(.page-head--foto) .top .nav a::after {
  background: #f0e2bf;  bottom: -7px;}
/* il numero resta nel menu a tendina, nel footer e nella sezione contatti */
.top .tel,body:not(:has(.hero)) .top .tel,body:has(.page-head--foto) .top .tel {
  display: none;}
.top .tel svg {
  color: #f0e2bf;}
.top .btn--oro,body:not(:has(.hero)) .top .btn--oro,body:has(.page-head--foto) .top .btn--oro {
  background: transparent;  color: #fff;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);  border-radius: 0;
  white-space: nowrap;}
.top .btn--oro:hover,body:not(:has(.hero)) .top .btn--oro:hover {
  background: #fff;  color: #233857;}
.top .burger,body:not(:has(.hero)) .top .burger {
  color: #fff;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);}
@media (max-width: 1279px) {
  .top .nav {
    display: none;  }
  .top .burger {
    display: inline-flex;  align-items: center;  justify-content: flex-start;
    width: auto;  height: 46px;  padding: 0 44px 0 16px;  gap: 0;  border-radius: 0;
    font: 500 11px/1 var(--sans);  letter-spacing: .14em;  text-transform: uppercase;}
  /* due barre come icona, a destra dell'etichetta: la scritta serve a far
     capire che li' dentro c'e' il menu, non a decorare il bottone */
  .top .burger i {
    left: auto;  right: 16px;  width: 16px;}
  .top .burger__t {
    display: block;  white-space: nowrap;}
}
@media (min-width: 601px) and (max-width: 1279px) {
  /* sul tablet il menu aperto deve stare in una schermata: voci piu' strette */
  .drawer {
    padding: 88px var(--pad) 18px;  }
  .drawer nav {
    gap: 0;  }
  .drawer nav a {
    font-size: 25px;  }
  .drawer nav .drawer__sub a {
    font-size: 15px;  padding: 6px 0;}
}
/* Tablet in orizzontale e in verticale: la barra non ha spazio per tutte le
   voci, quindi restano in vista quelle che si usano di piu'. Il resto sta nel
   menu, che sul tablet ha la scritta "Menu" accanto alle due barre.
   Le voci si scelgono dal suffisso dell'href, non dalla posizione: la home ha
   anche "Vetrina aste", le altre pagine no, e i nth-child cambierebbero voce
   da una pagina all'altra. La valutazione resta nel pulsante "Valuta la tua
   casa", che sul tablet sta accanto al menu. */
@media (min-width: 768px) and (max-width: 1279px) {
  .top .nav {
    display: flex;  gap: 10px;  align-items: center;}
  .top .nav a {
    font-size: 10px;  letter-spacing: .07em;}
  .top .nav > a,
  .top .nav > .nav__drop {
    display: none;}
  .top .nav > a[href$="index.html"],
  .top .nav > a[href$="immobili.html"],
  .top .nav > a[href$="cerco-casa.html"],
  .top .nav > a[href$="finanziamenti.html"],
  .top .nav > a[href$="agenzia.html"],
  .top .nav > a[href$="agenzia.html#sede"] {
    display: inline-flex;  align-items: center;}
}
@media (min-width: 861px) and (max-width: 999px) {
  /* sotto i 1000px il pulsante di valutazione non entra accanto alle voci:
     resta nel menu, come sui tablet piu' stretti */
  .top .btn--sm {
    display: none;}
}
/* La voce "Affidaci il tuo immobile" sta su due righe: da sola sarebbe
   troppo larga per la barra. Le altre voci restano centrate. */
.top .nav a.nav__aff {
  text-align: center;  line-height: 1.15;}
.top .nav a.nav__aff span {
  display: block;}
@media (max-width: 1439px) and (min-width: 1280px) {
  .top__in {
    gap: 16px;  }
  .top .nav {
    gap: 8px;  align-items: center;  }
  .top .nav a {
    font-size: 10px;  letter-spacing: .06em;  }
  .top .btn--sm {
    padding-left: 14px;  padding-right: 14px;  }
}
@media (min-width: 1440px) {
  .top .nav {
    gap: 12px;  align-items: center;  }
  .top .nav a {
    font-size: 11px;  letter-spacing: .08em;  }
}
.menu-open .top,.menu-open .top .brand {
  color: #fff !important;}
.drawer {
  background: var(--navy);}
.drawer nav a {
  font-family: var(--serif);  color: #fff;}
.drawer nav a:hover {
  color: #dfe6ef;}

/* --- Hero: foto piena, velo blu, testi sobri --- */
.hero {
  min-height: 100svh;  background: var(--navy);}
.hero__media::after {
  background:
    linear-gradient(180deg,rgba(20,32,54,.55) 0%,rgba(20,32,54,.38) 38%,rgba(20,32,54,.8) 100%),
    linear-gradient(90deg,rgba(20,32,54,.62) 0%,rgba(20,32,54,.28) 55%,rgba(20,32,54,.1) 100%);}
.hero__grid {
  min-height: 100svh;  padding-top: calc(var(--nav-h) + 56px);  padding-bottom: 34px;}
.hero h1 {
  font-size: clamp(38px, 4.1vw, 56px);  line-height: 1.1;  letter-spacing: .2px;  max-width: 17ch;  margin-top: 22px;}
.hero__kicker {
  color: rgba(255,255,255,.85);  font: 400 12.5px/1.4 var(--sans);  letter-spacing: .18em;}
.hero__lead {
  max-width: 44ch;  margin-top: 22px;  color: rgba(255,255,255,.9);  font-size: clamp(17px, 1.55vw, 22px);  line-height: 1.6;}
.hero h1,.hero__kicker,.hero__lead {
  text-shadow: none;}
.hero__dots button::before {
  height: 2px;  border-radius: 0;  background: rgba(255,255,255,.4);}
.hero__dots button:hover::before,.hero__dots button:focus-visible::before {
  background: #fff;}
.hero__dots button.on::before {
  background: #fff;  transform: none;  height: 2px;}
.hero__pausa {
  width: 34px;  height: 34px;  border-radius: 0;  background: transparent;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);  color: #fff;}
.hero__pausa:hover,.hero__pausa:focus-visible {
  background: rgba(255,255,255,.12);  color: #fff;}

/* --- Barra di ricerca: nastro bianco, campi netti --- */
.search {
  border-radius: 0;  padding: 8px;  background: #fff;  backdrop-filter: none;  -webkit-backdrop-filter: none;
  box-shadow: 0 24px 60px -40px rgba(0,0,0,.5);}
.search > label {
  padding: 13px 22px;  border-right: 1px solid var(--line);}
.search > label > span {
  font: 500 10px/1 var(--sans);  letter-spacing: .2em;  color: var(--blu);}
.search .tnd__btn {
  color: var(--navy);  font-size: 15px;}
.search .tnd__btn svg {
  color: var(--blu);  opacity: 1;}
.search .btn {
  min-height: 58px;  border-radius: 0;  padding: 0 28px;  font-size: 11px;  letter-spacing: .18em;}
.seg {
  background: #f4f3f0;  padding: 4px;}
.seg::before {
  top: 4px;  bottom: 4px;  left: 4px;  width: calc(50% - 4px);  border-radius: 0;
  background: #fff;  box-shadow: inset 0 -2px 0 var(--blu);}
.seg button {
  min-height: 52px;  color: #83888f;  font: 500 11px/1 var(--sans);  letter-spacing: .14em;  text-transform: uppercase;}
.seg button.on {
  color: var(--navy);}
.seg button svg {
  width: 16px;  height: 16px;}

/* --- Sezioni: bianco, avorio, blu notte --- */
.fiducia {
  background: #fff;  border-block: 1px solid var(--line);}
.fiducia__in > div {
  padding: 26px 18px;  border-right-color: var(--line);}
.fiducia b {
  font-size: 44px;  color: var(--navy);}
.fiducia i {
  border-radius: 0;  background: #f6f5f2;  color: var(--blu);  box-shadow: none;}
.fiducia span {
  color: #6a6f76;}
.cat,.cercala,.page-head {
  background: #fff !important;}
.cat {
  padding: clamp(70px,7.5vw,110px) 0;}
.vetrina.scuro {
  background: #fff;  color: var(--paper);
  --paper: #233857;  --muted: #5a5f66;  --dim: #8a8f96;  --line: #e6e3dc;  --line-2: #d3cfc6;
  --oro: #003f70;  --oro-2: #233857;  --vetro: #fff;
  padding: clamp(70px,7.5vw,110px) 0;}
.vetrina .wrap {
  max-width: var(--max);}
.vetrina__testa {
  grid-template-columns: 1fr;  justify-items: center;  text-align: center;  gap: 16px;  margin-bottom: clamp(32px,4vw,52px);}
.vetrina__titoli {
  text-align: center;}
.vetrina__lato {
  justify-items: center;  gap: 18px;}
.vetrina__lato .lead {
  max-width: 62ch;  margin: 0 auto;  color: #5a5f66;}
.vetrina .h2 {
  margin-top: 14px;}
.vetrina.scuro .eyebrow {
  color: var(--blu);}
.vetrina.scuro .btn--vetro {
  background: transparent;  color: var(--navy);  box-shadow: inset 0 0 0 1px var(--navy);}
.vetrina.scuro .btn--vetro:hover {
  background: var(--navy);  color: #fff;  box-shadow: inset 0 0 0 1px var(--navy);}
.freccia {
  border-radius: 0;}

/* --- Vetrina: griglia di schede, come un portafoglio --- */
.galleria__track {
  display: grid;  grid-template-columns: repeat(3,minmax(0,1fr));  gap: 26px;
  overflow: visible;  padding-bottom: 0;  scroll-snap-type: none;}
.galleria__track .vcard {
  display: flex;  flex-direction: column;  flex: none;  width: auto;  aspect-ratio: auto;
  background: #fff;  box-shadow: none;  border-radius: 0;}
.galleria__track .vcard:nth-child(n+7) {
  display: none;}
.galleria__comandi {
  display: none;}
.vcard__img {
  position: relative;  overflow: hidden;  aspect-ratio: 4/3;  background: #eeebe5;}
.vcard__img img,.vcard img {
  position: static;  width: 100%;  height: 100%;  object-fit: cover;  transition: transform 1.2s var(--ease-out);}
.vcard__img::after {
  content: '';  position: absolute;  inset: 0;  pointer-events: none;
  background: linear-gradient(180deg,rgba(20,32,54,.18) 0%,transparent 32%,transparent 52%,rgba(20,32,54,.62) 100%);}
@media (hover:hover) and (pointer:fine) {
  .vcard:hover .vcard__img img {
    transform: scale(1.05);  }
}
.vcard__tags {
  position: absolute;  z-index: 1;  top: 14px;  left: 14px;  right: 14px;  display: flex;  gap: 6px;}
.vcard__tags .tag {
  flex-shrink: 0;  white-space: nowrap;  border-radius: 0;  padding: 7px 10px;  font: 600 10px/1 var(--sans);  letter-spacing: .14em;
  text-transform: uppercase;  background: var(--navy);  color: #fff;  box-shadow: none;  backdrop-filter: none;  -webkit-backdrop-filter: none;}
.vcard__tags .tag:first-child {
  background: transparent;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85);}
.vcard__tags .tag--oro {
  background: var(--navy) !important;  color: #fff !important;}
/* il prezzo sta sopra la foto: fascia piena, così si legge anche sulle facciate chiare */
.vcard__prezzo {
  position: absolute;  z-index: 1;  left: 18px;  right: auto;  bottom: 16px;
  padding: 7px 12px;  background: var(--navy);
  font: 400 26px/1 var(--serif);  color: #fff;
  text-align: left;}
.vcard__body {
  --pad-card: 20px;
  position: static;  inset: auto;  padding: 16px var(--pad-card) var(--pad-card);  border-radius: 0;  background: #fff;
  color: var(--navy);  display: flex;  flex-direction: column;  text-align: left;  gap: 0;}
.galleria__track .vcard__body,
.galleria__track .vcard .vcard__body {
  position: static;  inset: auto;  left: auto;  right: auto;  bottom: auto;
  padding: 16px var(--pad-card) var(--pad-card);  border-radius: 0;  background: #fff;  color: var(--navy);
  display: flex;  flex-direction: column;  text-align: left;  gap: 0;  flex: 1;}
.galleria__track .vcard .vcard__tipo {
  display: block;  width: 100%;  margin: 0 0 6px;  font: 400 14px/1.3 var(--serif);
  letter-spacing: .02em;  text-transform: none;  color: var(--navy);}
.vcard__tipo {
  display: block;  width: 100%;  margin: 0 0 6px;  font: 400 14px/1.3 var(--serif);
  letter-spacing: .02em;  text-transform: none;  color: var(--navy);}
.vcard__body h3,
.galleria__track .vcard .vcard__body h3 {
  display: block;  width: 100%;  max-width: 100%;  margin: 0;  font: 400 20px/1.3 var(--serif);
  color: var(--navy);  -webkit-line-clamp: unset;  line-clamp: unset;
  max-height: 2.6em;  overflow: hidden;}
.galleria__track .vcard .vcard__body .vcard__luogo,
.vcard__body .vcard__luogo,.vcard__luogo {
  width: 100%;  display: flex;  justify-content: flex-start;  gap: 6px;  margin-top: 8px;
  font-size: 13.5px;  color: #6a6f76;  white-space: normal;  max-width: 100%;}
.vcard__body .specs {
  width: auto;  margin: auto calc(-1 * var(--pad-card, 20px)) calc(-1 * var(--pad-card, 20px));
  padding: 12px var(--pad-card, 20px);  background: var(--navy);}
.vcard__body .vcard__luogo svg,.vcard__luogo svg {
  width: 14px;  height: 14px;  color: var(--blu);}
.vcard__body .specs > span {
  color: #fff;}
.vcard__body .specs svg {
  color: #b4c5e2;}
.vcard__body .vcard__prezzo.ris,.vcard__prezzo.ris {
  font: 500 11px/1.2 var(--sans);  letter-spacing: .16em;  text-transform: uppercase;  color: #fff;
  padding: 7px 12px;}

/* --- Cosa cerchi: riquadri chiari, uno solo acceso --- */
.sez-head {
  align-items: flex-end;  margin-bottom: clamp(30px,3.6vw,48px);}
.scegli {
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);  gap: 1px;  background: var(--line);}
.quadri {
  gap: 1px;  background: var(--line);}
.quadro,.quadro:hover,.quadro.on {
  aspect-ratio: auto;  min-height: 152px;  height: 100%;  border-radius: 0;  background: #fff;  box-shadow: none;  padding: 18px;  gap: 12px;}
.quadro:hover {
  background: #f6f5f2;  box-shadow: none;}
.quadro.on,.quadro.on:hover {
  background: var(--navy);  box-shadow: none;}
.quadro::before,.quadro.on::before {
  display: none;}
.quadro__ic,.quadro:hover .quadro__ic,.quadro.on .quadro__ic {
  color: var(--blu);}
.quadro:hover .quadro__ic,.quadro.on .quadro__ic {
  color: #fff;}
.quadro__n,.quadro:hover .quadro__n,.quadro.on .quadro__n {
  color: var(--navy);  font-size: 14px;  line-height: 1.3;}
.quadro:hover .quadro__n,.quadro.on .quadro__n {
  color: #fff;}
.quadro__c,.quadro.on .quadro__c,.quadro:hover .quadro__c {
  color: #9aa0a8;  font: 400 11px/1 var(--sans);  letter-spacing: .08em;}
.quadro.on .quadro__c {
  color: rgba(255,255,255,.62);}
.quadro__casa {
  display: none;}
.spiega {
  border-radius: 0;  background: var(--navy);  box-shadow: none;}
.spiega__img {
  min-height: 300px;}
.spiega__img::after {
  background: linear-gradient(180deg,transparent 60%,rgba(20,32,54,.35));}
.spiega__txt {
  padding: 26px 30px 32px;}
.spiega h3 {
  font-size: clamp(30px, 3vw, 42px);  line-height: 1.1;  color: #fff;}
.spiega p {
  color: rgba(255,255,255,.8);  font-size: 15.5px;}
.spiega__n {
  color: #dfe6ef;}
.spiega__n i {
  border-radius: 0;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);}
.spiega .btn {
  margin-top: 20px;}

/* --- Cercala a parole --- */
.cercala__box {
  border-radius: 0;  border: 1px solid var(--line);  background: #fff;  box-shadow: none;  padding: 0;}
.cercala__campo {
  border-radius: 0;  padding: 22px 24px;  background: #fff;}
.cercala__campo:focus-within {
  box-shadow: inset 0 0 0 1px var(--navy);}
.cercala__ic {
  width: 34px;  height: 34px;  border-radius: 0;  background: transparent;  color: var(--blu);}
.cercala textarea {
  font-family: var(--serif);  color: var(--navy);}
.cercala textarea::placeholder {
  color: #9aa0a8;}
.cercala__esempi {
  padding: 16px 18px 12px;}
.esempio,.cercala__esempi button.esempio {
  border-radius: 0;  color: #4b586b;}
.esempio:hover,.cercala__esempi button.esempio:hover {
  color: var(--navy);  background: #f6f5f2;  box-shadow: none;}
.chip-ai,.cercala__capito > span.chip-ai {
  border-radius: 0;  background: #f6f5f2;  color: var(--navy);  box-shadow: inset 0 0 0 1px var(--line);}
.cercala__meta b {
  color: var(--navy);}
.cercala__vuoto {
  border-radius: 0;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}

/* --- Storia dell'agenzia --- */
.storia {
  background: #f6f5f2;  padding: clamp(70px,7.5vw,110px) 0;}
.storia__grid {
  gap: clamp(36px,5vw,80px);}
.storia__img,.storia__img.tenda {
  border-radius: 0;  clip-path: none;  aspect-ratio: 4/3.4;  background: #e6e3dc;}
.storia__img::after {
  display: none;}
.storia__badge {
  left: 0;  right: auto;  bottom: 0;  border-radius: 0;  background: var(--navy);  color: #fff;
  backdrop-filter: none;  -webkit-backdrop-filter: none;  box-shadow: none;  padding: 16px 22px;  --oro: #fff;}
.storia__badge b {
  font-style: normal;  color: #fff;}
.storia__lead {
  color: #5a5f66;}
.tappe li {
  grid-template-columns: 80px 1fr;  border-color: var(--line);  padding: 18px 0;}
.tappe li:last-child {
  border-bottom-color: var(--line);}
.tappe b {
  color: var(--blu);  font-style: normal;}
.tappe strong {
  color: var(--navy);}
.tappe span {
  color: #5a5f66;}
.link-storia {
  color: var(--navy);  font-size: 14px;}
.link-storia:hover {
  color: var(--blu);}

/* --- Recensioni: fascia blu, scheda bianca --- */
.recensioni {
  background: linear-gradient(180deg,rgba(20,32,54,.9),rgba(20,32,54,.94)),url("img/scene/noto-palazzo.webp") center/cover no-repeat;
  padding: clamp(70px,7.5vw,110px) 0;}
.recensioni--dentro {
  padding: 0 var(--pad);  background: transparent;}
.rec-testa {
  text-align: center;  margin-bottom: 30px;}
.rec-testa .eyebrow {
  color: rgba(255,255,255,.75);}
.rec-testa .h2 {
  color: #fff;  margin-top: 14px;}
.recensioni__riga {
  justify-content: center;  color: rgba(255,255,255,.8);  margin-bottom: 26px;}
.recensioni__riga p b {
  color: #fff;}
.recensioni__riga .link-storia {
  color: #fff;  text-decoration-color: rgba(255,255,255,.5);}
.recensioni--dentro .recensioni__lista {
  background: #fff;  padding: clamp(28px,4vw,46px);  grid-template-columns: 1fr 1fr;  gap: clamp(28px,4vw,56px);
  box-shadow: none;}
.rec,.recensioni--dentro .rec {
  border-radius: 0;  background: transparent;  box-shadow: none;  padding: 0;  text-align: center;}
.rec__testa {
  justify-content: center;  gap: 10px;}
.rec__av {
  border-radius: 0;  background: var(--navy);  color: #fff;}
.rec__testa b {
  color: var(--navy);}
.rec__testa small {
  color: #7a8088;}
.rec__g {
  margin-left: 4px;}
.rec .stelle {
  justify-content: center;  margin-top: 16px;}
.rec blockquote,.recensioni--dentro .rec blockquote {
  margin-top: 12px;  font: 400 20px/1.4 var(--serif);  color: #3c4450;}
.rec .stelle svg {
  width: 16px;  height: 16px;}

/* --- Valutazione: sezione chiara, modulo bianco --- */
.valuta,.valuta.scuro {
  background: #fff;  color: #484848;
  --paper: #233857;  --muted: #5a5f66;  --dim: #8a8f96;  --line: #e6e3dc;  --line-2: #d3cfc6;
  --oro: #003f70;  --oro-2: #233857;  --vetro: #fff;
  padding: clamp(70px,7.5vw,110px) 0;}
.valuta::before {
  display: none;}
.valuta .h2,.valuta.scuro .h2 {
  color: var(--navy);}
.valuta.scuro .eyebrow {
  color: var(--blu);}
.valuta.scuro .btn--oro {
  background: var(--navy);  color: #fff;}
.valuta.scuro .btn--oro:hover {
  background: #142036;}
.valuta .lead {
  color: #5a5f66;}
.steps li {
  border-top-color: var(--line);}
.steps li:last-child {
  border-bottom-color: var(--line);}
.steps b {
  color: var(--blu);  font-style: normal;}
.steps strong {
  color: var(--navy);}
.steps span {
  color: #6a6f76;}
.form,.form.vetro {
  border-radius: 0;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);  padding: clamp(24px,3vw,36px);}
.form h3,.mutuo h2,.mutuo h3 {
  font: 400 30px/1.15 var(--serif);  color: var(--navy);  margin-bottom: 8px;}
.fld input,.fld textarea,.fld--sel,.valuta.scuro .fld input,.valuta.scuro .fld textarea,.valuta.scuro .fld--sel {
  border-radius: 0;  background: #fff;  color: var(--navy);  box-shadow: inset 0 0 0 1px var(--line);  font-size: 15px;}
.fld input:focus,.fld textarea:focus,.scuro .fld input:focus,.scuro .fld textarea:focus {
  background: #fff;  box-shadow: inset 0 0 0 1px var(--navy);}
.fld > span,.fld input:not(:placeholder-shown) + span,.fld textarea:not(:placeholder-shown) + span {
  color: #7a8088;}
.fld input:focus + span,.fld textarea:focus + span,.fld input:not(:placeholder-shown) + span,.fld textarea:not(:placeholder-shown) + span,.fld--sel > span {
  color: var(--blu);}
.fld--sel .tnd__btn {
  color: var(--navy);}
.privacy {
  color: #6a6f76;}
.privacy i {
  border-radius: 0;}
.privacy input:checked + i,.scuro .privacy input:checked + i {
  background: var(--navy);}
.valuta.scuro .privacy input:checked + i {
  background: var(--navy);}
.valuta.scuro .privacy input:checked + i::after {
  border-color: #fff;}
.form .btn {
  justify-self: center;  padding: 0 46px;}
.valuta.scuro .fld--sel > span,
.valuta.scuro .fld input:focus + span,
.valuta.scuro .fld input:not(:placeholder-shown) + span,
.valuta.scuro .fld textarea:focus + span,
.valuta.scuro .fld textarea:not(:placeholder-shown) + span {
  color: var(--blu);}
.form__ok {
  border-radius: 0;  background: #eef4ee;  color: #2c6b38;}

/* --- Contatti --- */
.contatti {
  background: #f6f5f2;  padding: clamp(70px,7.5vw,110px) 0;}
.info a,.info__riga {
  border: 0;  border-radius: 0;  border-top: 1px solid var(--line);  padding: 16px 0;  margin: 0;}
.info a:last-child,.info__riga:last-child {
  border-bottom: 1px solid var(--line);}
.info a:hover {
  background: transparent;  color: var(--blu);}
.info span,.info__riga span {
  color: var(--blu);  letter-spacing: .2em;}
.lavora {
  border-radius: 0;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);  color: #5a5f66;}
.lavora a {
  color: var(--navy);}
.mappa,.mappa-sede,#mappaSede,#mappaCase,.mappa-case,.mappa-scheda,.mutuo,.tab-dett,.ape-box,.side__blocco,.vetrina-foto {
  border-radius: 0;}
.mappa__vai {
  border-radius: 0;  background: var(--navy);}

/* --- Carte degli immobili (elenco e scheda) --- */
.page-head:not(.page-head--foto) {
  max-width: var(--max);  margin: 0 auto;  padding: 132px var(--pad) 24px;}
.page-head h1 {
  font-size: clamp(36px, 4.4vw, 58px);  line-height: 1.12;  letter-spacing: .2px;  margin-top: 18px;}
.page-head.cima-tinta,.scheda.cima-tinta {
  background-color: #fff !important;}
.stretto-riga {
  height: 58px;  margin: 8px 0 0;  opacity: .5;}
.filtri {
  background: #fff;  border: 0;}
.filtri__in {
  border-radius: 0;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);  padding: 10px;}
.chip,.filtri .chip {
  border-radius: 0;  background: #fff;  color: var(--navy);  box-shadow: inset 0 0 0 1px var(--line);  min-height: 42px;  padding: 8px 16px;  font: 500 12px/1.2 var(--sans);  letter-spacing: .06em;}
.filtri .chip--filtri {
  display: none;}
.filtri .chip[hidden] {
  display: none;}
.filtri .chip:hover,.social a:hover,.sotto .chip:hover {
  background: #f6f5f2;  color: var(--navy);  box-shadow: inset 0 0 0 1px var(--navy);  transform: none;}
.filtri .chip.on,.filtri .chip.on:hover {
  background: var(--navy);  color: #fff;  box-shadow: none;}
.sotto .chip,.page-head--foto .sotto .chip,.social a {
  border-radius: 0;}
.filtri .tnd__btn {
  border-radius: 0;  box-shadow: inset 0 0 0 1px var(--line);  color: var(--navy);  font-size: 13px;  padding: 0 14px;}
.filtri .tnd.aperta .tnd__btn,.filtri .tnd__btn:hover {
  box-shadow: inset 0 0 0 1px var(--navy);}
.filtri .count {
  color: #7a8088;  font: 400 12px/1 var(--sans);  letter-spacing: .06em;}
.griglia {
  gap: 26px;  padding: 32px 0 clamp(64px,8vw,110px);}
.card {
  border-radius: 0;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.card:hover {
  transform: none;  box-shadow: inset 0 0 0 1px var(--navy);}
.card__img {
  aspect-ratio: 4/3;}
.card__img img {
  transition: transform 1.2s var(--ease-out);}
.card:hover .card__img img {
  transform: scale(1.04);}
.card__img::after {
  background: linear-gradient(180deg,rgba(20,32,54,.2) 0%,transparent 30%,transparent 48%,rgba(20,32,54,.72) 100%);}
.card__tags {
  top: 14px;  left: 14px;  right: 14px;  gap: 6px;}
.card__tags .tag,.card__tags .tag--oro {
  flex-shrink: 0;  white-space: nowrap;  border-radius: 0;  padding: 7px 10px;  font: 600 10px/1 var(--sans);  letter-spacing: .14em;
  text-transform: uppercase;  background: var(--navy) !important;  color: #fff !important;
  box-shadow: none;  backdrop-filter: none;  -webkit-backdrop-filter: none;}
.card__tags .tag:first-child {
  background: rgba(20,32,54,.45) !important;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85);}
.card__tags .foto {
  background: rgba(20,32,54,.6) !important;}
.card__prezzo,.card__prezzo.ris {
  left: 18px;  bottom: 16px;  padding: 8px 12px;  border-radius: 0;  background: var(--navy);
  color: #fff;  font: 400 25px/1 var(--serif);  text-shadow: none;}
.card__prezzo small {
  color: rgba(255,255,255,.85);  font: 400 12px var(--sans);}
.card__prezzo.ris {
  font: 500 11px/1.2 var(--sans);  letter-spacing: .16em;  text-transform: uppercase;}
.card__body {
  --pad-card: 20px;
  padding: 16px var(--pad-card) var(--pad-card);  background: #fff;  color: var(--navy);}
.card h3 {
  font: 400 20px/1.3 var(--serif);  color: var(--navy);}
.card .luogo {
  color: #6a6f76;  font-size: 13.5px;}
.card .luogo svg {
  color: var(--blu);}
.card__sep {
  display: none;}
.specs {
  margin: auto calc(-1 * var(--pad-card, 20px)) calc(-1 * var(--pad-card, 20px));
  padding: 12px var(--pad-card, 20px);  background: var(--navy);  font-size: 12.5px;}
.specs > span {
  color: #fff;}
.specs svg {
  color: #b4c5e2;}
.specs .rif {
  color: rgba(255,255,255,.7);}
.cuore,.cuore--testa {
  border-radius: 0;  background: rgba(20,32,54,.42);  color: #fff;  box-shadow: none;  backdrop-filter: blur(6px);  -webkit-backdrop-filter: blur(6px);}
.cuore:hover {
  background: rgba(20,32,54,.6);  transform: none;}
.cuore.on {
  color: #fff;  background: #8f1d24;}
.cuore--testa {
  background: #fff;  color: var(--navy);  box-shadow: inset 0 0 0 1px var(--line);  backdrop-filter: none;  -webkit-backdrop-filter: none;}
.cuore--testa.on {
  color: #8f1d24;  background: #fff;}
.altri__btn {
  border-radius: 0;}

/* --- Scheda immobile --- */
.scheda {
  padding-top: 150px;}
.back {
  color: #6a6f76;  font: 500 11px/1 var(--sans);  letter-spacing: .18em;}
.back:hover {
  color: var(--navy);}
.scheda h1 {
  font-size: clamp(32px, 3.8vw, 48px);  line-height: 1.12;  letter-spacing: .2px;}
.scheda .luogo {
  color: #5a5f66;}
.scheda .luogo svg {
  color: var(--blu);}
.prezzo-big {
  color: var(--navy);  font-size: clamp(32px, 3.6vw, 46px);}
.prezzo-big small {
  color: var(--blu);  font: 500 10px/1 var(--sans);  letter-spacing: .2em;}
.gal {
  gap: 2px;  height: min(64vh,620px);}
.gal button {
  border-radius: 0;}
.gal .piu {
  border-radius: 0;  background: rgba(20,32,54,.82);}
.kpi {
  border-color: var(--line);}
.kpi div + div {
  border-left-color: var(--line);}
.kpi b {
  color: var(--navy);}
.kpi span {
  color: #8a8f96;}
.descr {
  color: #4c5560;}
.descr.intro p:first-child {
  color: var(--navy);}
.leggi {
  border-radius: 0;  color: var(--blu);  box-shadow: inset 0 0 0 1px var(--line);}
.leggi:hover {
  background: #f6f5f2;}
.agente__av {
  border-radius: 0;  background: var(--navy);  color: #fff;  font-style: normal;}
.agente b {
  color: var(--navy);}
.agente span {
  color: #6a6f76;}
.side__tel a {
  border-radius: 0;}
.side__tel a:hover {
  box-shadow: inset 0 0 0 1px var(--navy);  color: var(--navy);}
.side__blocco h3,.scheda-sez h2 {
  color: var(--navy);}
.scheda-sez__luogo svg {
  color: var(--blu);}
.tab-dett > div {
  border-bottom-color: var(--line);}
.tab-dett dt {
  color: #8a8f96;}
.tab-dett dd {
  color: var(--navy);}
.mini img {
  border-radius: 0;}
.mini b {
  color: var(--navy);}
.mini__p {
  color: var(--blu);  font-family: var(--serif);}
.vetrina-foto__n,.vetrina-foto__mappa {
  border-radius: 0;  background: var(--blue);  color: #fff;}
.vetrina-foto__mappa:hover {
  background: var(--blue);  filter: brightness(1.18);}
.vetrina-foto__nav {
  border-radius: 0;}
.mutuo {
  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.mutuo > p {
  color: #6a6f76;}
.rata {
  border-radius: 0;  background: var(--navy);}
.rata .btn {
  border-radius: 0;}
@media (max-width: 600px) {
  .mutuo__grid > * {
    min-width: 0;  }
  .rata .btn {
    padding: 0 16px;    font-size: 11px;    letter-spacing: .12em;  }
}
.cursore input[type=range] {
  background: linear-gradient(90deg,var(--navy) var(--p,50%),#e6e3dc var(--p,50%));}
.cursore input[type=range]::-webkit-slider-thumb {
  background: #fff;  box-shadow: 0 0 0 2px var(--navy);}
.ape-box__t b,.ape-box__t b.ape2__b {
  border-radius: 0;}
.ape-box__t span {
  color: var(--navy);}
.scheda__cta-mobile .btn,.condividi,.condividi__b {
  border-radius: 0;}
.condividi {
  border-radius: 0;}
.condividi__b {
  border-radius: 0;}
.pop-casa .leaflet-popup-content-wrapper,.pop img {
  border-radius: 0;}

/* --- Pagine di contenuto --- */
.blocco,.servizi-pag,.partner-sez,.team {
  background: #fff;  padding: clamp(64px,7vw,100px) 0;}
.blocco--alt,.servizi-pag.blocco--alt,.team {
  background: #f6f5f2;}
.blocco__testa .h2 {
  font-size: clamp(30px, 3.4vw, 46px);  color: var(--navy);}
.blocco__corpo {
  color: #5a5f66;}
.blocco__corpo > p:first-child {
  color: var(--navy);}
.serv,.ok-lista li,.credito-gruppo,.partner > *,.motto {
  border-radius: 0;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.serv:hover,.ok-lista li:hover {
  transform: none;  box-shadow: inset 0 0 0 1px var(--navy);}
.serv i {
  border-radius: 0;  background: var(--navy);}
.serv h3,.credito-gruppo h3,.partner b,.sotto-tit,.citazione {
  color: var(--navy);}
.serv p,.credito-gruppo li,.partner span,.nota {
  color: #5a5f66;}
.serv__link {
  color: var(--blu);}
.ok-lista i {
  border-radius: 0;  background: #f1efe9;  color: var(--blu);}
.ok-lista li:hover i {
  background: var(--navy);  color: #fff;}
.passi li {
  border-color: var(--line);}
.passi strong {
  color: var(--navy);}
.passi span {
  color: #5a5f66;}
.passi b {
  color: var(--navy);}
.passi::before {
  background: #e6e3dc;}
.passi::after {
  background: var(--navy);}
.passi b,.passi li b {
  box-shadow: inset 0 0 0 1px var(--line);}
.passi li.acceso b {
  background: var(--navy);}
.motto {
  border-left: 2px solid var(--navy);  color: var(--navy);  background: #fff;}
.citazione em {
  color: inherit;}
.page-head--foto {
  background: var(--navy) !important;}
/* Il Duomo di agenzia.html è in 3:2: la testata prende la stessa proporzione
   e la foto resta intera, senza ritaglio in alto e in basso. */
@media (min-width:861px) {
  .page-head--dove {
    min-height: 0;    aspect-ratio: 1024 / 681;  }
  .page-head--dove .page-head__foto img {
    height: 100%;    transform: none;  }
}
/* velo più chiaro dell'originale: scuro solo dove poggia il testo, trasparente a destra */
.page-head__foto::after {
  background:
    linear-gradient(180deg, rgba(20,32,54,.42) 0%, rgba(20,32,54,.04) 34%, rgba(20,32,54,.62) 100%),
    linear-gradient(90deg, rgba(20,32,54,.66) 0%, rgba(20,32,54,.2) 50%, transparent 80%);}
/* testata a slider: immagini in cima a tutta larghezza, testo sotto sulla fascia blu */
.page-head--slider {
  display: block;  min-height: 0;
  padding: calc(var(--nav-h) + clamp(12px,2vw,22px)) 0 clamp(30px,4vw,54px) !important;
  background: #233857 !important;  overflow: hidden;}
.page-head--slider .page-head__foto {
  position: static;  height: auto;  background: #233857;}
.page-head--slider .page-head__foto::after {
  display: none;}
.page-head--slider .page-head__foto img {
  height: 100%;  transform: none;}
.page-head--slider .galleria-credito__track {
  height: auto;  gap: 0;  background: #233857;}
.page-head--slider .galleria-credito__slide {
  height: clamp(240px,38vw,620px);}
.page-head--slider .galleria-credito__slide img {
  object-fit: cover;}
.page-head--slider .galleria-credito__slide--banner {
  height: auto;}
.page-head--slider .galleria-credito__slide--banner img {
  height: auto;  object-fit: cover;}
.page-head--slider .page-head__in {
  padding-top: clamp(28px,4vw,48px);}
.page-head--slider .galleria-credito__pos {
  color: rgba(255,255,255,.72);}
.page-head--slider .galleria-credito__pos b {
  color: #fff;}
.page-head--foto .sotto .chip {
  border-radius: 0;}
.cifre__in > div {
  border-right-color: var(--line);}
.cifre {
  border-bottom-color: var(--line);}
.cifre b {
  color: var(--navy);}
.blocco__foto {
  border-radius: 0;}
.sede__due {
  display: grid;  grid-template-columns: 1fr 1fr;  gap: 12px;  margin-top: 12px;  align-items: start;}
.sede__due img {
  display: block;  width: 100%;  height: auto;  aspect-ratio: 5/4;  object-fit: cover;}
.credito-gruppo h3 {
  color: var(--navy);}
.social a {
  border-radius: 0;  box-shadow: inset 0 0 0 1px var(--line);  color: var(--navy);  padding-left: 16px;}
.tab-scroll {
  border-radius: 0;}
.tab-zone tbody th {
  color: var(--navy);}

/* --- Pie' di pagina: blu, colonne nette --- */
.footer,.footer.scuro {
  background: #11213e;  color: rgba(255,255,255,.72);}

/* --- Comandi e dettagli minori --- */
.tnd__lista {
  border-radius: 0;  background: #fff;  box-shadow: 0 0 0 1px var(--line),0 22px 44px -26px rgba(13,26,50,.35);}
.tnd__lista button {
  border-radius: 0;  color: #5a5f66;}
.tnd__lista button:hover,.tnd__lista button:focus-visible {
  background: #f6f5f2;  color: var(--navy);}
.tnd__lista button.on {
  color: var(--navy);  background: #f1efe9;}
.tnd__lista button i {
  color: var(--blu);}
.pilone {
  color: var(--navy);}
.pilone.su-scuro {
  color: #fff;}
@media (max-width: 1100px) {
  .galleria__track {
    grid-template-columns: repeat(2,minmax(0,1fr));  }
  .galleria__track .vcard:nth-child(n+5) {
    display: none;  }
}
@media (max-width: 860px) {
  :root {
    --nav-h: 78px;  }
  .top,body:not(:has(.hero)):not(:has(.page-head--foto)) .top,body:has(.page-head--foto) .top {
    background: var(--navy) !important;  color: #fff !important;  box-shadow: none;}
  .top .nav a,.top .tel {
    color: #fff;}
  .top .brand svg {
    height: 56px;}
  .top .burger {
    border-radius: 0;  color: #fff;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);}
  .hero__grid {
    padding-top: calc(var(--nav-h) + 34px);}
  .hero h1 {
    font-size: clamp(34px, 8.6vw, 52px);  max-width: 19ch;}
  .search {
    padding: 6px;}
  .storia__grid,.contatti__grid,.valuta__box {
    gap: 34px;}
  .scegli {
    grid-template-columns: 1fr;}
  .griglia {
    gap: 20px;}
  .recensioni--dentro .recensioni__lista {
    grid-template-columns: 1fr;  }
  .page-head h1 {
    font-size: clamp(32px, 7vw, 44px);}
  .scheda {
    padding-top: 120px;}
  .filtri__in {
    margin: 8px 0 0;}
  .filtri .chip--filtri {
    display: inline-flex;  }
}
@media (max-width: 600px) {
  .h2 {
    font-size: clamp(28px, 8.4vw, 36px);}
  .hero h1 {
    font-size: clamp(32px, 9.4vw, 40px);}
  .hero__lead {
    font-size: 15.5px;}
  .search {
    grid-template-columns: 1fr;}
  .search > label {
    border-right: 0;  border-bottom: 1px solid var(--line);  padding: 12px 16px;}
  .search .btn {
    min-height: 54px;}
  .galleria__track {
    grid-template-columns: 1fr;  }
  .galleria__track .vcard:nth-child(n+5) {
    display: none;  }
  .quadro,.quadro:hover,.quadro.on {
    min-height: 104px;  padding: 12px 8px;}
  .quadro__n {
    font-size: 12px;}
  .quadro__ic svg {
    width: 26px;  height: 26px;}
  .vcard__prezzo {
    font-size: 22px;  left: 14px;  right: auto;  bottom: 12px;  padding: 6px 10px;}
  .vcard__body {
    --pad-card: 16px;
    padding: 14px var(--pad-card) var(--pad-card);}
  .vcard__body h3 {
    font-size: 18px;}
  .card__prezzo {
    font-size: 21px;  left: 14px;  bottom: 12px;  padding: 6px 10px;}
  .card__body {
    --pad-card: 16px;
    padding: 14px var(--pad-card) var(--pad-card);}
  .card h3 {
    font-size: 18px;}
  .recensioni--dentro {
    padding: 0 16px;}
  .rec__testa {
    flex-wrap: wrap;}
  .form .btn {
    width: 100%;  padding: 0 20px;}
  .footer,.footer.scuro {
    padding-top: 44px;}
  .piede {
    gap: 28px 20px;}
  .piede h4 {
    font-size: 18px;}
  .page-head {
    padding-top: 118px;}
}

/* =========================================================
   Home: filtri a tasti, perché Fincasa, partner, CTA
   ========================================================= */
/* --- Filtri --- */
.filtra {
  padding: clamp(70px,7.5vw,110px) 0;
  background: #f6f5f2;}
.filtra .sez-head,.partner-home .sez-head {
  display: grid;  justify-items: center;  text-align: center;  gap: 16px;  margin-bottom: 0;}
.filtra .lead,.partner-home .lead {
  max-width: 64ch;  margin: 0 auto;}
.ft {
  margin-top: clamp(30px,3.6vw,46px);  background: #fff;  border: 1px solid var(--line);}
.ft__riga {
  display: grid;  grid-template-columns: 118px minmax(0,1fr);  gap: 18px;  align-items: start;
  padding: 16px 22px;  border-bottom: 1px solid var(--line);}
.ft__lbl {
  font: 500 10px/1.9 var(--sans);  letter-spacing: .2em;  text-transform: uppercase;  color: var(--blu);}
.ft__gruppo {
  display: flex;  flex-wrap: wrap;  gap: 8px;}
.ft__gruppo--citta .tasto {
  white-space: nowrap;}
.tasto {
  padding: 10px 15px;  border: 1px solid var(--line);  background: #fff;  color: #4c5560;
  font: 400 14px/1.2 var(--sans);  text-align: left;  cursor: pointer;
  transition: background .2s,color .2s,border-color .2s;}
.tasto:hover {
  border-color: var(--navy);  color: var(--navy);}
.tasto:focus-visible {
  outline: 2px solid var(--navy);  outline-offset: 2px;}
.tasto.on,.tasto.on:hover {
  background: var(--navy);  border-color: var(--navy);  color: #fff;}
.ft__piede {
  display: flex;  justify-content: space-between;  align-items: center;  gap: 16px;
  padding: 13px 22px;  font-size: 13px;  color: #6a6f76;}
.ft__azzera {
  font: 500 11px/1 var(--sans);  letter-spacing: .12em;  text-transform: uppercase;  color: var(--blu);
  text-decoration: underline;  text-underline-offset: 3px;}
.ft__azzera:hover {
  color: var(--navy);}
.risultati {
  display: grid;  grid-template-columns: repeat(3,minmax(0,1fr));  gap: 26px;  margin-top: 34px;}
.risultati .vuoto {
  grid-column: 1/-1;}
.ft__tutti {
  display: flex;  justify-content: center;  margin-top: 36px;}

/* --- Perché Fincasa --- */
.perche {
  background: #fff;}
.storia__img {
  display: block;}
.storia .h2 a:hover {
  color: var(--blu);}
.perche .fiducia {
  margin-top: clamp(36px,5vw,64px);}
.prove {
  display: flex;  flex-wrap: wrap;  align-items: center;  justify-content: center;  gap: 8px 18px;
  margin-top: 30px;  padding-top: 26px;  border-top: 1px solid var(--line);}
.prove .stelle {
  color: #f2b01e;}
.prove p {
  color: #5a5f66;  font-size: 15px;}
.prove p b {
  color: var(--navy);  font-weight: 500;}
.prove .link-storia {
  margin: 0;}

/* --- Home: teaser Lavora con noi --- */
.lavora-home {
  padding: clamp(70px,7.5vw,110px) 0;
  background: #eef1f7;}
.lavora-home__grid {
  display: grid;  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: clamp(32px,5vw,80px);  align-items: center;}
.lavora-home .lead {
  margin-top: 18px;  max-width: 54ch;}
.lavora-home__grid .btn {
  margin-top: 26px;}
.lavora-home__cifre {
  list-style: none;  display: grid;  grid-template-columns: repeat(3,1fr);
  gap: 1px;  background: var(--line);}
.lavora-home__cifre li {
  padding: 22px 18px;  background: #fff;}
.lavora-home__cifre b {
  display: block;  font: 400 clamp(30px,3vw,44px)/1 var(--serif);  color: #1a2f56;  font-variant-numeric: tabular-nums;}
.lavora-home__cifre span {
  display: block;  margin-top: 8px;  font-size: 13.5px;  line-height: 1.35;  color: #5a5f66;}
@media (max-width: 860px) {
  .lavora-home__grid {
    grid-template-columns: 1fr;    gap: 30px;  }
}
@media (max-width: 600px) {
  .lavora-home__cifre {
    grid-template-columns: 1fr;  }
  .lavora-home__grid .btn {
    width: 100%;    justify-content: center;  }
}

/* --- Partner --- */
.partner-home {
  background: var(--beige);}
.partner--home {
  grid-template-columns: repeat(3,minmax(0,1fr));  gap: 0;  background: transparent;
  margin-top: clamp(30px,3.6vw,46px);}
.partner--home > * {
  padding: 24px 26px;  border-radius: 0;  background: #fff;  box-shadow: inset -1px -1px 0 var(--line);
  transition: background .25s,box-shadow .25s;}
.partner--home > *:hover {
  background: #fff;  box-shadow: inset 0 0 0 1px var(--navy);}
.partner--home b {
  font-size: 24px;}
.partner--home span {
  font-size: 13px;}

/* --- CTA --- */
.cta {
  padding: clamp(70px,7.5vw,110px) 0;  background: var(--navy);  color: #fff;}
.cta__box {
  display: grid;  grid-template-columns: minmax(0,1fr) minmax(0,1fr);  gap: clamp(36px,5vw,80px);}
.cta .h2 {
  color: #fff;}
.cta .eyebrow {
  color: rgba(255,255,255,.75);}
.cta .lead {
  color: rgba(255,255,255,.82);}
.cta__info {
  display: grid;  gap: 5px;  margin-top: 28px;  font-size: 16px;}
.cta__info a {
  color: #fff;}
.cta__info a:hover {
  color: #dfe6ef;}
.cta__info span {
  color: rgba(255,255,255,.72);}
.cta .bottoni {
  display: flex;  flex-wrap: wrap;  gap: 10px;  margin-top: 28px;}
.cta__copy .btn--oro,.cta__lato .btn--oro {
  background: #fff;  color: var(--navy);}
.cta__copy .btn--oro:hover,.cta__lato .btn--oro:hover {
  background: #ecebe7;  color: var(--navy);}
.cta__copy .btn--vetro,.cta__lato .btn--vetro {
  background: transparent;  color: #fff;  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);}
.cta__copy .btn--vetro:hover,.cta__lato .btn--vetro:hover {
  background: #fff;  color: var(--navy);  box-shadow: inset 0 0 0 1px #fff;}
.cta .form {
  background: #fff;}
.cta .form h3 {
  color: var(--navy);}
.cta__lato {
  display: grid;  gap: 26px;  align-content: center;  justify-items: start;}
.cta__lato .cta__info,
.cta__lato .bottoni {
  margin-top: 0;}
.percorsi {
  display: grid;  grid-template-columns: 1fr 1fr;  gap: 22px;  margin-top: clamp(30px,4vw,50px);}
.percorso {
  display: flex;  flex-direction: column;  overflow: hidden;  background: #fff;  box-shadow: inset 0 0 0 1px var(--line);}
.percorso__foto {
  aspect-ratio: 3/2;  overflow: hidden;  background: #e6e3dc;}
.percorso__foto img {
  width: 100%;  height: 100%;  object-fit: cover;}
.percorso__testo {
  display: grid;  align-content: start;  gap: 12px;  padding: clamp(24px,2.6vw,34px);}
.percorso__testo h3 {
  font: 400 clamp(26px,2.4vw,34px)/1.1 var(--serif);  color: var(--navy);}
.percorso__testo p {
  font-size: 15.5px;  line-height: 1.6;  color: #5a5f66;}
.percorso__testo .btn {
  justify-self: start;  margin-top: 6px;}
@media (prefers-reduced-motion:no-preference) {
  .percorso__foto img {
    transition: transform .8s var(--ease);  }
  .percorso:hover .percorso__foto img {
    transform: scale(1.03);  }
}
.vantaggi__intro {
  max-width: 78ch;  font-size: 17px;  line-height: 1.7;  color: #5a5f66;}
.vantaggi__lista {
  margin-top: clamp(28px,3.4vw,44px);}
.vantaggi__chiusa {
  margin-top: clamp(34px,4vw,54px);}

@media (max-width: 1100px) {
  .risultati {
    grid-template-columns: repeat(2,minmax(0,1fr));  }
}
@media (max-width: 860px) {
  .cta__box {
    grid-template-columns: 1fr;  }
  .percorsi {
    grid-template-columns: 1fr;  }
  .partner--home {
    grid-template-columns: repeat(2,minmax(0,1fr));  }
}
@media (max-width: 600px) {
  .ft__riga {
    grid-template-columns: 1fr;  gap: 10px;  padding: 14px 16px;  }
  .ft__piede {
    padding: 12px 16px;  }
  .tasto {
    padding: 9px 12px;  font-size: 13px;  }
  .risultati {
    grid-template-columns: 1fr;  gap: 20px;  }
  .partner--home {
    grid-template-columns: 1fr;  }
  .partner--home > * {
    padding: 20px 22px;  }
  .prove {
    justify-content: flex-start;  }
}

/* --- Scheda immobile: galleria a tutta larghezza --- */
.scheda {
  padding-top: 120px;}
.scheda > .vetrina-foto {
  width: 100vw;  max-width: 100vw;
  height: clamp(340px, 72vh, 780px);  height: clamp(340px, 72svh, 780px);  max-height: none;
  aspect-ratio: auto;
  margin-left: calc(50% - 50vw);
  box-shadow: none;}
@media (max-width: 860px) {
  .scheda > .vetrina-foto {
    height: clamp(300px, 56vh, 500px);    height: clamp(300px, 56svh, 500px);  }
}

/* --- Home: vetrina aste, link a Studio VFinance --- */
.aste {
  padding: clamp(54px,6vw,80px) 0;
  background: var(--navy);  color: #fff;}
.aste__box {
  display: grid;  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;  gap: clamp(24px,3vw,56px);}
.aste .eyebrow {
  color: rgba(255,255,255,.72);}
.aste .h2 {
  margin-top: 14px;  color: #fff;}
.aste .h2 em {
  color: inherit;}
.aste .lead {
  max-width: 62ch;  margin-top: 14px;  color: rgba(255,255,255,.78);}
.aste .btn--oro {
  background: #fff;  color: var(--navy);  box-shadow: none;}
.aste .btn--oro:hover {
  background: #ecebe7;  color: var(--navy);}
@media (max-width: 860px) {
  .aste__box {
    grid-template-columns: 1fr;  justify-items: start;}
}

/* =========================================================
   Blog: indice e articoli (blocco nuovo, in coda)
   ========================================================= */
.percorsi--tre {
  grid-template-columns: repeat(3,1fr);}
.percorso__testo h3 a:hover {
  color: #0d1a32;}
.post {
  display: grid;  gap: 18px;  max-width: 68ch;  font-size: 17px;  line-height: 1.75;  color: var(--muted);}
.post__meta {
  display: flex;  flex-wrap: wrap;  align-items: center;  gap: 6px 0;  font: 500 10.5px/1 var(--mono);  letter-spacing: .16em;  text-transform: uppercase;  color: var(--dim);}
.post__meta span + span::before {
  content: '·';  margin: 0 14px;  color: var(--line-2);}
.post__intro {
  font-size: clamp(19px, 1.5vw, 22px);  line-height: 1.55;  color: var(--paper);}
.post > h2 {
  font: 400 clamp(30px, 3vw, 42px)/1.08 var(--serif);  letter-spacing: -.01em;  color: var(--paper);  margin-top: clamp(22px, 3vw, 36px);  scroll-margin-top: 110px;}
.post h3 {
  font: 500 18px/1.4 var(--sans);  color: var(--paper);}
.post strong {
  color: var(--paper);  font-weight: 500;}
.post a {
  color: #1a2f56;  text-decoration: underline;  text-underline-offset: 3px;}
.post a:hover {
  color: #0d1a32;}
.post ul, .post ol {
  display: grid;  gap: 9px;  padding-left: 20px;}
.post li {
  padding-left: 2px;}
.post li::marker {
  color: #3b5584;}
.post .tab-scroll {
  margin-top: 4px;}
.post__lato {
  display: grid;  gap: 18px;  align-content: start;}
.post__sommario {
  display: grid;  margin-top: 16px;  padding: 0;  list-style: none;}
.post__sommario li {
  border-top: 1px solid var(--line);}
.post__sommario a {
  display: grid;  grid-template-columns: 28px 1fr;  gap: 8px;  padding: 9px 0;  font-size: 15px;  line-height: 1.4;  color: var(--muted);  transition: color .3s;}
.post__sommario a:hover {
  color: #0d1a32;}
.post__sommario b {
  font: 500 10px/2 var(--mono);  letter-spacing: .1em;  color: #3b5584;}
@media (min-width: 861px) {
  .post__lato {
    position: sticky;  top: 100px;}
}
@media (max-width: 1100px) {
  .percorsi--tre {
    grid-template-columns: 1fr 1fr;}
}
@media (max-width: 860px) {
  .post {
    order: 1;}
  .post__lato {
    order: 2;}
}
@media (max-width: 600px) {
  .percorsi--tre {
    grid-template-columns: 1fr;}
  .post {
    font-size: 16.5px;}
  .post__meta span + span::before {
    margin: 0 8px;}
}
.post .tab-zone th,.post .tab-zone td {
  padding: 12px 14px;}
.post .tab-zone caption {
  padding: 14px 14px 4px;}

/* --- Consenso cookie --- */
.cookie {
  position: fixed;  inset: auto 0 0;  z-index: 2147483001;
  padding: 0 var(--pad) calc(14px + env(safe-area-inset-bottom, 0px));
  color: var(--paper);  font: 400 15px/1.55 var(--sans);
  pointer-events: none;}
.cookie[hidden],.cookie [hidden] {
  display: none !important;}
.cookie__box {
  position: relative;  pointer-events: auto;
  max-width: var(--max);  max-height: calc(100svh - 28px);  overflow-y: auto;
  margin: 0 auto;  padding: 20px 22px;
  background: var(--ink);  box-shadow: 0 -1px 0 var(--line),inset 0 0 0 1px var(--line);}
.cookie__in {
  display: flex;  align-items: center;  justify-content: space-between;  gap: 20px 28px;}
.cookie__testo {
  max-width: 65ch;}
.cookie__titolo {
  font: 400 clamp(22px,2.2vw,30px)/1.1 var(--serif);  color: var(--paper);}
.cookie__titolo:focus {
  outline: none;}
.cookie__testo p {
  margin-top: 6px;  color: var(--muted);  font-size: 14.5px;}
.cookie__testo a {
  color: var(--oro);  text-decoration: underline;  text-underline-offset: 3px;}
.cookie__azioni {
  display: flex;  flex-wrap: wrap;  align-items: center;  justify-content: flex-end;  gap: 10px;}
.cookie__apri {
  padding: 8px 2px;  color: var(--oro);  font-size: 14px;  text-decoration: underline;  text-underline-offset: 3px;}
.cookie__chiudi {
  position: absolute;  top: 8px;  right: 10px;  width: 34px;  height: 34px;
  display: grid;  place-items: center;  font-size: 23px;  line-height: 1;  color: var(--muted);}
.cookie__chiudi:hover {
  color: var(--paper);}
.cookie__preferenze {
  margin-top: 16px;  padding-top: 4px;  border-top: 1px solid var(--line);}
.cookie__intro {
  padding: 12px 0 4px;  color: var(--muted);  font-size: 14.5px;}
.cookie__voce {
  display: flex;  gap: 12px;  align-items: flex-start;  padding: 12px 0;  border-top: 1px solid var(--line);  cursor: pointer;}
.cookie__voce input {
  width: 18px;  height: 18px;  margin-top: 3px;  flex: none;  accent-color: var(--oro);}
.cookie__voce b {
  display: block;  color: var(--paper);  font-weight: 700;}
.cookie__voce span {
  color: var(--muted);  font-size: 14.5px;}
.cookie__voce input:disabled + span {
  cursor: default;}
.cookie__stato {
  position: absolute;  width: 1px;  height: 1px;  padding: 0;  margin: -1px;
  overflow: hidden;  clip: rect(0,0,0,0);  white-space: nowrap;  border: 0;}
body.cookie-aperto .pilone,body.cookie-aperto [data-doma-host] {
  opacity: 0 !important;  visibility: hidden !important;  pointer-events: none !important;}
.piede__base span:last-child {
  flex-wrap: wrap;  row-gap: 4px;}
@media (max-width: 860px) {
  .cookie__in {
    flex-direction: column;    align-items: stretch;  }
  .cookie__azioni {
    justify-content: flex-start;  }
}
@media (max-width: 600px) {
  .cookie__box {
    padding: 18px 16px;  }
  .cookie__azioni .btn {
    flex: 1 1 auto;  }
  .cookie__azioni .cookie__apri {
    flex-basis: 100%;    text-align: left;  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie,.cookie * {
    transition: none !important;  animation: none !important;  }
  .cookie .btn::after {
    display: none;  }
}
