/* Riviera Rent – versione alternativa "Facciate liguri".
   Colori ispirati ai borghi della Liguria: ocra, terracotta, persiane verdi, mare. */
:root {
  --cream: #fbf5ec;
  --paper: #fff;
  --ink: #10181e;
  --muted: #1c2429; /* testi piccoli quasi neri */
  --sea: #2c6e8f;
  --sea-2: #1f5a78;
  --sky: #d8ecf3;
  --ochre: #e9b44c;
  --terra: #b8552f;
  --terra-soft: #f7e3d6;
  --shutter: #3f6f5a;
  --line: rgba(34, 48, 58, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
[hidden] { display: none !important; }
h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); font-variation-settings: "opsz" 144; }
h2 em, h3 em { font-style: italic; color: var(--terra); }
h3 { font-size: 1.35rem; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-soft { background: var(--paper); }
.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); margin: 0 0 1.2em; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 600px; }
.head { margin-bottom: 44px; }
.head.center { text-align: center; }
.head.center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 12px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--terra); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: 999px; font: 700 .95rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .2s, color .2s; }
.btn i { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-sea, .btn-primary { background: var(--sea); color: #fff; }
.btn-sea:hover, .btn-primary:hover { background: var(--sea-2); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-line, .btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover, .btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #1faa59; color: #fff; }
.btn:focus-visible, .filter:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, .half:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
@media (max-width: 520px) { .btn { white-space: normal; } }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(251, 245, 236, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 60px; width: auto; }
.logo-text { display: inline-block; font: 700 1.7rem/1 "Poppins", system-ui, sans-serif; letter-spacing: -.01em; text-transform: none; color: #d6612a; white-space: nowrap; }
.logo-text em { color: var(--terra); }
.logo.no-img .logo-text { display: inline; }
#nav { display: flex; align-items: center; gap: 26px; }
#nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; }
#nav a:not(.btn):hover { color: var(--terra); }
#nav a.btn { color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--cream); cursor: pointer; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; margin: auto; transition: transform .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  /* niente backdrop-filter sul telefono: renderebbe il menu (position: fixed) alto quanto la barra, trasparente sul resto della pagina */
  .site-header, .site-header.scrolled { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
  #nav { position: fixed; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
  #nav.open { visibility: visible; }
  #nav.open { opacity: 1; pointer-events: auto; }
  #nav a { font: 500 2rem/1.3 var(--serif); }
  #nav a.btn { font: 700 1rem/1 var(--sans); margin-top: 18px; }
}

/* ---------- Apertura divisa a metà ---------- */
.split { position: relative; display: flex; height: 100svh; min-height: 640px; }
.half { position: relative; flex: 1; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: flex-grow .7s var(--ease); }
.half-rent { background: linear-gradient(180deg, #f1f8fb 0%, var(--sky) 60%, #bfe0ec 100%); }
.half-manage { background: linear-gradient(180deg, #fdf6ef 0%, var(--terra-soft) 60%, #f3d2bd 100%); }
@media (hover: hover) and (min-width: 901px) {
  .split:hover .half { flex-grow: .8; }
  .split .half:hover { flex-grow: 1.35; }
}
.half-copy { position: relative; z-index: 2; padding: 130px clamp(24px, 5vw, 72px) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.half-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sea); }
.half-manage .half-kicker { color: var(--terra); }
.half-title { font: 500 clamp(3rem, 6.2vw, 6rem)/.95 var(--serif); letter-spacing: -.035em; font-variation-settings: "opsz" 144; animation: up 1s var(--ease) both; }
.half-title em { font-style: italic; color: var(--terra); }
.half-rent .half-title em { color: var(--sea); }
.half-text { max-width: 400px; color: var(--muted); font-size: 1.05rem; animation: up 1s .15s var(--ease) both; }
.half .btn { animation: up 1s .3s var(--ease) both; }
.half-manage .half-copy { animation-delay: .1s; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
.scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 48%; }
.or { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 64px; height: 64px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: italic 500 1.6rem/1 var(--serif); color: var(--ink); box-shadow: 0 10px 30px rgba(34, 48, 58, .15); pointer-events: none; transition: opacity .3s; }
@media (hover: hover) and (min-width: 901px) { .split:hover .or { opacity: 0; } }

/* Scena mare */
.scene .sun { fill: #f3b562; animation: glow 6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes glow { to { transform: scale(1.08); } }
.scene-sea .hill { fill: #8fb39a; }
.scene-town .hill { fill: #c9b08a; opacity: .7; }
.waves { animation: wave 14s linear infinite; }
.waves-2 { animation-duration: 22s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(-640px); } }
.boat { animation: sail 30s -11s linear infinite; }
@keyframes sail { from { transform: translate(-80px, 264px) rotate(0); } 50% { transform: translate(420px, 264px) rotate(-3deg); } to { transform: translate(900px, 264px) rotate(0); } }

/* Scena borgo: le case salgono, le persiane si aprono al passaggio del mouse */
.house { animation: rise 1.1s var(--ease) both; animation-delay: var(--d); }
@keyframes rise { from { transform: translateY(60px); opacity: 0; } }
.shutter { fill: var(--shutter); transform-box: fill-box; transition: transform .6s var(--ease); }
.shutter.l { transform-origin: left center; }
.shutter.r { transform-origin: right center; }
.half-manage:hover .shutter, .half-manage:focus-visible .shutter { transform: scaleX(.18); }

@media (max-width: 900px) {
  .split { flex-direction: column; height: auto; min-height: 0; }
  .half { min-height: 70svh; }
  .half-copy { padding-top: 110px; }
  .half-manage .half-copy { padding-top: 48px; }
  .scene { height: 36%; }
  .or { top: 70svh; left: 50%; }
}

/* ---------- Numeri ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 64px 0 0; }
.stats > div { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.stats b { display: block; font: 500 clamp(2.6rem, 5vw, 3.8rem)/1 var(--serif); letter-spacing: -.03em; }
.stats div > span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* ---------- Ricerca e filtri ---------- */
.search { display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 10px; background: var(--paper); padding: 10px; border-radius: 22px; box-shadow: 0 20px 50px rgba(34, 48, 58, .1); }
.search label { display: flex; flex-direction: column; min-width: 0; padding: 8px 14px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--cream); border-radius: 14px; }
.search input, .search select { width: 100%; min-width: 0; border: 0; background: transparent; font: 600 1rem var(--sans); color: var(--ink); padding-top: 2px; }
.search input:focus-visible, .search select:focus-visible { outline: none; }
.search .btn { border-radius: 14px; justify-content: center; }
#search-msg { color: var(--terra); font-weight: 700; margin: 10px 0 0; }
#search-msg:empty { display: none; }
@media (max-width: 760px) { .search { grid-template-columns: 1fr 1fr; } .search label:nth-child(3), .search .btn { grid-column: 1 / -1; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 40px; }
.filter { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); padding: .6em 1.15em; border-radius: 999px; font: 600 .9rem var(--sans); cursor: pointer; transition: all .2s; }
.filter[aria-pressed="true"], .filter:hover { background: var(--ink); color: var(--cream); }

/* ---------- Schede "cartolina" ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); padding: 12px 12px 20px; border-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 14px 34px rgba(34, 48, 58, .08); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.card:nth-child(3n+1) { transform: rotate(-.6deg); }
.card:nth-child(3n+2) { transform: rotate(.5deg); }
.card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 24px 50px rgba(34, 48, 58, .16); }
.card-media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: 3px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: flex-start; padding: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='90'%3E%3Crect x='22' y='22' width='32' height='44' fill='rgba(255,255,255,.72)'/%3E%3Crect x='26' y='26' width='24' height='36' fill='%232b3a36'/%3E%3Crect x='10' y='26' width='14' height='36' fill='%233f6f5a'/%3E%3Crect x='52' y='26' width='14' height='36' fill='%233f6f5a'/%3E%3Crect x='20' y='66' width='36' height='4' fill='rgba(255,255,255,.6)'/%3E%3C/svg%3E");
  background-size: 76px 90px; background-position: center top; }
.ph-finale { background-color: var(--ochre); }
.ph-borgo { background-color: #e07a5f; }
.ph-hills { background-color: #d99a7e; }
.ph-cotedazur { background-color: #f2cc8f; }
.ph span { background: var(--cream); color: var(--ink); font: 500 1.25rem/1.1 var(--serif); padding: .45em .8em; border-radius: 3px; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.num { display: none; position: absolute; top: 10px; left: 12px; font: italic 500 .95rem var(--serif); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.badge { position: absolute; top: 10px; right: 10px; background: var(--cream); color: var(--ink); font-size: .74rem; font-weight: 800; padding: .35em .75em; border-radius: 999px; }
.go { display: none; }
.card-body { padding: 16px 6px 0; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .2em; }
.card-body p { margin: 0 0 .7em; color: var(--muted); font-size: .94rem; }
.card-body .card-area { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--sea); margin-bottom: .4em; }
.card-body .facts { color: var(--ink); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--shutter); background: #e6efe9; padding: .3em .7em; border-radius: 999px; }
.tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-actions { margin-top: auto; display: flex; gap: 8px; }
.card-actions .btn { flex: 1; justify-content: center; padding: .8em 1em; font-size: .88rem; }
@media (min-width: 1001px) { .card.feature { grid-column: span 2; } .card.feature .card-media { aspect-ratio: auto; height: calc((min(1200px, 100vw - 32px) - 52px) / 3 * .8); } }
#grid-empty { text-align: center; color: var(--muted); }

/* ---------- Gestione ---------- */
.section-manage { background: var(--terra-soft); }
.section-manage .kicker { color: var(--terra); }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); counter-reset: sv; }
.services li { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); counter-increment: sv; }
.services li::before { content: "0" counter(sv); display: block; font: italic 500 1rem var(--serif); color: var(--terra); margin-bottom: 18px; }
.services p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.journey { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.journey::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; border-top: 2px dashed rgba(184, 85, 47, .4); }
.journey div { position: relative; }
.journey span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--terra); color: #fff; font: 500 1.5rem/1 var(--serif); margin-bottom: 18px; box-shadow: 0 0 0 8px var(--terra-soft); }
.journey h3 { font-size: 1.2rem; }
.journey p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .journey { grid-template-columns: 1fr 1fr; row-gap: 32px; } .journey::before { display: none; } }

/* ---------- Sconti, Club e Finale Enduro ---------- */
.promo-strip { display: block; margin-bottom: 14px; padding: 12px 18px; border-radius: 999px; background: var(--terra); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; text-align: center; }
.promo-strip b { font-weight: 800; color: #ffe08a; }
.promo-strip:hover { background: #a24a28; }
.section-deals { background: var(--sea); color: #fff; padding: clamp(80px, 10vw, 130px) 0; }
.section-deals .kicker { color: #ffe08a; }
.section-deals h2, .section-deals h3 { color: #fff; }
.section-deals h2 em, .section-deals h3 em { color: #ffe08a; }
.section-deals .lead { color: rgba(255, 255, 255, .9); }
.deal-tag { display: inline-block; font: 800 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: #ffe08a; padding: .55em .9em; border-radius: 999px; margin-bottom: 14px; }
.deals { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.deal { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden; }
.deal:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); }
.deal h3 { color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.deal p { margin: 0 0 24px; color: var(--muted); }
.deal .deal-tag, .partner .deal-tag { align-self: flex-start; }
.deal-big { font: 700 clamp(5rem, 11vw, 8.5rem)/.9 var(--serif); letter-spacing: -.05em; color: var(--terra); margin: 6px 0 14px; }
.deal-main { background: var(--terra); color: #fff; }
.deal-main h3, .deal-main .deal-big { color: #fff; }
.deal-main p { color: rgba(255, 255, 255, .9); }
.deal-vs { display: block; margin: -6px 0 12px; font: 800 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.deal-main .deal-vs { color: #ffe08a; }
.deal-cta { margin-top: auto; font-weight: 800; font-size: 1.05rem; }
.deal-cta i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.deal:hover .deal-cta i { transform: translateX(6px); }
.club { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 60px); margin-top: 20px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--sea-2); border: 1.5px solid rgba(255, 255, 255, .18); }
.club h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.club p { color: rgba(255, 255, 255, .88); margin: 0 0 20px; }
.club-steps { margin: 0; padding: 0; list-style: none; counter-reset: cs; display: grid; gap: 10px; }
.club-steps li { counter-increment: cs; display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); }
.club-steps li::before { content: counter(cs); flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffe08a; color: var(--ink); font-weight: 800; }
.club-steps b { color: #fff; }
.club-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: center; }
.club-perks li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); font-weight: 600; }
.club-perks span { color: #ffe08a; font-size: 1.1rem; }
.partner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 36px); margin-top: 20px; padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; background: #fff; color: var(--ink); }
.partner h3 { color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.partner h3 em { color: var(--terra); }
.partner p { margin: 0; color: var(--muted); max-width: 620px; }
.partner-badge { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--ochre); }
.partner-badge svg { width: 54px; height: 54px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.parking { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); margin-top: 20px; padding: clamp(22px, 3vw, 34px) clamp(24px, 3.5vw, 40px); border-radius: 28px; background: #ffe08a; color: var(--ink); }
.parking h3 { color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.parking h3 em { color: var(--terra); }
.parking p { margin: 0; max-width: 680px; }
.parking-badge { flex: 0 0 auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: var(--sea); color: #fff; font: 800 2.4rem/1 var(--sans); }
.deals-note { margin: 22px 0 0; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 860px) { .deals, .club { grid-template-columns: 1fr; } .partner { grid-template-columns: 1fr; } .partner-badge { width: 72px; height: 72px; } }

/* ---------- Offerte ---------- */
.offer-flash a { display: block; padding: 16px; background: var(--ink); color: #fff; text-align: center; text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.offer-flash b { display: inline-block; margin-right: 6px; padding: .3em .7em; border-radius: 999px; background: #ffe08a; color: var(--ink); font-weight: 800; }
.offer-flash i { font-style: normal; color: #ffe08a; }
.offer-flash a:hover { background: var(--sea-2); }
.section-offers { background: var(--paper); }
.section-offers .kicker { color: var(--terra); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--cream); border: 1.5px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.offer:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(16, 24, 30, .35); }
.offer-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.offer-media img, .offer-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--terra); color: #fff; font: 800 1rem/1 var(--sans); padding: .55em .9em; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.offer-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.offer-house { margin: 0 0 6px; font: 800 .74rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.offer h3 { font-size: 1.55rem; margin-bottom: 8px; }
.offer-body > p:not([class]) { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: auto 0 4px; }
.offer-price small { width: 100%; font: 800 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.offer-price b { font: 700 2.6rem/1 var(--serif); color: var(--terra); letter-spacing: -.02em; }
.offer-price span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.offer-until { margin: 0 0 16px; font-size: .85rem; font-weight: 700; color: var(--shutter); }
.offer-actions { display: flex; gap: 8px; }
.offer-actions .btn { flex: 1; justify-content: center; padding: .8em 1em; font-size: .88rem; }
.offers-note { margin: 22px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
@media (max-width: 960px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .offers { grid-template-columns: 1fr; } }
.card-media .from { position: absolute; left: 14px; top: 14px; z-index: 2; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 600; padding: .45em .8em; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.card-media .from b { color: var(--terra); font-size: 1.05rem; }

/* ---------- Lusso (anteprima della collezione) ---------- */
.section-lux { background: #24211e; color: #ede6da; padding: clamp(80px, 10vw, 130px) 0; }
.section-lux .kicker { color: #e0a04a; }
.section-lux h2 { color: #f6efe4; }
.section-lux h2 em { color: #e0a04a; }
.section-lux .lead { color: #c9bfb1; }
.lux { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.btn-ochre { background: #d9893a; color: #1d1a17; margin-top: 12px; }
.btn-ochre:hover { background: #e9a04f; }
.lux-card { position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-decoration: none; color: #24211e; background: radial-gradient(120% 90% at 50% 0%, #f6e2c4 0%, #e9b77c 50%, #cf8740 100%); overflow: hidden; }
.lux-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, #e6eae8 0%, #b7c6ca 100%); clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); opacity: .95; z-index: 0; }
.lux-card > * { position: relative; z-index: 1; }
.lux-frame { position: absolute !important; inset: 22px; border: 1px solid rgba(36, 33, 30, .35); transition: inset .9s var(--ease); }
.lux-card:hover .lux-frame { inset: 32px; }
.lux-mono { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #f6efe4; border: 1px solid #b8742c; font: italic 400 1.8rem/1 var(--serif); color: #9a5518; box-shadow: 0 0 0 6px #f6efe4; }
.lux-name { font: 400 1.9rem/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; margin-top: 16px; padding-left: .22em; }
.lux-sub { font: 700 .7rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: #5a3c1e; padding-left: .4em; }
@media (max-width: 860px) { .lux { grid-template-columns: 1fr; } .lux-card { aspect-ratio: 16 / 11; } }

/* ---------- B&B Point ---------- */
.section-bb { background: var(--paper); }
.section-bb .kicker { color: var(--terra); }
.bb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bb-card { display: flex; flex-direction: column; padding: 28px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--cream); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), border-color .3s; }
.bb-card:hover { transform: translateY(-4px); border-color: var(--terra); }
.bb-card h3 small { display: inline-block; margin-left: 6px; font: 800 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terra); background: var(--terra-soft); padding: .45em .7em; border-radius: 999px; vertical-align: middle; }
.bb-card p { margin: 0 0 14px; color: var(--muted); }
.bb-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ochre); margin-bottom: 20px; }
.bb-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bb-price { margin-top: auto !important; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink) !important; font-weight: 600; }
.bb-price b { font: 600 1.35rem/1 var(--serif); color: var(--terra); }
.bb-price small { font: 600 .82rem var(--sans); color: var(--muted); }
.bb-card-full { grid-column: span 2; background: var(--sea); border-color: var(--sea); color: #fff; }
.bb-card-full h3 { color: #fff; }
.bb-card-full p { color: rgba(255, 255, 255, .85); max-width: 560px; }
.bb-card-full .bb-ico { background: rgba(255, 255, 255, .16); }
.bb-card-full .bb-ico svg { stroke: #fff; }
.bb-card-full:hover { border-color: var(--ochre); }
.bb-more { margin-top: auto; font-weight: 800; }
@media (max-width: 960px) { .bb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bb-grid { grid-template-columns: 1fr; } .bb-card-full { grid-column: auto; } }

.blank-line { display: inline-block; width: 3.2em; border-bottom: 2px solid currentColor; opacity: .55; vertical-align: -2px; }

.howto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: clamp(56px, 8vw, 90px); }
.howto h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 24px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.steps li { position: relative; padding: 0 0 22px 58px; counter-increment: st; color: var(--muted); }
.steps li::before { content: counter(st); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--terra-soft); color: var(--terra); font: 600 1.05rem/1 var(--serif); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; border-left: 2px dashed rgba(184, 85, 47, .3); }
.steps b { color: var(--ink); }
@media (max-width: 800px) { .howto { grid-template-columns: 1fr; } }

.pricelist { margin-top: clamp(56px, 8vw, 90px); padding: clamp(26px, 4vw, 48px); border-radius: 28px; background: var(--terra-soft); }
.pricelist-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 30px; margin-bottom: 18px; }
.pricelist-head h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.pricelist-head p { margin: 0; color: var(--muted); }
.pricelist dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.pricelist dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(184, 85, 47, .22); }
.pricelist dt { font-weight: 600; }
.pricelist dd { margin: 0; white-space: nowrap; font: 600 1.15rem/1 var(--serif); color: var(--terra); }
.pricelist dd small { font: 600 .78rem var(--sans); color: var(--muted); }
.pricelist-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 800px) { .pricelist dl { grid-template-columns: 1fr; } }

/* ---------- Costa ligure ---------- */
.coast { margin: 0; }
.coast svg { width: 100%; height: auto; overflow: visible; }
.coast-sea { fill: var(--sky); }
.coast-line { fill: none; stroke: var(--sea); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.coast.in .coast-line { stroke-dashoffset: 0; }
.coast-hl { fill: none; stroke: var(--terra); stroke-width: 9; stroke-linecap: round; opacity: 0; transition: opacity .8s 1.6s; }
.coast.in .coast-hl { opacity: .85; }
.zone-tag { opacity: 0; transition: opacity .8s 2s; }
.coast.in .zone-tag { opacity: 1; }
.zone { font: italic 600 22px var(--serif); fill: var(--terra); }
.zone-sub { font: 700 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; fill: var(--muted); }
.town { opacity: 0; transition: opacity .6s var(--d); }
.coast.in .town { opacity: 1; transition-delay: calc(var(--d) + 1s); }
.town line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 3; }
.town circle { fill: var(--cream); stroke: var(--sea); stroke-width: 3; }
.town text { font: 600 15px var(--sans); fill: var(--ink); }
.town.home circle { fill: var(--terra); stroke: #fff; }
.town.home text { fill: var(--terra); font-weight: 800; }
.town .sub { font: 700 11px var(--sans) !important; letter-spacing: .12em; text-transform: uppercase; fill: var(--muted) !important; }
@media (max-width: 700px) { .coast { overflow-x: auto; margin-inline: -16px; padding: 0 16px; scrollbar-width: none; } .coast::-webkit-scrollbar { display: none; } .coast svg { min-width: 860px; } .town text { font-size: 18px; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font: 500 1.25rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--terra); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -4px 0 22px; color: var(--muted); }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact > * { min-width: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a { font: 500 1.35rem/1.3 var(--serif); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--terra); }
.panel { background: var(--paper); border-radius: 22px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 16px; box-shadow: 0 20px 50px rgba(34, 48, 58, .08); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row > * { min-width: 0; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.panel label { display: grid; gap: 6px; font-size: .84rem; font-weight: 700; }
.panel input, .panel select, .panel textarea { width: 100%; min-width: 0; font: 500 1rem var(--sans); padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); }
.panel input:focus, .panel select:focus, .panel textarea:focus { border-color: var(--sea); outline: none; }
.panel textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-note { font-size: .8rem; color: var(--muted); margin: 0; }
#form-msg { color: var(--sea); font-weight: 700; margin: 0; }
#form-msg:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251, 245, 236, .75); padding: 64px 0 40px; }
.site-footer a { color: var(--cream); }
.foot-brand { font: 500 clamp(2.6rem, 8vw, 5.5rem)/1 var(--serif); color: var(--cream); letter-spacing: -.03em; margin: 0 0 20px; }
.foot-brand em { color: var(--ochre); }
.legal { font-size: .84rem; margin-top: 30px; }

/* WhatsApp + cookie */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 58px; height: 58px; border-radius: 50%; background: #1faa59; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31, 170, 89, .35); }
.fab svg { width: 28px; height: 28px; fill: #fff; }
#cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 110; max-width: 440px; background: var(--paper); border-radius: 18px; padding: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); display: flex; flex-wrap: wrap; gap: 10px; font-size: .9rem; }
#cookie-bar p { margin: 0 0 4px; flex: 1 1 100%; }
@media (max-width: 520px) { #cookie-bar { right: 16px; max-width: none; } }

/* Animazioni in entrata */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .card.reveal { transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:nth-child(3n+1) { transform: rotate(-.6deg); }
.card.reveal.in:nth-child(3n+2) { transform: rotate(.5deg); }
.card.reveal.in:hover { transform: rotate(0) translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .coast-line { stroke-dashoffset: 0; }
  .town { opacity: 1; }
}

/* ---------- Social ---------- */
.follow-label { margin: 28px 0 10px; font: 800 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .3s var(--ease), background .2s; }
.soc svg { width: 22px; height: 22px; fill: currentColor; }
.soc:hover { transform: translateY(-3px); }
.soc-facebook:hover { background: #1877f2; } .soc-instagram:hover { background: #d62976; } .soc-youtube:hover { background: #ff0000; } .soc-tiktok:hover { background: #000; } .soc-whatsapp:hover { background: #1faa59; }
.socials-foot { margin-top: 14px; }
.site-footer .soc { background: rgba(255, 255, 255, .12); }
