:root {
  --black: #11110f;
  --dark: #181714;
  --paper: #f5f1e8;
  --warm: #ebe3d5;
  --white: #fff;
  --gold: #c49a42;
  --text: #191916;
  --muted: #67625a;
  --line: rgba(22,22,19,.14);
  --content: 1440px;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
.content-wrap { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }

.site-header { position: fixed; z-index: 30; top: 18px; left: 50%; width: min(calc(100% - 40px), var(--content)); transform: translateX(-50%); }
.header-inner { min-height: 66px; padding: 8px 9px 8px 15px; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 22px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: rgba(249,247,241,.91); box-shadow: 0 16px 44px rgba(0,0,0,.16); backdrop-filter: blur(16px); }
.brand img { width: 185px; }
.desktop-nav { display: flex; justify-content: center; gap: 4px; }
.desktop-nav a, .login-link { padding: 11px 14px; border-radius: 999px; font-size: 13px; color: #39362f; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #fff; background: #171613; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-contact { padding: 13px 18px; border-radius: 999px; background: var(--gold); color: #17130c; font-size: 12px; font-weight: 700; }
.menu-button { display: none; width: 44px; height: 44px; border-radius: 50%; background: #171613; }
.menu-button span { display: block; width: 17px; height: 1px; margin: 5px auto; background: white; }
.mobile-menu { display: none; }

.listing-intro { padding: 150px 0 36px; background: var(--paper); }
.breadcrumb-row { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.breadcrumb-row .share-button { margin-left: auto; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); }
.listing-heading { margin-top: 40px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 70px; align-items: end; }
.listing-ref, .eyebrow { margin: 0 0 16px; color: #8b6c2c; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.listing-title-block h1 { margin: 0; max-width: 920px; font-size: clamp(54px, 6vw, 92px); line-height: .93; letter-spacing: -.065em; font-weight: 600; }
.listing-subtitle { max-width: 730px; margin: 22px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.listing-price { min-width: 260px; padding: 24px 0 6px; text-align: right; }
.listing-price > span { display: block; font-size: 13px; color: var(--muted); }
.listing-price strong { display: block; margin: 8px 0 22px; font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.listing-price a { display: inline-flex; align-items: center; gap: 22px; padding-bottom: 9px; border-bottom: 1px solid currentColor; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.gallery-section { padding: 0 0 22px; background: var(--paper); }
.gallery-shell { height: 660px; display: grid; grid-template-columns: 1.55fr .72fr .72fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.gallery-shell button { position: relative; overflow: hidden; padding: 0; background: #ddd; }
.gallery-shell img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-shell button:hover img { transform: scale(1.025); }
.gallery-main { grid-row: 1 / 3; }
.gallery-thumb-a { grid-column: 2; grid-row: 1; }
.gallery-thumb-b { grid-column: 3; grid-row: 1; }
.gallery-thumb-c { grid-column: 2; grid-row: 2; }
.gallery-thumb-d { grid-column: 3; grid-row: 2; }
.gallery-count { position: absolute; z-index: 2; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 999px; background: rgba(255,255,255,.94); color: #171613; font-size: 12px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.16); }

.facts-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--line); }
.facts-grid > div { min-height: 94px; padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.facts-grid > div:first-child { border-left: 1px solid var(--line); }
.facts-grid span { font-size: 12px; color: var(--muted); }
.facts-grid strong { margin-top: 8px; font-size: 21px; font-weight: 600; }
.energy { width: 33px; height: 33px; display: grid; place-items: center; background: #d1b100; color: #111; }

.sales-section { padding: 86px 0 100px; background: var(--paper); }
.sales-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 90px; align-items: start; }
.property-content { min-width: 0; }
.content-section { padding-bottom: 72px; }
.content-section + .content-section { padding-top: 72px; border-top: 1px solid var(--line); }
.content-section h2, .contact-card h2, .related-heading h2 { margin: 0; font-size: clamp(44px, 4.6vw, 72px); line-height: .98; letter-spacing: -.06em; font-weight: 600; }
.content-section .lead { margin: 28px 0 0; font-size: 21px; line-height: 1.55; color: #302e29; }
.content-section p:not(.eyebrow):not(.lead) { margin: 22px 0 0; max-width: 850px; font-size: 16px; line-height: 1.8; color: var(--muted); }

.selling-points { margin: 0 0 72px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.selling-points article { min-height: 235px; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.selling-points article > span { font-size: 12px; color: var(--gold); }
.selling-points strong { margin: auto 0 14px; font-size: 23px; line-height: 1.2; }
.selling-points p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.section-heading-row { display: flex; justify-content: space-between; gap: 35px; align-items: end; }
.text-button { padding: 0 0 9px; border-bottom: 1px solid currentColor; background: transparent; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.details-list { margin: 44px 0 0; border-top: 1px solid var(--line); }
.details-list div { min-height: 67px; padding: 17px 0; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; border-bottom: 1px solid var(--line); }
.details-list dt { font-size: 13px; color: var(--muted); }
.details-list dd { margin: 0; font-size: 15px; font-weight: 600; }
.energy-inline { width: 31px; height: 31px; display: inline-grid; place-items: center; background: #d1b100; color: #111; }

.feature-image { position: relative; height: 520px; margin: 0 0 72px; overflow: hidden; }
.feature-image img { height: 100%; object-fit: cover; }
.feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(0,0,0,.72)); }
.feature-image > div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; color: white; }
.feature-image .light { color: #e0c47e; }
.feature-image h3 { margin: 0; max-width: 620px; font-size: 39px; line-height: 1.05; letter-spacing: -.05em; }

.location-block { padding-bottom: 0; }
.distance-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.distance-grid div { min-height: 135px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.distance-grid strong { font-size: 31px; letter-spacing: -.05em; }
.distance-grid span { font-size: 13px; color: var(--muted); }

.contact-sidebar { position: relative; }
.contact-card { position: sticky; top: 112px; padding: 31px; background: #fff; border: 1px solid rgba(21,21,18,.12); box-shadow: 0 26px 70px rgba(41,32,18,.12); }
.contact-card h2 { font-size: 39px; }
.contact-card > p:not(.eyebrow):not(.contact-note) { margin: 17px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.agent-line { margin: 25px 0; padding: 20px 0; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agent-avatar { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: white; font-family: var(--serif); }
.agent-line strong, .agent-line span { display: block; }
.agent-line strong { font-size: 14px; }
.agent-line span { margin-top: 4px; font-size: 11px; color: var(--muted); }
.contact-primary, .contact-secondary { min-height: 50px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-primary { background: var(--gold); color: #17130d; }
.contact-secondary { margin-top: 8px; justify-content: center; border: 1px solid var(--line); background: var(--paper); }
.quick-form { margin-top: 25px; }
.quick-form label { display: block; margin-bottom: 15px; }
.quick-form label > span { display: block; margin-bottom: 7px; font-size: 11px; color: var(--muted); }
.quick-form input, .quick-form textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); outline: none; background: transparent; color: var(--text); }
.quick-form textarea { resize: vertical; }
.privacy-check { display: flex !important; align-items: flex-start; gap: 8px; }
.privacy-check input { width: auto; margin-top: 2px; }
.privacy-check span { margin: 0 !important; font-size: 10px !important; line-height: 1.4; }
.quick-form button { width: 100%; min-height: 52px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; background: var(--black); color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.contact-note { margin: 18px 0 0; text-align: center; font-size: 10px; color: #8a847a; }

.related-section { padding: 85px 0 95px; background: var(--warm); }
.related-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.related-heading > a { padding-bottom: 9px; border-bottom: 1px solid currentColor; font-size: 13px; }
.related-grid { margin-top: 45px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.related-grid article > a { display: block; height: 350px; overflow: hidden; }
.related-grid img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.related-grid article:hover img { transform: scale(1.025); }
.related-grid article > div { padding-top: 15px; display: flex; justify-content: space-between; gap: 15px; font-size: 13px; }
.related-grid article span { color: var(--muted); }

.site-footer { padding: 70px 0 24px; background: #f6f2e9; }
.footer-top { display: grid; grid-template-columns: 1.25fr repeat(3,.75fr); gap: 55px; padding-bottom: 55px; }
.footer-brand img { max-width: 320px; }
.footer-brand p, .footer-column p, .footer-column a { margin: 17px 0 0; display: block; font-size: 13px; line-height: 1.65; color: #5f5b54; }
.footer-column > span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #8c857b; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 12px; color: #736d64; }
.footer-bottom nav { display: flex; gap: 25px; }

.lightbox { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(5,5,4,.97); color: white; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; width: min(1100px, 82vw); }
.lightbox img { max-height: 80vh; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: rgba(255,255,255,.66); }
.lightbox-close { position: absolute; top: 20px; right: 25px; width: 48px; height: 48px; border-radius: 50%; background: white; font-size: 28px; }
.lightbox-nav { position: absolute; top: 50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: white; font-size: 22px; }
.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }
.lightbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 12px; }

.mobile-contact-bar { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-button { display: block; }
  .mobile-menu { position: absolute; top: 76px; right: 0; width: min(320px, calc(100vw - 40px)); padding: 12px; border-radius: 20px; background: rgba(249,247,241,.98); box-shadow: 0 20px 60px rgba(0,0,0,.22); }
  .mobile-menu.is-open { display: grid; }
  .mobile-menu a { padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .listing-heading { gap: 35px; }
  .gallery-shell { height: 560px; }
  .facts-grid { grid-template-columns: repeat(3,1fr); }
  .facts-grid > div:nth-child(3) { border-right: 1px solid var(--line); }
  .sales-layout { grid-template-columns: minmax(0,1fr) 340px; gap: 45px; }
  .selling-points { grid-template-columns: 1fr; }
  .selling-points article { min-height: 170px; }
  .distance-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { padding-bottom: 68px; }
  .content-wrap { width: calc(100% - 28px); }
  .site-header { top: 10px; width: calc(100% - 20px); }
  .header-inner { min-height: 58px; padding: 7px 8px 7px 12px; }
  .brand img { width: 142px; }
  .login-link, .header-contact { display: none; }
  .listing-intro { padding: 105px 0 28px; }
  .breadcrumb-row { font-size: 11px; }
  .breadcrumb-row .share-button { padding: 8px 10px; font-size: 11px; }
  .listing-heading { margin-top: 30px; display: block; }
  .listing-title-block h1 { font-size: clamp(42px, 12vw, 62px); }
  .listing-subtitle { margin-top: 16px; font-size: 15px; }
  .listing-price { margin-top: 26px; min-width: 0; padding: 0; text-align: left; }
  .listing-price strong { font-size: 31px; }
  .gallery-shell { width: 100%; height: 550px; grid-template-columns: 1fr 1fr; grid-template-rows: 350px 190px; gap: 6px; }
  .gallery-main { grid-column: 1 / 3; grid-row: 1; }
  .gallery-thumb-a { grid-column: 1; grid-row: 2; }
  .gallery-thumb-b { grid-column: 2; grid-row: 2; }
  .gallery-thumb-c, .gallery-thumb-d { display: none; }
  .gallery-count { display: block; right: 12px; bottom: 12px; font-size: 11px; }
  .gallery-thumb-b::after { content: "Vedi tutte le 13 foto"; position: absolute; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: #171613; font-size: 10px; font-weight: 700; }
  .facts-grid { width: 100%; grid-template-columns: repeat(3,1fr); }
  .facts-grid > div { min-height: 82px; padding: 14px; }
  .facts-grid span { font-size: 10px; }
  .facts-grid strong { font-size: 17px; }
  .sales-section { padding: 65px 0 80px; }
  .sales-layout { display: block; }
  .content-section { padding-bottom: 58px; }
  .content-section + .content-section { padding-top: 58px; }
  .content-section h2, .related-heading h2 { font-size: clamp(38px, 10.5vw, 55px); }
  .content-section .lead { font-size: 18px; }
  .selling-points { margin-bottom: 58px; }
  .selling-points article { min-height: 180px; }
  .section-heading-row { display: block; }
  .text-button { margin-top: 22px; }
  .details-list div { grid-template-columns: 1fr 1fr; gap: 15px; }
  .feature-image { height: 420px; margin-bottom: 58px; }
  .feature-image h3 { font-size: 31px; }
  .distance-grid { grid-template-columns: 1fr 1fr; }
  .contact-sidebar { margin-top: 65px; }
  .contact-card { position: static; padding: 25px 20px; }
  .contact-card h2 { font-size: 36px; }
  .related-heading { display: block; }
  .related-heading > a { display: inline-block; margin-top: 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid article > a { height: 330px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom nav { margin-top: 15px; }
  .mobile-contact-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: 68px; display: grid; grid-template-columns: .7fr 1.3fr; background: #fff; box-shadow: 0 -10px 30px rgba(0,0,0,.15); }
  .mobile-contact-bar a { display: grid; place-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .mobile-contact-bar a:first-child { border-right: 1px solid var(--line); }
  .mobile-contact-bar a:last-child { background: var(--gold); color: #17130d; }
  .lightbox { padding: 18px; }
  .lightbox figure { width: 100%; }
  .lightbox-nav { top: auto; bottom: 18px; }
  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
}

@media (max-width: 520px) {
  .gallery-shell { height: 500px; grid-template-rows: 320px 174px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div { border-bottom: 1px solid var(--line); }
  .facts-grid > div:nth-child(even) { border-right: 1px solid var(--line); }
  .distance-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

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


/* V3 — sales-focused premium refinement */
.listing-intro { padding-bottom: 28px; }
.listing-heading { margin-top: 34px; align-items: center; }
.listing-title-block h1 { max-width: 980px; font-size: clamp(52px, 5.45vw, 84px); line-height: .96; }
.listing-price {
  min-width: 285px;
  padding: 24px 26px;
  text-align: left;
  border-left: 1px solid var(--line);
}
.listing-price strong { font-size: 41px; }
.listing-price a {
  width: 100%;
  min-height: 50px;
  padding: 0 17px;
  justify-content: space-between;
  border: 0;
  background: var(--gold);
  color: #17130d;
  font-weight: 700;
}
.listing-price small { display: block; margin-top: 13px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.gallery-section { padding-bottom: 0; }
.gallery-shell { height: 720px; gap: 8px; }
.gallery-shell button { border-radius: 2px; }
.gallery-shell img { transform: scale(1.002); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.gallery-shell button:hover img { transform: scale(1.022); filter: saturate(1.04); }
.gallery-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 50%, rgba(0,0,0,.46));
}
.gallery-main-label,
.gallery-main-count {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.gallery-main-label { left: 22px; }
.gallery-main-count { right: 22px; }
.gallery-count { padding: 13px 17px; font-size: 13px; }
.facts-bar { background: #f8f5ef; }
.value-strip {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-strip span {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.value-strip span:last-child { border-right: 0; }
.value-strip span::before { content: '\2713'; color: #8b6c2c; font-weight: 700; }
.sales-section { padding-top: 72px; }
.sales-layout { grid-template-columns: minmax(0,1fr) 410px; gap: 72px; }
.content-section { padding-bottom: 62px; }
.content-section + .content-section { padding-top: 62px; }
.selling-points { margin-bottom: 62px; }
.contact-card {
  padding: 29px;
  border-radius: 2px;
  box-shadow: 0 24px 64px rgba(41,32,18,.13);
}
.contact-card h2 { font-size: 41px; line-height: 1.02; }
.agent-line { margin: 22px 0; padding: 17px 0; }
.agent-photo {
  width: 62px;
  height: 62px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 50%;
  background: #ddd;
}
.agent-line strong { font-size: 15px; }
.agent-line span { font-size: 12px; }
.contact-primary, .contact-secondary { min-height: 54px; }
.contact-tertiary {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.quick-form label > span { font-size: 12px; }
.quick-form input, .quick-form textarea { font-size: 14px; }
.quick-form button { min-height: 55px; }
.contact-note { font-size: 11px; }
.lightbox { padding: 32px 32px 112px; }
.lightbox figure { width: min(1200px, 84vw); }
.lightbox img { max-height: calc(100vh - 190px); }
.lightbox-count { bottom: 86px; }
.lightbox-thumbs {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(920px, calc(100vw - 170px));
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumb {
  flex: 0 0 72px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: .52;
  background: #222;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumb.is-active { opacity: 1; border-color: var(--gold); transform: translateY(-2px); }
.reveal { transform: translateY(20px); transition-duration: .82s; }
.gallery-section.reveal { transition-delay: .08s; }

@media (max-width: 1120px) {
  .gallery-shell { height: 620px; }
  .sales-layout { grid-template-columns: minmax(0,1fr) 360px; gap: 42px; }
  .listing-price { min-width: 250px; }
}

@media (max-width: 820px) {
  .listing-heading { margin-top: 26px; }
  .listing-price { margin-top: 24px; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .listing-price a { max-width: 330px; }
  .gallery-shell { height: 590px; grid-template-rows: 390px 194px; }
  .gallery-main-label { left: 14px; bottom: 15px; }
  .gallery-main-count { right: 14px; bottom: 15px; }
  .value-strip { width: 100%; grid-template-columns: 1fr; }
  .value-strip span { min-height: 52px; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-strip span:last-child { border-bottom: 0; }
  .sales-section { padding-top: 58px; }
  .contact-sidebar { margin-top: 52px; }
  .agent-photo { width: 60px; height: 60px; }
  .lightbox { padding: 16px 14px 96px; }
  .lightbox figure { width: 100%; }
  .lightbox img { max-height: calc(100vh - 170px); }
  .lightbox-thumbs { width: calc(100vw - 28px); bottom: 12px; }
  .lightbox-thumb { flex-basis: 64px; height: 46px; }
  .lightbox-count { bottom: 70px; }
}

@media (max-width: 520px) {
  .listing-title-block h1 { font-size: 42px; }
  .listing-price strong { font-size: 34px; }
  .gallery-shell { height: 520px; grid-template-rows: 342px 172px; }
  .gallery-main-label { font-size: 10px; }
  .gallery-main-count { font-size: 10px; }
  .contact-card h2 { font-size: 34px; }
}

@media(max-width:560px){.listing-intro{padding:98px 0 24px}.breadcrumb-row{gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listing-heading{margin-top:22px}.listing-title-block h1{font-size:39px}.listing-subtitle{font-size:15px}.gallery-shell{height:460px;grid-template-rows:300px 154px}.facts-grid{grid-template-columns:1fr 1fr}.facts-grid>div{min-height:96px;padding:18px 14px}.sales-section{padding-top:46px}.sales-layout{gap:36px}.content-section{padding-bottom:42px}.content-section+.content-section{padding-top:42px}.property-content h2{font-size:37px}.selling-points{grid-template-columns:1fr;gap:8px;margin-bottom:42px}.contact-card{padding:22px}.site-footer{overflow:hidden;padding:52px 20px 96px}.site-footer .footer-top{gap:32px}.site-footer .footer-brand img{display:block;width:min(300px,100%);height:auto}.site-footer .footer-bottom{margin-top:38px;padding-top:20px}.site-footer .footer-bottom nav{gap:15px}.site-footer .footer-bottom,.site-footer .footer-bottom a{font-size:12px}}

.site-footer .footer-brand p{margin:17px 0 0}@media(max-width:1000px){.menu-button{display:inline-flex;align-items:center;justify-content:center;width:92px;height:46px;padding:0 14px;border-radius:999px;gap:6px}.menu-button span{display:none}.menu-button::after{content:'Menu';color:#fff;font:700 12px Manrope,Arial,sans-serif}.mobile-menu{position:absolute;top:76px;left:0;right:0;display:grid!important;visibility:hidden;pointer-events:none;opacity:0;transform:translateY(-10px) scale(.98);transform-origin:top;transition:opacity .22s ease,transform .22s ease,visibility .22s}.mobile-menu.is-open{visibility:visible;pointer-events:auto;opacity:1;transform:translateY(0) scale(1)}}@media(max-width:560px){.menu-button{width:86px;height:42px;padding:0 12px}.menu-button::after{font-size:11px}}

@media(min-width:1001px){.site-header{top:22px;width:min(calc(100% - 44px),1440px);min-height:72px;padding:0;border:1px solid rgba(255,255,255,.68);border-radius:22px;background:rgba(248,246,239,.9);box-shadow:0 16px 45px rgba(0,0,0,.16);backdrop-filter:blur(18px) saturate(1.12)}.header-inner{min-height:70px;padding:10px 12px 10px 20px;grid-template-columns:220px 1fr 260px;gap:24px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}.brand{width:190px}.desktop-nav{gap:8px}.desktop-nav a{padding:11px 15px;font-size:14px}.header-actions{justify-content:flex-end}.header-contact{min-height:48px;padding:0 19px;border-radius:999px;background:#171612;color:#fff;font-size:13px;font-weight:600}}@media(max-width:1000px){.mobile-menu a{padding:14px 12px;font-size:16px;font-weight:600}}

/* Footer condiviso: stessa struttura e ritmo della home. */
.site-footer{padding:76px clamp(22px,5vw,78px) 30px;background:#f7f4ed;color:#171612}.site-footer .footer-top,.site-footer .footer-bottom{width:min(100%,1440px);margin:0 auto}.site-footer .footer-top{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:50px;padding-bottom:0}.site-footer .footer-brand img{width:min(330px,100%)}.site-footer .footer-brand p,.site-footer .footer-column p,.site-footer .footer-column a{margin:0;color:#5f5b53;font-size:15px;line-height:1.7}.site-footer .footer-column{display:flex;flex-direction:column;gap:7px}.site-footer .footer-column>span{margin-bottom:8px;color:#171612;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.site-footer .footer-bottom{display:flex;margin-top:58px;padding-top:24px;justify-content:space-between;gap:30px;border-top:1px solid rgba(20,19,17,.14);color:#706b62;font-size:13px}.site-footer .footer-bottom nav{display:flex;gap:24px}@media(max-width:820px){.site-footer{padding:76px 20px 30px}.site-footer .footer-top{grid-template-columns:1fr 1fr}.site-footer .footer-brand{grid-column:auto}}@media(max-width:560px){.site-footer .footer-top{grid-template-columns:1fr}.site-footer .footer-bottom{flex-direction:column}.site-footer .footer-bottom nav{flex-wrap:wrap}}
