/* =============================================================
   TAKUMA VILLAGE — stylesheet
   Archetype: Editorial Light Cream (adapted) — three product accents
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  --bg:        #f7f3ec;
  --bg-2:      #efe6d3;
  --paper:     #ffffff;
  --ink:       #1c1a17;
  --ink-soft:  #322e28;
  --ink-mute:  rgba(28, 26, 23, 0.62);
  --line:      rgba(28, 26, 23, 0.13);
  --line-soft: rgba(28, 26, 23, 0.07);

  --sage:      #6f7f76;
  --sage-dark: #566159;
  --sage-tint: #eef1ee;

  --gold:      #a38b5d;
  --gold-dark: #86713f;
  --gold-tint: #f3ede1;

  /* Tropical lagoon accent — taken from the Swim-Up / infinity pool water in
     the project photography. Used as the default accent outside the three
     product sections (which keep their own official brand color). */
  --turquoise:      #0f7a72;
  --turquoise-dark: #0a5450;
  --turquoise-tint: #e7f2f0;

  --near-black: #0e0c0a;
  --cream-on-dark: #f2ece0;
  --cream-on-dark-mute: rgba(242, 236, 224, 0.66);

  --active-accent: var(--turquoise);

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "IBM Plex Mono", monospace;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  position: relative;
}
/* Futuristic HUD grid — very subtle, fixed, never intercepts clicks */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 64px 64px;
  mix-blend-mode: multiply;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
}
em { font-style: italic; color: var(--active-accent); }
::selection { background: var(--turquoise); color: #fff; }

:focus-visible {
  outline: 2px solid var(--active-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: 0.7rem 1.2rem;
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-s);
  font-weight: 600;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* -------------------------------------------------------------
   3. Reveal-on-scroll (defensive CSS — see skill gotcha A.4.5)
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.16s; }
.reveal-3 { transition-delay: 0.24s; }
.reveal-4 { transition-delay: 0.32s; }

/* -------------------------------------------------------------
   4. Typography helpers
   ------------------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.kicker--accent { color: var(--active-accent); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  max-width: 20ch;
}
.section-lede {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--ink-mute);
  max-width: 56ch;
  margin-top: 1.1rem;
}
.eyebrow-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

/* -------------------------------------------------------------
   5. Buttons & components
   ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.35s var(--ease-out), color 0.35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4);
}
.btn-accent {
  background: var(--active-accent); color: #fff;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--active-accent) 70%, transparent);
  filter: brightness(1.06);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn-ghost-dark {
  background: transparent;
  border: 1px solid rgba(242,236,224,0.35);
  color: var(--cream-on-dark);
}
.btn-ghost-dark:hover { background: rgba(242,236,224,0.08); border-color: rgba(242,236,224,0.7); }
.btn-lg { padding: 1.15rem 2.3rem; font-size: 1rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Card tilt (functional micro-interaction — never gated by reduced-motion) */
.tilt {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .tilt:hover {
    box-shadow: 0 30px 60px -24px rgba(20,18,15,0.28);
  }
}

/* Spec bar (icon list) */
.spec-bar {
  display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem;
  margin-block: 1.6rem;
}
.spec-bar li {
  display: flex; align-items: center; gap: 0.5em;
  font-size: 0.86rem; font-weight: 600;
  color: #fff;
  background: var(--active-accent);
  padding: 0.55rem 1rem;
  border-radius: 999px;
}
.spec-bar li svg { width: 1em; height: 1em; opacity: 0.9; flex: none; }

/* Badge (scarcity / status) */
.badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--mono);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--active-accent);
  color: #fff;
  box-shadow: 0 0 22px -4px var(--active-accent);
}
.badge--pulse::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  animation: badgePulse 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .badge--pulse::before { animation: none; }
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.price-tag {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  color: var(--ink);
}
.price-tag small {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}

/* -------------------------------------------------------------
   6. Top scroll-accent bar (SIGNATURE EFFECT part 1)
   ------------------------------------------------------------- */
.scroll-accent {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 200;
  background: var(--active-accent);
  transform-origin: left;
  transform: scaleX(var(--scroll-progress, 0));
  transition: background 0.5s var(--ease-out);
  pointer-events: none;
}

/* -------------------------------------------------------------
   7. Header / nav
   ------------------------------------------------------------- */
.site-header {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 100;
  padding-block: 1.2rem;
  transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-solid { padding-block: 0.8rem; }
.site-header.is-solid::before { opacity: 0.96; }

.site-header .container {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand img { height: 52px; width: auto; transition: height 0.4s var(--ease-out); }
.site-header.is-solid .brand img { height: 42px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-weight: 600; }
.brand-word span { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.22em; color: var(--ink-mute); text-transform: uppercase; margin-top: 0.25rem; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  font-family: var(--mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-block: 0.4rem;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--active-accent);
  transition: width 0.35s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { color: var(--active-accent); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

.nav-cta { display: none; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0.45em;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color 0.3s var(--ease-out);
}
.lang-toggle:hover { border-color: var(--active-accent); }
.lang-switcher.is-open .lang-toggle { border-color: var(--active-accent); }
.lang-menu {
  position: absolute; top: calc(100% + 0.6rem); right: 0;
  min-width: 168px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  box-shadow: 0 24px 48px -16px rgba(20, 18, 15, 0.28);
  padding: 0.4rem;
  opacity: 0; transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 130;
}
.lang-switcher.is-open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  display: flex; align-items: center; gap: 0.7em;
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-s);
  font-size: 0.86rem;
  text-align: left;
  transition: background 0.25s var(--ease-out);
}
.lang-menu button:hover { background: var(--bg-2); }
.lang-menu button.is-active { color: var(--turquoise-dark); font-weight: 600; }
.lang-menu button span { font-size: 1.1em; }

.nav-toggle {
  display: inline-flex; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute;
  width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out);
}
.nav-toggle { position: relative; }
.nav-toggle::before { transform: translateY(-5px); }
.nav-toggle::after { transform: translateY(5px); }
.nav-toggle.is-open::before { transform: translateY(0) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(0) rotate(-45deg); }
.nav-toggle.is-open span { opacity: 0; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 6.5rem var(--gutter) 3rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-menu.is-open {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.9rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 2rem; align-self: flex-start; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* -------------------------------------------------------------
   7b. Section tabs — sticky futuristic section navigator
   ------------------------------------------------------------- */
.section-tabs {
  position: sticky;
  top: 96px;
  z-index: 90;
  background: rgba(28, 26, 23, 0.72);
  border-bottom: 1px solid rgba(242, 236, 224, 0.1);
}
@supports (backdrop-filter: blur(14px)) {
  .section-tabs { backdrop-filter: blur(14px) saturate(160%); }
}
.section-tabs-track {
  display: flex;
  gap: 0.4rem;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.6rem var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.section-tabs-track::-webkit-scrollbar { display: none; }
.section-tabs-track a {
  flex: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(242, 236, 224, 0.55);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out);
  white-space: nowrap;
}
.section-tabs-track a:hover { color: #fff; }
.section-tabs-track a.is-active {
  color: #fff;
  background: color-mix(in srgb, var(--active-accent) 22%, transparent);
  border-color: var(--active-accent);
  box-shadow: 0 0 18px -2px var(--active-accent);
}

/* -------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: clip;
  color: var(--cream-on-dark);
}
.hero-media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08) translateY(var(--hero-parallax, 0));
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,10,0.35) 0%, rgba(14,12,10,0.25) 40%, rgba(14,12,10,0.78) 100%),
    linear-gradient(90deg, rgba(14,12,10,0.45) 0%, transparent 45%);
}
.hero-inner {
  position: relative;
  width: 100%;
  padding-block: clamp(6rem, 14vh, 9rem) clamp(3rem, 8vh, 5rem);
}
.hero-kicker {
  color: rgba(242,236,224,0.82);
}
.hero-kicker::before { background: rgba(242,236,224,0.7); }
.hero-title {
  color: #fff;
  font-size: clamp(2.5rem, 6.4vw, 5.2rem);
  max-width: 16ch;
  margin-top: 1.1rem;
}
.hero-title em { color: var(--cream-on-dark); }
.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(242,236,224,0.88);
  max-width: 44ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.2rem;
}
.hero-stats {
  display: flex; flex-wrap: wrap;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 1.8rem;
  border-top: 1px solid rgba(242,236,224,0.22);
}
.hero-stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
}
.hero-stat span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(242,236,224,0.7);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 2rem;
  display: none;
  flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(242,236,224,0.65);
}
.scroll-cue i {
  width: 1px; height: 34px;
  background: rgba(242,236,224,0.5);
  overflow: hidden; position: relative;
}
.scroll-cue i::after {
  content: ""; position: absolute; top: -100%; left: 0; right: 0; height: 100%;
  background: #fff;
  animation: cueDrop 2.2s var(--ease-soft) infinite;
}
@keyframes cueDrop { to { top: 100%; } }
@media (min-width: 720px) { .scroll-cue { display: flex; } }

/* -------------------------------------------------------------
   9. Section shell
   ------------------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 10vh, 8rem); position: relative; }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--near-black); color: var(--cream-on-dark-mute); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .kicker { color: rgba(242,236,224,0.6); }
.section--dark .section-lede { color: var(--cream-on-dark-mute); }

/* Ubicación — deep tropical forest tone, sage accent */
.section--forest {
  background:
    radial-gradient(120% 100% at 12% -10%, #1c3a30 0%, transparent 55%),
    linear-gradient(160deg, #0d1a15 0%, #0a1512 60%, #08110e 100%);
  color: var(--cream-on-dark-mute);
}
.section--forest h2 { color: #fff; }
.section--forest .kicker { color: var(--sage); }
.section--forest .kicker::before { background: var(--sage); opacity: 1; }
.section--forest .section-lede { color: var(--cream-on-dark-mute); }
.section--forest .location-list li {
  color: var(--cream-on-dark-mute);
  border-bottom-color: rgba(242,236,224,0.14);
}
.section--forest .location-list li b { color: var(--sage); }
.section--forest .map-embed { border-color: rgba(242,236,224,0.16); }

/* -------------------------------------------------------------
   10. Concepto 3-en-1
   ------------------------------------------------------------- */
.concept-grid {
  display: grid; gap: 1.4rem;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .concept-grid { grid-template-columns: repeat(3, 1fr); } }

.concept-card {
  background: var(--paper);
  border-radius: var(--radius-l);
  padding: 2.2rem 1.9rem;
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  min-height: 100%;
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .concept-card:hover { border-color: var(--card-accent, var(--ink)); box-shadow: 0 0 32px -10px var(--card-accent, var(--ink)); }
}
.concept-card .concept-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.6rem;
  background: var(--card-accent, var(--ink));
  color: #fff;
  font-family: var(--mono);
  font-size: 1rem;
  box-shadow: 0 0 20px -4px var(--card-accent, var(--ink));
}
.concept-card h3 { font-size: 1.5rem; }
.concept-card .concept-status {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem; font-weight: 500;
  color: var(--card-accent, var(--ink));
}
.concept-card p { margin-top: 0.9rem; color: var(--ink-mute); font-size: 0.95rem; }
.concept-card .concept-meta {
  margin-top: auto; padding-top: 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem; color: var(--ink-mute);
}
.concept-card .concept-meta b { color: var(--ink); font-size: 0.95rem; display: block; font-family: var(--serif); }
.concept-card--suites { --card-accent: var(--sage); }
.concept-card--hotel { --card-accent: var(--near-black); }
.concept-card--villas { --card-accent: var(--gold); }

.concept-totals {
  margin-top: 3.4rem;
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(2, 1fr);
  padding: 2.2rem var(--gutter);
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, var(--turquoise-dark), var(--turquoise));
  color: var(--bg);
}
.concept-totals .stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.concept-totals .stat span {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.65);
}
@media (min-width: 720px) { .concept-totals { grid-template-columns: repeat(4, 1fr); } }

.concept-visual {
  margin-top: 3.4rem;
  border-radius: var(--radius-l);
  overflow: hidden;
}
.concept-visual img { width: 100%; }

/* -------------------------------------------------------------
   11. Product sections (Suites / Villas share layout; Hotel = dark)
   ------------------------------------------------------------- */
.product-head {
  display: grid; gap: 2.4rem;
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: 3rem;
}
@media (min-width: 960px) {
  .product-head { grid-template-columns: 1.1fr 0.9fr; }
}
.product-copy .badge { margin-bottom: 1.2rem; }
.product-price-row {
  display: flex; flex-wrap: wrap; gap: 2rem;
  margin-top: 1.6rem;
}
.reserve-note {
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.section--dark .reserve-note { color: var(--cream-on-dark-mute); }
.reserve-note b { color: var(--ink); }
.section--dark .reserve-note b { color: #fff; }

.product-panel {
  min-width: 0;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 2rem;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.4) inset;
}
@supports (backdrop-filter: blur(16px)) {
  .product-panel { backdrop-filter: blur(16px) saturate(160%); }
}
.product-panel::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--active-accent), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.section--dark .product-panel {
  background: rgba(242,236,224,0.05);
  border-color: rgba(242,236,224,0.14);
  box-shadow: none;
}
.availability-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.2rem;
}
.availability-count {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--active-accent);
}
.availability-track {
  display: flex; gap: 0.35rem;
  margin-top: 1rem;
}
.availability-track i {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
}
.availability-track i.is-taken { background: var(--active-accent); opacity: 0.28; }
.availability-track i.is-open { background: var(--active-accent); }

/* Horizontal scroll-snap filmstrip — used by .product-gallery and .gallery-grid */
.hscroll {
  display: flex;
  min-width: 0;
  max-width: 100%;
  gap: 0.9rem;
  margin-top: 1.2rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 0.3rem 0.2rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--active-accent) transparent;
}
.hscroll::-webkit-scrollbar { height: 6px; }
.hscroll::-webkit-scrollbar-track { background: transparent; }
.hscroll::-webkit-scrollbar-thumb { background: var(--active-accent); border-radius: 999px; }

.hscroll figure {
  flex: 0 0 auto;
  width: clamp(190px, 24vw, 250px);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
}
.hscroll figure:first-child { width: clamp(230px, 30vw, 320px); }
.hscroll figure::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
  pointer-events: none;
  transition: box-shadow 0.4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hscroll figure:hover::after {
    box-shadow: inset 0 0 0 1.5px var(--active-accent), 0 0 26px -6px var(--active-accent);
  }
}
.hscroll img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hscroll figure:hover img { transform: scale(1.06); filter: saturate(1.12); }
}

/* Modifier: show the full, uncropped photo (landscape lifestyle shots) */
.hscroll--full figure,
.hscroll--full figure:first-child {
  width: clamp(260px, 42vw, 420px);
  background: var(--bg-2);
}
.hscroll--full img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.section--dark .hscroll--full figure,
.section--forest .hscroll--full figure {
  background: rgba(242,236,224,0.05);
}

.positioning-line {
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}
.section--dark .positioning-line { border-color: rgba(242,236,224,0.16); }
.positioning-line em { color: var(--active-accent); }
.section--dark .positioning-line em { color: var(--gold); }

/* Hotel specific: service note box */
.service-note {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(242,236,224,0.18);
  border-radius: var(--radius-m);
  background: rgba(242,236,224,0.03);
}
.service-note h4 { color: #fff; font-size: 1.05rem; margin-bottom: 0.6rem; }
.service-note p { font-size: 0.92rem; color: var(--cream-on-dark-mute); }

/* -------------------------------------------------------------
   12. Ubicación
   ------------------------------------------------------------- */
.location-grid {
  display: grid; gap: 2.4rem;
  grid-template-columns: 1fr;
  margin-top: 2.6rem;
}
@media (min-width: 960px) { .location-grid { grid-template-columns: 1fr 1fr; } }
.location-media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; }
.location-media img { width: 100%; height: 100%; object-fit: cover; }
.location-list { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.location-list li {
  display: flex; align-items: baseline; gap: 0.8rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
}
.location-list li b { color: var(--sage); font-family: var(--serif); font-size: 1.05rem; min-width: 2ch; }
.map-embed {
  margin-top: 1.6rem;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 16/10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------
   13. Plan de pago
   ------------------------------------------------------------- */
.payment-note {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.payment-timeline {
  margin-top: 3.2rem;
  display: flex; flex-direction: column; gap: 1.6rem;
}
@media (min-width: 720px) {
  .payment-timeline { flex-direction: row; align-items: flex-start; gap: 0; }
}
.payment-step {
  flex: 1;
  position: relative;
  padding-inline: 0.4rem;
}
.payment-step .bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.payment-step .bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--turquoise), var(--gold));
  transition: width 1.2s var(--ease-out);
}
.payment-step.is-visible .bar-fill { width: var(--fill, 100%); }
.payment-step .pct {
  font-family: var(--serif);
  font-size: 1.7rem;
}
.payment-step .label {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-mute);
  margin-top: 0.2rem;
}
@media (min-width: 720px) {
  .payment-step:not(:last-child)::after {
    content: "";
    position: absolute; top: 5px; right: -0.4rem;
    width: 0.8rem; height: 1px;
    background: var(--line);
  }
}

/* -------------------------------------------------------------
   14. Galería
   ------------------------------------------------------------- */
.gallery-grid { margin-top: 2.4rem; }
.gallery-item {
  position: relative;
  cursor: zoom-in;
}
.gallery-item img { height: 100%; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(0deg, rgba(14,12,10,0.75), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(14,12,10,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 82vh; border-radius: var(--radius-m); }
.lightbox-caption { color: var(--cream-on-dark-mute); margin-top: 1rem; font-size: 0.85rem; text-align: center; }
.lightbox-close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(242,236,224,0.3);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.lightbox-close:hover { background: rgba(242,236,224,0.1); }

/* -------------------------------------------------------------
   15. Contacto / footer
   ------------------------------------------------------------- */
.footer {
  background: var(--near-black);
  color: var(--cream-on-dark-mute);
  padding-block: clamp(4.5rem, 10vh, 7rem) 2.2rem;
}
.footer-inner { display: grid; gap: 3rem; }
.footer-top {
  display: grid; gap: 2.6rem;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 960px) { .footer-top { grid-template-columns: 1.2fr 1fr; } }
.footer-brand img { height: 96px; width: auto; margin-bottom: 1.8rem; }
.footer-title {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 16ch;
}
.contact-buttons {
  display: grid; gap: 0.9rem;
}
.contact-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-m);
  border: 1px solid rgba(242,236,224,0.16);
  transition: border-color 0.35s var(--ease-out), background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.contact-btn:hover { transform: translateY(-2px); background: rgba(242,236,224,0.05); }
.contact-btn .icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex: none;
  color: #0e0c0a;
}
.contact-btn .icon svg { width: 20px; height: 20px; }
.contact-btn--whatsapp .icon { background: #25d366; }
.contact-btn--whatsapp:hover { border-color: #25d366; }
.contact-btn--instagram .icon { background: linear-gradient(45deg, #f9ce34, #ee2a7b 60%, #6228d7); }
.contact-btn--instagram:hover { border-color: #ee2a7b; }
.contact-btn--email .icon { background: var(--gold); }
.contact-btn--email:hover { border-color: var(--gold); }
.contact-btn span.label { color: #fff; font-weight: 600; display: block; }
.contact-btn span.sub { font-size: 0.8rem; color: var(--cream-on-dark-mute); }

.footer-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(242,236,224,0.14);
  font-size: 0.86rem;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.76rem;
  color: rgba(242,236,224,0.45);
}
.footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------------------
   16. Floating WhatsApp button
   ------------------------------------------------------------- */
.whatsapp-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,0.65);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(37,211,102,0.55);
  animation: waPulse 2.6s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; }
}
@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  75% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}

/* -------------------------------------------------------------
   17. Count-up number targets
   ------------------------------------------------------------- */
[data-count-to] { font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------
   18. Responsive tweaks
   ------------------------------------------------------------- */
@media (max-width: 539px) {
  .hero-stats { gap: 1.4rem 1.8rem; }
  .concept-totals { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1600px) {
  :root { --container: 1360px; }
}

/* -------------------------------------------------------------
   19. Reduced motion — ONLY the genuinely intrusive bits
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { transform: none !important; }
  .scroll-cue i::after { animation: none; }
}
