/* ============================================================
   MAICCP · Landing editorial nude / beige cálido / dorado
   ============================================================ */

:root {
  --bg: #FAF6F2;        /* nude / marfil cálido */
  --sand: #F2E8DF;      /* arena / nude suave */
  --taupe: #A68973;     /* nude tostado / taupe */
  --brown: #6E5644;     /* nude oscuro */
  --gold: #C8A262;      /* dorado metálico */
  --gold-light: #E3C98E;
  --ink: #2A231E;       /* texto carbón cálido */
  --ink-soft: rgba(42, 35, 30, 0.66);
  --white: #FFFCF9;
  --line: rgba(110, 86, 68, 0.16);
  --shadow: 0 18px 50px -24px rgba(110, 86, 68, 0.45);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

img, video { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Tipografía base ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: 0.2px; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 14px;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(200, 162, 98, 0.75);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(200, 162, 98, 0.85); }

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--taupe);
}
.btn-outline:hover { background: var(--brown); color: var(--white); border-color: var(--brown); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.84rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }

.btn-mini {
  background: var(--sand);
  color: var(--brown);
  border: 1px solid var(--line);
  padding: 9px 18px;
  font-size: 0.82rem;
  border-radius: 50px;
}
.btn-mini:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-1px); }

/* Shimmer dorado sutil */
.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.8s infinite;
}
@keyframes shimmer {
  0%   { left: -120%; }
  55%  { left: 160%; }
  100% { left: 160%; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--ink);
  text-decoration: none;
  padding-left: 0.28em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 44px 0 60px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(200,162,98,0.22), transparent 62%);
  filter: blur(10px);
  z-index: 0;
  animation: floatGlow 12s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 24px) scale(1.08); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 38px;
}
.hero-title {
  font-size: clamp(2.5rem, 9vw, 3.6rem);
  margin: 6px 0 16px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { display: grid; gap: 14px; }
.hero-video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(250,246,242,0.9);
  color: var(--brown);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 7px 14px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
.hero-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-thumbs img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* ============================================================
   SECCIONES
   ============================================================ */
.section { padding: 64px 0; }
.section-alt { background: var(--sand); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-title { font-size: clamp(2rem, 7vw, 2.7rem); margin-bottom: 12px; }
.section-desc { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 6px;
  max-width: 460px;
  margin: 0 auto 40px;
  box-shadow: var(--shadow);
}
.tab {
  flex: 1;
  min-width: 100px;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--taupe);
  padding: 11px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.tab.is-active {
  background: linear-gradient(120deg, var(--brown), var(--taupe));
  color: var(--white);
  box-shadow: 0 8px 20px -10px rgba(110,86,68,0.7);
}

/* ---------- Cards ---------- */
.cat-group { margin-bottom: 20px; }
.cat-group.is-hidden { display: none; }
.cat-title {
  font-size: 1.5rem;
  color: var(--brown);
  margin: 18px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(200,162,98,0.5);
}
.card.is-hidden { display: none; }
.card h4 { font-size: 1.32rem; margin-bottom: 4px; }
.card p { font-size: 0.88rem; color: var(--ink-soft); }
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,162,98,0.12);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown);
}

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.07); }
.gallery-video { grid-column: span 2; aspect-ratio: 16 / 10; border-radius: var(--radius); }

/* ============================================================
   STEPS / POLÍTICA
   ============================================================ */
.steps { display: grid; gap: 16px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: #fff;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.step h4 { font-size: 1.28rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================
   FORMULARIO RESERVA
   ============================================================ */
.booking {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brown);
  margin-bottom: 8px;
}
.field input,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236E5644' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,162,98,0.18);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--brown);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 11px 18px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.chip:hover { border-color: var(--taupe); }
.chip.is-active {
  background: linear-gradient(120deg, var(--brown), var(--taupe));
  color: var(--white);
  border-color: var(--brown);
}

.booking-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--sand);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 6px 0 20px;
  text-align: center;
}
.form-error {
  color: #b4502f;
  font-size: 0.84rem;
  text-align: center;
  margin-top: 12px;
  min-height: 1em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 48px 0 36px;
  text-align: center;
}
.footer-inner { display: grid; gap: 12px; justify-items: center; }
.footer-brand { color: var(--bg); font-size: 1.8rem; }
.footer-tag { font-size: 0.9rem; color: rgba(250,246,242,0.7); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 8px 0; }
.footer-links a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.78rem; color: rgba(250,246,242,0.45); margin-top: 6px; }

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  padding: 14px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.7);
  transition: transform 0.4s var(--ease), gap 0.4s var(--ease), padding 0.4s var(--ease);
  animation: pulse 2.6s infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); gap: 8px; padding-right: 20px; }
.wa-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  transition: max-width 0.45s var(--ease);
}
.wa-float:hover .wa-float-label { max-width: 130px; }
@keyframes pulse {
  0%   { box-shadow: 0 14px 34px -12px rgba(37,211,102,0.7), 0 0 0 0 rgba(37,211,102,0.4); }
  70%  { box-shadow: 0 14px 34px -12px rgba(37,211,102,0.7), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 34px -12px rgba(37,211,102,0.7), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE (tablet / desktop)
   ============================================================ */
@media (min-width: 720px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero { padding: 70px 0 80px; }
  .hero-video { height: 400px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery-video { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 84px 0; }
}

/* Respeta preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
