/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.7.2/dist/fonts/geist-sans/Geist-Variable.woff2") format("woff2-variations"),
       url("https://cdn.jsdelivr.net/npm/geist@1.7.2/dist/fonts/geist-sans/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Villa Taipú — Design Tokens
   ========================================================================== */
:root {
  color-scheme: light;

  /* Colors */
  --bg: #F7F2E9;
  --bg-alt: #EFE5D3;
  --surface: #FFFFFF;
  --ink: #1B2B29;
  --ink-soft: #47605C;
  --ink-faint: #7C8F8B;
  --accent: #9C7A4E;      /* bronze / thatch roof */
  --accent-deep: #7A5D38;
  --teal: #1F5C54;        /* ocean deep teal */
  --teal-soft: #2F7266;
  --gold: #B8935F;
  --line: rgba(27, 43, 41, 0.12);
  --line-soft: rgba(27, 43, 41, 0.07);
  --overlay: rgba(15, 22, 21, 0.46);
  --shadow-soft: 0 20px 60px -25px rgba(20, 30, 28, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(20, 30, 28, 0.28);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale (8px rhythm, generous for editorial/boutique feel) */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4rem;
  --sp-8: 6rem;
  --sp-9: 8rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 22px;

  --container: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.25s;
  --dur-mid: 0.6s;
  --dur-slow: 1.1s;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
@media (max-width: 640px) {
  .container { padding: 0 var(--sp-4); }
}

section { position: relative; }

/* ==========================================================================
   Section frames — a delicate double-line "mat" around a section's content:
   one fine solid line plus a dashed line just inside it, for a bit of
   handmade texture instead of a flat single rule. Scoped per section (never
   the whole page) and desktop-only — a first pass to react to.
   ========================================================================== */
.section-frame { position: relative; }
.section-frame::before,
.section-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-color: var(--accent);
}
@media (min-width: 641px) {
  .section-frame::before { inset: -44px -28px; border: 1px solid var(--accent); opacity: 0.38; }
  .section-frame::after { inset: -34px -20px; border: 1px dashed var(--accent); opacity: 0.28; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .section-frame::before { inset: -28px -16px; }
  .section-frame::after { inset: -20px -10px; }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1, .h1 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
h2, .h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
h3, .h3 { font-family: var(--font-display); font-weight: 500; }

.h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 400;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--sp-7);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: var(--sp-3); }
.section-head p { margin-top: var(--sp-4); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  text-align: center;
  touch-action: manipulation;
  min-height: 48px;
  max-width: 100%;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn:disabled:active { transform: none; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--teal); }
.btn-outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-on-dark { background: var(--bg); color: var(--ink); }
.btn-on-dark:hover { background: var(--gold); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   Language toggle visibility
   ========================================================================== */
/* !important is intentional here: this is a global i18n visibility switch
   and must always win over any component's own `display` rule. */
[data-en] { display: none !important; }
html[lang="en"] [data-pt] { display: none !important; }
html[lang="en"] [data-en] { display: revert !important; }

/* ==========================================================================
   Skip link / focus
   ========================================================================== */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  background: var(--ink);
  color: var(--bg);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-3); }

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

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  padding: var(--sp-4) 0;
  transition: padding var(--dur-mid) var(--ease-out);
  /* No filter/backdrop-filter on this element: either would make it the
     containing block for its position:fixed descendant (.nav-links on
     mobile), collapsing that full-screen menu down to the header's own
     height. The blur/tint lives on .site-header-bg instead, which sits
     behind the content and is not an ancestor of .nav-links in effect
     (nav-links is positioned relative to the viewport, unaffected by it). */
}
.site-header .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.site-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled { padding: var(--sp-2) 0; }
.site-header.is-scrolled .site-header-bg { opacity: 1; }

.brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--bg);
  transition: color var(--dur-mid) var(--ease-out);
  display: flex;
  align-items: baseline;
  gap: 0.4em;
}
.site-header.is-scrolled .brand { color: var(--ink); }
.brand .brand-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--bg);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--dur-mid) var(--ease-out);
}
.site-header.is-scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right var(--dur-fast) var(--ease-out);
}
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--bg);
  transition: color var(--dur-mid) var(--ease-out);
}
.site-header.is-scrolled .lang-switch { color: var(--ink); }
.lang-switch button {
  background: none;
  border: none;
  color: inherit;
  opacity: 0.5;
  padding: 0.25rem 0.3rem;
  font: inherit;
  letter-spacing: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  /* Taller (not wider) tap area — the header is too narrow on mobile to
     also widen these without wrapping the brand name onto two lines. */
  .lang-switch button { min-height: 44px; padding: 0.25rem 0.5rem; }
}
.lang-switch button.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.lang-switch .sep { opacity: 0.35; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  color: var(--bg);
  align-items: center;
  justify-content: center;
  transition: color var(--dur-mid) var(--ease-out);
}
.site-header.is-scrolled .nav-toggle { color: var(--ink); }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; align-items: center; gap: var(--sp-6); transform: translateY(-100%); transition: transform var(--dur-mid) var(--ease-out); }
  .nav-links a { color: var(--bg) !important; font-size: 1.4rem; padding: var(--sp-2) var(--sp-4); }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle { display: inline-flex; z-index: 600; }
  body.menu-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,22,21,0.35) 0%, rgba(15,22,21,0.08) 32%, rgba(15,22,21,0.15) 60%, rgba(15,22,21,0.78) 100%);
  z-index: -1;
}
.hero-content {
  position: relative;
  width: 100%;
  padding: 0;
  margin-top: 17vh;
  color: var(--bg);
  display: flex;
  justify-content: center;
}
.hero-text { max-width: 560px; }
.hero-content .eyebrow { color: var(--bg); opacity: 0.92; }
.hero-content .eyebrow::before { background: var(--bg); opacity: 0.7; }
.hero-content h1 { margin-top: var(--sp-3); max-width: 16ch; }
.hero-content .lede { color: rgba(247,242,233,0.86); max-width: 46ch; margin-top: var(--sp-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
@media (max-width: 640px) {
  .hero-content { justify-content: flex-start; }
  .hero-text { max-width: 100%; }
  /* Centered crop, matched to the text sitting a bit below the vertical
     center on narrow screens (desktop keeps its own wider-aspect crop). */
  .hero-media img { object-position: 50% center; }
}

.hero-scroll {
  position: absolute;
  right: var(--sp-5);
  bottom: var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--bg);
  opacity: 0.8;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll .line { width: 1px; height: 46px; background: currentColor; opacity: 0.6; }
@media (max-width: 640px) { .hero-scroll { display: none; } }

/* ==========================================================================
   Stat row
   ========================================================================== */
.stats {
  background: var(--ink);
  color: var(--bg);
  padding: var(--sp-6) 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.stat { text-align: center; padding: var(--sp-2); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: var(--sp-1);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,242,233,0.72);
}
@media (max-width: 720px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-3); }
}

/* ==========================================================================
   Intro / editorial
   ========================================================================== */
.intro { padding: var(--sp-9) 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-8);
  align-items: center;
}
.intro-copy h2 { margin-top: var(--sp-5); }
.intro-copy p:not(.intro-quote) { margin-top: var(--sp-5); }
.intro-copy p { color: var(--ink-soft); }
.intro-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/5; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
  margin-top: var(--sp-5);
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .intro-media { order: -1; aspect-ratio: 16/10; }
}

/* ==========================================================================
   Amenities grid (diferenciais)
   ========================================================================== */
.amenities { padding: var(--sp-9) 0; background: var(--bg-alt); }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.amenity {
  background: var(--bg-alt);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-height: 168px;
}
.amenity-icon {
  width: 38px; height: 38px;
  color: var(--accent-deep);
}
.amenity-icon svg { width: 100%; height: 100%; }
.amenity h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em; }
.amenity p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .amenities-grid { grid-template-columns: 1fr; } }

.included-note {
  margin-top: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.included-note svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--teal); }
.included-note p { font-size: 0.92rem; color: var(--ink-soft); }
.included-note strong { color: var(--ink); }

/* ==========================================================================
   Spaces (the 6 divisions) — alternating editorial rows
   ========================================================================== */
.spaces { padding: var(--sp-9) 0; }
.spaces .section-head h2 { margin-top: var(--sp-5); }
.space-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--line);
}
.space-row:first-of-type { padding-top: 0; }
.space-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.space-row.reverse .space-copy { order: 2; }
.space-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.space-copy h3 { margin-top: var(--sp-2); }
.space-copy .space-meta {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}
.space-meta span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.space-copy p.body { margin-top: var(--sp-4); color: var(--ink-soft); }

.suite-list { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); }
.suite-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.suite-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--accent-deep); }
.suite-icon svg { width: 100%; height: 100%; }
.suite-name { font-weight: 600; font-size: 0.94rem; color: var(--ink); letter-spacing: 0.01em; }
.suite-specs { font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.2rem; line-height: 1.5; }

.space-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.space-gallery .g-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: zoom-in;
  box-shadow: var(--shadow-card);
}
.space-gallery .g-item:first-child:nth-last-child(1) { grid-column: 1 / -1; aspect-ratio: 16/10; }
.space-gallery .g-item:only-child { aspect-ratio: 16/10; }
.space-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.space-gallery.cols-3 .g-item:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
/* Lead photo full-width, remaining photos in a 2x2 grid below (5-image galleries). */
.space-gallery.lead-2col { grid-template-columns: repeat(2, 1fr); }
.space-gallery.lead-2col .g-item:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.space-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.g-item:hover img { transform: scale(1.06); }
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,22,21,0.35) 100%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.g-item:hover::after { opacity: 1; }
.g-item .g-zoom {
  position: absolute; right: var(--sp-2); bottom: var(--sp-2);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(247,242,233,0.92);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.g-item:hover .g-zoom { opacity: 1; transform: translateY(0); }
.g-item .g-zoom svg { width: 16px; height: 16px; }
/* Touch devices never fire :hover, so the zoom cue and gradient must be
   shown by default there — otherwise nothing signals the photo is tappable. */
@media (hover: none) {
  .g-item::after { opacity: 1; }
  .g-item .g-zoom { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .space-row { grid-template-columns: 1fr; gap: var(--sp-5); padding: var(--sp-7) 0; }
  .space-row.reverse .space-copy { order: 0; }
  .space-row.reverse .space-gallery { order: 1; }
}
@media (max-width: 640px) {
  /* Three (or more) thin columns read fine on desktop but get cramped on a
     phone — collapse every gallery to 2 comfortable columns there. */
  .space-gallery.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .space-gallery.cols-3 .g-item:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
}

/* ==========================================================================
   Location
   ========================================================================== */
.location { padding: var(--sp-9) 0; background: var(--ink); color: var(--bg); }
.location .eyebrow { color: var(--gold); }
.location .eyebrow::before { background: var(--gold); }
.location h2 { margin-top: var(--sp-3); color: var(--bg); }
.location .lede { color: rgba(247,242,233,0.78); margin-top: var(--sp-4); max-width: 62ch; }
.location-grid {
  margin-top: var(--sp-7);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.route {
  padding: var(--sp-5);
  border: 1px solid rgba(247,242,233,0.16);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.route:hover { border-color: rgba(247,242,233,0.4); background: rgba(247,242,233,0.04); }
.route-dist { font-family: var(--font-display); font-size: 2rem; color: var(--gold); }
.route-unit { font-size: 0.85rem; opacity: 0.7; }
.route-name { margin-top: var(--sp-2); font-size: 0.85rem; letter-spacing: 0.03em; color: rgba(247,242,233,0.82); }
.route-note { margin-top: 0.2rem; font-size: 0.76rem; color: rgba(247,242,233,0.5); }
@media (max-width: 900px) { .location-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Pricing / seasons
   ========================================================================== */
.pricing { padding: var(--sp-9) 0; }
.season-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.season-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.season-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.season-card.is-featured { border-color: var(--accent); background: linear-gradient(180deg, var(--bg-alt), var(--surface)); }
.season-tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.season-price { margin-top: var(--sp-3); font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); }
.season-price sub { font-size: 0.9rem; font-family: var(--font-body); color: var(--ink-faint); }
.season-note { margin-top: var(--sp-2); font-size: 0.82rem; color: var(--ink-soft); }
.pricing-footnote { margin-top: var(--sp-5); font-size: 0.85rem; color: var(--ink-faint); text-align: center; }
@media (max-width: 760px) { .season-table { grid-template-columns: 1fr; } }

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial { padding: var(--sp-8) 0; }
.testimonial-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.stars { display: flex; justify-content: center; gap: 4px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.testimonial-quote {
  margin-top: var(--sp-4);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
}
.testimonial-author {
  margin-top: var(--sp-4);
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Booking / Reservas
   ========================================================================== */
.booking { padding: var(--sp-9) 0; background: var(--bg-alt); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.availability-card, .form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.availability-card h3, .form-card h3 { margin-bottom: var(--sp-4); }

.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.cal-nav button { background: none; border: 1px solid var(--line); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast); }
.cal-nav button:hover { background: var(--bg-alt); }
.cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-nav button:disabled:hover { background: none; }
.cal-nav button svg { width: 16px; height: 16px; }
.cal-month { font-family: var(--font-display); font-size: 1.1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-faint); padding-bottom: 6px; text-transform: uppercase; }
.cal-grid .day {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  border-radius: 50%;
  color: var(--ink-soft);
}
.cal-grid .day.blocked { background: rgba(154, 74, 58, 0.1); color: var(--ink-faint); text-decoration: line-through; text-decoration-color: rgba(154,74,58,0.4); }
.cal-grid .day.today { border: 1px solid var(--teal); font-weight: 700; color: var(--teal); }
.cal-grid .day.holiday { color: var(--accent-deep); font-weight: 600; }
.cal-grid .day .holiday-dot {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.cal-grid .day.blocked .holiday-dot { background: rgba(154, 74, 58, 0.5); }
.cal-grid .day.range-start .holiday-dot,
.cal-grid .day.range-end .holiday-dot { background: var(--bg); }
.cal-grid .day.empty { visibility: hidden; }
.cal-grid .day.past { color: var(--line); cursor: not-allowed; }
.cal-grid .day.selectable { cursor: pointer; transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.cal-grid .day.selectable:hover { background: var(--bg-alt); }
.cal-grid .day.in-range { background: rgba(31, 92, 84, 0.14); color: var(--teal); font-weight: 600; }
.cal-grid .day.range-start, .cal-grid .day.range-end {
  background: var(--teal);
  color: var(--bg);
  font-weight: 700;
}
.cal-grid .day.range-start:hover, .cal-grid .day.range-end:hover { background: var(--teal-soft); }
.cal-legend .dot-selected { background: var(--teal); }
.cal-legend .dot-holiday { background: var(--gold); }

.cal-hint { margin-top: var(--sp-4); font-size: 0.82rem; color: var(--ink-faint); }
.cal-error { margin-top: var(--sp-4); font-size: 0.82rem; color: #9C4A3A; }

.cal-summary {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.cal-summary-row { display: flex; align-items: center; justify-content: space-between; padding: 0.3rem 0; font-size: 0.86rem; color: var(--ink-soft); }
.cal-summary-row strong { color: var(--ink); font-weight: 600; }
.cal-summary-total-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
.cal-summary-total-row strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--teal); }
.cal-summary-note { margin-top: var(--sp-2); font-size: 0.76rem; color: var(--ink-faint); }
.cal-legend { display: flex; flex-wrap: wrap; row-gap: var(--sp-2); column-gap: var(--sp-4); margin-top: var(--sp-4); font-size: 0.78rem; color: var(--ink-soft); }
.cal-legend .legend-item { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) {
  .availability-card, .form-card { padding: var(--sp-4); }
  .cal-nav button { width: 44px; height: 44px; }
  .cal-grid { gap: 3px; }
  .cal-grid .day, .cal-grid .dow { font-size: 0.8rem; }
}
.cal-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cal-legend .dot-blocked { background: rgba(154,74,58,0.5); }
.cal-legend .dot-open { border: 1px solid var(--teal); }

.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 0.4rem; color: var(--ink); }
.field .req { color: var(--accent-deep); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color var(--dur-fast);
  min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.field-hint { font-size: 0.76rem; color: var(--ink-faint); margin-top: 0.35rem; }
.form-foot { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); flex-wrap: wrap; }
.form-status { font-size: 0.85rem; color: var(--teal); }

@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(247,242,233,0.8); padding: var(--sp-8) 0 var(--sp-5); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--sp-6); padding-bottom: var(--sp-7); border-bottom: 1px solid rgba(247,242,233,0.14); }
.footer-brand .brand { color: var(--bg); }
.footer-brand p { margin-top: var(--sp-3); font-size: 0.88rem; max-width: 34ch; color: rgba(247,242,233,0.6); }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,242,233,0.55); margin-bottom: var(--sp-3); }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; padding: 0.3rem 0; color: rgba(247,242,233,0.85); }
.footer-col a:hover { color: var(--gold); }
.social-row { display: flex; gap: var(--sp-2); margin-top: var(--sp-2); }
.social-row a { width: 38px; height: 38px; border: 1px solid rgba(247,242,233,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
.social-row a:hover { background: rgba(247,242,233,0.1); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-4); font-size: 0.78rem; color: rgba(247,242,233,0.45); flex-wrap: wrap; gap: var(--sp-2); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-col a { padding: 0.6rem 0; }
  .social-row a { width: 44px; height: 44px; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(12, 18, 17, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(247,242,233,0.1); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(247,242,233,0.1); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.lightbox-nav.prev { left: var(--sp-4); }
.lightbox-nav.next { right: var(--sp-4); }
.lightbox-nav svg { width: 20px; height: 20px; }

/* ==========================================================================
   Reveal animation fallback (no-js / pre-GSAP)
   ========================================================================== */
[data-reveal] { opacity: 1; }
.js-ready [data-reveal] { opacity: 0; }

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--gold);
  z-index: 600;
  width: 0%;
  transition: width 0.1s linear;
}
