/* =========================================================
   VILLA CASINELLI — Sito completo
   Design system & componenti condivisi
   Ordine: tokens → reset → layout → header → hero →
   sezioni → componenti → form → lightbox → footer → media
   ========================================================= */

/* ========== 1. TOKENS ========== */
:root {
  /* Colori brand */
  --ivory:        #faf5ec;
  --ivory-2:      #f3ead8;
  --beige:        #e8dcc2;
  --beige-warm:   #d9c8a6;
  --gold:         #b8924a;
  --gold-deep:    #94703a;
  --gold-soft:    #e0c896;
  --brown:        #5a3e25;
  --brown-deep:   #3d2a18;
  --sage:         #7d8f6a;
  --sage-deep:    #5f7150;
  --ink:          #2a1f14;
  --anthracite:   #2c2a26;
  --muted:        #7a6a55;
  --white-warm:   #fffdf8;
  --border:       rgba(184, 146, 74, .22);

  /* Tipografia */
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spaziature (rhythm) */
  --space-1: .375rem;
  --space-2: .75rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-7: 8rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Ombre */
  --shadow-soft: 0 20px 60px -20px rgba(60, 40, 20, .22);
  --shadow-card: 0 30px 80px -30px rgba(60, 40, 20, .32), 0 2px 6px rgba(60,40,20,.05);
  --shadow-hover: 0 40px 90px -30px rgba(60, 40, 20, .4), 0 4px 12px rgba(60,40,20,.08);

  /* Glassmorphism */
  --glass-bg: rgba(250, 245, 236, .72);
  --glass-border: rgba(184, 146, 74, .25);
  --glass-blur: 18px;

  /* Container */
  --container: 1240px;
  --container-narrow: 920px;

  /* Topbar height (per anchor offset) */
  --topbar-h: 120px;
}

/* ========== 2. RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--topbar-h); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--anthracite);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
svg { max-width: 100%; height: auto; flex-shrink: 0; }
a { color: var(--gold-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brown); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }

.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

/* ========== 3. LAYOUT ========== */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow { max-width: var(--container-narrow); }

/* Ornamenti decorativi */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: .9rem; color: var(--gold);
  margin: var(--space-3) auto;
  width: fit-content;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: clamp(40px, 8vw, 90px);
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.ornament svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Tipografia comune */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: var(--space-2);
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--brown-deep); margin: 0; }
h1 { font-weight: 600; font-size: clamp(2.5rem, 6.5vw, 4.8rem); line-height: 1.05; letter-spacing: .01em; }
h2 { font-weight: 500; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.15; letter-spacing: .01em; margin-bottom: var(--space-3); }
h3 { font-weight: 600; font-size: clamp(1.4rem, 2.3vw, 1.8rem); line-height: 1.25; letter-spacing: .015em; }
h4 { font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin: 0; }

/* Sezioni */
section { position: relative; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-light { background: var(--ivory); }
.section-warm { background: linear-gradient(180deg, var(--ivory-2) 0%, var(--ivory) 100%); }
.section-cream { background: var(--white-warm); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-5); }

/* ========== 4. UTILITY BAR (contatti + social) ========== */
.utility-bar {
  position: sticky; top: 0; left: 0; right: 0; z-index: 70;
  background: var(--brown-deep);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: .78rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(184, 146, 74, .15);
}
.utility-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.utility-contacts {
  display: flex; gap: 1.6rem; align-items: center;
  flex-wrap: wrap;
}
.utility-contacts a {
  color: var(--ivory);
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s ease;
}
.utility-contacts a:hover { color: var(--gold-soft); }
.utility-contacts svg { width: 14px; height: 14px; opacity: .85; flex-shrink: 0; }
.utility-contacts .utility-wa { color: #25D366; font-weight: 600; }
.utility-contacts .utility-wa svg { opacity: 1; }
.utility-contacts .utility-wa:hover { color: #4ee37b; }
.utility-social {
  display: flex; gap: .25rem; align-items: center;
  flex-shrink: 0;
}
.utility-social a {
  color: var(--ivory);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.utility-social a:hover {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}
.utility-social svg { width: 15px; height: 15px; }

/* ========== 4b. HEADER / TOPBAR ========== */
.topbar {
  position: sticky; top: 0; left: 0; right: 0; z-index: 80;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(250, 245, 236, .65);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border-bottom: 1px solid rgba(184, 146, 74, .15);
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
}
.topbar.scrolled {
  padding: .45rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(250, 245, 236, .94);
  box-shadow: 0 6px 20px -10px rgba(60, 40, 20, .15);
}

/* Variante trasparente per home hero */
.topbar.transparent {
  background: linear-gradient(180deg, rgba(58, 40, 22, .35) 0%, transparent 100%);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.topbar.transparent .nav-link { color: var(--ivory); }
.topbar.transparent .nav-link::after { background: var(--gold-soft); }
.topbar.transparent .topbar-cta { color: var(--ivory); border-color: rgba(255,255,255,.5); }
.topbar.transparent .topbar-cta:hover { background: rgba(255,255,255,.95); color: var(--brown-deep); }
.topbar.transparent .hamburger span { background: var(--ivory); }
.topbar.transparent.scrolled {
  background: rgba(250, 245, 236, .94);
}
.topbar.transparent.scrolled .nav-link { color: var(--brown-deep); }
.topbar.transparent.scrolled .nav-link::after { background: var(--gold); }
.topbar.transparent.scrolled .topbar-cta { color: var(--brown-deep); border-color: var(--gold); }
.topbar.transparent.scrolled .hamburger span { background: var(--brown-deep); }

.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  transition: opacity .25s ease;
  flex-shrink: 0;
}
.brand:hover { opacity: .8; }
.brand img {
  height: 110px; width: auto; display: block;
  transition: height .3s ease;
}
.topbar.scrolled .brand img { height: 78px; }

/* Nav desktop */
.nav-primary {
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem);
  margin-left: auto;
  margin-right: 1.25rem;
}
.nav-link {
  position: relative;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--brown-deep);
  padding: .5rem 0;
  transition: color .25s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .3s ease;
}
.nav-link:hover { color: var(--gold-deep); }
.nav-link:hover::after, .nav-link.is-current::after { right: 0; }
.nav-link.is-current { color: var(--gold-deep); }

.topbar-social {
  display: flex; align-items: center; gap: .35rem;
  margin-right: .65rem;
}
.topbar-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brown-deep);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.topbar-social a:hover {
  background: var(--gold);
  color: var(--ivory);
  transform: translateY(-1px);
}
.topbar-social svg { width: 17px; height: 17px; }
.topbar.transparent .topbar-social a { color: var(--ivory); }
.topbar.transparent.scrolled .topbar-social a { color: var(--brown-deep); }

.topbar-cta {
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-deep);
  padding: .6rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  background: transparent;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
}

/* Pulsante PRENOTA — stile Booking.com */
.topbar-book {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #ffffff;
  padding: .75rem 1.4rem;
  border-radius: 6px;
  background: #003580;
  text-decoration: none;
  white-space: nowrap;
  margin-right: .5rem;
  box-shadow: 0 4px 12px -4px rgba(0, 53, 128, .45);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.topbar-book:hover {
  background: #0050a8;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -4px rgba(0, 53, 128, .55);
  color: #ffffff;
}
.topbar-book svg { width: 14px; height: 14px; }
.mobile-menu a.topbar-book {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 1rem 2.2rem;
  margin: var(--space-2) 0 0;
  color: #ffffff;
  background: #003580;
  border-radius: 6px;
}
.mobile-menu a.topbar-book:hover {
  color: #ffffff;
  background: #0050a8;
}
.mobile-menu a.topbar-cta {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  color: var(--brown-deep);
}

/* Pulsante PRENOTA grande (hero/CTA) */
.btn-booking {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 1.1rem 2.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #003580;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(0, 53, 128, .55);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn-booking:hover {
  background: #0050a8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(0, 53, 128, .7);
}
.btn-booking .arrow { transition: transform .25s ease; }
.btn-booking:hover .arrow { transform: translateX(4px); }
.topbar-cta:hover {
  background: var(--gold); color: var(--ivory);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: none; cursor: pointer;
  z-index: 100;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--brown-deep); margin: 5px auto;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu fullscreen */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ivory);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-3);
  padding: var(--space-7) var(--space-4) var(--space-5);
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 500;
  color: var(--brown-deep);
  text-decoration: none;
  letter-spacing: .03em;
  padding: .25rem 0;
}
.mobile-menu a.is-current { color: var(--gold-deep); }
.mobile-menu a:hover { color: var(--gold-deep); }
.mobile-menu .ornament { margin-block: var(--space-2); }
.mobile-menu .topbar-cta { font-size: .9rem; padding: .85rem 2rem; margin-top: var(--space-3); }

/* ========== 5. HERO ========== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--topbar-h));
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: var(--space-6) clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
  color: var(--ivory);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    var(--hero-img, none) center 35% / cover no-repeat,
    linear-gradient(135deg, #6b5840 0%, #3d2a18 50%, #5f7150 100%);
  transform: scale(1.04);
  animation: kenBurns 24s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.12) translateY(-10px); }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(250,245,236,.06) 0%, rgba(58,40,22,.5) 70%),
    linear-gradient(180deg, rgba(58,40,22,.35) 0%, rgba(58,40,22,.55) 70%, rgba(58,40,22,.75) 100%);
}
/* Quando hero-img non viene fornita: pattern decorativo */
.hero-bg.no-image {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(184,146,74,.25), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(125,143,106,.25), transparent 55%),
    linear-gradient(135deg, #3d2a18 0%, #5a3e25 60%, #2c2a26 100%);
}
.hero-bg.no-image::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><circle cx='40' cy='40' r='1' fill='%23e0c896' opacity='.18'/></svg>");
  background-size: 80px 80px;
}

.hero-inner {
  width: 100%; max-width: 940px;
  text-align: center;
  animation: fadeUp 1.3s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold-soft);
  padding: .55rem 1.4rem;
  border: 1px solid rgba(224, 200, 150, .45);
  border-radius: var(--radius-pill);
  background: rgba(58, 40, 22, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: var(--space-4);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 200, 150, .6); }
  50%      { box-shadow: 0 0 0 10px rgba(224, 200, 150, 0); }
}

.hero h1 {
  color: var(--ivory);
  font-size: clamp(3rem, 8.5vw, 6rem);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.hero h1 .first {
  display: block; font-size: .42em; font-weight: 500; letter-spacing: .3em;
  color: var(--gold-soft); text-transform: uppercase; margin-bottom: .55em;
}
.hero-sub {
  font-family: var(--sans); font-size: clamp(.78rem, 1.1vw, .9rem); font-weight: 500;
  letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: var(--space-2);
}
.hero-claim {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.45; color: var(--ivory);
  margin: var(--space-4) auto var(--space-3);
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero-lead {
  max-width: 620px; margin: 0 auto var(--space-4);
  color: rgba(250, 245, 236, .88);
  font-size: 1.02rem; line-height: 1.7;
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: var(--space-3);
}

/* Variante "page hero" — pagine interne, ridotto e luminoso */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: grid; place-items: center;
  padding: var(--space-6) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(184,146,74,.10), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(125,143,106,.10), transparent 55%),
    linear-gradient(180deg, var(--ivory-2) 0%, var(--ivory) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><circle cx='40' cy='40' r='1' fill='%23b8924a' opacity='.15'/></svg>");
  background-size: 80px 80px;
}
.page-hero-inner { position: relative; max-width: 820px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: var(--space-3); }
.page-hero .sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--sage-deep); margin-bottom: var(--space-3);
}
.page-hero .lead { max-width: 640px; margin: 0 auto; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: var(--gold-soft);
  font-family: var(--sans); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: .85; z-index: 2; text-decoration: none;
}
.scroll-cue .line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, var(--gold-soft));
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop {
  0%   { transform: scaleY(.2); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(.2); transform-origin: bottom; }
}

/* ========== 6. BREADCRUMB ========== */
.breadcrumb {
  font-family: var(--sans); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li::after { content: "·"; margin-left: .5rem; color: var(--gold); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb [aria-current] { color: var(--brown-deep); font-weight: 500; }

/* ========== 7. BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ivory);
  box-shadow: 0 14px 32px -8px rgba(148, 112, 58, .55), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px -10px rgba(148, 112, 58, .7);
  color: var(--ivory);
}
.btn-ghost {
  background: transparent; color: var(--brown-deep);
  border-color: rgba(90, 62, 37, .35);
}
.btn-ghost:hover {
  background: rgba(90, 62, 37, .06);
  border-color: var(--brown); color: var(--brown);
}
.btn-ghost-light {
  background: rgba(250, 245, 236, .08);
  color: var(--ivory);
  border-color: rgba(250, 245, 236, .45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: rgba(250, 245, 236, .15); border-color: var(--ivory); color: var(--ivory);
}
.btn-outline-gold {
  background: transparent; color: var(--gold-deep);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--ivory); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: .7rem 1.4rem; font-size: .8rem; }

/* ========== 8. INTRO / FEATURES ========== */
.intro {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1080px; margin: 0 auto;
}
.feature {
  text-align: center; padding: clamp(1.5rem, 2.5vw, 2rem);
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}
.feature-icon {
  flex: 0 0 64px;
  width: 64px; height: 64px; min-width: 64px; min-height: 64px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--ivory);
  display: grid; place-items: center;
  box-shadow: 0 10px 22px -8px rgba(184, 146, 74, .5);
}
.feature-icon svg {
  width: 28px !important; height: 28px !important;
  flex-shrink: 0; display: block;
}
.feature h3 { margin-bottom: var(--space-2); font-size: 1.3rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; line-height: 1.65; }

/* ========== 9. OPENING (Inaugurazione) ========== */
.opening {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(184, 146, 74, .08), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(125, 143, 106, .08), transparent 50%),
    var(--ivory);
}
.opening-card {
  position: relative; margin: 0 auto; max-width: 920px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
}
.opening-card::before, .opening-card::after {
  content: ""; position: absolute; width: 90px; height: 90px;
  border: 1px solid var(--gold); opacity: .55;
}
.opening-card::before { top: 18px; left: 18px; border-right: none; border-bottom: none; border-top-left-radius: 14px; }
.opening-card::after  { bottom: 18px; right: 18px; border-left: none; border-top: none; border-bottom-right-radius: 14px; }
.opening-eyebrow {
  font-family: var(--sans); font-size: .75rem; font-weight: 500;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--sage-deep);
}
.opening-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08; color: var(--brown-deep);
  margin: var(--space-3) 0 var(--space-4); letter-spacing: .015em;
}
.date-block {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: var(--space-4) 0; flex-wrap: wrap;
}
.date-num {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(4rem, 12vw, 7rem); line-height: 1;
  color: var(--gold-deep); position: relative;
}
.date-num::after {
  content: ""; position: absolute; bottom: -.4rem; left: 50%;
  transform: translateX(-50%); width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.date-meta { text-align: left; font-family: var(--serif); }
.date-meta .month {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600;
  color: var(--brown-deep); line-height: 1.1; letter-spacing: .05em;
}
.date-meta .day {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--sage-deep);
  font-style: italic; margin-top: .3rem;
}
.date-meta .time {
  margin-top: .8rem; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .85rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brown-deep);
  padding: .5rem 1rem; border-radius: var(--radius-pill);
  background: rgba(184, 146, 74, .12); border: 1px solid rgba(184, 146, 74, .25);
}
.venue { margin-top: var(--space-3); font-family: var(--serif); font-size: 1.15rem; color: var(--brown-deep); }
.venue strong { font-weight: 600; font-size: 1.3rem; }
.venue address {
  font-style: normal; font-family: var(--sans); font-size: .92rem;
  color: var(--muted); margin-top: .35rem;
}
.opening-msg {
  margin: var(--space-4) auto 0; max-width: 540px;
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; line-height: 1.6; color: var(--brown);
}

/* ========== 10. ALTERNATING TEXT/IMAGE ========== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split .col-text { padding-block: var(--space-4); }
.split .col-text p { color: var(--muted); margin: var(--space-3) 0; }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split-img {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.split-img:hover img { transform: scale(1.04); }

/* Photo placeholder elegante (per quando non c'è immagine) */
.photo-placeholder {
  position: relative;
  background:
    linear-gradient(135deg, var(--beige) 0%, var(--beige-warm) 50%, var(--gold-soft) 100%);
  display: grid; place-items: center;
  color: var(--gold-deep);
  text-align: center;
  overflow: hidden;
}
.photo-placeholder::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><circle cx='30' cy='30' r='1' fill='%23b8924a' opacity='.25'/></svg>");
  background-size: 60px 60px;
}
.photo-placeholder::after {
  content: ""; position: absolute; inset: 16px;
  border: 1px solid rgba(148, 112, 58, .45);
  border-radius: 8px;
  pointer-events: none;
}
.photo-placeholder-inner {
  position: relative; z-index: 1; padding: var(--space-3);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
}
.photo-placeholder-inner svg {
  width: 48px; height: 48px;
  color: var(--gold-deep); opacity: .55;
}
.photo-placeholder-inner span {
  font-family: var(--sans); font-size: .68rem; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold-deep); opacity: .8;
}

/* ========== 11. ROOM CARDS ========== */
.rooms-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.room-card {
  position: relative;
  background: var(--white-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  text-decoration: none; color: inherit;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
  color: inherit;
}
.room-card-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--beige);
}
.room-card-media img,
.room-card-media .photo-placeholder {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.room-card:hover .room-card-media img { transform: scale(1.06); }
.room-card-body { padding: clamp(1.5rem, 2.5vw, 2.2rem); flex: 1; display: flex; flex-direction: column; }
.room-card-body h3 { margin-bottom: var(--space-2); }
.room-card-body .desc { color: var(--muted); margin: 0 0 var(--space-3); flex: 1; }
.room-card-services {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0 0 var(--space-3); padding: 0; list-style: none;
}
.room-card-services li {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage-deep);
  padding: .35rem .7rem; border-radius: var(--radius-pill);
  background: rgba(125, 143, 106, .1);
  border: 1px solid rgba(125, 143, 106, .25);
}
.room-card .more {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: auto;
}
.room-card .more svg { width: 16px; height: 16px; transition: transform .3s ease; }
.room-card:hover .more svg { transform: translateX(4px); }

/* ========== 12. SERVICES (Camera detail) ========== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; max-width: 900px; margin: 0 auto;
}
.service {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.service:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(255,255,255,.85); }
.service svg { width: 26px; height: 26px; color: var(--gold-deep); flex-shrink: 0; }
.service span { font-weight: 500; color: var(--brown-deep); font-size: .95rem; }

/* ========== 13. GALLERY ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.5rem, 1.2vw, 1rem);
}
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: var(--beige);
  border: 0; padding: 0;
}
.gallery-item img,
.gallery-item .photo-placeholder {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(58,40,22,.5) 100%);
  opacity: 0; transition: opacity .35s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .caption {
  position: absolute; left: 1rem; right: 1rem; bottom: .8rem;
  font-family: var(--serif); font-style: italic; color: var(--ivory);
  font-size: .92rem; opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  transform: translateY(10px); z-index: 2;
}
.gallery-item:hover .caption { opacity: 1; transform: translateY(0); }
.gallery-item.tall { aspect-ratio: 3 / 4; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16 / 10; }

/* ========== 14. LIGHTBOX ========== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 14, 8, .92);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; transition: opacity .3s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox-img {
  max-width: 92vw; max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
  animation: zoomIn .35s cubic-bezier(.2, .7, .2, 1);
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  background: rgba(250, 245, 236, .1);
  border: 1px solid rgba(250, 245, 236, .3);
  color: var(--ivory);
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(250, 245, 236, .2); transform: scale(1.05);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-family: var(--sans); font-size: .82rem; letter-spacing: .25em;
  color: var(--gold-soft); text-transform: uppercase;
}

/* ========== 15. TERRITORY ========== */
.attractions {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.8rem);
}
.attraction {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--white-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display: flex; flex-direction: column;
}
.attraction:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}
.attraction-num {
  position: absolute; top: 1rem; right: 1.2rem;
  font-family: var(--serif); font-weight: 600;
  font-size: 2.5rem; color: var(--gold);
  opacity: .25; line-height: 1;
}
.attraction h3 { color: var(--brown-deep); margin-bottom: var(--space-2); font-size: 1.25rem; }
.attraction .meta {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: var(--space-2);
  display: inline-flex; align-items: center; gap: .4rem;
}
.attraction .meta svg { width: 14px; height: 14px; }
.attraction p { color: var(--muted); margin: 0; font-size: .96rem; line-height: 1.65; }

/* ========== 16. CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.contact-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.4) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  text-decoration: none; color: inherit;
}
.contact-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card);
  border-color: var(--gold); color: inherit;
}
.contact-icon {
  flex: 0 0 56px;
  width: 56px; height: 56px; min-width: 56px; min-height: 56px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  display: grid; place-items: center; color: var(--ivory);
  box-shadow: 0 8px 18px -6px rgba(184, 146, 74, .5);
}
.contact-icon svg {
  width: 24px !important; height: 24px !important;
  flex-shrink: 0; display: block;
}
.contact-card h3 {
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 var(--space-2);
}
.contact-card .value {
  font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600; color: var(--brown-deep); line-height: 1.35;
}
.contact-card .small {
  font-family: var(--sans); font-size: .85rem; color: var(--muted);
  margin-top: .4rem; line-height: 1.55;
}

/* ========== 17. CONTACT FORM ========== */
.form-shell {
  max-width: 720px; margin: var(--space-5) auto 0;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--white-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.form-row {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brown-deep);
}
.form-field label .req { color: var(--gold-deep); }
.form-field input,
.form-field textarea {
  font-family: var(--sans); font-size: 1rem;
  padding: .85rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--anthracite);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white-warm);
  box-shadow: 0 0 0 4px rgba(184, 146, 74, .12);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-honey { position: absolute; left: -9999px; }
.form-check {
  display: flex; align-items: flex-start; gap: .7rem;
  margin: 1rem 0 1.5rem;
  font-family: var(--sans); font-size: .88rem; color: var(--muted); line-height: 1.5;
}
.form-check input { margin-top: .25rem; accent-color: var(--gold); }
.form-check a { color: var(--gold-deep); text-decoration: underline; }
.form-submit { display: flex; justify-content: center; }
.form-msg {
  display: none;
  padding: 1rem 1.25rem; margin-top: 1rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
}
.form-msg.success { display: block; background: rgba(125, 143, 106, .12); color: var(--sage-deep); border: 1px solid rgba(125, 143, 106, .3); }
.form-msg.error   { display: block; background: rgba(184, 80, 50, .1); color: #8b3a25; border: 1px solid rgba(184, 80, 50, .3); }

/* ========== 18. IDS / COMPLIANCE STRIP ========== */
.ids {
  margin-top: var(--space-5);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-3) var(--space-5);
  font-family: var(--sans); font-size: .78rem;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
}
.ids span strong { color: var(--brown-deep); font-weight: 600; letter-spacing: .1em; }

/* ========== 19. FOOTER ========== */
footer {
  background: var(--brown-deep);
  color: var(--ivory);
  padding: var(--space-6) 0 var(--space-3);
  position: relative; overflow: hidden;
}
footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><circle cx='60' cy='60' r='1' fill='%23b8924a' opacity='.15'/></svg>");
  background-size: 120px 120px; opacity: .55;
}
footer > * { position: relative; }
.footer-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1.5fr 1fr 1fr;
  padding-bottom: var(--space-5);
}
.footer-brand img { height: 90px; width: auto; margin-bottom: var(--space-3); filter: brightness(0) invert(1) sepia(.2); }
.footer-brand .tagline {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; color: rgba(250, 245, 236, .85);
  max-width: 360px; line-height: 1.55;
}
.footer-social {
  display: flex; gap: .65rem;
  margin-top: var(--space-3);
}
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(224, 200, 150, .3);
  display: grid; place-items: center;
  color: var(--gold-soft);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ivory);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 {
  color: var(--gold-soft);
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a {
  color: rgba(250, 245, 236, .82);
  font-size: .95rem;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-col address {
  font-style: normal; color: rgba(250, 245, 236, .82);
  font-size: .95rem; line-height: 1.7;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 1rem;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(184, 146, 74, .25);
}
.footer-bottom p {
  font-family: var(--sans); font-size: .78rem;
  color: rgba(250, 245, 236, .55);
  letter-spacing: .12em; margin: 0;
}

/* ========== 19b. WHATSAPP FAB ========== */
.whatsapp-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 95;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: grid; place-items: center;
  text-decoration: none;
  box-shadow: 0 10px 26px -4px rgba(37, 211, 102, .55), 0 4px 8px rgba(0,0,0,.15);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-fab:hover {
  background: #1ebe5b;
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 16px 34px -4px rgba(37, 211, 102, .7);
  animation-play-state: paused;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px -4px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .5); }
  50%      { box-shadow: 0 10px 26px -4px rgba(37, 211, 102, .55), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .whatsapp-fab { width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* ========== 20. REVEAL ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ========== 21. RESPONSIVE ========== */
@media (max-width: 980px) {
  .nav-primary, .topbar-cta, .topbar-social, .topbar > .topbar-book { display: none; }
  .hamburger { display: block; }
  .intro { grid-template-columns: 1fr; max-width: 480px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse > :first-child { order: initial; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --topbar-h: 100px; }
  .topbar { padding: .55rem 1rem; }
  .brand img { height: 78px; }
  .topbar.scrolled .brand img { height: 62px; }
  .hero { padding: var(--space-5) 1.25rem; }
  .page-hero { padding: var(--space-5) 1.25rem; min-height: 30vh; }
  .utility-contacts a:not(.utility-phone):not(.utility-wa) { display: none; }
  .utility-contacts { gap: .9rem; }
  .utility-contacts a span,
  .utility-contacts a { font-size: .72rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 340px; margin-inline: auto; }
  .hero-actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .date-block { gap: 1rem; }
  .date-meta { text-align: center; }
  .scroll-cue { display: none; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .mobile-menu, .scroll-cue, .hamburger, .hero-actions { display: none !important; }
  .hero, .page-hero { min-height: auto; color: var(--ink); padding: 2rem 0; }
  .hero-bg { display: none; }
  body { background: white; color: black; }
  footer { background: white; color: black; }
}
