/* =========================================================================
   La Casa sullo Ionio — foglio di stile principale
   Palette Ionio: teal profondo, turchese, carta fredda, bouganville, sole.
   Font: Fraunces (display) + Manrope (testo/UI).
   ========================================================================= */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Colori */
  --ink:        #08323c;   /* teal profondissimo — testo, sezioni scure */
  --deep:       #0e4a57;   /* teal profondo secondario */
  --sea:        #159aa0;   /* turchese Ionio — brand, link, sottolineature */
  --sea-dark:   #0f7a80;
  --foam:       #dcedeb;   /* schiuma — fondali chiari */
  --foam-soft:  #eef6f4;
  --paper:      #fbfaf7;   /* carta fredda — sfondo pagina */
  --paper-2:    #f4f1ea;   /* pietra leccese — sfondo alternato caldo */
  --bougain:    #dc4b6e;   /* bouganville — accento firma, CTA */
  --bougain-dk: #c23a5b;
  --sun:        #eba13c;   /* oro sole — micro dettagli */
  --line:       rgba(8, 50, 60, .14);
  --line-soft:  rgba(8, 50, 60, .08);
  --white:      #ffffff;

  /* Tipografia */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Misure */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 22px 60px -30px rgba(8, 50, 60, .45);
  --shadow-soft: 0 12px 30px -18px rgba(8, 50, 60, .35);
  --header-h: 76px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--bougain); color: #fff; }

/* -------------------------------------------------------------- Tipografia */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { max-width: 68ch; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sea);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--bougain);
  display: inline-block;
}

/* --------------------------------------------------------------- Struttura */
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 3rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-head p { margin-top: 1rem; color: var(--deep); font-size: 1.08rem; }
.section--foam { background: var(--foam-soft); }
.section--stone { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--foam); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: #7fd4d1; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .section-head { margin-inline: auto; }

/* Linea d'orizzonte — elemento firma ------------------------------------- */
.horizon {
  display: flex; align-items: center; gap: 1rem;
  margin: 0; padding: 0; border: 0;
}
.horizon::before, .horizon::after {
  content: ""; height: 1px; flex: 1; background: var(--line);
}
.horizon i {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 6px rgba(235, 161, 60, .16);
  display: inline-block; flex: 0 0 auto;
}

/* ---------------------------------------------------------------- Pulsanti */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em;
  padding: .95rem 1.7rem; border-radius: 999px;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--bougain); color: #fff; box-shadow: 0 14px 30px -14px rgba(220, 75, 110, .8); }
.btn-primary:hover { background: var(--bougain-dk); transform: translateY(-3px); }
.btn-sea { background: var(--sea); color: #fff; box-shadow: 0 14px 30px -14px rgba(21, 154, 160, .7); }
.btn-sea:hover { background: var(--sea-dark); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sea); color: var(--sea); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn-block { width: 100%; justify-content: center; }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 3rem, 1320px); }

.brand { display: flex; align-items: center; gap: .7rem; line-height: 1; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }
.brand__tag { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .7; }

/* Colori header su hero (trasparente) vs scrolled (solido) */
.site-header { color: #fff; }
.site-header .brand__mark path.fill-ink { fill: #fff; }
.site-header.is-solid {
  background: rgba(251, 250, 247, .92);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-soft), var(--shadow-soft);
  color: var(--ink);
}
.site-header.is-solid .brand__mark path.fill-ink { fill: var(--ink); }
.site-header.is-solid .brand__tag { opacity: .55; }

/* Navigazione */
.nav { display: flex; align-items: center; gap: .35rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .9rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: rgba(255,255,255,.14); }
.site-header.is-solid .nav__link:hover,
.site-header.is-solid .nav__item:focus-within > .nav__link { background: var(--foam); color: var(--sea-dark); }
.nav__link[aria-current="page"] { color: var(--sun); }
.site-header.is-solid .nav__link[aria-current="page"] { color: var(--bougain); }
.nav__link .caret { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__item.open .nav__link .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 268px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: .6rem;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  border: 1px solid var(--line-soft);
}
.nav__item.open .dropdown,
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.dropdown a {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .7rem .9rem; border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
}
.dropdown a:hover { background: var(--foam-soft); }
.dropdown a b { font-weight: 700; font-size: .96rem; }
.dropdown a span { font-size: .82rem; color: var(--deep); opacity: .8; }
.dropdown a[aria-current="page"] b { color: var(--bougain); }

.nav__cta { margin-left: .5rem; }

/* Selettore lingua */
.lang-switch {
  display: flex; align-items: center; gap: .1rem;
  margin-left: .5rem; padding: .2rem;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  transition: border-color .25s var(--ease);
}
.site-header.is-solid .lang-switch { border-color: var(--line); }
.lang-switch button {
  border: none; background: transparent; color: inherit; cursor: pointer;
  font-family: var(--body); font-size: .74rem; font-weight: 800; letter-spacing: .03em;
  padding: .3rem .55rem; border-radius: 999px; opacity: .65;
  transition: background .25s var(--ease), opacity .25s var(--ease), color .25s var(--ease);
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { opacity: 1; background: rgba(255,255,255,.2); }
.site-header.is-solid .lang-switch button[aria-pressed="true"] { background: var(--foam); color: var(--sea-dark); }

/* Hamburger */
.hamburger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center;
  transition: background .25s var(--ease);
}
.hamburger:hover { background: rgba(255,255,255,.14); }
.site-header.is-solid .hamburger:hover { background: var(--foam); }
.hamburger span { position: relative; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
body.menu-open .hamburger span { background: transparent; }
body.menu-open .hamburger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink); color: var(--foam);
  padding: calc(var(--header-h) + 1.5rem) 0 2rem;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu ul { width: min(100% - 3rem, 620px); margin-inline: auto; }
.mobile-menu > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu a { display: block; padding: .95rem 0; font-family: var(--display); font-size: 1.55rem; font-weight: 500; }
.mobile-menu .sub a { font-family: var(--body); font-size: 1.02rem; font-weight: 600; padding: .5rem 0 .5rem 1.2rem; color: #a9d8d5; }
.mobile-menu a[aria-current="page"] { color: var(--sun); }
.mobile-menu .m-cta { margin-top: 1.6rem; }

/* --------------------------------------------------------------------- Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 18s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,50,60,.42) 0%, rgba(8,50,60,0) 30%, rgba(8,50,60,.15) 55%, rgba(8,50,60,.82) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: calc(var(--header-h) + 2rem); width: 100%; }
.hero__eyebrow {
  color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem;
}
.hero__eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--sun); }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 4px 40px rgba(0,0,0,.25); }
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 48ch; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.hero__scroll .drip { width: 1px; height: 34px; background: rgba(255,255,255,.6); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0%{transform:scaleY(0);opacity:0} 40%{opacity:1} 100%{transform:scaleY(1);opacity:0} }

/* Hero interno (pagine secondarie) */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 62vh; display: flex; align-items: flex-end;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,50,60,.45), rgba(8,50,60,.15) 45%, rgba(8,50,60,.85)); }
.page-hero__inner { position: relative; z-index: 1; padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem,6vh,4rem); width: 100%; }
.page-hero h1 { color: #fff; }
.page-hero__lead { margin-top: 1rem; max-width: 56ch; color: rgba(255,255,255,.92); font-size: 1.1rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .82rem; letter-spacing: .05em; margin-bottom: 1.2rem; color: rgba(255,255,255,.85); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { opacity: .6; }
.crumbs span.current { opacity: 1; }

/* ---------------------------------------------------------------- Home intro */
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.intro-copy .lead { font-size: 1.22rem; color: var(--deep); margin-top: 1.2rem; }
.intro-copy p + p { margin-top: 1rem; }
.intro-figure { position: relative; }
.intro-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.intro-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--bougain); color: #fff;
  border-radius: 50%; width: 128px; height: 128px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow); line-height: 1.1; padding: .5rem;
  transform: rotate(-8deg);
}
.intro-badge b { font-family: var(--display); font-size: 2rem; font-weight: 600; }
.intro-badge small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .2rem; }

/* Statistiche a nastro */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.stat { text-align: left; }
.stat b { font-family: var(--display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 500; color: var(--sea); display: block; line-height: 1; }
.stat span { display: block; margin-top: .5rem; font-size: .9rem; color: var(--deep); font-weight: 600; }

/* --------------------------------------------------------- Card appartamenti */
.apts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.4rem); }
.apt-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 460px; display: flex; align-items: flex-end; color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.apt-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.apt-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(8,50,60,0) 30%, rgba(8,50,60,.85)); }
.apt-card:hover img { transform: scale(1.06); }
.apt-card__body { padding: 2rem; width: 100%; }
.apt-card__tag { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--sun); }
.apt-card h3 { color: #fff; font-size: 2rem; margin-top: .3rem; }
.apt-card p { color: rgba(255,255,255,.9); margin-top: .5rem; font-size: .98rem; }
.apt-card__meta { display: flex; gap: 1.2rem; margin-top: 1rem; font-size: .85rem; font-weight: 600; }
.apt-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.apt-card__link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem; font-weight: 700; }
.apt-card__link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.apt-card:hover .apt-card__link svg { transform: translateX(5px); }

/* --------------------------------------------------------- Highlight / servizi */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.8rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.feature .ic { font-size: 1.9rem; line-height: 1; }
.feature h3 { font-size: 1.2rem; margin-top: .9rem; }
.feature p { font-size: .95rem; color: var(--deep); margin-top: .5rem; }

.section--ink .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section--ink .feature p { color: rgba(234,244,242,.78); }

/* Griglia stanze (emoji) */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.room {
  border-radius: var(--radius); padding: 1.6rem;
  background: var(--foam-soft); border: 1px solid var(--line-soft);
}
.room .ic { font-size: 1.7rem; }
.room h3 { font-size: 1.15rem; margin-top: .7rem; }
.room p { font-size: .92rem; color: var(--deep); margin-top: .4rem; }

/* Checklist servizi */
.checklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem 1.6rem; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; font-size: .96rem; }
.checklist li svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; color: var(--sea); }
.outdoor { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
.outdoor li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; }
.outdoor li .ic { font-size: 1.3rem; line-height: 1.4; }

/* Nota acqua */
.note {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(235,161,60,.1); border: 1px solid rgba(235,161,60,.4);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; font-size: .95rem;
  color: var(--ink);
}
.note svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--sun); margin-top: 2px; }
.note b { color: var(--bougain); }

/* ------------------------------------------------------------------ Galleria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; position: relative; background: var(--foam); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure::after {
  content: "＋"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.6rem; color: #fff; background: rgba(8,50,60,.28);
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery figure:hover::after { opacity: 1; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,30,36,.95);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px;
  border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem;
  transition: background .25s var(--ease); backdrop-filter: blur(4px);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__nav.prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: .85rem; letter-spacing: .1em; }

/* ---------------------------------------------------------------- Tariffe */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.price-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: #fff; }
.price-table__head { background: var(--ink); color: #fff; padding: 1.3rem 1.6rem; display: flex; justify-content: space-between; align-items: center; }
.price-table__head h3 { color: #fff; font-size: 1.35rem; }
.price-table__head span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); font-weight: 700; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.6rem; border-top: 1px solid var(--line-soft); gap: 1rem; }
.price-row:first-of-type { border-top: none; }
.price-row .period { font-weight: 600; }
.price-row .amount { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--sea-dark); white-space: nowrap; }
.price-row.peak { background: rgba(220,75,110,.06); }
.price-row.peak .amount { color: var(--bougain); }
.price-row.peak .tagpeak { font-size: .62rem; background: var(--bougain); color:#fff; padding: .15rem .5rem; border-radius: 999px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-left: .5rem; }

.incl-card { background: var(--foam-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.incl-card h3 { font-size: 1.2rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.incl-card + .incl-card { margin-top: 1.4rem; }
.incl-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; font-size: .95rem; }
.incl-list li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.incl-list.yes li svg { color: var(--sea); }
.incl-list.no li svg { color: var(--bougain); }
.incl-list .cost { margin-left: auto; font-weight: 700; color: var(--ink); }

.conditions { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.conditions h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.conditions p + p { margin-top: .7rem; }
.conditions p { font-size: .96rem; color: var(--deep); }
.checkin { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.2rem 0; }
.checkin > div { flex: 1; min-width: 150px; background: var(--foam-soft); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.checkin b { font-family: var(--display); font-size: 1.3rem; display: block; color: var(--sea-dark); }
.checkin span { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.checkin span.plain { font-size: inherit; letter-spacing: normal; text-transform: none; font-weight: 400; opacity: 1; }

/* Booking mock */
.booking-notice {
  display: flex; gap: .9rem; align-items: center; background: var(--ink); color: var(--foam);
  border-radius: var(--radius); padding: 1.1rem 1.4rem; font-size: .92rem; margin-bottom: 2rem;
}
.booking-notice svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--sun); }
.booking-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-soft); }
.calendar-mock { background: var(--foam-soft); border-radius: var(--radius); padding: 1.5rem; }
.calendar-mock__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.calendar-mock__top b { font-family: var(--display); font-size: 1.2rem; }
.calendar-mock__nav { display: flex; gap: .4rem; }
.calendar-mock__nav button { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-soft); display: grid; place-items: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--deep); opacity: .6; padding-bottom: .3rem; }
.cal-cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; font-size: .85rem; font-weight: 600; background: #fff; color: var(--ink); }
.cal-cell.empty { background: transparent; }
.cal-cell.busy { background: rgba(220,75,110,.16); color: var(--bougain-dk); text-decoration: line-through; }
.cal-cell.free { background: rgba(21,154,160,.12); color: var(--sea-dark); cursor: pointer; }
.cal-legend { display: flex; gap: 1.2rem; margin-top: 1rem; font-size: .8rem; }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.form-mock { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  color: var(--ink); transition: border .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(21,154,160,.15); }
.form-note { grid-column: 1/-1; font-size: .82rem; color: var(--deep); opacity: .8; }

/* --------------------------------------------------------------- Dintorni data */
.distances { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.dist-group h3 { font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; color: var(--sea-dark); }
.dist-group h3 .ic { font-size: 1.3rem; }
.dist-row { display: flex; align-items: baseline; gap: .8rem; padding: .55rem 0; border-bottom: 1px dotted var(--line); }
.dist-row .place { font-weight: 600; }
.dist-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.dist-row .km { font-family: var(--display); font-weight: 500; color: var(--ink); white-space: nowrap; }

/* Chips (in zona) */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.1rem; font-weight: 600; font-size: .95rem; transition: transform .3s var(--ease), border .3s; }
.chip:hover { transform: translateY(-3px); border-color: var(--sea); }
.chip .ic { font-size: 1.1rem; }

/* Video */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.video-card { border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-soft); }
.video-card video { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #000; }
.video-card figcaption { padding: 1rem 1.3rem; color: #fff; font-family: var(--display); font-size: 1.2rem; }

/* --------------------------------------------------------------- Contatti */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-methods { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.1rem 1.3rem; transition: transform .3s var(--ease), box-shadow .3s; }
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.contact-item .ci-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--foam); display: grid; place-items: center; flex: 0 0 auto; color: var(--sea-dark); }
.contact-item .ci-ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; opacity: .6; }
.contact-item b { font-size: 1.05rem; }
.addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.5rem; }
.addr { background: var(--foam-soft); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.addr small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--sea-dark); }
.addr p { margin-top: .4rem; font-size: .95rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 460px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,50,60,.72), rgba(8,50,60,.8)); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 1rem auto 2rem; }
.cta-band .hero__actions { justify-content: center; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--ink); color: rgba(234,244,242,.72); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer .brand__name, .site-footer h4 { color: #fff; }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer .brand__mark path.fill-ink { fill: #fff; }
.footer-about p { font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; color: #7fd4d1; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: .95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s var(--ease), transform .25s; }
.footer-social a:hover { background: var(--bougain); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; color: #fff; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .8rem; }
.footer-cin { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.footer-cin span b { color: #a9d8d5; font-weight: 700; }

/* ------------------------------------------------------- Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .nav, .nav__cta.desktop-only { display: none; }
  .hamburger { display: flex; }
  .intro-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .apts { grid-template-columns: 1fr; }
  .features, .rooms, .videos, .distances { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .intro-figure { max-width: 480px; margin-inline: auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap, .site-header .wrap { width: min(100% - 2rem, var(--wrap)); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .features, .rooms, .videos, .distances, .addresses, .form-mock, .checkin { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr 1fr; }
  .outdoor { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .intro-badge { width: 104px; height: 104px; left: 50%; transform: translateX(-50%) rotate(-8deg); bottom: -26px; }
  .price-row .amount { font-size: 1.25rem; }
  .hero { min-height: 92svh; }
}
