﻿/*
  =============================================
  Tema 5 â€” "Luz de TeotihuacÃ¡n" (Light Edition)
  Sentaury Â· Hotel Boutique Piedra & Altura
  =============================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* ==========================================
   DESIGN TOKENS
   ========================================== */
:root {
  /* â€”â€”â€” Core Palette (tierra) â€”â€”â€” */
  --linen: #FAF6F1;
  /* Fondo principal: blanco cÃ¡lido */
  --sand: #F0E8DC;
  /* Fondo alterno: arena suave */
  --sand-deep: #E4D5C3;
  /* Arena profunda / separadores */
  --terracotta: #C0572B;
  /* CTA principal */
  --terracotta-lt: #D9714A;
  /* Hover / variante clara */
  --gold: #A0720A;
  /* Detalles dorados, precios */
  --gold-lite: #C89B2A;
  /* Hover dorado */
  --obsidian: #2C1810;
  /* Texto principal */
  --obsidian-mid: #4A3728;
  /* Texto secundario oscuro */
  --stone: #7A6558;
  /* Texto terciario / placeholder */
  --stone-lt: #A8978C;
  /* Texto muy suave */
  --white: #FFFFFF;

  /* â€”â€”â€” Brand Blues (logotipo Piedra & Altura) â€”â€”â€” */
  --navy: #1B3B6F;
  /* Azul marino â€” montaÃ±as profundas */
  --navy-mid: #2B5DA8;
  /* Azul real â€” cuerpo del logo */
  --blue-steel: #4A86C8;
  /* Azul acero â€” globo aerostÃ¡tico */
  --teal: #0DCECF;
  /* Cian/teal â€” cÃ­rculo del logotipo */
  --teal-dark: #0AA8A9;
  /* Teal oscuro para hover */
  --navy-glass: rgba(27, 59, 111, 0.08);
  /* Fondo muy sutil azul */
  --navy-border: rgba(27, 59, 111, 0.18);
  /* Borde azul tenue */
  --teal-glow: 0 4px 20px rgba(13, 206, 207, 0.30);
  /* Sombra teal */
  --navy-glow: 0 4px 20px rgba(43, 93, 168, 0.22);
  /* Sombra navy */

  /* â€”â€”â€” Glass / Panels (light) â€”â€”â€” */
  --cream-glass: rgba(255, 252, 248, 0.88);
  --cream-card: rgba(250, 246, 241, 0.95);
  --sand-glass: rgba(240, 232, 220, 0.75);
  --shadow-warm: 0 8px 40px rgba(44, 24, 16, 0.10);
  --shadow-card: 0 4px 24px rgba(44, 24, 16, 0.08);
  --shadow-hover: 0 12px 48px rgba(192, 87, 43, 0.18);
  --border-warm: rgba(192, 87, 43, 0.15);
  --border-sand: rgba(160, 114, 10, 0.2);

  /* â€”â€”â€” Typography (Unified) â€”â€”â€” */
  --font-primary: 'Outfit', sans-serif;
  --font-serif: 'Lora', serif;

  /* Alias de compatibilidad (tema_2 legacy) */
  --font-hero: var(--font-serif);
  --font-body: var(--font-primary);
  --obsidiana: var(--obsidian);
  --obsidiana-light: var(--obsidian-mid);
  --piedra-caliza: var(--linen);
  --oro-azteca: var(--gold);
  --oro-hover: var(--gold-lite);
  --arena: var(--sand);
  --blanco: var(--white);
  --gris: var(--stone);
  --gris-light: var(--stone-lt);

  /* â€”â€”â€” Layout & Transitions â€”â€”â€” */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --trans: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: all 0.2s ease;
  --transition: var(--trans);
  /* Alias */
}

/* ==========================================
   BASE RESET & BODY
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.bg-piedra-light {
  background-color: var(--linen);
  color: var(--obsidian);
  font-family: var(--font-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--obsidian);
}

p {
  color: var(--obsidian-mid);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ==========================================
   TYPOGRAPHY UTILITIES
   ========================================== */
.text-terracotta {
  color: var(--terracotta);
}

.text-gold {
  color: var(--gold);
}

.text-obsidian {
  color: var(--obsidian);
}

.text-stone {
  color: var(--stone);
}

.text-white {
  color: var(--white);
}

.text-navy {
  color: var(--navy);
}

.text-teal {
  color: var(--teal-dark);
}

.text-center {
  text-align: center;
}

.font-serif {
  font-family: var(--font-serif);
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 12px;
  display: block;
}

/* Variante teal para secciones secundarias */
.section-eyebrow.teal {
  color: var(--teal-dark);
}

/* â€”â€”â€” Legacy Utility Compatibility â€”â€”â€” */
.limpio {
  display: block;
  clear: both;
}

.t_center {
  text-align: center !important;
}

.t_left {
  text-align: left !important;
}

.t_right {
  text-align: right !important;
}

.dnone,
.hidden {
  display: none !important;
}

.d_flex {
  display: flex !important;
}

.cl_white {
  color: var(--white) !important;
}

.cl_black {
  color: var(--obsidian) !important;
}

.cl_gray,
.cl_gris {
  color: var(--stone) !important;
}

.cl_oro {
  color: var(--gold) !important;
}

.cl_arena {
  color: var(--sand) !important;
}

.cl_terracotta {
  color: var(--terracotta) !important;
}

.cl_obsidiana {
  color: var(--obsidian) !important;
}

.cl_stone {
  color: var(--stone) !important;
}

.w-text {
  color: var(--white) !important;
}

.fs-85 {
  font-size: 0.85em;
}

.fs-1_2 {
  font-size: 1.2em;
}

.fw-600 {
  font-weight: 600;
}

.cursor-pointer {
  cursor: pointer;
}

/* Spacing */
.separador {
  padding: 2em 0;
}

.separador_m {
  padding: 0.8em 0;
}

.separador_2 {
  padding: 4em 0;
}

.separador_3 {
  padding: 6em 0;
}

.m-0 {
  margin: 0 !important;
}

.mt-1 {
  margin-top: 0.5em !important;
}

.mt-2 {
  margin-top: 1em !important;
}

.mt-3 {
  margin-top: 2em !important;
}

.mb-1 {
  margin-bottom: 0.5em !important;
}

.mb-2 {
  margin-bottom: 1em !important;
}

/* Grid System (Legacy Port) */
.container-limit {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.col-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.w-100 {
  width: 100% !important;
}

.d-block {
  display: block !important;
}

.d-inline {
  display: inline-block !important;
}

.p_relative {
  position: relative;
}

.max-w-300 {
  max-width: 300px;
}

.max-w-600 {
  max-width: 600px;
  margin: 0 auto;
}

.max-w-700 {
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive Grid Overrides */
@media (max-width: 768px) {

  .sm-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sm-mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ==========================================
   HEADER / NAV (Unified & Optimized)
   ========================================== */
body.bg-piedra-light .cabecera {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: transparent !important;
  border-bottom: 1px solid rgba(44, 24, 16, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: all 0.4s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
}

/* Al scrollear, asignamos el fondo glassmorphism de luz (crema) */
body.bg-piedra-light .cabecera.scrolled-light {
  background: rgba(250, 246, 241, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 30px rgba(44, 24, 16, 0.10) !important;
  border-bottom: 1px solid rgba(44, 24, 16, 0.08) !important;
}

/* Navbar Logo */
.cabecera .logo {
  width: 90px;
  max-width: 130px;
  height: auto;
  transition: transform var(--transition);
}

.cabecera .logo:hover {
  transform: scale(1.05);
}

/* NavegaciÃ³n - cbp-tm-menu port */
.cbp-tm-menu {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 4px;
}

.cbp-tm-menu li a {
  display: block;
  color: var(--obsidian) !important;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  text-decoration: none;
}

.cbp-tm-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.cbp-tm-menu li a:hover {
  color: var(--terracotta) !important;
}

.cbp-tm-menu li a:hover::after {
  width: 50%;
}

/* Ãconos y Contacto en Header */
.icon_men {
  display: none;
  color: var(--gold);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
}

.list_social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.item_social i {
  color: var(--obsidian) !important;
  transition: color var(--trans-fast);
  font-size: 1.1rem;
}

.item_social:hover i {
  color: var(--terracotta) !important;
}

.telefono_num {
  font-size: 0.85rem;
  color: var(--obsidian) !important;
  font-weight: 600;
}

.telefono_num span {
  color: var(--obsidian) !important;
}

.telefono_num i {
  color: var(--gold);
  margin-right: 5px;
}

/* AlineaciÃ³n general del nav */
body.bg-piedra-light .cabecera .limpio {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin-top: 14px !important;
  /* Ajuste para que no quede pegado al top */
}

body.bg-piedra-light .cabecera .limpio .d-inline {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 15px;
}

body.bg-piedra-light .cabecera .list_social,
body.bg-piedra-light .cabecera .telefono_num {
  margin: 0 !important;
  padding: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  /* Evitar saltos de lÃ­nea internos */
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-light-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(192, 87, 43, 0.35);
  text-decoration: none;
}

.btn-light-primary:hover {
  background: var(--terracotta-lt);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(192, 87, 43, 0.50);
  color: var(--white);
}

.btn-light-primary:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.btn-light-outline {
  display: inline-block;
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
  border-radius: 50px;
  padding: 12px 32px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--trans);
  text-decoration: none;
}

.btn-light-outline:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

.icon_inp {
  position: absolute;
  top: 4.3em;
  right: 1.5em;
  width: 21px;
  height: 21px;
  line-height: 21px !important;
  border-radius: 50%;
  font-size: .65em;
  color: white;
  text-align: center;
}

.inp_fail {
  border: 1px solid #ffd8d5 !important;
  box-shadow: 0px 0px 3px red;
}

.inp_fail:focus {
  border-color: #f7a9a3 !important;
  box-shadow: 0 0 0 0.2rem rgb(255 225 223) !important;
}

.inp_yes {
  border: 1px solid #52b3ff !important;
}

.ic_yes {
  background: #2196F3;
  box-shadow: 0px 2px 3px #cecece;
}

.ic_red {
  background: #ffb5b5;
  color: #e25d5d;
  box-shadow: 0px 2px 3px #cecece;
}

/* ==========================================
   HERO â€” CINEMATIC SPLIT (primary)
   ========================================== */
.hero-light {
  position: relative;
  height: 100vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* Hero para pÃ¡ginas internas (mÃ¡s corto) */
.hero-light-inner {
  position: relative;
  height: 45vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-light::before,
.hero-light-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgb(0 0 0 / 65%) 0%, rgb(98 98 98 / 20%) 45%, rgb(46 46 46 / 10%) 75%, rgb(255 255 255 / 0%) 100%);
  z-index: 1;
}

.hero-light::after,
.hero-light-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250, 246, 241, 0.00) 70%, rgb(42 41 39 / 85%) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-light-inner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.8) contrast(1.1);
}

.hero-light-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: heroZoom 22s ease-in-out infinite alternate;
}

/* Video de fondo luminoso y natural */
video.hero-light-bg {
  animation: none;
  outline: none;
  pointer-events: none;
  /* Ligeramente contrastado pero manteniendo toda su luz original */
  filter: brightness(1.02) saturate(1.1) contrast(1.02);
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.12);
  }
}

.hero-light-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* En pantallas grandes ocupa hasta el 48% del ancho, con tope en 760px */
  max-width: min(48%, 760px);
  padding: 0 clamp(24px, 4vw, 72px);
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Badge superior â€” sobrio y elegante para el tema light */
.hero-light-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(214 255 193 / 6%);
  border: 1px solid rgba(44, 24, 16, 0.15);
  color: #ffd28f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUpIn 0.8s forwards 0.3s;
}

/* TÃ­tulo grande en oscuro â€” mÃ¡ximo contraste sobre el fondo claro */
.hero-light-title {
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.08;
  margin-bottom: 20px;
  width: 100%;
  text-shadow: none;
  opacity: 0;
  animation: fadeUpIn 0.9s forwards 0.5s;
}

/* Palabra clave en terracotta â€” en lÃ­nea para no fragmentar demasiado */
.hero-light-title span {
  color: #f5dd9c;
  font-family: var(--font-serif);
  font-style: italic;
  /* inline para que fluya naturalmente con el texto */
  display: inline;
  font-size: 1.05em;
}

.enlc_hm {
  margin-top: 1.5em;
}

.cabecera .logo {
  width: 90px;
}

/* SubtÃ­tulo en oscuro cÃ¡lido */
.hero-light-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #f5f5f5;
  width: 100%;
  margin-bottom: 44px;
  line-height: 1.75;
  text-shadow: none;
  opacity: 0;
  animation: fadeUpIn 0.9s forwards 0.75s;
}

.hero-light-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUpIn 0.9s forwards 1s;
}

/* CTA secundario: borde terracota, sin fondo */
.hero-light .btn-light-outline {
  color: #fde5db;
  border-color: #fda884;
  background: transparent;
}

.hero-light .btn-light-outline:hover {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}

/* ==========================================
   BOOKING WIDGET â€” LIGHT
   ========================================== */
.booking-bar-light {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--border-warm);
  padding: 24px 28px;
  max-width: 1100px;
  /* Un poco mas ancho para que quepa todo bien */
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  /* Todo en una linea */
  gap: 12px;
  align-items: flex-end;
  opacity: 0;
  animation: fadeUpIn 1s forwards 1s;
  box-sizing: border-box;
}

.booking-bar-light .field-wrap {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  /* Para posicionar el icono */
}

.booking-bar-light .field-wrap i {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: var(--navy-mid);
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 5;
}

.booking-bar-light .field-wrap label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  padding-left: 2px;
}

.booking-bar-light .field-wrap input,
.booking-bar-light .field-wrap select {
  background: var(--linen);
  border: 1.5px solid var(--sand-deep);
  border-radius: 10px;
  padding: 12px 16px 12px 46px;
  /* Padding izquierdo para icono */
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--obsidian);
  outline: none;
  transition: var(--trans-fast);
  width: 100%;
  box-sizing: border-box;
}

.booking-bar-light .field-wrap input:focus,
.booking-bar-light .field-wrap select:focus {
  /* Focus con teal del logotipo */
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(43, 93, 168, 0.14);
}

.booking-bar-light .field-wrap input::placeholder {
  color: var(--stone-lt);
}

.booking-bar-light .field-wrap select option {
  background: var(--white);
  color: var(--obsidian);
}

.booking-bar-light .btn-booking {
  flex: 1.2;
  /* Mas presencia que los campos de texto */
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 12px;
  height: 48px;
  /* Altura fija para matchear los inputs */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: 0 4px 16px rgba(192, 87, 43, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  /* Evita que el texto del boton se rompa */
  box-sizing: border-box;
  margin-bottom: 2px;
  /* Alineacion visual final */
}

.booking-bar-light .btn-booking:hover {
  background: var(--terracotta-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 87, 43, 0.45);
}

/* ==========================================
   SECTIONS
   ========================================== */
.section-light {
  padding: 96px 24px;
  position: relative;
}

.section-light.bg-sand {
  background-color: var(--sand);
}

.section-light.bg-white {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.section-header p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--stone);
}

.container-max {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================
   LEGAL & CONTENT PAGES
   ========================================== */
.legal-content-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  padding: clamp(32px, 6vw, 64px);
  border-radius: 24px;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--sand-deep);
  position: relative;
  z-index: 5;
}

.legal-section-title {
  color: var(--navy);
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 44px 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--linen);
  padding-bottom: 14px;
}

.legal-section-title i {
  color: var(--terracotta);
  font-size: 1.2rem;
}

.legal-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-item {
  position: relative;
  padding-left: 28px;
  color: var(--obsidian-mid);
  line-height: 1.7;
  font-size: 1.05rem;
}

.legal-item::before {
  content: "âœ¦";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 900;
  font-size: 0.9rem;
}

.legal-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--sand-deep);
  text-align: center;
  font-size: 0.95rem;
  color: var(--stone);
  font-style: italic;
}

/* ==========================================
   BUTTONS (Legacy Port & Adaptation)
   ========================================== */
.btn {
  display: inline-block;
  padding: 0.85em 2.2em;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.5px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 0.85em;
  text-decoration: none;
}

.btn_res,
.btn-terracotta {
  position: relative;
  display: block;
  padding: 1em 1.5em;
  background: var(--terracotta);
  border-radius: var(--radius-sm);
  color: var(--white);
  border: 0;
  width: 100%;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.88em;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: center;
}

.btn_res:hover,
.btn-terracotta:hover {
  background: var(--terracotta-lt);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 87, 43, 0.35);
  color: white;
}

.btn-oro,
.send_contact {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 1em 2em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-oro:hover,
.send_contact:hover {
  background: var(--gold-lite) !important;
  box-shadow: 0 8px 25px rgba(160, 114, 10, 0.3);
  transform: translateY(-3px);
}

.button_res_mov {
  position: fixed;
  bottom: 2em;
  right: 1.5em;
  z-index: 999;
  width: auto;
  padding: 0.8em 2em;
  border-radius: var(--radius-xl);
  font-size: 0.85em;
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-warm);
}

/* ==========================================
   SECTIONS & LAYOUT (Legacy Port)
   ========================================== */
.bg-obsidiana {
  background-color: var(--navy);
  color: var(--white);
}

.bg-piedra {
  background-color: var(--linen);
  color: var(--obsidian);
}

.bg-arena {
  background-color: var(--sand);
  color: var(--obsidian);
}

.bg-blanco {
  background-color: var(--white);
}

.section-habs,
.section-service,
.section-insta,
.section-ubic {
  position: relative;
  display: block;
  padding: 5em 0;
}

.container-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 120;
  width: 100%;
  padding: 0 2em;
  text-align: center;
}

/* Cards Legacy adaptation */
.card-habitacion {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition);
  width: 100%;
  max-width: 300px;
}

.card-habitacion:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-habitacion img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-habitacion h3 {
  font-size: 1.15rem;
  color: var(--obsidian);
  padding: 15px 20px 5px;
  text-align: left;
}

.card-habitacion a {
  color: var(--gold);
  font-weight: 600;
  padding: 0 20px 20px;
  display: inline-block;
  transition: color var(--transition);
}

.card-habitacion a:hover {
  color: var(--terracotta);
}

/* ==========================================
   ROOMS â€” BENTO GRID (LIGHT)
   ========================================== */
.rooms-grid-light {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.room-card-light {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--sand-deep);
  transition: var(--trans);
  text-decoration: none;
  display: block;
}

.room-card-light:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.room-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.room-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card-light:hover .room-card-img-wrap img {
  transform: scale(1.07);
}

.room-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  /* Badge en azul marino del logotipo */
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  box-shadow: var(--navy-glow);
}

.room-card-body {
  padding: 24px;
}

.room-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: 8px;
  text-align: left;
}

.room-card-features {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.room-card-features span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--stone);
}

.room-card-features i {
  color: var(--gold);
  font-size: 1rem;
}

.room-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--sand-deep);
}

.room-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--terracotta);
}

.room-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--stone);
}

.room-cta-link {
  font-size: 0.85rem;
  font-weight: 700;
  /* Link de habitaciÃ³n en azul real del logotipo */
  color: var(--navy-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--trans-fast);
}

.room-cta-link:hover {
  color: var(--teal-dark);
  gap: 8px;
}

/* ==========================================
   AMENITIES / SERVICES (LIGHT)
   ========================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.amenity-card {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--sand-deep);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.amenity-card:hover {
  transform: translateY(-6px);
  /* Hover con borde teal del logotipo */
  box-shadow: var(--teal-glow);
  border-color: var(--teal);
}

.amenity-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  /* Ãcono base en azul del logotipo */
  background: var(--navy-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--navy-mid);
  transition: var(--trans);
}

.amenity-card:hover .amenity-icon {
  /* Hover: relleno teal brillante del cÃ­rculo del logotipo */
  background: var(--navy-mid);
  color: var(--white);
  box-shadow: var(--teal-glow);
}

.amenity-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--obsidian);
}

/* ==========================================
   WHY US â€” FEATURES ROW
   ========================================== */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  /* Iconos de features en azul marino del logo */
  background: var(--navy-glass);
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy-mid);
  transition: var(--trans);
}

.feature-item:hover .feature-icon-wrap {
  background: var(--navy);
  color: var(--teal);
  border-color: var(--navy);
  box-shadow: var(--navy-glow);
}

.feature-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--obsidian);
}

.feature-text p {
  font-size: 0.92rem;
  color: var(--stone);
  line-height: 1.6;
}

/* ==========================================
   GALLERY (LIGHT)
   ========================================== */
.gallery-light {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-large-item {
  grid-row: span 2;
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(44, 24, 16, 0.75) 0%, transparent 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--trans);
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
}

/* ==========================================
   FAQ SECTION (SEO)
   ========================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--sand-deep);
  overflow: hidden;
  transition: var(--trans);
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--obsidian);
  gap: 16px;
  user-select: none;
}

.faq-question:hover {
  color: var(--navy);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  /* Ãcono FAQ en azul marino del logotipo */
  background: var(--navy-glass);
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-mid);
  transition: var(--trans);
  font-weight: 400;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: var(--stone);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-item.open .faq-question .faq-icon {
  /* Ãcono abierto: teal del borde del logotipo */
  background: var(--navy);
  color: var(--teal);
  transform: rotate(45deg);
  box-shadow: var(--teal-glow);
}

/* ==========================================
   CONTACT SECTION (LIGHT)
   ========================================== */
.contact-grid-light {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info-light h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.contact-info-light p {
  color: var(--stone);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  /* Iconos de contacto en azul marino del logotipo */
  background: var(--navy-glass);
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy-mid);
  flex-shrink: 0;
  transition: var(--trans-fast);
}

.contact-detail-row:hover .contact-detail-icon {
  background: var(--navy-mid);
  color: var(--teal);
}

.contact-detail-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--obsidian);
}

.contact-detail-text small {
  display: block;
  color: var(--stone);
  font-size: 0.8rem;
  font-weight: 400;
}

.map-thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--trans);
}

.map-thumb:hover {
  box-shadow: var(--shadow-hover);
}

.contact-form-panel {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--sand-deep);
}

.contact-form-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 28px;
  color: var(--obsidian);
}

.input-light {
  width: 100%;
  background: var(--linen);
  border: 1.5px solid var(--sand-deep);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--obsidian);
  outline: none;
  transition: var(--trans-fast);
  margin-bottom: 16px;
}

.input-light:focus {
  /* Focus en azul real del logotipo */
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(43, 93, 168, 0.14);
}

.input-light::placeholder {
  color: var(--stone-lt);
}

.input-row {
  display: flex;
  gap: 16px;
}

.input-row .input-light {
  flex: 1;
}

.cont_modal {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  background: rgb(43 43 43 / 0.9);
  z-index: 2500;
  overflow-y: scroll;
}

.line_n {
  top: .2em !important;
  right: .3em !important;
  color: black !important;
}

.hg500 {
  height: 500px;
}

.main_modal {
  position: relative;
  display: block;
  max-width: 900px;
  height: 500px;
  background: #292929;
  margin: 0 auto;
  margin-top: 2em;
  border-radius: 10px;
  box-shadow: 0px 3px 20px #000000;
}

.modal_info {
  background: white !important;
  height: auto;
  max-width: 1000px;
  min-height: 400px;
}

.modal_stop {
  background: #33335a !important;
}

.modal_shr {
  background: #ffffff !important;
  height: auto;
  max-width: 500px !important;
}

.cl_prb {
  color: wheat;
}

.txt_stp {
  padding: 1em;
  color: bisque;
}

.btn_canc {
  vertical-align: top;
  background: #3b3b73 !important;
}

.btn_canc:hover {
  background: #39528c;
}

.contenedor_imgs {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  width: 95%;
}

.wd_80 {
  width: 90%;
  margin: 0 auto;
}

.loaderImg {
  position: absolute !important;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  object-fit: cover;
}

.cerrar_modal {
  position: absolute;
  font-size: 1.5em;
  color: #ffffff;
  top: 0;
  right: -1.6em;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px !important;
  text-align: center;
  font-size: 3em;
}

.cerrar_modal:hover {
  color: white;
}

.cerrar_modal_h {
  position: absolute;
  font-size: 1.5em;
  color: #ffffff;
  top: .2em;
  left: .1em;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px !important;
  text-align: center;
  font-size: 3em;
}

.cerrar_modal:hover {
  color: white;
}

.cont_mensaje {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0px 0px 10px #969696;
  z-index: 1500;
  text-align: center;
}

.top_mensaje {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  box-shadow: 0px 0px 10px #0f2350;
  z-index: 1500;
  text-align: center;
  background: #c3582c;
}

.isTrue {
  background: #2196F3;
  border: 1px solid #1392cc;
}

.isFalse {
  background: #d62c2c;
  border: 1px solid #ff9f41;
}

.text_mensaje {
  display: inline-block;
  color: white;
  padding: .8em 0;
}

.txt_ms_t {
  display: block;
  padding: 2em 1em;
  font-size: 1.2em;
  color: white;
}

.fadeInDown {
  -webkit-animation: fadeInDown 1s 1;
  animation: fadeInDown 1s 1;
}

.fadeOutUp {
  -webkit-animation: fadeOutUp 1s 1;
  animation: fadeOutUp 1s 1;
}

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes fadeOutUp {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

/* ==========================================
   PAYMENTS STRIP
   ========================================== */
.payments-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px 24px;
  background: var(--sand);
  border-top: 1px solid var(--sand-deep);
  border-bottom: 1px solid var(--sand-deep);
}

.payments-strip p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 8px;
}

.payments-strip img {
  height: 36px;
  border-radius: 6px;
  opacity: 0.85;
  transition: var(--trans-fast);
}

.payments-strip img:hover {
  opacity: 1;
}

/* ==========================================
   FLOATING BUTTONS
   ========================================== */
.whts-btn-light {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  transition: var(--trans);
}

.whts-btn-light:hover {
  transform: scale(1.1);
}

.btn-res-mobile-light {
  position: fixed;
  bottom: 24px;
  right: 96px;
  z-index: 999;
  display: none;
  background: var(--terracotta);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(192, 87, 43, 0.5);
  transition: var(--trans);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   FOOTER (Legacy Port & Unified Design)
   ========================================== */
footer {
  background: linear-gradient(180deg, #16162a 0%, #12122a 100%);
  padding: 80px 0 40px;
  border-top: none;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.logo_foot img {
  max-width: 150px;
  height: auto;
  opacity: 1;
}

h5.w-text {
  font-family: var(--font-primary);
  color: var(--gold) !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lnk_fot {
  color: var(--sand) !important;
  transition: all var(--trans-fast);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: block;
}

.lnk_fot:hover {
  color: var(--gold) !important;
  padding-left: 5px;
}

.link_term {
  font-size: 0.85rem;
  color: var(--sand-deep) !important;
}

.contact-info p {
  color: var(--sand);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.bottom-bar {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sand-deep);
  font-size: 0.9rem;
}

/* Sentaury Credit (Unified) */
.sentaury-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.35s ease;
  padding: 1rem 0 0;
}

.sentaury-credit:hover {
  opacity: 1;
}

.sentaury-credit__icon {
  width: 13px;
  height: 13px;
  color: var(--sand);
}

.sentaury-credit__label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

.sentaury-credit__dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sand-deep);
}

.sentaury-credit__brand {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {

  .hero-light-title {
    font-size: 3rem;
  }

  .contact-grid-light {
    grid-template-columns: 1fr;
  }

  .gallery-light {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 200px 200px;
  }

  .gallery-large-item {
    grid-row: span 1;
  }

  .booking-bar-light {
    border-radius: 16px;
    flex-wrap: wrap;
    /* Permitir wrap en tablets si es necesario */
    justify-content: center;
  }
}



@media (max-width: 768px) {

  .hero-light-content {
    max-width: 100%;
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }

  /* El degradado debe cubrir mÃ¡s ancho/alto en mÃ³vil para que el texto montado encima sea legible */
  body.bg-piedra-light .hero-light::before {
    /* background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(50,50,50,0.4) 60%, rgba(200,200,200,0) 100%); */
    background: linear-gradient(105deg, rgb(0 0 0 / 40%) 0%, rgb(98 98 98 / 20%) 45%, rgb(46 46 46 / 10%) 75%, rgb(255 255 255 / 0%) 100%);
  }

  /* Ajuste de compresiÃ³n para los datos de contacto en cabecera mÃ³vil */
  body.bg-piedra-light .cabecera {
    height: 80px;
    /* Forzar alto en mÃ³vil para que no colapse */
  }

  body.bg-piedra-light .cabecera .limpio {
    gap: 12px;
  }

  body.bg-piedra-light .cabecera .limpio .d-inline {
    gap: 8px;
  }

  /* Arreglo de overlapping: mover boton menu a la derecha y centrar verticalmente */
  body.bg-piedra-light .icon_men {
    left: auto !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%);
    color: #f5dd9c !important;
    /* amarillo acorde al icon */
  }

  /* Subir el telÃ©fono junto al menÃº y centrarlo verticalmente */
  body.bg-piedra-light .cabecera .telefono_num {
    position: absolute;
    right: 65px;
    /* a la izquierda del botÃ³n de menÃº */
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    font-size: 0.9rem;
  }


  .section-light {
    padding: 64px 20px;
  }

  .rooms-grid-light {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-panel {
    padding: 28px 20px;
  }

  /* Los botones flotantes inician ocultos abajo en el viewport */
  .btn-res-mobile-light,
  .whts-btn-light {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100px) scale(0.9);
  }

  .btn-res-mobile-light {
    display: block;
    /* Solo se muestra como flex/block en movil */
  }

  /* Clase aÃ±adida vÃ­a JS al hacer scroll */
  .btn-res-mobile-light.show-float,
  .whts-btn-light.show-float {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  /* Centrar el logotipo en el footer para versiÃ³n mÃ³vil */
  body.bg-piedra-light footer .logo_foot {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
  }

  /* Footer Layout Port */
  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .booking-bar-light {
    flex-direction: column;
    padding: 24px 20px;
    /* reducir padding interno para que no asfixie las pantallas muy chiquitas */
  }

  .booking-bar-light .field-wrap {
    width: 100%;
    min-width: unset;
  }

  .input-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .hero-light-ctas {
    flex-direction: column;
  }

  .btn-light-primary,
  .btn-light-outline {
    text-align: center;
  }
}

/* =============================================================
 * COMPONENTE DATEPICKER Â· TEMA LUZ DE TEOTIHUACÃN (LIGHT)
 * ============================================================*/
.datepicker {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  position: absolute;
  top: -21em;
  width: 260px;
  z-index: 9999;
  /* THEME LIGHT */
  background-color: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 12px;
  -webkit-box-shadow: var(--shadow-warm);
  box-shadow: var(--shadow-warm);
  color: var(--obsidian);
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 14px;
  transition: var(--trans);
}

.datepicker__inner {
  overflow: hidden;
  padding: 24px;
}

.datepicker__month {
  border-collapse: collapse;
  text-align: center;
  width: 100%;
  font-size: 13px;
}

.datepicker__month--month2 {
  display: none;
}

.datepicker__month-caption {
  border-bottom: 1px solid var(--sand);
  height: 3em;
  vertical-align: middle;
}

.datepicker__month-name {
  text-transform: uppercase;
  color: var(--navy);
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.datepicker__week-days {
  height: 2.5em;
  vertical-align: middle;
}

.datepicker__week-name {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--stone-lt);
  letter-spacing: 0.05em;
}

.datepicker__month-day {
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-property: color, background-color, border-color;
  transition-property: color, background-color, border-color;
  transition-timing-function: ease;
  color: var(--obsidian-mid);
  padding: 10px 8px;
  border-radius: 6px;
}

.datepicker__month-day--valid {
  cursor: pointer;
}

.datepicker__month-day--invalid {
  color: var(--stone-lt);
  opacity: 0.4;
}

.datepicker__month-day--disabled {
  color: var(--sand-deep);
  position: relative;
  cursor: not-allowed;
}

.datepicker__month-day--disabled:after {
  content: '\00d7';
  left: 50%;
  position: absolute;
  color: var(--terracotta);
  font-size: 16px;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

.datepicker__month-day--day-of-week-disabled {
  background-color: var(--linen);
}

.datepicker__month-day--selected {
  background-color: var(--terracotta) !important;
  color: var(--white) !important;
}

.datepicker__month-day--selected:after {
  display: none;
}

.datepicker__month-day--hovering {
  background-color: var(--sand);
  color: var(--terracotta);
}

.datepicker__month-day--today {
  color: var(--gold);
  font-weight: 700;
  position: relative;
}

.datepicker__month-day--today::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--gold);
}

.datepicker__month-day--first-day-selected,
.datepicker__month-day--last-day-selected {
  background-color: var(--navy) !important;
  color: var(--white) !important;
  font-weight: 700;
}

.datepicker__month-day--last-day-selected:after {
  content: none;
}

.datepicker__month-day--lastMonth,
.datepicker__month-day--nextMonth {
  visibility: hidden;
}

.datepicker__month-button {
  cursor: pointer;
  transition: var(--trans-fast);
  background-color: var(--linen);
  border: 1px solid var(--sand-deep);
  border-radius: 8px;
  color: var(--obsidian);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.datepicker__month-button:hover {
  background-color: var(--navy-glass);
  border-color: var(--navy);
  color: var(--navy);
}

.datepicker__topbar {
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand);
}

.datepicker__info-text {
  font-size: 13px;
}

.datepicker__info--selected {
  font-size: 11px;
  text-transform: uppercase;
  text-align: left;
}

.datepicker__info--selected-label {
  color: var(--stone);
  font-weight: 600;
}

.datepicker__info-text--selected-days {
  font-size: 11px;
  font-style: normal;
  color: var(--terracotta);
  font-weight: 700;
}

.datepicker__info--feedback {
  display: none;
}

.datepicker__info--error,
.datepicker__info--help {
  display: block;
  margin-top: 8px;
}

.datepicker__info--error {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 600;
}

.datepicker__info--help {
  color: var(--stone);
  text-align: left;
}

.datepicker__close-button {
  cursor: pointer;
  transition: var(--trans);
  background-color: var(--white);
  border-radius: 50px;
  border: 1.5px solid var(--terracotta);
  box-shadow: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-top: 20px;
  padding: 8px 20px;
  text-transform: uppercase;
}

.datepicker__close-button:hover {
  background-color: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-hover);
}

.datepicker__tooltip {
  position: absolute;
  background-color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  font-size: 11px;
  color: var(--white);
  margin-top: -8px;
  padding: 6px 12px;
  font-weight: 600;
  z-index: 10000;
}

.datepicker__tooltip:after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--navy);
  bottom: -5px;
  content: '';
  left: 50%;
  margin-left: -5px;
  position: absolute;
}

.datepicker__month-day--no-checkin,
.datepicker__month-day--no-checkout {
  position: relative;
}

.datepicker__month-day--no-checkin:after {
  background-color: rgba(217, 113, 74, 0.1);
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 50%;
  top: 0;
  z-index: -1;
}

.datepicker__month-day--no-checkout:after {
  background-color: rgba(217, 113, 74, 0.1);
  bottom: 0;
  content: '';
  display: block;
  left: 50%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

/* Responsive Overrides Light */
@media (min-width: 480px) {
  .datepicker__months {
    overflow: hidden;
    position: relative;
    display: flex;
    gap: 32px;
  }

  .datepicker__month {
    flex: 1;
  }

  .datepicker__month--month2 {
    display: table;
  }

  .datepicker__month-button--disabled {
    visibility: hidden;
  }

  .datepicker__months:before {
    background: var(--sand);
    bottom: 24px;
    content: '';
    display: block;
    left: 50%;
    position: absolute;
    top: 24px;
    width: 1px;
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) {
  .datepicker {
    width: 600px;
    padding: 10px;
  }

  .datepicker__close-button {
    margin-top: 0;
    position: absolute;
    right: 24px;
    top: -11px;
  }
}

/* ==========================================
   VIEW-SPECIFIC OVERRIDES (Unified Style Management)
   ========================================== */

/* 1. SHARED INTERNAL HERO COMPONENT */
.hero-light-inner {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
}

.hero-light-inner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-light-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, rgb(0 0 0 / 60%) 0%, rgb(98 98 98 / 30%) 50%, rgb(255 255 255 / 0%) 100%);
}

.hero-light-content {
  z-index: 3;
}

@media (max-width: 768px) {

  .hero-light-inner::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(50, 50, 50, 0.4) 60%, rgba(200, 200, 200, 0) 100%);
  }
}

/* 2. PAGE: HABITACIONES */
.pg-habitaciones .hero-light-inner {
  /* Inherits shared hero */
}

@media (max-width: 768px) {

  .pg-habitaciones .hero-light-inner::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(50, 50, 50, 0.4) 60%, rgba(200, 200, 200, 0) 100%);
  }
}

/* 3. PAGE: CONTACTO */
.pg-contacto .hero-light-inner::before {
  background: linear-gradient(90deg, rgba(27, 59, 111, 0.7) 0%, rgba(27, 59, 111, 0.3) 60%, rgba(255, 255, 255, 0) 100%);
}

.pg-contacto .hero-light-content {
  color: var(--white);
}

.contact-grid-light {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  padding: 80px 0;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card-light {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--sand-deep);
  box-shadow: var(--shadow-card);
  transition: var(--trans);
}

.contact-card-light:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--navy-mid);
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  background: var(--navy-glass);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-detail-h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--stone);
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-detail-p {
  font-size: 1.05rem;
  color: var(--obsidian);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.contact-detail-link {
  color: var(--navy-mid);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-detail-link:hover {
  color: var(--terracotta);
}

.form-glass-panel {
  background: var(--white);
  border-radius: 30px;
  padding: 50px;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--sand-deep);
}

.form-title-light {
  font-size: 1.8rem;
  color: var(--obsidian);
  margin-bottom: 12px;
}

.form-subtitle-light {
  color: var(--stone);
  margin-bottom: 40px;
  font-size: 1rem;
}

.input-group-light {
  margin-bottom: 24px;
}

.label-light {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--obsidian-mid);
  margin-bottom: 10px;
}

.input-light-custom {
  width: 100%;
  background: var(--linen);
  border: 1.5px solid var(--sand-deep);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--obsidian);
  transition: var(--trans-fast);
  outline: none;
}

.input-light-custom:focus {
  border-color: var(--navy-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(43, 93, 168, 0.1);
}

.map-strip-light {
  width: 100%;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--sand-deep);
  margin-top: 40px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 991px) {
  .contact-grid-light {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .form-glass-panel {
    padding: 30px 20px;
  }
}

/* 4. PAGE: GALERÍA */
.pg-galeria .hero-light-inner::before {
  background: linear-gradient(90deg, rgba(27, 59, 111, 0.7) 0%, rgba(27, 59, 111, 0.3) 60%, rgba(255, 255, 255, 0) 100%);
}

.pg-galeria .hero-light-content {
  color: var(--white);
}

.gallery-grid-light {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 320px;
  gap: 20px;
  padding: 80px 0;
}

.gallery-item-light {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  box-shadow: var(--shadow-card);
  background: var(--sand);
  transition: var(--trans);
}

.gallery-item-light:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  z-index: 2;
}

.gallery-img-light {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--trans);
}

.gallery-item-light:hover .gallery-img-light {
  filter: brightness(0.85);
}

.gallery-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 59, 111, 0.6) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  transition: var(--trans-fast);
}

.gallery-item-light:hover .gallery-overlay-light {
  opacity: 1;
}

.gallery-icon-box {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.2rem;
  box-shadow: var(--shadow-warm);
}

.gallery-item-title {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Magnific Popup Overrides */
.mfp-bg {
  background: rgba(250, 246, 241, 0.98);
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: var(--navy);
  right: -10px;
  top: -10px;
}

.mfp-figure::after {
  background: var(--white);
}

.mfp-bottom-bar {
  padding-top: 15px;
}

.mfp-title {
  color: #16162a !important;
  font-weight: 700;
  font-size: 1.1rem;
}

.mfp-counter {
  color: var(--stone);
  font-weight: 600;
}

@media (max-width: 768px) {

  .gallery-grid-light {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 280px;
    gap: 16px;
  }
}

/* 5. PAGE: SERVICIOS */
.pg-servicios .hero-light-inner::before {
  background: linear-gradient(90deg, rgba(44, 24, 16, 0.7) 0%, rgba(44, 24, 16, 0.3) 60%, rgba(255, 255, 255, 0) 100%);
}

.pg-servicios .hero-light-content {
  color: var(--white);
}

.services-grid-light {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.service-card-light {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid var(--sand-deep);
  box-shadow: var(--shadow-card);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card-light:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--terracotta);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--sand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: 1.8rem;
}

.service-card-light:hover .service-icon-wrap {
  background: var(--terracotta);
  color: var(--white);
}

.amenities-strip-light {
  background: var(--linen);
  padding: 100px 0;
  border-top: 1px solid var(--sand-deep);
  border-bottom: 1px solid var(--sand-deep);
}

.amenity-row-light {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--sand-deep);
}

.amenity-row-light:last-child {
  border-bottom: none;
}

/* 6. PAGE: DETALLE HABITACION */
.pg-habitacion-detalle .hero-light-inner {
  height: 55vh;
  min-height: 480px;
}

.pg-habitacion-detalle .hero-light-inner::before {
  background: linear-gradient(90deg, rgba(27, 59, 111, 0.65) 0%, rgba(27, 59, 111, 0.2) 60%, rgba(255, 255, 255, 0) 100%);
}

.pg-habitacion-detalle .hero-light-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-weight: 500;
}

.room-detail-container {
  padding: 80px 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.room-detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.rd-gallery {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rd-main-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.rd-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.rd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rd-thumb {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

.rd-thumb.active {
  opacity: 1;
  border-color: var(--navy-mid);
  transform: translateY(-2px);
}

.rd-info-panel {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--sand-deep);
}

.rd-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.rd-title {
  font-size: 2.2rem;
  color: var(--obsidian);
  margin-bottom: 24px;
  line-height: 1.1;
}

.rd-desc {
  font-size: 1.05rem;
  color: var(--obsidian-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}

.rd-amenities {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rd-am-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--obsidian);
  font-weight: 500;
}

.rd-am-item i {
  color: var(--terracotta);
  font-size: 1.4rem;
}

.rd-action-box {
  background: var(--linen);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--sand-deep);
}

.rd-price-value {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy-mid);
  margin-bottom: 8px;
  font-family: var(--font-primary);
}

@media (max-width: 991px) {
  .room-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pg-habitacion-detalle .hero-light-inner {
    height: 400px;
  }
}

/* 7. PAGE: RESERVACIONES (Flow Layout) */
.pg-reservaciones {
  overflow-x: hidden;
  background: var(--linen);
}

.res-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sand-deep);
  box-shadow: var(--shadow-small);
}

.top_mensaje {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1500;
  text-align: center;
  background: var(--terracotta);
  color: white;
  padding: 10px 0;
  font-weight: 600;
}

.res-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  height: 75px;
  gap: 24px;
}

.res-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.res-logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--sand-deep);
}

.res-stepper {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  justify-content: center;
}

.res-step {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 12px;
}

.res-step+.res-step::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--sand-deep);
  flex-shrink: 0;
}

.res-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--sand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--stone);
  background: var(--white);
}

.res-step.done .res-step-num {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.res-step.done .res-step-label {
  color: var(--navy);
}

.res-hero {
  position: relative;
  height: 40vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
}

.res-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.res-main {
  padding: 80px 20px;
  background: var(--linen);
  min-height: 60vh;
}

.res-content-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.res-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--sand-deep);
  box-shadow: var(--shadow-card);
}

.res-card-body {
  padding: 60px;
}

/* 8. RESERVACIONES: PASOS ESPECÍFICOS */
.p1-header,
.p2-header-light,
.p3-header-light {
  text-align: center;
  margin-bottom: 50px;
}

.p1-guests-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 50px;
}

.p2-room-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.p2-room-card-light {
  display: grid;
  grid-template-columns: 350px 1fr 260px;
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: var(--trans);
}

.p2-room-card-light:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--navy-border);
  transform: translateY(-4px);
}

.p2-rc-gallery {
  position: relative;
  height: 100%;
  min-height: 280px;
}

.p2-rc-gallery-inner {
  height: 100%;
  width: 100%;
  position: relative;
}

.p2-rc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p2-rc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: var(--trans);
  z-index: 5;
}

.p2-rc-nav:hover {
  background: var(--navy);
  color: var(--white);
}

.p2-rc-nav.left {
  left: 15px;
}

.p2-rc-nav.right {
  right: 15px;
}

.p2-rc-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--terracotta);
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.p2-rc-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--sand-deep);
  background: var(--white);
}

.p2-rc-tag {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.p2-rc-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--obsidian);
  margin-bottom: 12px;
}

.p2-rc-guests {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--stone);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.p2-rc-guests i {
  color: var(--navy-mid);
}

.p2-rc-amenities {
  margin-top: 20px;
}

.p2-rc-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.p2-rc-icons i {
  width: 40px;
  height: 40px;
  background: var(--linen);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 1.1rem;
  transition: var(--trans);
}

.p2-rc-icons i:hover {
  color: var(--gold);
  background: var(--sand);
}

.p2-rc-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.p2-rc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--stone);
  margin-bottom: 8px;
}

.p2-rc-list li i {
  color: var(--teal-dark);
  font-size: 0.8rem;
}

.p2-rc-more a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--navy-mid);
  font-weight: 500;
  cursor: pointer;
  transition: var(--trans);
}

.p2-rc-more a:hover {
  color: var(--gold);
  gap: 15px;
}

.p2-rc-pricing {
  padding: 40px;
  display: flex;
  flex-direction: column;
  text-align: right;
  background: var(--linen);
  justify-content: center;
}

.p2-rc-price-wrap {
  margin-bottom: 25px;
}

.p2-rc-price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.p2-rc-price-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--obsidian);
}

.p2-rc-total-box {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(44, 24, 16, 0.04);
}

.p2-rc-total-box span {
  display: block;
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 5px;
}

.p2-rc-total-box strong {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--terracotta);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .p2-room-card-light {
    grid-template-columns: 300px 1fr 240px;
  }
}

@media (max-width: 900px) {
  .p2-room-card-light {
    grid-template-columns: 1fr !important;
  }

  .p2-rc-gallery {
    height: 260px;
    min-height: auto;
  }

  .p2-rc-content {
    border-right: none;
    border-bottom: 1px solid var(--sand-deep);
  }

  .p2-rc-pricing {
    text-align: center;
  }
}

.p3-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: start;
}

/* Columna Izquierda: Formulario */
.p3-ck-section-head {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand-deep);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.p3-ck-section-head h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--obsidian);
  margin: 0;
}

.p3-ck-guest-search {
  margin-bottom: 35px;
  padding: 24px;
  background: var(--white);
  border: 1px dashed var(--sand-deep);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-light-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--linen);
  border: 1px solid var(--sand-deep);
  border-radius: 50px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  font-family: var(--font-primary);
}

.btn-light-secondary i {
  font-size: 1.2rem;
  color: var(--terracotta);
}

.btn-light-secondary:hover {
  background: var(--white);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.p3-res-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.p3-field-full {
  grid-column: 1 / -1;
}

.p3-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p3-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--obsidian-mid);
  letter-spacing: 0.5px;
}

.p3-field input {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-primary);
  color: var(--obsidian);
  transition: var(--trans);
}

.p3-field input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(192, 87, 43, 0.1);
  outline: none;
}

/* Toggles & Checkboxes */
.p3-ck-billing-toggle {
  margin-top: 30px;
}

.p3-ck-switch {
  display: inline-block;
}

.p3-ck-toggle {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.p3-ck-toggle input {
  display: none;
}

.p3-slider {
  width: 48px;
  height: 26px;
  background: var(--sand-deep);
  border-radius: 30px;
  position: relative;
  transition: var(--trans);
}

.p3-slider:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--trans);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.p3-ck-toggle input:checked+.p3-slider {
  background: var(--terracotta);
}

.p3-ck-toggle input:checked+.p3-slider:before {
  transform: translateX(22px);
}

.p3-ck-consents {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p3-ck-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.5;
}

.p3-ck-checkbox input {
  display: none;
}

.p3-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--sand-deep);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: var(--trans);
  background: var(--white);
}

.p3-ck-checkbox input:checked+.p3-box {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.p3-ck-checkbox input:checked+.p3-box:after {
  content: "✔";
  position: absolute;
  color: white;
  font-size: 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.p3-ck-action {
  margin-top: 40px;
}

/* Columna Derecha: Resumen */
.p3-ck-summary {
  position: sticky;
  top: 100px;
}

.p3-cks-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 25px;
  padding: 30px;
  box-shadow: var(--shadow-small);
}

.p3-cks-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--obsidian);
  margin: 0 0 20px;
  border-bottom: 1px dashed var(--sand-deep);
  padding-bottom: 15px;
}

.p3-cks-room {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: center;
}

.p3-cks-room-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.p3-cks-room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p3-cks-tag {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.p3-cks-room-info h4 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--obsidian);
}

.p3-cks-meta {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--stone);
}

.p3-cks-meta i {
  color: var(--terracotta);
  font-size: 0.9rem;
}

.p3-cks-totals {
  border-top: 1px solid var(--linen);
  padding-top: 20px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p3-cks-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--stone);
}

.p3-cks-row.total {
  margin-top: 5px;
  padding-top: 15px;
  border-top: 2px solid var(--sand);
  color: var(--obsidian);
  font-weight: 700;
  font-size: 1.1rem;
}

.p3-cks-row.total strong {
  color: var(--terracotta);
  font-family: var(--font-primary);
  font-size: 1.3rem;
}

.p3-cks-requests {
  margin-top: 20px;
}

.p3-cks-requests label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--stone);
  margin-bottom: 8px;
}

.p3-cks-requests textarea {
  width: 100%;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.85rem;
  border: 1px solid var(--sand-deep);
  background: var(--linen);
  transition: var(--trans);
}

.p3-cks-requests textarea:focus {
  background: var(--white);
  border-color: var(--terracotta);
  outline: none;
}

@media (max-width: 900px) {
  .p3-checkout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    display: flex;
    flex-direction: column;
  }

  .p3-ck-form {
    order: 1;
  }

  .p3-ck-summary {
    order: 2;
    position: static;
  }

  .p3-res-form-grid {
    grid-template-columns: 1fr;
  }
}

/* 8.4. RESERVACIONES: PASO 4 (Payment) */
.p4-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: start;
}

.p4-payment-box {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 25px;
  padding: 40px;
  box-shadow: var(--shadow-small);
}

.p4-stripe-wrapper {
  background: var(--linen);
  border: 1px solid var(--sand-deep);
  padding: 24px;
  border-radius: 16px;
  transition: var(--trans);
  margin-bottom: 10px;
}

.p4-stripe-wrapper:focus-within {
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(192, 87, 43, 0.1);
}

#card-error {
  color: var(--terracotta);
  font-size: 0.85rem;
  margin-top: 15px;
  font-weight: 700;
  display: block;
}

.p4-payment-logos {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 10px;
}

.p4-payment-logos i {
  font-size: 1.6rem;
  color: var(--navy-mid);
  opacity: 0.8;
}

.p4-payment-logos img {
  height: 22px;
  opacity: 0.9;
  filter: none;
  transition: var(--trans);
}

.p4-payment-logos img:hover {
  opacity: 1;
}

.p4-payment-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #2ecc71;
  padding: 24px;
  background: rgba(46, 204, 113, 0.08);
  border-radius: 16px;
  margin-top: 20px;
  font-weight: 800;
  font-size: 1.1rem;
}

.p4-security-badge {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px;
  background: var(--linen);
  border-radius: 20px;
  border: 1px dashed var(--sand-deep);
}

.p4-security-badge i {
  font-size: 2.4rem;
  color: var(--terracotta);
}

.p4-security-badge strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 800;
}

.p4-security-badge p {
  color: var(--stone);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.6;
}

.p4-spinner {
  border: 3px solid rgba(255, 255, 255, .3);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border-left-color: #fff;
  animation: p4spin 1s linear infinite;
}

@keyframes p4spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Resumen Paso 4 (Matching P3) */
.p4-cks-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 25px;
  padding: 30px;
  box-shadow: var(--shadow-small);
}

.p4-cks-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--obsidian);
  margin: 0 0 20px;
  border-bottom: 1px dashed var(--sand-deep);
  padding-bottom: 15px;
}

.p4-cks-room {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: center;
}

.p4-cks-room-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.p4-cks-room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p4-cks-tag {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.p4-cks-room-info h4 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--obsidian);
}

.p4-cks-meta {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--stone);
}

.p4-cks-meta i {
  color: var(--terracotta);
  font-size: 0.9rem;
}

.p4-cks-totals {
  border-top: 1px solid var(--linen);
  padding-top: 20px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p4-cks-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--stone);
}

.p4-cks-row.total {
  margin-top: 5px;
  padding-top: 15px;
  border-top: 2px solid var(--sand);
  color: var(--obsidian);
  font-weight: 700;
  font-size: 1.1rem;
}

.p4-cks-row.total strong {
  color: var(--terracotta);
  font-family: var(--font-primary);
  font-size: 1.3rem;
}

/* Loader de procesamiento final */
.prlod_go {
  width: 100%;
  height: 6px;
  background: var(--linen);
  border-radius: 10px;
  overflow: hidden;
  margin: 30px 0;
}

.barr_go_pr {
  width: 40%;
  height: 100%;
  background: var(--gold);
  animation: p4loadBar 2s infinite ease-in-out;
}

@keyframes p4loadBar {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(300%);
  }
}

@media (max-width: 900px) {
  .p4-checkout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    display: flex;
    flex-direction: column;
  }

  .p4-ck-form {
    order: 1;
  }

  .p4-ck-summary {
    order: 2;
    position: static;
  }
}

/* 9. PAGE: LOCATION / LANDING RESERVA */
.pg-location .loc-hero-light {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 120px 5%;
  position: relative;
  overflow: hidden;
}

.loc-hero-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/hero_teotihuacan.png');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.loc-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

/* 10. PAGE: LINKPAY */
.pg-linkpay {
  background: var(--linen);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.lp-card {
  background: var(--white);
  max-width: 600px;
  width: 100%;
  border-radius: 30px;
  border: 1px solid var(--sand-deep);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.lp-head {
  padding: 40px;
  background: var(--navy);
  color: white;
  text-align: center;
}

.lp-amount-box {
  background: var(--linen);
  border: 2px solid var(--sand-deep);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}

/* 8.1. RESERVACIONES: PASO 1 (Restored Styles) */
.p1-header {
  margin-bottom: 50px;
  text-align: center;
}

.p1-guests-label {
  margin: 40px 0 20px;
  display: block;
}

.p1-guests-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.p1-guest-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 20px;
  transition: var(--trans);
  box-shadow: var(--shadow-small);
}

.p1-guest-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.p1-guest-icon {
  width: 48px;
  height: 48px;
  background: var(--linen);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: 1.5rem;
}

.p1-guest-body {
  flex: 1;
}

.p1-guest-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.p1-guest-hint {
  font-size: 0.75rem;
  color: var(--stone);
}

.p1-guest-select select {
  border: none;
  background: var(--linen);
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  outline: none;
  transition: var(--trans);
}

.p1-guest-select select:focus {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}

.p1-dates-wrap {
  margin-top: 50px;
}

.p1-date-input {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: var(--shadow-small);
}

.p1-date-input:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-card);
}

.p1-date-icon {
  width: 48px;
  color: var(--terracotta);
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
}

.p1-date-body {
  flex: 1;
}

.p1-date-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.p1-date-input input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  outline: none;
  cursor: pointer;
}

.p1-alert {
  margin-top: 30px;
  padding: 20px;
  background: #fdf2f2;
  border: 1px solid #f9d7d7;
  border-radius: 15px;
  color: #c53030;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  font-size: 0.9rem;
}

.p1-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  padding: 30px;
  background: var(--white);
  border-radius: 20px;
  border: 1px dashed var(--sand-deep);
}

.p1-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--stone);
  font-size: 0.85rem;
  font-weight: 600;
}

.p1-trust-item i {
  color: var(--terracotta);
  font-size: 1.2rem;
}

.p1-trust-sep {
  width: 1px;
  height: 24px;
  background: var(--sand-deep);
}

.p1-action {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 768px) {

  .p1-guests-grid {
    grid-template-columns: 1fr;
  }

  .p1-trust {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .p1-trust-sep {
    display: none;
  }
}

/* 8.2. REFINAMIENTOS DE DISEÑO: PASO 1 (Contraste y Alineación) */
.res-card .hero-light-title {
  color: var(--navy) !important;
  opacity: 1 !important;
  animation: none !important;
  margin-top: 20px;
}

.res-card .hero-light-title span {
  color: var(--terracotta) !important;
}

.res-card .hero-light-tag {
  color: var(--terracotta) !important;
  background: var(--sand-deep) !important;
  opacity: 1 !important;
  animation: none !important;
}

/* Limitación de ancho para evitar desfase */
.p1-guests-grid,
.p1-dates-wrap,
.p1-header {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.p1-header p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
}

.p1-date-input {
  max-width: 800px;
  margin: 0 auto;
}

/* Corrección de alineación de etiquetas */
.p1-guest-card {
  height: 100px;
  /* Altura fija para alineación perfecta */
}

.p1-guest-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p1-guest-label {
  line-height: 1;
  margin-bottom: 4px;
}

/* Ajuste final de margen para etiqueta de viajeros */
.p1-guests-label {
  max-width: 800px;
  margin: 40px auto 20px;
  text-align: center;
}

/* CORRECTOR DEFINITIVO: ALINEACIÓN PASO 1 */
.p1-guests-label {
  display: block !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 40px auto 20px !important;
  text-align: center !important;
  padding: 0 20px;
  box-sizing: border-box;
}

.p1-guests-label .hero-light-tag {
  display: inline-block !important;
  margin: 0 auto !important;
}

.p1-guests-grid,
.p1-dates-wrap,
.p1-header,
.p1-action,
.p1-trust {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* FINAL FINAL: CENTRADO DE ETIQUETAS DE SECCIÓN */
.p1-guests-label,
.p1-dates-wrap {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 800px !important;
}

.p1-dates-wrap span.hero-light-tag {
  display: inline-block !important;
  margin-bottom: 20px !important;
}

/* 11. HOTEL DATEPICKER: LIBRARY STYLES (Modernized) */
.datepicker {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-primary);
  color: var(--navy);
  z-index: 2000;
  border: 1px solid var(--sand-deep);
  position: absolute;
}

.datepicker--closed {
  display: none;
}

.datepicker--open {
  display: block;
}

.datepicker__inner {
  padding: 25px;
}

.datepicker__month-name {
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.datepicker__month-button {
  background: var(--linen);
  color: var(--navy);
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
  transition: var(--trans-fast);
}

.datepicker__month-button:hover {
  background: var(--navy);
  color: var(--white);
}

.datepicker__month-day {
  padding: 12px 10px;
  cursor: pointer;
  transition: var(--trans-fast);
  border-radius: 8px;
  font-weight: 600;
}

.datepicker__month-day--valid {
  color: var(--navy);
}

.datepicker__month-day--invalid {
  color: var(--stone-mid);
  opacity: 0.4;
}

.datepicker__month-day--today {
  background: var(--linen);
  border: 1px solid var(--sand-deep);
}

.datepicker__month-day--selected {
  background-color: var(--sand-deep) !important;
  color: var(--navy) !important;
}

.datepicker__month-day--first-day-selected,
.datepicker__month-day--last-day-selected {
  background-color: var(--terracotta) !important;
  color: var(--white) !important;
}

.datepicker__month-day--hovering {
  background-color: var(--linen);
}

.datepicker__close-button {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 15px;
}

.datepicker__tooltip {
  background: var(--navy);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
}

/* Fix for the invisible input layer */
.p1-date-body .inp-picker {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--navy) !important;
  font-family: var(--font-primary) !important;
  font-size: 1.2rem !important;
  font-weight: 800;
  width: 100% !important;
  cursor: pointer;
  outline: none !important;
  position: relative;
  z-index: 5;
}

.p1-date-input {
  position: relative;
  overflow: visible !important;
}

/* Ajuste de alineación para el botón de cerrar del datepicker */
.datepicker__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
}

@media (min-width: 768px) {
  .datepicker__close-button {
    margin-top: 0 !important;
    position: absolute !important;
    right: 0 !important;
    top: -5px !important;
  }

  .datepicker__inner {
    padding-top: 40px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   12. RESERVACIONES: ESTILOS FALTANTES + RESPONSIVE COMPLETO
   ═══════════════════════════════════════════════════════════════ */

/* ── Elementos del stepper que faltaban ─────────────────────── */
.res-step-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.res-step-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--stone);
  transition: var(--trans);
}

.res-step-sublabel {
  font-size: 0.7rem;
  color: var(--stone-mid);
  font-weight: 500;
}

.res-step.done .res-step-sublabel {
  color: var(--navy-mid);
}

/* Botón de salir */
.res-exit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid var(--sand-deep);
  border-radius: 50px;
  color: var(--stone);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--trans);
  flex-shrink: 0;
  background: var(--linen);
}

.res-exit:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--white);
}

/* Clase utilitaria de visibilidad */
.ocultar-sm {
  display: inline;
}

/* Footer de reservaciones */
.res-footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-top: 1px solid var(--sand-deep);
}

/* Paso 4 — columna derecha sticky */
.p4-ck-summary {
  position: sticky;
  top: 100px;
}

/* ── Paso 4: cabecera ────────────────────────────────────────── */
.p4-header-light {
  text-align: center;
  margin-bottom: 50px;
}

.p4-ck-section-head {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand-deep);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.p4-ck-section-head h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--obsidian);
  margin: 0;
}

/* ── Paso 5: cabecera ─────────────────────────────────────────── */
.p5-header-light {
  text-align: center;
  margin-bottom: 50px;
}

/* ═══════════════════════════════════════════
   MEDIA QUERIES — MOTOR DE RESERVAS MÓVIL
   ═══════════════════════════════════════════ */

/* ── Tablet grande (≤1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  .res-card-body {
    padding: 40px;
  }

  .res-main {
    padding: 50px 16px;
  }

  /* Paso 3 y 4: ajuste de columna lateral */
  .p3-checkout-grid,
  .p4-checkout-grid {
    grid-template-columns: 1fr 340px;
    gap: 30px;
  }
}

/* ── Tablet (≤900px) ─────────────────────────────────────────── */
@media (max-width: 900px) {

  /* Nav: reducir padding de pasos */
  .res-nav-inner {
    height: 65px;
    padding: 0 4%;
    gap: 12px;
  }

  .res-step {
    padding: 8px 10px;
    gap: 7px;
  }

  .res-step+.res-step::before {
    width: 16px;
  }

  /* Hero: reducir altura */
  .res-hero {
    height: 30vh;
    min-height: 220px;
  }

  /* Card principal */
  .res-card-body {
    padding: 30px;
  }

  .res-main {
    padding: 40px 12px;
  }

  /* Paso 3: resumen arriba en móvil */
  .p3-checkout-grid {
    display: flex;
    flex-direction: column;
  }

  .p3-ck-form {
    order: 2;
  }

  .p3-ck-summary {
    order: 1;
    position: static;
  }

  /* Paso 4: resumen arriba en móvil */
  .p4-checkout-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .p4-ck-form {
    order: 2;
  }

  .p4-ck-summary {
    order: 1;
    position: static;
  }
}

/* ── Móvil (≤768px) ──────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Utilidad ocultar en móvil */
  .ocultar-sm {
    display: none !important;
  }

  /* ── NAV / STEPPER ── */
  .res-nav-inner {
    height: 60px;
    padding: 0 16px;
    gap: 8px;
  }

  .res-logo-img {
    height: 36px;
    width: 36px;
  }

  /* Stepper: mostrar solo número en pasos no activos */
  .res-stepper {
    gap: 2px;
  }

  .res-step {
    padding: 6px 8px;
    gap: 5px;
  }

  .res-step-info {
    display: none;
  }

  /* ocultar label/sublabel */
  .res-step.done .res-step-info {
    display: none;
  }

  .res-step+.res-step::before {
    width: 12px;
  }

  .res-step-num {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  /* Botón salir: solo ícono */
  .res-exit {
    padding: 7px 12px;
    font-size: 0;
  }

  .res-exit i {
    font-size: 1.1rem;
  }

  /* ── HERO ── */
  .res-hero {
    height: 28vh;
    min-height: 180px;
  }

  .hero-light-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  /* ── CARD PRINCIPAL ── */
  .res-card {
    border-radius: 20px;
  }

  .res-card-body {
    padding: 24px 18px;
  }

  .res-main {
    padding: 24px 12px;
  }

  /* ── PASO 1 ── */
  .p1-header {
    margin-bottom: 30px;
  }

  .p1-guests-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 28px !important;
  }

  .p1-guest-card {
    height: auto;
    padding: 18px;
  }

  .p1-dates-wrap {
    margin-top: 30px;
  }

  .p1-date-input {
    padding: 18px;
    gap: 14px;
  }

  .p1-date-input input {
    font-size: 1rem !important;
  }

  .p1-trust {
    flex-direction: column !important;
    gap: 14px !important;
    padding: 18px !important;
    margin-top: 28px !important;
  }

  .p1-trust-sep {
    display: none;
  }

  .p1-action {
    margin-top: 32px;
  }

  /* ── PASO 2 ── */
  .p2-room-card-light {
    grid-template-columns: 1fr !important;
  }

  .p2-rc-gallery {
    height: 240px;
    min-height: unset;
  }

  .p2-rc-content {
    padding: 22px;
    border-right: none;
    border-bottom: 1px solid var(--sand-deep);
  }

  .p2-rc-title {
    font-size: 1.4rem;
  }

  .p2-rc-pricing {
    padding: 22px;
    text-align: left;
  }

  .p2-rc-price-value {
    font-size: 1.8rem;
  }

  .p2-rc-total-box {
    margin-bottom: 20px;
  }

  .p2-rc-total-box strong {
    font-size: 1.2rem;
  }

  .p2-rooms-cont {
    padding: 0;
  }

  /* ── PASO 3 ── */
  .p3-checkout-grid {
    gap: 20px;
  }

  .p3-ck-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .p3-ck-guest-search {
    padding: 16px;
  }

  .p3-res-form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .p3-field-full {
    grid-column: 1 / -1;
  }

  .p3-ck-billing-toggle {
    margin-top: 22px;
  }

  .p3-ck-consents {
    margin-top: 28px;
    gap: 12px;
  }

  .p3-ck-action {
    margin-top: 28px;
  }

  .p3-cks-card {
    padding: 20px;
  }

  /* ── PASO 4 ── */
  .p4-payment-box {
    padding: 22px;
  }

  .p4-security-badge {
    padding: 20px;
    gap: 14px;
  }

  .p4-security-badge i {
    font-size: 1.8rem;
  }

  .p4-cks-card {
    padding: 20px;
  }

  /* ── PASO 5 ── */
  /* Voucher header */
  .p5-v-head {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
    padding: 20px !important;
  }

  /* Banner imagen */
  .p5-v-banner {
    height: 200px;
  }

  .p5-v-banner-info {
    padding: 20px;
  }

  .p5-v-banner-info h4 {
    font-size: 1.3rem;
  }

  /* Grid de datos de huésped */
  .p5-v-data-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Fechas: columna */
  .p5-v-dates {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .p5-date-box {
    padding: 14px 16px;
  }

  /* Total */
  .p5-total-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .p5-total-wrap h2 {
    font-size: 1.8rem;
  }

  /* Contenido del voucher */
  .p5-v-content {
    padding: 22px 18px;
  }

  .p5-v-section {
    margin-bottom: 28px;
  }

  /* Footer del voucher */
  .p5-v-footer {
    padding: 36px 20px;
  }

  .p5-v-footer h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
    letter-spacing: 0.06em;
  }

  /* Botones de acción */
  .p5-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 40px !important;
  }

  .p5-actions button,
  .p5-actions a {
    min-width: unset !important;
    width: 100%;
  }

  /* Info grid */
  .p5-info-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .p5-info-card {
    padding: 22px;
  }

  /* ── DATEPICKER EN MÓVIL ── */
  .datepicker {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    /* ← sobreescribe el 260px base */
    box-sizing: border-box !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15) !important;
    z-index: 3000 !important;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* no desbordar horizontalmente */
  }

  /* Inner: ocupar todo el ancho */
  .datepicker__inner {
    padding: 24px 16px 20px !important;
    overflow: visible !important;
    /* permite que los meses se expandan */
    width: 100%;
    box-sizing: border-box;
  }

  /* Meses: apilar en columna (un mes por fila en lugar de dos en fila) */
  .datepicker__months {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
  }

  /* Ocultar divisor vertical entre meses */
  .datepicker__months:before {
    display: none !important;
  }

  /* Ambos meses visibles en columna, ancho completo */
  .datepicker__month,
  .datepicker__month--month2 {
    display: table !important;
    width: 100% !important;
  }

  /* Días más grandes para dedos */
  .datepicker__month-day {
    padding: 12px 6px !important;
    font-size: 14px !important;
  }

  /* Botón cerrar: ancho completo al fondo */
  .datepicker__close-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 16px !important;
    padding: 14px !important;
    position: static !important;
    border-radius: 14px !important;
  }

  /* ── FOOTER ── */
  .res-footer {
    padding: 30px 16px;
  }

  .res-footer div {
    flex-direction: column;
    gap: 12px !important;
  }
}

/* ── Móvil muy pequeño (≤380px) ──────────────────────────────── */
@media (max-width: 380px) {
  .res-card-body {
    padding: 18px 14px;
  }

  .res-stepper {
    gap: 0;
  }

  .res-step {
    padding: 4px 5px;
  }

  .res-step-num {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .res-step+.res-step::before {
    width: 8px;
  }

  .p5-v-footer h1 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }
}


/* =================================================================
   13. PASO 4: CARD DE PAGO PREMIUM + CORRECCIONES MOVIL
   ================================================================= */

/* Separador minimal entre logos */
.p4-logos-sep {
  width: 1px;
  height: 22px;
  background: var(--sand-deep);
  margin: 0 6px;
  flex-shrink: 0;
}

/* Mini tarjeta visual */
.p4-card-visual {
  position: relative;
  background: linear-gradient(135deg, #1b3b6f 0%, #1a3a6b 55%, #2d5f9e 100%);
  border-radius: 20px;
  padding: 28px 28px 22px;
  margin-bottom: 28px;
  color: white;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27, 59, 111, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.p4-card-visual::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 80%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.p4-card-visual::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.p4-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 35px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.p4-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.p4-card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #d4a843, #f0c060, #c8992f);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.p4-card-chip-inner {
  width: 24px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  background: linear-gradient(135deg, #e8be55, #c8992f);
}

.p4-card-brand {
  font-size: 2rem;
  color: white;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.p4-card-number-hint {
  font-family: 'Courier New', monospace;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  margin: 18px 0 14px;
  position: relative;
  z-index: 2;
}

.p4-card-bottom {
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.p4-card-meta-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
}

.p4-card-meta-val {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}

/* Label campo Stripe */
.p4-field-group {
  margin-bottom: 6px;
}

.p4-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--obsidian-mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  cursor: default;
}

.p4-field-label i {
  color: var(--terracotta);
  font-size: 1rem;
}

/* Stripe wrapper mejorado */
.p4-stripe-wrapper {
  background: var(--white) !important;
  border: 1.5px solid var(--sand-deep) !important;
  padding: 18px 20px !important;
  border-radius: 14px !important;
  transition: var(--trans);
  margin-bottom: 0 !important;
  box-shadow: 0 2px 10px rgba(44, 24, 16, 0.04);
}

.p4-stripe-wrapper:focus-within {
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 4px rgba(27, 59, 111, 0.1) !important;
}

/* Indicadores de seguridad inline */
.p4-inline-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 10px 16px;
  background: var(--linen);
  border-radius: 10px;
  border: 1px solid var(--sand-deep);
}

.p4-sec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--stone);
  white-space: nowrap;
}

.p4-sec-item i {
  color: var(--terracotta);
  font-size: 0.85rem;
}

.p4-sec-sep {
  color: var(--sand-deep);
  font-weight: 300;
  font-size: 1rem;
}

/* Summary card ancho completo en tablet */
@media (max-width: 900px) {
  .p4-ck-form {
    order: 2 !important;
    width: 100%;
  }

  .p4-ck-summary {
    order: 1 !important;
    position: static !important;
    width: 100%;
  }

  .p4-cks-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Movil */
@media (max-width: 768px) {

  .p4-card-visual {
    padding: 20px 18px 16px;
    min-height: 150px;
    border-radius: 16px;
    margin-bottom: 20px;
  }

  .p4-card-number-hint {
    font-size: 0.95rem;
    letter-spacing: 0.13em;
    margin: 12px 0 10px;
  }

  .p4-card-bottom {
    gap: 24px;
  }

  .p4-card-meta-val {
    font-size: 0.75rem;
  }

  .p4-sec-sep {
    display: none;
  }

  .p4-inline-security {
    gap: 10px;
  }

  .p4-sec-item {
    font-size: 0.7rem;
  }

  .p4-payment-box {
    padding: 18px 16px !important;
  }

  .p4-stripe-wrapper {
    padding: 16px !important;
  }

  .p4-ck-summary,
  .p4-cks-card {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}








/* =========================================================
   UTILIDADES MÓVILES PORTADAS DE TEMA 2 (UNIFICADAS)
   ========================================================= */
@media (max-width: 991px) {
  .ocultar-sm {
    display: none !important;
  }

  .sm-col-12 {
    flex: 0 0 auto !important;
    width: 100% !important;
  }

  .sm-col-3 {
    flex: 0 0 auto !important;
    width: 25% !important;
  }

  .sm-col-7 {
    flex: 0 0 auto !important;
    width: 58.3333% !important;
  }

  .sm-wrapper-1 {
    grid-template-columns: 1fr !important;
  }

  .sm-wrapper-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .sm-justify-center {
    justify-content: center !important;
  }

  .sm-mx-0 {
    margin: 0 !important;
  }

  /* Asegurar cabecera absoluta arriba del hero (transparente) y manejador .blanco para scroll */
  body.bg-piedra-light .cabecera:not(.scrolled-light) {
    position: absolute !important;
    width: 100% !important;
    top: 0;
    left: 0;
    background: transparent !important;
    z-index: 1050;
  }

  body.bg-piedra-light .cabecera {
    height: auto !important;
    padding: 0.8em 0 !important;
  }

  body.bg-piedra-light .cabecera [class*="col-"] {
    position: static !important;
  }

  body.bg-piedra-light .cabecera .row {
    position: static !important;
  }

  body.bg-piedra-light .icon_men {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    color: #f5dd9c !important;
    z-index: 2000 !important;
  }

  /* Agrupar todo el contacto derecho (telefono + redes) de forma flex central */
  body.bg-piedra-light .cabecera .t_right {
    position: absolute !important;
    right: 65px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2000 !important;
  }

  /* Solo forzamos Flexbox en el contendor directo principal para teléfono y eliminamos ocultar-sm de ahí */
  body.bg-piedra-light .cabecera .t_right .d-inline {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body.bg-piedra-light .cabecera .telefono_num {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
  }

  /* Esconder la navegación clásica y usar cascada (si es desplegado) */
  body.bg-piedra-light .cbp-tm-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 10px 0 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  body.bg-piedra-light .cbp-tm-menu.show {
    display: flex !important;
  }

  body.bg-piedra-light .cbp-tm-menu li {
    width: 100%;
    text-align: center;
  }

  body.bg-piedra-light .cbp-tm-menu li a {
    padding: 15px 20px;
    color: var(--navy) !important;
  }
}






/* =============================================================
 * ENLACE DE PAGO (LINKPAY)
 * ============================================================*/
.lp-container {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-amount-box {
  background: var(--linen);
  border: 1.5px solid var(--sand-deep);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: var(--shadow-warm);
}

.lp-amount-lbl {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
  margin-bottom: 8px;
}

.lp-amount-val {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1;
}

.lp-amount-val span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--stone);
  margin-left: 5px;
}

.lp-amount-desc {
  margin-top: 15px;
  font-size: 1rem;
  color: var(--obsidian-mid);
  font-style: italic;
}

.lp-step-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sand-deep);
}

.lp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.lp-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stone);
  margin-bottom: 8px;
  text-align: left;
}

.lp-stripe-cont {
  background: var(--white);
  border: 1.5px solid var(--sand-deep);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.lp-status {
  text-align: center;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lp-status i {
  font-size: 3.5rem;
  width: 100px;
  height: 100px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 50%;
  position: relative;
}

.lp-status h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--obsidian);
}

.lp-status p {
  color: var(--stone);
  font-size: 1.1rem;
  max-width: 450px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

.lp-status.success i {
  background: var(--navy-glass);
  color: var(--teal-dark);
  box-shadow: 0 0 0 10px rgba(13, 206, 207, 0.05);
}

.lp-status.success i::after {
  content: '';
  position: absolute;
  inset: -15px;
  border: 1px dashed var(--teal-dark);
  border-radius: 50%;
  opacity: 0.3;
  animation: rotate 15s linear infinite;
}

.lp-status.expired i {
  background: rgba(122, 101, 88, 0.1);
  color: var(--stone);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.lp-policies {
  margin-top: 40px;
  border-top: 1px dashed var(--sand-deep);
  padding-top: 30px;
}

.lp-accordion {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--obsidian);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.lp-panel {
  display: none;
  padding: 15px 0;
  font-size: 0.9rem;
  color: var(--stone);
}

@media (max-width: 600px) {
  .lp-form-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
 * SUCCESS / RECEIPT VIEW (LinkPay Legacy Support)
 * ============================================================*/
.slideInLeft {
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.done-large {
  font-size: 2rem;
  color: var(--white) !important;
  width: 75px;
  height: 75px;
  line-height: 75px !important;
  background: var(--teal-dark);
  border-radius: 50%;
  text-align: center;
  margin: 0 auto 15px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: var(--teal-glow);
}

.text-disc {
  color: var(--stone);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.wd_100 {
  width: 100% !important;
}

.wd-300 {
  max-width: 320px;
  margin: 0 auto;
}

.wd_90 {
  width: 90%;
  margin: 0 auto;
}

.borderpay {
  position: relative;
  padding: 35px 25px 25px;
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  margin: 35px auto 25px;
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tt_brder {
  position: absolute;
  left: 20px;
  top: -14px;
  padding: 5px 18px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 50px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(192, 87, 43, 0.25);
}

.img-sm-profile {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand-deep);
}

.tt_hb_fac {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--obsidian);
  margin: 0;
  line-height: 1.2;
}

.text_sb {
  font-size: 0.7rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 4px 0 0;
  font-weight: 700;
}

.text_se {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.inl_sub_t {
  margin-left: 18px;
  flex: 1;
}

.button-colors-blue {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 16px 36px !important;
  font-weight: 800 !important;
  font-family: var(--font-primary) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  transition: var(--trans) !important;
  box-shadow: var(--navy-glow) !important;
}

.button-colors-blue:hover {
  background: var(--navy-mid) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(43, 93, 168, 0.45) !important;
}

.fixed-fotter-md {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px dashed var(--sand-deep);
}