/* ==========================================================================
   Sole Luna — Casa Storica San Sperate
   Palette dal logo: crema di calce (60%), inchiostro bruno + notte (30%),
   terracotta solo per le azioni (10%). Font self-hosted: nessuna richiesta a terzi.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/fraunces.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* palette brand */
  --brand: #A4472A;        /* terracotta della casa nel logo — SOLO CTA e link */
  --brand-dark: #85371F;
  --sun: #D9973A;          /* ocra del sole — dettagli decorativi */
  --night: #24384F;        /* blu notte della luna */
  --olive: #6B7444;        /* verde macchia mediterranea */
  --ink: #2B2420;
  --text: #3F3631;
  --muted: #6E625A;
  --bg: #FBF7F0;
  --bg-alt: #F3EADC;
  --line: #E4D8C6;
  --on-dark: #F6EFE3;
  --on-dark-muted: #CDBFAE;
  /* tipografia */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* sistema */
  --shadow-sm: 0 2px 8px rgba(43, 36, 32, .06);
  --shadow-md: 0 10px 30px rgba(43, 36, 32, .10);
  --shadow-lg: 0 24px 60px rgba(43, 36, 32, .18);
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1200px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: var(--on-dark); }

/* ---------- utility ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sun); border-radius: 2px; }
.section-dark .eyebrow { color: var(--sun); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-dark .lead { color: var(--on-dark-muted); }

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }
.section-dark .btn-outline, .cta-banner .btn-outline { border-color: var(--on-dark); color: var(--on-dark); }
.section-dark .btn-outline:hover, .cta-banner .btn-outline:hover { background: var(--on-dark); color: var(--ink); }
.btn-wa { background: #1F7A4D; color: #fff; }
.btn-wa:hover { background: #17603C; color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251, 247, 240, .9);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header.has-menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav-brand img { width: 62px; height: auto; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-text strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; }
.nav-brand-text span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-menu a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-menu a[aria-current="page"] { color: var(--brand); }
.nav-menu .nav-cta { margin-left: 10px; }
.nav-menu .nav-cta .btn { padding: 11px 22px; color: #fff; }
.nav-menu .nav-cta .btn:hover { background: var(--brand-dark); }

/* menu mobile — da templates/menu.css */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; position: relative; z-index: 95; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89;
    background: rgba(43, 36, 32, .5); border: 0; padding: 0; cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: opacity .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; z-index: 94;
    width: min(86vw, 360px); background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 100px 26px 40px;
    box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-menu .nav-cta { margin: 14px 0 0; }
  .nav-menu .nav-cta .btn { width: 100%; padding: 14px 22px; }
}

/* ---------- hero home ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 151, 58, .22), rgba(217, 151, 58, 0) 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .95rem; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--olive); flex: none; }
.hero-mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1; }
.hero-mosaic figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-mosaic figure:first-child { grid-row: span 2; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -26px; bottom: -26px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--bg); padding: 8px; box-shadow: var(--shadow-md);
}
.hero-visual { position: relative; }

/* ---------- page hero (interne) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); background: var(--bg-alt); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -200px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 56, 79, .10), rgba(36, 56, 79, 0) 70%); pointer-events: none;
}
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- card / feature ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card p:last-child { margin-bottom: 0; }
.icon-circle {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--brand); margin-bottom: 20px;
}
.icon-circle svg { width: 26px; height: 26px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.split-media .media-small {
  position: absolute; width: 42%; right: -18px; bottom: -28px; border: 6px solid var(--bg); aspect-ratio: 1 / 1;
}
.section-alt .split-media .media-small { border-color: var(--bg-alt); }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- soggiorni ---------- */
.stay-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.stay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stay-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stay-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.stay-card-body .tag { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; }
.stay-card-body p { color: var(--muted); }
.stay-card-body .link-arrow { margin-top: auto; }

.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.amenities li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.amenities svg { width: 28px; height: 28px; color: var(--brand); }
.amenities strong { font-family: var(--font-display); color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.amenities span { font-size: .93rem; color: var(--muted); line-height: 1.5; }

/* ---------- galleria ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.gallery-filter button {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 18px;
  font: 500 .95rem var(--font-body); cursor: pointer;
}
.gallery-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--bg-alt); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery .is-hidden { display: none; }
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-strip img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(20, 16, 14, .94);
  display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; border-radius: 10px; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: var(--on-dark-muted); margin-top: 12px; font-size: .95rem; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%;
  width: 50px; height: 50px; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- borgo / mosaico luoghi ---------- */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: place; }
.place { position: relative; }
.place img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 18px; }
.place h3 { display: flex; gap: 10px; align-items: baseline; }
.place h3::before { counter-increment: place; content: "0" counter(place); font-size: .9rem; color: var(--sun); font-family: var(--font-body); font-weight: 700; }
.place p { color: var(--muted); margin: 0; }
.section-dark .place p { color: var(--on-dark-muted); }

/* ---------- quote ---------- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.4; color: var(--on-dark); font-weight: 500; }
.quote p { margin-top: 22px; color: var(--sun); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }

/* ---------- blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand); }
.post-card .link-arrow { margin-top: auto; }

.article { max-width: 760px; margin: 0 auto; }
.article-cover { border-radius: var(--radius-lg); margin: 0 0 40px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: var(--shadow-md); }
.article h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.article h3 { margin-top: 1.4em; }
.article .answer {
  background: var(--bg-alt); border-left: 4px solid var(--sun); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin-bottom: 32px; font-size: 1.08rem; color: var(--ink);
}
.article figure { margin: 36px 0; }
.article figure img { border-radius: var(--radius); width: 100%; }
.article figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; text-align: center; }
.article-cta { background: var(--ink); color: var(--on-dark-muted); border-radius: var(--radius-lg); padding: 36px; margin-top: 48px; }
.article-cta h2 { color: var(--on-dark); margin-top: 0; font-size: 1.7rem; }
.faq { margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--night); color: var(--on-dark-muted); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-banner::after {
  content: ""; position: absolute; right: 40px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  box-shadow: -34px 24px 0 0 rgba(246, 239, 227, .07); pointer-events: none;
}
.cta-banner h2 { color: var(--on-dark); margin-bottom: 12px; }
.cta-banner p { margin: 0; max-width: 56ch; }
.cta-banner .hero-cta { margin: 0; position: relative; z-index: 1; }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .icon-circle { margin: 0; width: 48px; height: 48px; flex: none; }
.contact-list .icon-circle svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.08rem; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .93rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(164, 71, 42, .15); }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 6px 0 22px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-status { margin: 14px 0 0; font-size: .95rem; color: var(--olive); min-height: 1.5em; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.map-link { display: block; border-radius: var(--radius-lg); overflow: hidden; position: relative; text-decoration: none; }
.map-link img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.map-link span { position: absolute; left: 16px; bottom: 16px; background: var(--bg); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .93rem; box-shadow: var(--shadow-md); }

/* ---------- policy ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 0; font-size: .96rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img { width: 84px; height: auto; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--on-dark); font-weight: 600; display: block; line-height: 1.2; }
.footer-brand span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer h4 { color: var(--on-dark); font-size: 1.1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-cin { display: inline-block; margin-top: 6px; border: 1px solid rgba(246, 239, 227, .2); border-radius: 8px; padding: 6px 12px; font-size: .85rem; }
.footer-bottom { border-top: 1px solid rgba(246, 239, 227, .12); padding: 22px 24px 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 1100px) { .footer-bottom { padding-bottom: 92px; } }

/* ---------- WhatsApp flottante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: #1F7A4D; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-visual { max-width: 560px; }
  .grid-3, .places { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .split-media .media-small { right: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .grid-3, .grid-2, .places, .form-row { grid-template-columns: 1fr; }
  .gallery, .gallery-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-badge { width: 96px; height: 96px; left: -8px; bottom: -18px; }
  .nav-brand img { width: 52px; }
  .nav-brand-text strong { font-size: 1.18rem; }
  .card { padding: 26px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .amenities { grid-template-columns: 1fr; }
  .nav-brand-text span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
