/* =========================================================================
   Davide Scaglia — Comprare casa a Rivergaro
   Foglio di stile unico · nessuna dipendenza esterna
   ========================================================================= */

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --ink: #0b0b0c;
  --ink-2: #0f0f11;
  --surface: #151517;
  --surface-2: #1b1b1e;
  --surface-3: #222226;
  --line: rgba(201, 162, 39, 0.18);
  --line-soft: rgba(246, 241, 230, 0.09);
  --cream: #f6f1e6;
  --muted: #b5aea0;
  --muted-2: #8b857a;
  --gold: #c9a227;
  --gold-2: #e3c46e;
  --gold-deep: #8d6d15;
  --pink: #c0304f;
  --blue: #54aeda;
  --grad: linear-gradient(100deg, #c0304f 0%, #8e5fa8 48%, #54aeda 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.9);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
/* icone inline dentro testo e liste */
p > svg, li > svg, span > svg, a > svg, td > svg, dd > svg {
  width: 17px; height: 17px; display: inline-block; vertical-align: -3px; margin-right: 6px;
  flex: 0 0 auto;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--cream);
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4.05rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.06rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: #fff; }
em { font-style: italic; }

a { color: var(--gold-2); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #fff; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--gold); }

::selection { background: var(--gold); color: #101010; }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--gold); color: #141414; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #141414; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: linear-gradient(180deg, #0f0f11 0%, #121214 100%); }
.section--line { border-top: 1px solid var(--line-soft); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.71rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-2);
  margin: 0 0 16px;
}
.kicker::before {
  content: ''; width: 26px; height: 1px; background: var(--gold);
  display: inline-block; opacity: 0.8;
}
.kicker--center::after {
  content: ''; width: 26px; height: 1px; background: var(--gold);
  display: inline-block; opacity: 0.8;
}

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.03rem; }
.lede { font-size: clamp(1.03rem, 1.5vw, 1.16rem); color: var(--muted); max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; color: var(--muted); }
.gold { color: var(--gold-2); }

/* ---------------------------------------------------------------- Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.02em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn--primary {
  background: linear-gradient(180deg, #dfbe5c 0%, var(--gold) 55%, #a9831c 100%);
  color: #16130a; box-shadow: 0 10px 26px -14px rgba(201, 162, 39, 0.9);
}
.btn--primary:hover { color: #16130a; box-shadow: 0 16px 34px -14px rgba(201, 162, 39, 0.95); }

.btn--ghost {
  background: rgba(246, 241, 230, 0.03);
  border-color: rgba(246, 241, 230, 0.26);
  color: var(--cream);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: #fff; background: rgba(246, 241, 230, 0.07); }

.btn--quiet {
  background: transparent; border-color: var(--line); color: var(--gold-2);
  min-height: 44px; padding: 10px 20px; font-size: 0.85rem;
}
.btn--quiet:hover { border-color: var(--gold); color: #fff; }

.btn--wa {
  background: #178f5b; border-color: #178f5b; color: #fff;
}
.btn--wa:hover { background: #149052; color: #fff; }

.btn--sm { min-height: 42px; padding: 9px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------- Header */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11, 11, 12, 0.82);
  border-bottom: 1px solid rgba(246, 241, 230, 0.07);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: auto; height: 46px; }
.brand__mark { height: 44px; width: 44px; }
.brand__text { display: none; }
.brand:hover { opacity: 0.92; }

.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  color: var(--cream); font-size: 0.88rem; font-weight: 500;
  padding: 10px 13px; border-radius: 999px; opacity: 0.86;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav a:hover { opacity: 1; background: rgba(246, 241, 230, 0.06); color: #fff; }
.nav a[aria-current='page'] { color: var(--gold-2); opacity: 1; }
.nav a[aria-current='page']::after {
  content: ''; display: block; height: 1px; background: var(--gold);
  margin: 3px 6px -4px; opacity: 0.7;
}

.header__actions { display: none; align-items: center; gap: 10px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; color: var(--cream);
  font-size: 0.88rem; font-weight: 500; opacity: 0.85;
}
.header__phone svg { width: 16px; height: 16px; color: var(--gold-2); }
.header__phone:hover { opacity: 1; color: #fff; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; flex: 0 0 auto;
  background: rgba(246, 241, 230, 0.04); border: 1px solid var(--line-soft);
  border-radius: 10px; cursor: pointer;
}
.burger span {
  display: block; width: 100%; height: 2px; min-height: 2px; background: var(--cream); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(8, 8, 9, 0.96);
  backdrop-filter: blur(10px);
  padding: 22px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.drawer[data-open='true'] { opacity: 1; visibility: visible; transform: none; }
.drawer[data-open='false'] { pointer-events: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__close {
  width: 46px; height: 46px; border-radius: 10px; background: rgba(246, 241, 230, 0.05);
  border: 1px solid var(--line-soft); color: var(--cream); font-size: 24px; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.drawer nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.drawer nav a {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--cream);
  padding: 14px 4px; border-bottom: 1px solid rgba(246, 241, 230, 0.07);
}
.drawer nav a:hover { color: var(--gold-2); }
.drawer__foot { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__actions { display: flex; }
  .burger { display: none; }
  .brand img { height: 52px; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(560px, 82vh, 760px);
  display: flex; align-items: flex-end;
  padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 6vw, 64px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.72) 0%, rgba(11, 11, 12, 0.35) 32%, rgba(11, 11, 12, 0.86) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(11, 11, 12, 0.82) 0%, rgba(11, 11, 12, 0.28) 62%, rgba(11, 11, 12, 0.5) 100%);
}
.hero__inner { width: 100%; }
.hero h1 { max-width: 24ch; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold-2); display: inline-block; font-size: 0.82em; line-height: 1.2; }
.hero h1 br + br { display: none; }
.hero__sub {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: #ddd6c7; max-width: 56ch;
  margin-bottom: 30px;
}
.hero__cta { margin-bottom: clamp(28px, 4vw, 44px); }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center;
  padding-top: 22px; border-top: 1px solid rgba(246, 241, 230, 0.14);
  font-size: 0.82rem; letter-spacing: 0.04em; color: #cfc7b8;
}
.hero__facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts strong { color: #fff; font-weight: 600; font-size: 0.95rem; }
.hero__facts .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Barra di ricerca rapida */
.quick {
  margin-top: clamp(26px, 4vw, 38px);
  background: rgba(18, 18, 20, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: grid; gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.quick__field { display: grid; gap: 6px; }
.quick__field label {
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600;
}
.quick select, .quick input {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: #101012; color: var(--cream);
  border: 1px solid rgba(246, 241, 230, 0.14); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9rem;
}
.quick select:focus, .quick input:focus { border-color: var(--gold); outline: none; }
.quick .btn { min-height: 46px; }
@media (min-width: 760px) {
  .quick {
    grid-template-columns: 1.1fr 1.1fr 1fr auto;
    align-items: end; gap: 14px; padding: 18px;
  }
}

/* ---------------------------------------------------------------- Card immobile */
.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.prop {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #16161a 0%, #121214 100%);
  border: 1px solid rgba(246, 241, 230, 0.09);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prop:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.95);
}
.prop__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0e0e10; }
.prop__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.prop:hover .prop__media img { transform: scale(1.045); }
.prop__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 52%, rgba(10, 10, 11, 0.55) 100%);
}
.prop__badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(11, 11, 12, 0.72); color: var(--gold-2);
  border: 1px solid rgba(201, 162, 39, 0.5);
  backdrop-filter: blur(6px);
}
.badge--solid { background: var(--gold); color: #16130a; border-color: var(--gold); }
.badge--demo { border-color: rgba(246, 241, 230, 0.3); color: var(--muted); }
.prop__price {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  font-family: 'Playfair Display', serif; font-size: 1.28rem; font-weight: 600;
  color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
.prop__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prop__zone {
  font-size: 0.69rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-2); font-weight: 600;
}
.prop__title { font-size: 1.24rem; margin: 0; line-height: 1.28; }
.prop__title a { color: var(--cream); }
.prop:hover .prop__title a { color: #fff; }
.prop__specs {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 0.84rem; color: var(--muted);
  padding-top: 12px; border-top: 1px solid rgba(246, 241, 230, 0.08);
}
.prop__specs span { display: inline-flex; align-items: center; gap: 6px; }
.prop__specs svg { width: 15px; height: 15px; color: var(--gold); opacity: 0.9; }
.prop__link {
  margin-top: auto; padding-top: 14px; font-size: 0.83rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.prop__link::after { content: '→'; transition: transform 0.25s var(--ease); }
.prop:hover .prop__link::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- Blocchi / card generiche */
.side { min-width: 0; }

.card {
  background: linear-gradient(180deg, #16161a 0%, #121214 100%);
  border: 1px solid rgba(246, 241, 230, 0.09);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: rgba(201, 162, 39, 0.35); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201, 162, 39, 0.1); border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--gold-2); margin-bottom: 16px;
}
.card__icon svg { width: 21px; height: 21px; }
.card--flat { background: rgba(246, 241, 230, 0.025); }

.stat {
  background: rgba(246, 241, 230, 0.025);
  border: 1px solid rgba(246, 241, 230, 0.09);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat__value {
  font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: #fff; line-height: 1.1;
}
.stat__label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.stat__note { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

/* ---------------------------------------------------------------- Zona card */
.zone {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(246, 241, 230, 0.1);
  min-height: 258px; display: flex; align-items: flex-end;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.zone:hover { transform: translateY(-3px); border-color: rgba(201, 162, 39, 0.5); }
.zone img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.8s var(--ease);
}
.zone:hover img { transform: scale(1.05); }
.zone::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.05) 30%, rgba(10, 10, 11, 0.9) 100%);
}
.zone__body { position: relative; z-index: 2; padding: 22px; width: 100%; }
.zone__kicker {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-2); font-weight: 600; margin-bottom: 6px;
}
.zone h3 { margin: 0 0 6px; font-size: 1.4rem; }
.zone p { margin: 0; font-size: 0.86rem; color: #cbc4b6; }
.zone__arrow { position: absolute; right: 20px; top: 20px; color: var(--gold-2); font-size: 1.1rem; z-index: 2; }

/* ---------------------------------------------------------------- Lista / tabella mercato */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(246, 241, 230, 0.1); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
thead th {
  text-align: left; font-family: 'Inter', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
  padding: 14px 18px; background: rgba(246, 241, 230, 0.04); font-weight: 600;
  border-bottom: 1px solid rgba(246, 241, 230, 0.1);
}
tbody td { padding: 14px 18px; border-bottom: 1px solid rgba(246, 241, 230, 0.06); color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: var(--cream); font-weight: 500; }
tbody tr:hover td { background: rgba(246, 241, 230, 0.02); }

/* ---------------------------------------------------------------- Immobile in evidenza */
.feature { display: grid; gap: clamp(24px, 4vw, 44px); align-items: start; }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 54px); } }
.feature__media { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(246, 241, 230, 0.12); }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.feature__thumbs button {
  padding: 0; border: 1px solid rgba(246, 241, 230, 0.12); border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4 / 3;
}
.feature__thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.2s, transform 0.3s; }
.feature__thumbs button:hover img, .feature__thumbs button[aria-current='true'] img { opacity: 1; }
.feature__thumbs button[aria-current='true'] { border-color: var(--gold); }
.feature__body h2 { margin-bottom: 12px; }
.feature__price {
  font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--gold-2); margin: 4px 0 2px;
}
.feature__price small { font-family: 'Inter', sans-serif; font-size: 0.76rem; color: var(--muted-2); letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 1px; background: rgba(246, 241, 230, 0.1);
  border: 1px solid rgba(246, 241, 230, 0.1); border-radius: var(--radius);
  overflow: hidden; margin: 20px 0;
}
.specs__item { background: #121214; padding: 14px 16px; }
.specs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.specs__item dt { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.specs__item dd { margin: 0; font-size: 0.98rem; color: #fff; font-weight: 500; }

/* ---------------------------------------------------------------- Galleria / lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.gallery button { padding: 0; border: 1px solid rgba(246, 241, 230, 0.1); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: none; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.5s var(--ease), opacity 0.3s; }
.gallery button:hover img { transform: scale(1.05); opacity: 0.95; }

.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(6, 6, 7, 0.95);
  display: none; place-items: center; padding: 20px;
}
.lightbox[data-open='true'] { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 84vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(246, 241, 230, 0.08); color: var(--cream);
  border: 1px solid rgba(246, 241, 230, 0.2); border-radius: 999px;
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-size: 20px;
}
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(246, 241, 230, 0.16); }
.lightbox__caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 0.85rem; }

/* ---------------------------------------------------------------- FAQ */
.accordion { border-top: 1px solid rgba(246, 241, 230, 0.1); }
.accordion details { border-bottom: 1px solid rgba(246, 241, 230, 0.1); padding: 4px 0; }
.accordion summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: 'Playfair Display', serif; font-size: 1.12rem; color: var(--cream);
  transition: color 0.2s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--gold-2); }
.accordion summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-family: 'Inter', sans-serif; font-size: 1.35rem; font-weight: 300;
  transition: transform 0.25s var(--ease);
}
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion .accordion__body { padding: 0 40px 20px 0; color: var(--muted); font-size: 0.96rem; }

/* ---------------------------------------------------------------- Form */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; min-height: 48px;
  background: #101012; color: var(--cream);
  border: 1px solid rgba(246, 241, 230, 0.16); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s var(--ease), background 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #0d0d0f;
}
.field input::placeholder, .field textarea::placeholder { color: #6f6a61; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); line-height: 1.55; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: 0 0 auto; }
.form__note { font-size: 0.78rem; color: var(--muted-2); }
.form__status {
  display: none; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(23, 143, 91, 0.14); border: 1px solid rgba(23, 143, 91, 0.5);
  color: #b8f0d2; font-size: 0.9rem;
}
.form__status[data-visible='true'] { display: block; }

/* ---------------------------------------------------------------- CTA fascia */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 162, 39, 0.32);
  background:
    radial-gradient(120% 160% at 12% 0%, rgba(192, 48, 79, 0.16) 0%, rgba(11, 11, 12, 0) 55%),
    radial-gradient(120% 160% at 92% 110%, rgba(84, 174, 218, 0.14) 0%, rgba(11, 11, 12, 0) 55%),
    linear-gradient(180deg, #17171a 0%, #101012 100%);
  padding: clamp(30px, 5vw, 56px);
  display: grid; gap: 22px; align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.35fr 0.65fr; } }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 860px) { .cta-band .btn-row { justify-content: flex-end; } }

/* ---------------------------------------------------------------- Chi sono */
.about { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.82fr 1.18fr; } }
.about__photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(201, 162, 39, 0.3); }
.about__photo img { width: 100%; object-fit: cover; }
.about__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 60%, rgba(11, 11, 12, 0.55) 100%);
}
.about__quote {
  border-left: 2px solid var(--gold); padding-left: 20px;
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.16rem;
  color: #e9e2d2; margin: 22px 0;
}

/* ---------------------------------------------------------------- Testimonianze */
.review {
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(246, 241, 230, 0.025);
  border: 1px solid rgba(246, 241, 230, 0.09);
  border-radius: var(--radius); padding: 24px;
}
.stars { color: var(--gold); letter-spacing: 0.16em; font-size: 0.9rem; }
.review blockquote { margin: 0; color: #e4ddce; font-family: 'Playfair Display', serif; font-size: 1.06rem; line-height: 1.62; }
.review figcaption { font-size: 0.82rem; color: var(--muted-2); letter-spacing: 0.04em; }

/* ---------------------------------------------------------------- Breadcrumb e testata pagine interne */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(44px, 7vw, 84px) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid rgba(246, 241, 230, 0.07);
}
.page-head__bg { position: absolute; inset: 0; z-index: -1; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.page-head__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.7) 0%, rgba(11, 11, 12, 0.92) 70%, var(--ink) 100%);
}
.page-head h1 { max-width: 24ch; margin-bottom: 14px; }
.page-head p { max-width: 62ch; color: var(--muted); font-size: 1.04rem; }

.breadcrumbs { font-size: 0.78rem; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; gap: 8px; align-items: center; }
.breadcrumbs li::after { content: '/'; color: rgba(246, 241, 230, 0.28); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-2); }
.breadcrumbs [aria-current='page'] { color: var(--cream); }

/* ---------------------------------------------------------------- Contenuto editoriale */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #d7d0c2; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote {
  margin: 1.8em 0; padding: 18px 24px;
  border-left: 2px solid var(--gold); background: rgba(246, 241, 230, 0.03);
  font-family: 'Playfair Display', serif; font-style: italic; color: #eae3d4;
}
.prose hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2.4em 0; }
.prose table { font-size: 0.9rem; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 420px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards .side { min-width: 0; }

.card { padding: 20px; }

.article-layout { display: grid; gap: clamp(26px, 3vw, 44px); align-items: start; }
@media (min-width: 980px) { .contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 420px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards .side { min-width: 0; }

.card { padding: 20px; }

.article-layout { grid-template-columns: minmax(0, 1fr) 330px; } }
.article-layout aside .side { min-width: 0; }

.card { position: sticky; top: 100px; }

/* link nel testo: sottolineatura per non affidarsi al solo colore */
p a, li a, dd a, td a, .note a, .small a, .accordion__body a, blockquote a, figcaption a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(227, 196, 110, 0.45);
}
p a:hover, li a:hover, .note a:hover { text-decoration-color: currentColor; }

.note {
  background: rgba(201, 162, 39, 0.07);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: 0.88rem; color: #d9d1c0;
}
.note strong { color: var(--gold-2); }

/* ---------------------------------------------------------------- Filtri catalogo */
.filters {
  display: grid; gap: 12px; padding: 18px;
  background: rgba(246, 241, 230, 0.03);
  border: 1px solid rgba(246, 241, 230, 0.1);
  border-radius: var(--radius);
  margin-bottom: 30px;
}
@media (min-width: 900px) { .filters { grid-template-columns: repeat(4, 1fr) auto; align-items: end; } }
.filters .field label { font-size: 0.64rem; }
.filters select, .filters input {
  width: 100%; min-height: 46px; padding: 10px 13px; background: #101012; color: var(--cream);
  border: 1px solid rgba(246, 241, 230, 0.16); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9rem;
}
.filters__empty { text-align: center; padding: 40px 20px; color: var(--muted); display: none; }
.filters__empty[data-visible='true'] { display: block; }
.results-count { font-size: 0.84rem; color: var(--muted-2); margin-bottom: 18px; }

/* ---------------------------------------------------------------- Footer */
.footer { background: #08080a; border-top: 1px solid rgba(246, 241, 230, 0.08); padding: clamp(44px, 6vw, 68px) 0 28px; }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; } }
.footer__title {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px;
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #cfc8ba; font-size: 0.92rem; }
.footer a:hover { color: var(--gold-2); }
.footer__brand img { height: 68px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; max-width: 34ch; }
.footer__contact { display: grid; gap: 10px; font-size: 0.92rem; }
.footer__contact a { display: inline-flex; gap: 9px; align-items: center; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(246, 241, 230, 0.08);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 0.79rem; color: var(--muted-2);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.social { display: flex; gap: 10px; margin-top: 4px; }
.social a {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid rgba(246, 241, 230, 0.16); color: var(--cream);
}
.social a:hover { border-color: var(--gold); color: var(--gold-2); }
.social svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- Barra mobile fissa */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, 0.94); border-top: 1px solid rgba(246, 241, 230, 0.1);
  backdrop-filter: blur(12px);
  transform: translateY(120%); transition: transform 0.35s var(--ease);
}
.mobile-bar[data-visible='true'] { transform: none; }
.mobile-bar .btn { min-height: 46px; font-size: 0.86rem; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 1023px) { body { padding-bottom: 74px; } }

/* ---------------------------------------------------------------- Cookie */
.cookie {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 140;
  max-width: 620px;
  background: #141416; border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow);
  display: none;
}
.cookie[data-visible='true'] { display: block; }
@media (min-width: 1024px) { .cookie { left: auto; bottom: 22px; right: 22px; } }
.cookie p { font-size: 0.84rem; color: var(--muted); margin-bottom: 14px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- Utility */
.only-desktop { display: none; }
@media (min-width: 1024px) { .only-desktop { display: initial; } }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* mappa caricata su consenso */
.map-consent {
  border: 1px dashed rgba(246, 241, 230, 0.2); border-radius: var(--radius);
  padding: 26px; text-align: center; background: rgba(246, 241, 230, 0.02);
}
.map-consent iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius-sm); }
