/* ==========================================================================
   APART NEREIDAS — MODERN RESPONSIVE STYLESHEET
   Identidad Oficial: Azul Mar Profundo, Turquesa Costero, Arena Cálida
   Diseño Centrado al 80% en Desktop, Mobile-First, Cero Dependencias
   ========================================================================== */

/* --- CSS Variables & Paleta Institucional --- */
:root {
  --azul-mar: #91ADC8;
  --azul-mar-rgb: 145, 173, 200;
  --turquesa: #2FB6C4;
  --turquesa-dark: #228b96;
  --arena: #F3ECDD;
  --arena-light: #FAF7F2;
  --arena-bg: #EAE5D9;
  --negro: #1A1A1A;
  --gris-oscuro: #2D3139;
  --gris-medio: #606770;
  --gris-claro: #E2E6EC;
  --blanco: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;

  /* Tipografías */
  --font-script: 'Alex Brush', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras y elevaciones */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 47, 122, 0.08);
  --shadow-lg: 0 16px 40px rgba(27, 47, 122, 0.14);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.08);

  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Espaciados */
  --header-height: 76px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--negro);
  background-color: var(--arena-light);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

/* --- Formato 100% Ancho Completo Desktop --- */
.site-wrapper {
  width: 100%;
  margin: 0;
  background-color: var(--arena-light);
  position: relative;
  overflow-x: hidden;
}

img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .section {
    padding-top: 105px;
    padding-bottom: 105px;
  }
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--turquesa-dark);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  color: var(--azul-mar);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-title.script-accent span {
  font-family: var(--font-script);
  font-size: 1.3em;
  font-weight: 400;
  color: var(--turquesa-dark);
  display: inline-block;
  margin-right: 6px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gris-medio);
  max-width: 680px;
  margin-bottom: 40px;
}

.text-center {
  text-align: center;
}
.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--azul-mar);
  color: var(--blanco);
  box-shadow: 0 4px 16px rgba(27, 47, 122, 0.25);
}
.btn-primary:hover {
  background-color: #122156;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 47, 122, 0.35);
  color: var(--blanco);
}

.btn-accent {
  background-color: var(--turquesa);
  color: var(--blanco);
  box-shadow: 0 4px 16px rgba(47, 182, 196, 0.3);
}
.btn-accent:hover {
  background-color: var(--turquesa-dark);
  transform: translateY(-2px);
  color: var(--blanco);
}

.btn-outline {
  border: 2px solid var(--azul-mar);
  color: var(--azul-mar);
  background: transparent;
}
.btn-outline:hover {
  background-color: var(--azul-mar);
  color: var(--blanco);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--blanco);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  color: var(--blanco);
}

/* ==========================================================================
   HEADER & NAVEGACIÓN MODERNA
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(27, 47, 122, 0.08);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.brand-name {
  display: flex;
  flex-direction: column;
}
.brand-name .script {
  font-family: var(--font-script);
  font-size: 2.1rem;
  line-height: 0.9;
  color: var(--azul-mar);
}
.brand-name .sub {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--turquesa-dark);
  font-weight: 600;
  margin-top: 2px;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
}
@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
  }
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gris-oscuro);
  position: relative;
  padding: 8px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--turquesa);
  transition: width var(--transition-fast);
}
.nav-link:hover {
  color: var(--azul-mar);
}
.nav-link:hover::after {
  width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background: rgba(27, 47, 122, 0.05);
}
@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--azul-mar);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer (Offcanvas) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #6FA8AD;
  z-index: 1100;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right var(--transition-smooth);
  overflow-y: auto;
}
.mobile-drawer.open {
  right: 0;
}
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 50, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.mobile-backdrop.visible {
  opacity: 1;
  visibility: visible;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gris-claro);
}
.drawer-close {
  font-size: 1.5rem;
  color: var(--gris-oscuro);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--arena-light);
}
.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.drawer-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--azul-mar);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.drawer-footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   HERO SECTION (#inicio)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 70px;
  background: linear-gradient(135deg, #91ADC8 0%, #152563 60%, #0d1840 100%);
  color: var(--blanco);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.42;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--turquesa);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 5.2vw, 3.95rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--blanco);
}
.hero-title .script-title {
  font-family: var(--font-script);
  font-size: 1.25em;
  color: var(--arena);
  display: block;
  font-weight: 400;
}

.hero-desc {
  font-size: clamp(0.75rem, 1.5vw, 0.90rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 640px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Barra de consulta rápida con Check-in, Check-out, Adultos, Menores, Bebés */
.quick-booking-bar {
  position: relative;
  z-index: 10;
  margin-top: -36px;
  background: var(--blanco);
  border-radius: var(--border-radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 47, 122, 0.08);
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: flex-end;
}
@media (min-width: 576px) and (max-width: 991px) {
  .booking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .booking-grid {
    grid-template-columns: 1.25fr 1.25fr 1fr 1fr 1fr auto;
  }
}
.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking-field label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--turquesa-dark);
  letter-spacing: 0.8px;
}
.booking-field select,
.booking-field input {
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--gris-claro);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--negro);
  background-color: var(--arena-light);
  outline: none;
  transition: border-color var(--transition-fast);
  width: 100%;
}
.booking-field select:focus,
.booking-field input:focus {
  border-color: var(--turquesa);
  background-color: var(--blanco);
}

/* ==========================================================================
   CONCEPTO / EL COMPLEJO (#concepto)
   ========================================================================== */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .concept-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
  }
}
.concept-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}
@media (min-width: 576px) {
  .concept-highlights {
    grid-template-columns: 1fr 1fr;
  }
}
.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--blanco);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--turquesa);
  transition: transform var(--transition-fast);
}
.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--arena);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--azul-mar);
}
.highlight-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--azul-mar);
}
.highlight-text h4 {
  font-size: 1rem;
  color: var(--azul-mar);
  margin-bottom: 4px;
}
.highlight-text p {
  font-size: 0.85rem;
  color: var(--gris-medio);
}

.concept-image-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mosaic-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.mosaic-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.mosaic-item:hover img {
  transform: scale(1.05);
}
.mosaic-item.tall {
  grid-row: span 2;
}
.mosaic-item.tall img {
  height: 100%;
  min-height: 380px;
}

/* ==========================================================================
   DEPARTAMENTOS (#apartamentos) — SCROLL-SNAP CAROUSEL & CARDS
   ========================================================================== */
.apartamentos-section {
  background-color: var(--blanco);
}

.apartment-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--border-radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--arena-light);
  color: var(--gris-oscuro);
  border: 1px solid var(--gris-claro);
  transition: all var(--transition-fast);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--azul-mar);
  color: var(--blanco);
  border-color: var(--azul-mar);
  box-shadow: 0 4px 12px rgba(27, 47, 122, 0.2);
}

.apartments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 992px) {
  .apartments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .apartments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.apartment-card {
  background: var(--blanco);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--gris-claro);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.apartment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Scroll-Snap Slider dentro de la Card */
.apartment-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--azul-mar);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.gallery-nav-btn:hover {
  background: var(--blanco);
  transform: translateY(-50%) scale(1.1);
}
.gallery-nav-prev { left: 10px; }
.gallery-nav-next { right: 10px; }

.apartment-capacity-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #6e9db4;
  backdrop-filter: blur(6px);
  color: var(--blanco);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  z-index: 5;
}

.gallery-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #97c0c4;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
  font-family: var(--font-sans, -apple-system, sans-serif);
}

.apartment-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.apartment-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--azul-mar);
  margin-bottom: 6px;
  line-height: 1.2;
}
.apartment-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--turquesa-dark);
  margin-bottom: 14px;
}
.apartment-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--gris-oscuro);
  background: var(--arena-light);
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.feature-chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--turquesa-dark);
}
.apartment-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gris-claro);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   SERVICIOS & AMENITIES (#servicios)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--blanco);
  border-radius: var(--border-radius-md);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27, 47, 122, 0.06);
  transition: all var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--turquesa);
}
.service-icon-box {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: var(--arena);
  color: var(--azul-mar);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.service-card:hover .service-icon-box {
  background: var(--azul-mar);
  color: var(--blanco);
}
.service-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--azul-mar);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gris-medio);
}

/* ==========================================================================
   UBICACIÓN (#ubicacion) & ENTORNO
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  background: var(--blanco);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (min-width: 992px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.location-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.distances-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}
.distance-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.distance-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--arena);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--turquesa-dark);
}
.distance-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.distance-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--azul-mar);
}
.distance-text span {
  font-size: 0.85rem;
  color: var(--gris-medio);
}

.map-embed {
  width: 100%;
  min-height: 380px;
  height: 100%;
  border: none;
  background: #eee;
}

/* ==========================================================================
   PASEOS Y PUNTOS DE INTERÉS (#atracciones)
   ========================================================================== */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.attraction-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-end;
}
.attraction-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.attraction-card:hover img {
  transform: scale(1.08);
}
.attraction-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
  background: linear-gradient(0deg, rgba(110, 157, 180, 0.95) 0%, rgba(110, 157, 180, 0) 100%);
  color: var(--blanco);
}
.attraction-overlay h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.attraction-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   POLÍTICAS & FAQ ACORDEÓN (#faq)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--blanco);
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--gris-claro);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-header {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--azul-mar);
  text-align: left;
  background: transparent;
  transition: background var(--transition-fast);
}
.accordion-header:hover {
  background: var(--arena-light);
}
.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
  color: var(--turquesa-dark);
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  padding: 0 24px;
  color: var(--gris-oscuro);
  font-size: 0.95rem;
  line-height: 1.6;
}
.accordion-item.active .accordion-body {
  padding-bottom: 20px;
}

/* ==========================================================================
   FOOTER (#contacto)
   ========================================================================== */
.footer {
  background-color: #6e9db4;
  color: var(--blanco);
  padding-top: 70px;
  padding-bottom: 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--arena);
  margin-bottom: 18px;
}
.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: #C9A66B !important;
  transform: translateX(4px);
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.newsletter-form input {
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #ffffff !important;
  color: #6e9db4 !important;
  font-family: inherit;
  font-size: 0.9rem;
}
.newsletter-form input::placeholder {
  color: rgba(110, 157, 180, 0.75) !important;
}
.newsletter-form button[type="submit"] {
  background-color: #d6b281 !important;
  border-color: #d6b281 !important;
  color: #FFFFFF !important;
  transition: all 0.25s ease !important;
}
.newsletter-form button[type="submit"]:hover {
  background-color: #c49e6b !important;
  border-color: #c49e6b !important;
  color: #FFFFFF !important;
}
.footer-bottom {
  padding-top: 24px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  gap: 12px;
}

/* Créditos de Agencia (Taweno Media) */
.footer-credits-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-credits-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.footer-credits-author {
  color: #FFFFFF;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.footer-credits-author strong {
  color: #F8FAFC;
  font-weight: 700;
}
.footer-credits-divider {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  user-select: none;
}
.footer-credits-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-credits-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  transition: all 0.2s ease;
}
.footer-credits-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.footer-credits-link:hover svg {
  transform: scale(1.15);
}
.footer-credits-fb svg {
  color: #60A5FA;
}
.footer-credits-fb:hover {
  color: #93C5FD !important;
}
.footer-credits-ig svg {
  color: #F472B6;
}
.footer-credits-ig:hover {
  color: #F9A8D4 !important;
}
.footer-credits-mail svg {
  color: #FBBF24;
}
.footer-credits-mail:hover {
  color: #FDE68A !important;
}
@media (max-width: 768px) {
  .footer {
    padding-bottom: 110px !important;
  }
  .footer-credits-wrap {
    border-top: none !important;
    padding-top: 14px !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
  }
  .footer-credits-text-desktop {
    display: none;
  }
  .footer-credits-pill {
    padding: 6px 12px;
    gap: 8px;
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (SOLO ICONO CIRCULAR)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: var(--blanco);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-smooth);
}
.floating-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  color: var(--blanco);
}
.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   SECCIÓN HIGHLIGHTS DEL COMPLEJO & STORIES REEL (16 ÍCONOS)
   ========================================================================== */
.highlights-section {
  padding-top: 50px;
  padding-bottom: 70px;
  background-color: var(--arena-light);
  position: relative;
}

/* Contenedor del Reel de Historias (Scroll Horizontal) */
.stories-reel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin: 20px 0 45px;
  padding: 0 4px;
}

.stories-reel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 6px;
  width: 100%;
  scrollbar-width: none; /* Firefox */
}
.stories-reel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Botones de desplazamiento del Reel en Desktop */
.reel-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blanco);
  color: var(--azul-mar);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: all var(--transition-fast);
}
.reel-scroll-btn:hover {
  background: var(--azul-mar);
  color: var(--blanco);
}
.reel-scroll-prev { left: -14px; }
.reel-scroll-next { right: -14px; }

@media (min-width: 992px) {
  .reel-scroll-btn {
    display: flex;
  }
}

/* Ítem Individual de Historia */
.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 82px;
  scroll-snap-align: start;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: transform var(--transition-fast);
}
.story-item:hover {
  transform: translateY(-4px);
}

/* Anillo Degradado de Marca */
.story-ring {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #91ADC8 0%, #2FB6C4 50%, #C9A66B 100%);
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(27, 47, 122, 0.16);
  transition: all var(--transition-smooth);
}
.story-item:hover .story-ring {
  box-shadow: 0 6px 18px rgba(47, 182, 196, 0.4);
  transform: scale(1.04);
}
.story-item.viewed .story-ring {
  background: rgba(0, 0, 0, 0.15);
}

/* Caja de Ícono en el Story */
.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--blanco);
  border: 2.5px solid var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.story-avatar svg {
  width: 36px;
  height: 36px;
  stroke: var(--negro);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke var(--transition-fast);
}
.story-item:hover .story-avatar svg {
  stroke: var(--azul-mar);
}

.story-label {
  margin-top: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gris-oscuro);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* --- Grilla de Highlights (16 Tarjetas) --- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.highlight-card {
  background: var(--blanco);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(27, 47, 122, 0.07);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}
.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 182, 196, 0.4);
  box-shadow: 0 14px 30px rgba(27, 47, 122, 0.12);
}

.highlight-card-thumb {
  height: 155px;
  position: relative;
  overflow: hidden;
  background-color: var(--arena-bg);
}
.highlight-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.highlight-card:hover .highlight-card-thumb img {
  transform: scale(1.08);
}

.highlight-card-icon-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blanco);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(47, 182, 196, 0.25);
  z-index: 2;
}
.highlight-card-icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: var(--azul-mar);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.highlight-card-body {
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.highlight-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--turquesa-dark);
  margin-bottom: 4px;
}

.highlight-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--azul-mar);
  margin-bottom: 6px;
}

.highlight-card-desc {
  font-size: 0.88rem;
  color: var(--gris-medio);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.highlight-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--turquesa-dark);
  transition: gap var(--transition-fast);
}
.highlight-card:hover .highlight-card-link {
  gap: 10px;
  color: var(--azul-mar);
}

/* ==========================================================================
   MODAL VISOR DE HISTORIAS / STORY VIEWER
   ========================================================================== */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.story-modal.open {
  display: flex;
}

.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.story-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 90vh;
  max-height: 720px;
  background-color: #14213D;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  z-index: 10;
  animation: storyPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes storyPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Barra de Progreso Superior Segmentada */
.story-progress-bar {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
  z-index: 20;
}
.story-progress-seg {
  height: 3px;
  flex: 1;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
.story-progress-seg.filled {
  background: var(--blanco);
}
.story-progress-seg.active {
  background: var(--turquesa);
}

/* Cabecera del Story */
.story-modal-header {
  position: absolute;
  top: 24px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.story-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-avatar-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.story-avatar-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--azul-mar);
  stroke-width: 2;
  fill: none;
}
.story-modal-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blanco);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.story-modal-category {
  display: block;
  font-size: 0.72rem;
  color: var(--turquesa);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.story-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background var(--transition-fast);
}
.story-modal-close:hover {
  background: rgba(0, 0, 0, 0.75);
}

/* Cuerpo con Foto Real */
.story-modal-body {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.story-modal-body img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.story-modal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 33, 61, 0.5) 0%,
    rgba(20, 33, 61, 0.1) 30%,
    rgba(20, 33, 61, 0.4) 60%,
    rgba(20, 33, 61, 0.95) 100%
  );
  z-index: 2;
}

/* Botones de Navegación Lateral */
.story-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 15;
  transition: all var(--transition-fast);
}
.story-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}
.story-nav-prev { left: 10px; }
.story-nav-next { right: 10px; }

/* Pie de la Historia */
.story-modal-footer {
  position: relative;
  z-index: 10;
  padding: 24px 20px 28px;
  color: var(--blanco);
}

.story-badge-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  background: var(--turquesa);
  color: var(--blanco);
  margin-bottom: 8px;
}

.story-modal-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.story-modal-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
@media (min-width: 400px) {
  .story-modal-actions {
    flex-direction: row;
  }
}
.story-modal-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.85rem;
}
.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--blanco);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--blanco);
}

/* ==========================================================================
   PERSONALIZACIONES OFICIALES & AJUSTES DE ESTRUCTURA (APART NEREIDAS)
   ========================================================================== */

/* --- 1. Variables & Paleta Oficial (#22374A) --- */
:root {
  --azul-noche: #22374A;
  --azul-mar: #22374A;
  --azul-mar-rgb: 34, 55, 74;
  --negro: #22374A;
  --turquesa: #6FA8AD;
  --turquesa-dark: #22374A;
  --turquesa-grisaceo: #6FA8AD;
  --dorado-suave: #C9A66B;
  --demo-top-height: 0px;
}

body:has(.demo-top-switcher-bar),
body.has-demo-bar {
  --demo-top-height: 42px;
}

/* Elementos de acción y destacados en #22374A */
.btn-primary,
.btn-accent {
  background-color: #22374A !important;
  border-color: #22374A !important;
  color: #FFFFFF !important;
}
.btn-primary:hover,
.btn-accent:hover {
  background-color: #162432 !important;
  border-color: #162432 !important;
  color: #FFFFFF !important;
}
.filter-btn.active {
  background: #22374A !important;
  border-color: #22374A !important;
  color: #FFFFFF !important;
}
.section-tag {
  color: #22374A !important;
  background: rgba(34, 55, 74, 0.08) !important;
  border: 1px solid rgba(34, 55, 74, 0.16) !important;
}

/* --- 2. Barra Superior de Control y Switcher de Muestras (No Tapa el Header) --- */
.demo-top-switcher-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--demo-top-height) !important;
  z-index: 2100 !important;
  background: #14213D !important;
  color: #FFFFFF !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  border-bottom: 2px solid #C9A66B !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  font-family: var(--font-sans, -apple-system, sans-serif);
}
.demo-switcher-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
}
.demo-switcher-brand .badge-tag {
  background: rgba(201, 166, 107, 0.2);
  color: #C9A66B;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  border: 1px solid rgba(201, 166, 107, 0.4);
  text-transform: uppercase;
  font-weight: 700;
}
.demo-switcher-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.demo-switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.demo-switcher-pill .pill-short {
  display: none;
}
.demo-switcher-pill .pill-full {
  display: inline;
}
.demo-switcher-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.demo-switcher-pill.active {
  background: #C9A66B;
  color: #14213D;
  border-color: #C9A66B;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(201, 166, 107, 0.35);
}

@media (max-width: 768px) {
  body:has(.demo-top-switcher-bar),
  body.has-demo-bar {
    --demo-top-height: 40px;
  }
  .demo-top-switcher-bar {
    height: 40px !important;
    padding: 0 10px !important;
    gap: 6px !important;
  }
  .demo-switcher-brand {
    font-size: 0.78rem !important;
    gap: 6px !important;
  }
  .demo-switcher-brand strong {
    display: none !important;
  }
  .demo-switcher-brand .badge-tag {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    letter-spacing: 0.2px !important;
  }
  .demo-switcher-nav {
    gap: 6px !important;
  }
  .demo-switcher-pill {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    padding: 4px 9px !important;
    border-radius: 14px !important;
    gap: 4px !important;
    line-height: 1 !important;
  }
  .demo-switcher-pill .pill-full {
    display: none !important;
  }
  .demo-switcher-pill .pill-short {
    display: inline !important;
  }
}

@media (max-width: 420px) {
  .demo-top-switcher-bar {
    padding: 0 8px !important;
    gap: 4px !important;
  }
  .demo-switcher-nav {
    gap: 4px !important;
  }
  .demo-switcher-pill {
    font-size: 0.66rem !important;
    padding: 3.5px 7px !important;
    border-radius: 12px !important;
    gap: 3px !important;
  }
  .demo-switcher-brand {
    font-size: 0.72rem !important;
  }
  .demo-switcher-brand .badge-tag {
    font-size: 0.58rem !important;
    padding: 1.5px 5px !important;
  }
}

/* --- 3. Header & Logo (Alto Máximo Permitido del Header: 70px) --- */
.header {
  top: var(--demo-top-height) !important; /* Desplazado exactamente bajo la barra superior */
  height: 80px !important;
}
.header.scrolled {
  height: 76px !important;
}
.brand-logo {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}
.header-logo-img {
  height: 72px !important;
  max-height: 72px !important;
  width: auto !important;
  object-fit: contain;
  transition: all var(--transition-fast);
}
.header.scrolled .header-logo-img {
  height: 68px !important;
  max-height: 68px !important;
}
@media (max-width: 768px) {
  .header {
    height: 72px !important;
  }
  .header-logo-img {
    height: 58px !important;
    max-height: 58px !important;
  }
}
.mobile-drawer {
  top: var(--demo-top-height) !important;
  height: calc(100vh - var(--demo-top-height)) !important;
  background-color: #6FA8AD !important;
  color: #FFFFFF !important;
}
.drawer-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.drawer-logo-img {
  max-height: 52px;
  width: auto;
}
.drawer-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 18px !important;
}
.drawer-menu a {
  color: #FFFFFF !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  padding: 9px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  transition: color 0.2s ease, padding-left 0.2s ease !important;
}
.drawer-menu a:hover,
.drawer-menu a:focus {
  color: #C9A66B !important;
  padding-left: 6px !important;
}

/* Enlace destacado de Instagram en la navegación desktop y drawer */
.nav-link-ig-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 166, 107, 0.15);
  color: #C9A66B !important;
  border: 1px solid rgba(201, 166, 107, 0.35);
  padding: 6px 14px !important;
  border-radius: 20px;
  font-weight: 700 !important;
  transition: all 0.2s ease;
}
.nav-link-ig-highlight:hover {
  background: #C9A66B;
  color: #14213D !important;
  border-color: #C9A66B;
}

.drawer-ig-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.drawer-ig-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #C9A66B;
  margin-bottom: 10px;
  padding-left: 12px;
}
.drawer-ig-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.drawer-ig-link:hover {
  background: #C9A66B;
  color: #14213D;
}

/* --- 4. Hero Section: Alto Máximo hasta el Área de la Barra de Filtrado de Fechas --- */
.hero {
  position: relative;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: calc(80px + var(--demo-top-height) + 16px) !important;
  padding-bottom: 135px !important;
}
@media (max-width: 991px) {
  .hero {
    height: calc(100vh - 62px) !important;
    height: calc(100dvh - 62px) !important;
    min-height: calc(100vh - 62px) !important;
    min-height: calc(100dvh - 62px) !important;
    max-height: calc(100vh - 62px) !important;
    max-height: calc(100dvh - 62px) !important;
    padding-top: calc(72px + var(--demo-top-height) + 12px) !important;
    padding-bottom: 80px !important;
  }
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 33, 61, 0.25) 0%, rgba(20, 33, 61, 0.45) 45%, rgba(20, 33, 61, 0.88) 100%);
  z-index: 2;
}
.hero-slideshow-indicators {
  position: absolute;
  bottom: 68px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.hero-indicator {
  width: 32px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-indicator.active {
  background: #C9A66B;
  width: 46px;
}

/* Flechas de Navegación del Hero Slideshow */
.hero-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 8;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 25, 60, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  padding: 0;
}
.hero-arrow:hover {
  background: rgba(15, 25, 60, 0.78);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.08);
  color: #C9A66B;
}
.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.hero-arrow-prev {
  left: 24px;
}
.hero-arrow-next {
  right: 24px;
}
@media (max-width: 768px) {
  .hero-arrow {
    width: 36px;
    height: 36px;
    top: 42%;
    background: rgba(15, 25, 60, 0.55);
  }
  .hero-arrow-prev {
    left: 10px;
  }
  .hero-arrow-next {
    right: 10px;
  }
  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  margin-top: auto;
  margin-bottom: 0 !important;
  color: #FFFFFF;
  max-width: 860px;
}
.hero-title {
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 12px;
}
.hero-desc {
  color: #E2E8F0;
  max-width: 680px;
  font-size: 0.92rem;
  line-height: 1.55;
  letter-spacing: 0.3px;
  font-weight: 400;
  margin-bottom: 0;
}

/* --- 5. Barra de Búsqueda Fija en el Pie (Visible desde Carga Inicial) --- */
.quick-booking-bar {
  position: fixed !important;
  bottom: 15px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1010 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 16px !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: none !important;
  overflow: visible !important;
}

/* Eliminar elemento pill y botón de minimizar para que no aparezcan nunca */
.booking-minimized-pill,
.booking-minimize-btn {
  display: none !important;
}

.quick-booking-bar .booking-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  align-items: flex-end;
}
@media (min-width: 992px) {
  .quick-booking-bar .booking-grid {
    grid-template-columns: 1.25fr 1.25fr 1fr 1fr 1fr auto;
  }
}
.quick-booking-bar .booking-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quick-booking-bar .booking-field label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--turquesa-dark);
  letter-spacing: 0.6px;
}
.quick-booking-bar .booking-field select,
.quick-booking-bar .booking-field input {
  padding: 8px 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--gris-claro);
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--negro);
  background-color: var(--arena-light);
  outline: none;
  height: 40px;
  width: 100%;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}
.quick-booking-bar .booking-field select:focus,
.quick-booking-bar .booking-field input:focus {
  border-color: #22374A;
  background-color: #FFFFFF;
}
.quick-booking-bar .booking-submit-btn {
  height: 40px;
  padding: 0 22px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.booking-floating-mobile-bar {
  display: none;
}
@media (max-width: 991px) {
  .quick-booking-bar {
    padding: 0 !important;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
  }
  .booking-floating-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #FFFFFF;
    cursor: pointer;
    border-bottom: 1px solid rgba(34, 55, 74, 0.08);
  }
  .booking-mobile-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .booking-mobile-icon {
    font-size: 1.25rem;
  }
  .booking-mobile-title {
    font-size: 0.92rem;
    color: #22374A;
    font-weight: 700;
    display: block;
    line-height: 1.2;
  }
  .booking-mobile-sub {
    font-size: 0.76rem;
    color: var(--gris-medio);
    display: block;
  }
  .btn-booking-mobile-expand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #22374A;
    color: #FFFFFF;
    border: none;
    padding: 7px 14px;
    border-radius: var(--border-radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
  }
  .booking-expand-icon {
    transition: transform 0.3s ease;
  }
  .quick-booking-bar .booking-grid,
  .quick-booking-bar .pxsol-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 18px;
    margin: 0;
    gap: 10px;
    grid-template-columns: 1fr;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  }
  .quick-booking-bar.is-mobile-expanded .booking-grid,
  .quick-booking-bar.is-mobile-expanded .pxsol-wrapper {
    max-height: 480px;
    overflow-y: auto;
    opacity: 1;
    padding: 12px 18px 16px;
  }
  .quick-booking-bar.is-mobile-expanded .booking-expand-icon {
    transform: rotate(180deg);
  }
}

/* Estilos de Contenedor PXSOL en la barra flotante */
.pxsol-wrapper,
#buscador-pxsol,
.pxsol-search-widget,
.pxsol-search-form {
  overflow: visible !important;
}
.pxsol-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: auto !important;
}
#buscador-pxsol {
  width: 100%;
}

/* --- Reubicación de Mensajes y Errores de Validación de PXSOL (POR ENCIMA de la barra) --- */
#buscador-pxsol .pxsol-search-form {
  position: relative !important;
  overflow: visible !important;
}

#buscador-pxsol .pxsol-search-message,
#buscador-pxsol .pxsol-search-error {
  position: absolute !important;
  bottom: calc(100% + 14px) !important;
  top: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: min(90vw, 540px) !important;
  min-height: unset !important;
  margin: 0 !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25) !important;
  z-index: 1050 !important;
  pointer-events: auto !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  animation: pxsolAlertPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#buscador-pxsol .pxsol-search-message:empty,
#buscador-pxsol .pxsol-search-error:empty {
  display: none !important;
}

#buscador-pxsol .pxsol-search-error {
  background: #E11D48 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

#buscador-pxsol .pxsol-search-message {
  background: #91ADC8 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

@keyframes pxsolAlertPop {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Botón Buscar en Barra de Búsqueda (Desktop & General) */
body .pxsol-search-submit,
#buscador-pxsol .pxsol-search-submit,
.pxsol-wrapper .pxsol-search-submit,
body .pxsol-search-bar button[type="submit"],
#buscador-pxsol .pxsol-search-bar button[type="submit"],
.quick-booking-bar .booking-submit-btn,
#web-story-btn {
  background: #6e9db4 !important;
  background-color: #6e9db4 !important;
  color: #FFFFFF !important;
  border: none !important;
  transition: background 0.2s ease !important;
}
body .pxsol-search-submit:hover,
#buscador-pxsol .pxsol-search-submit:hover,
.pxsol-wrapper .pxsol-search-submit:hover,
body .pxsol-search-bar button[type="submit"]:hover,
#buscador-pxsol .pxsol-search-bar button[type="submit"]:hover,
.quick-booking-bar .booking-submit-btn:hover,
#web-story-btn:hover {
  background: #5b879c !important;
  background-color: #5b879c !important;
}

/* --- Panel de Fechas y Huéspedes PXSOL: Modal Centrado en Viewport (Anti-Colapso) --- */
body .pxsol-search-panel,
#buscador-pxsol .pxsol-search-panel,
.pxsol-wrapper .pxsol-search-panel,
body .pxsol-search-panel--guests,
#buscador-pxsol .pxsol-search-panel--guests {
  position: fixed !important;
  bottom: 92px !important;
  top: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: min(720px, calc(100vw - 24px)) !important;
  max-height: calc(100vh - 165px) !important;
  max-height: calc(100dvh - 165px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
  background: #FFFFFF !important;
  pointer-events: auto !important;
  z-index: 2500 !important;
}

/* Refinamiento Estético del Calendario */
.pxsol-search-panel-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 18px !important;
  min-height: 40px !important;
  border-bottom: 1px solid #E2E8F0 !important;
  background: #FFFFFF !important;
}

.pxsol-search-panel-title {
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #91ADC8 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.pxsol-search-round-button {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  color: #91ADC8 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}
.pxsol-search-round-button:hover {
  background: #EEF2F6 !important;
  border-color: #91ADC8 !important;
}

.pxsol-search-close {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 1px solid #CBD5E1 !important;
  background: #F8FAFC !important;
  color: #475569 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}
.pxsol-search-close:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

.pxsol-search-calendars {
  padding: 8px 16px !important;
  gap: 14px !important;
}

.pxsol-search-month-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #91ADC8 !important;
  margin: 0 0 6px 0 !important;
  text-align: center !important;
}

.pxsol-search-weekdays {
  font-size: 11px !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
}

.pxsol-search-days {
  gap: 2px !important;
}

.pxsol-search-day {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1E293B !important;
  height: 28px !important;
  min-height: 28px !important;
  line-height: 28px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.pxsol-search-day:hover:not([disabled]) {
  background: #EEF2F6 !important;
}

.pxsol-search-day--selected {
  background: #91ADC8 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}

.pxsol-search-day--range {
  background: rgba(47, 182, 196, 0.16) !important;
  color: #91ADC8 !important;
  border-radius: 0 !important;
}

.pxsol-search-calendar-footer {
  padding: 8px 16px 10px !important;
  border-top: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  border-radius: 0 0 18px 18px !important;
  gap: 8px !important;
}

.pxsol-search-done {
  background: #91ADC8 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 6px 20px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  min-height: 32px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
.pxsol-search-done:hover {
  background: #228b96 !important;
}

.pxsol-search-nights {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  min-height: 32px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
}

/* Ajuste móvil para mostrar la misma barra PXSOL directo sin botón de colapso */
@media (max-width: 768px) {
  /* En versión mobile, ordenar enlaces de navegación del footer en 2 columnas alineadas */
  .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 24px !important;
    row-gap: 10px !important;
  }

  .quick-booking-bar.pxsol-bar {
    bottom: 15px !important;
    padding: 0 8px !important;
  }
  .booking-floating-mobile-bar {
    display: none !important;
  }
  .quick-booking-bar .pxsol-wrapper {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  /* Grid móvil de 2 filas: triggers arriba en 1 línea y botón Buscar abajo */
  body .pxsol-search-bar,
  #buscador-pxsol .pxsol-search-bar,
  .pxsol-wrapper .pxsol-search-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: auto auto !important;
    min-height: unset !important;
    max-height: unset !important;
    height: auto !important;
    padding: 5px !important;
    gap: 4px !important;
    border-radius: 16px !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22) !important;
  }

  body .pxsol-search-code-wrap,
  #buscador-pxsol .pxsol-search-code-wrap,
  .pxsol-wrapper .pxsol-search-code-wrap {
    display: none !important;
  }

  body .pxsol-search-trigger,
  #buscador-pxsol .pxsol-search-trigger,
  .pxsol-wrapper .pxsol-search-trigger {
    min-height: 44px !important;
    height: 44px !important;
    padding: 4px 6px !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body .pxsol-search-trigger-label,
  #buscador-pxsol .pxsol-search-trigger-label,
  .pxsol-wrapper .pxsol-search-trigger-label {
    font-size: 8.5px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
  }

  body .pxsol-search-trigger-value,
  #buscador-pxsol .pxsol-search-trigger-value,
  .pxsol-wrapper .pxsol-search-trigger-value {
    font-size: 11px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  body .pxsol-search-submit,
  #buscador-pxsol .pxsol-search-submit,
  .pxsol-wrapper .pxsol-search-submit,
  body .pxsol-search-bar button[type="submit"],
  #buscador-pxsol .pxsol-search-bar button[type="submit"] {
    grid-column: 1 / -1 !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #6e9db4 !important;
    background-color: #6e9db4 !important;
    color: #FFFFFF !important;
    border: none !important;
    transition: background 0.2s ease !important;
  }
  body .pxsol-search-submit:hover,
  #buscador-pxsol .pxsol-search-submit:hover,
  .pxsol-wrapper .pxsol-search-submit:hover,
  body .pxsol-search-bar button[type="submit"]:hover,
  #buscador-pxsol .pxsol-search-bar button[type="submit"]:hover {
    background: #5b879c !important;
    background-color: #5b879c !important;
  }

  /* Modal de fechas y huéspedes posicionado sobre la barra móvil sin desborde */
  body .pxsol-search-panel,
  #buscador-pxsol .pxsol-search-panel,
  .pxsol-wrapper .pxsol-search-panel,
  body .pxsol-search-panel--guests,
  #buscador-pxsol .pxsol-search-panel--guests {
    position: fixed !important;
    bottom: 116px !important;
    top: auto !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    transform: none !important;
    max-height: calc(100dvh - 116px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45) !important;
    z-index: 2500 !important;
  }

  /* Vista de 30 días en mobile: ocultar el 2do mes para optimizar espacio vertical */
  .pxsol-search-calendars {
    grid-template-columns: 1fr !important;
    padding: 8px 12px !important;
  }
  .pxsol-search-calendars .pxsol-search-month:first-child {
    padding-right: 0 !important;
  }
  .pxsol-search-calendars .pxsol-search-month + .pxsol-search-month {
    display: none !important;
  }
  .pxsol-search-month-title {
    margin: 2px 0 6px !important;
    font-size: 13px !important;
  }
  .pxsol-search-weekdays,
  .pxsol-search-days {
    gap: 2px !important;
  }
  .pxsol-search-day {
    font-size: 12px !important;
    height: 28px !important;
    min-height: 28px !important;
    line-height: 28px !important;
  }
  .pxsol-search-calendar-footer {
    padding: 8px 12px 10px !important;
    gap: 8px !important;
  }
  .pxsol-search-nights {
    min-height: 34px !important;
    padding: 4px 8px !important;
  }
  .pxsol-search-panel-header {
    min-height: 38px !important;
    padding: 6px 12px !important;
  }
  .pxsol-search-panel-title {
    font-size: 13.5px !important;
  }

  /* Mensajes y errores en Mobile */
  #buscador-pxsol .pxsol-search-message,
  #buscador-pxsol .pxsol-search-error {
    white-space: normal !important;
    border-radius: 12px !important;
    padding: 7px 14px !important;
    font-size: 12px !important;
    bottom: calc(100% + 8px) !important;
  }
}

/* --- 6. Botón Flotante de WhatsApp (Alineado con Barra de Búsqueda a 15px del Margen Inferior) --- */
.floating-whatsapp {
  position: fixed !important;
  bottom: 15px !important;
  right: 28px !important;
  z-index: 1020 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: var(--blanco);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-smooth);
}
.floating-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  color: var(--blanco);
}
.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 120px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 1025 !important;
  }
  .floating-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* --- 7. Paseos / Atracciones (Cuadrícula 2 Filas en Móvil) --- */
@media (max-width: 768px) {
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .attraction-card {
    height: 220px !important;
  }
  .attraction-card h4 {
    font-size: 0.95rem !important;
  }
  .attraction-card p {
    font-size: 0.76rem !important;
    line-height: 1.3 !important;
  }
}

/* --- 8. Servicios & Amenities: Pastillas Redondas (Formato Highlights Instagram) --- */
.services-grid-reel {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 24px 14px !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  justify-items: center !important;
}

@media (max-width: 992px) {
  .services-grid-reel {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px 12px !important;
  }
}

@media (max-width: 480px) {
  .services-grid-reel {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px 8px !important;
  }
}

/* Elemento contenedor de cada servicio */
.story-circle-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 92px !important;
  text-decoration: none !important;
  outline: none !important;
}
.story-circle-item:hover {
  transform: translateY(-4px) !important;
}

/* Anillo exterior circular degradé estilo Story Highlight */
.story-circle-ring {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #C9A66B 0%, #22374A 60%, #6FA8AD 100%) !important;
  padding: 2.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(34, 55, 74, 0.14) !important;
  transition: all 0.25s ease !important;
}
.story-circle-item:hover .story-circle-ring {
  box-shadow: 0 6px 20px rgba(201, 166, 107, 0.45) !important;
  transform: scale(1.06) !important;
}

/* Avatar circular interior con recorte perfecto */
.story-circle-avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}
.story-circle-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}
.story-circle-item:hover .story-circle-avatar img {
  transform: scale(1.05) !important;
}

/* Etiqueta de texto debajo de la pastilla */
.story-circle-label {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #22374A !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 86px !important;
  display: block !important;
  transition: color 0.2s ease !important;
}
.story-circle-item:hover .story-circle-label {
  color: #C9A66B !important;
  font-weight: 700 !important;
}

@media (max-width: 480px) {
  .story-circle-ring {
    width: 62px !important;
    height: 62px !important;
  }
  .story-circle-label {
    font-size: 0.72rem !important;
    max-width: 72px !important;
  }
}

/* --- 9. Footer Oficial (#6e9db4, Logo de Misma Dimensión que en Header: 72px) --- */
.footer {
  background-color: #6e9db4 !important;
  color: #FFFFFF !important;
  padding-bottom: 95px !important;
}
.footer-logo-wrap {
  margin-bottom: 20px !important;
}
.footer-logo-img {
  height: 72px !important;
  max-height: 72px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.footer-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  text-decoration: none;
}
.footer-social-btn:hover {
  background: var(--dorado-suave);
  color: #22374A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 166, 107, 0.35);
}
.footer-social-desktop {
  display: flex;
}
.footer-social-mobile {
  display: none;
}
@media (max-width: 768px) {
  .footer-social-desktop {
    display: none;
  }
  .footer-social-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
}

/* --- 10. El Complejo: Concept Highlights (Cuadrícula 2 por Fila en Móvil y Desktop) --- */
.concept-highlights {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px !important;
  margin-top: 26px !important;
}
.highlight-card {
  height: 100% !important;
  box-sizing: border-box !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}
@media (max-width: 768px) {
  .concept-highlights {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .highlight-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 16px 12px !important;
    border-radius: var(--border-radius-md) !important;
    border-left: 3px solid var(--turquesa) !important;
    box-shadow: var(--shadow-sm) !important;
    background: #FFFFFF !important;
  }
  .highlight-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    margin-bottom: 2px !important;
  }
  .highlight-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  .highlight-text h4 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    color: var(--azul-noche) !important;
  }
  .highlight-text p {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    color: #64748B !important;
    margin: 0 !important;
  }
}
@media (max-width: 420px) {
  .concept-highlights {
    gap: 8px !important;
  }
  .highlight-card {
    padding: 12px 8px !important;
    gap: 8px !important;
  }
  .highlight-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
  }
  .highlight-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .highlight-text h4 {
    font-size: 0.82rem !important;
  }
  .highlight-text p {
    font-size: 0.72rem !important;
  }
}

/* --- 11. Optimización y Reducción Máxima del Alto de Cada Sección --- */
.section {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}
@media (max-width: 768px) {
  .section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

.section-tag {
  margin-bottom: 4px !important;
  font-size: 0.72rem !important;
}
.section-title {
  margin-bottom: 8px !important;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem) !important;
  line-height: 1.15 !important;
}
.section-desc {
  margin-bottom: 20px !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

/* El Complejo (#concepto) */
.concept-grid {
  gap: 24px !important;
}
.concept-highlights {
  margin-top: 14px !important;
}
.concept-image-mosaic {
  gap: 10px !important;
}

/* Apartamentos (#apartamentos) */
.apartment-filters {
  margin-bottom: 18px !important;
  gap: 8px !important;
}
.filter-btn {
  padding: 7px 16px !important;
  font-size: 0.84rem !important;
}
.apartments-grid {
  gap: 20px !important;
}
.apartment-gallery {
  aspect-ratio: 16 / 9.5 !important;
}
.apartment-info {
  padding: 16px 18px !important;
}
.apartment-title {
  font-size: 1.35rem !important;
  margin-bottom: 4px !important;
}
.apartment-subtitle {
  margin-bottom: 8px !important;
}
.apartment-features {
  margin-bottom: 12px !important;
  gap: 6px !important;
}
.apartment-card .btn {
  padding: 9px 18px !important;
  font-size: 0.85rem !important;
}

/* Servicios (#servicios) */
.services-grid-reel {
  gap: 16px 12px !important;
}

/* Paseos (#atracciones) */
.attractions-grid {
  gap: 16px !important;
}
.attraction-card {
  height: 220px !important;
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.attraction-overlay {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  padding: 14px 16px !important;
  background: linear-gradient(0deg, rgba(110, 157, 180, 0.95) 0%, rgba(110, 157, 180, 0.70) 65%, transparent 100%) !important;
}
.attraction-overlay h4 {
  font-size: 1.15rem !important;
  margin-bottom: 3px !important;
  font-weight: 700 !important;
  color: #FFF !important;
}
.attraction-overlay p {
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
@media (max-width: 768px) {
  .attractions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .attraction-card {
    height: 180px !important;
  }
  .attraction-overlay {
    padding: 8px 10px 10px !important;
    background: linear-gradient(0deg, rgba(110, 157, 180, 0.96) 0%, rgba(110, 157, 180, 0.75) 60%, transparent 100%) !important;
  }
  .attraction-overlay h4 {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
    color: #FFF !important;
  }
  .attraction-overlay p {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.88) !important;
  }
}

/* Ubicación (#ubicacion) */
.location-grid {
  gap: 20px !important;
}
.location-info {
  padding: 24px 28px !important;
}
.distances-list {
  margin: 14px 0 !important;
  gap: 10px !important;
}
.map-embed {
  min-height: 280px !important;
}

/* FAQ (#faq) Acordeón Totalmente Contraído sin Texto Visible */
.accordion-item {
  margin-bottom: 8px !important;
  border-radius: var(--border-radius-sm) !important;
  overflow: hidden !important;
  border: 1px solid var(--gris-claro) !important;
  background: #FFFFFF !important;
}
.accordion-header {
  padding: 12px 18px !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
}
.accordion-header:hover {
  background: var(--arena-light) !important;
}
.accordion-body {
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0.35s ease !important;
}
.accordion-item.active .accordion-body {
  max-height: 500px !important;
  padding-top: 4px !important;
  padding-bottom: 16px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Footer (#contacto) */
.footer {
  padding-top: 36px !important;
}
.footer-grid {
  gap: 24px !important;
}
.footer-logo-wrap {
  margin-bottom: 12px !important;
}


/* ==========================================================================
   PXNAV — COMPONENTE DE NAVEGACIÓN MODERNA CON MEGAMENÚS Y GLOW
   ========================================================================== */

/* Barra Header Glassmorphic */
.pxnav-nereidas {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(20, 33, 61, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease !important;
}
.pxnav-nereidas.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.08) !important;
}

.pxnav__inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logos Duales */
.pxnav__logo-group {
  display: flex;
  align-items: center;
}
.pxnav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.pxnav__logo--iso {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--azul-noche);
  color: var(--dorado-suave);
  align-items: center;
  justify-content: center;
  font-family: var(--font-script);
  font-size: 1.9rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(20, 33, 61, 0.25);
  transition: transform 0.2s ease;
}
.pxnav__logo--iso:hover {
  transform: scale(1.05);
}
.pxnav__logo--full {
  height: 64px !important;
  max-height: 64px !important;
  width: auto;
  object-fit: contain;
  transition: all 0.25s ease;
}
.pxnav-nereidas.scrolled .pxnav__logo--full {
  height: 56px !important;
  max-height: 56px !important;
}

/* Navegación Desktop */
.pxnav__nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 992px) {
  .pxnav__nav {
    display: flex;
  }
}

.pxnav__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
  position: relative;
}
.pxnav__item:hover,
.pxnav__item.is-active {
  color: var(--azul-mar);
  background: rgba(111, 168, 173, 0.12);
}
.pxnav__item--btn {
  user-select: none;
}
.pxnav__chev {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}
.pxnav__item.is-active .pxnav__chev {
  transform: rotate(180deg);
  color: var(--dorado-suave);
  opacity: 1;
}

/* Etiquetas adaptativas L y S */
.pxnav__lab-s {
  display: none;
}
@media (max-width: 1160px) {
  .pxnav__lab-l { display: none; }
  .pxnav__lab-s { display: inline; }
  .pxnav__item { padding: 8px 10px; font-size: 0.84rem; }
}

/* Zona de Conversión (CTAs) */
.pxnav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pxnav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
  cursor: pointer;
}
.pxnav__btn--ghost {
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--azul-noche);
  background: rgba(20, 33, 61, 0.05);
  border: 1px solid rgba(20, 33, 61, 0.14);
}
.pxnav__btn--ghost svg {
  fill: #25D366;
}
.pxnav__btn--ghost:hover {
  background: #14213D;
  color: #FFFFFF;
  border-color: #14213D;
}
.pxnav__btn--ghost:hover svg {
  fill: #FFFFFF;
}

/* Botón Primario con Dynamic Glow Nereidas */
.pxnav__btn--solid {
  position: relative;
  padding: 9px 22px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--azul-noche);
  background: var(--dorado-suave);
  border: none;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(201, 166, 107, 0.35);
}
.pxnav__btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 166, 107, 0.55);
}
.pxnav__glow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.pxnav__glow--near {
  filter: blur(8px);
  opacity: 0.8;
}
.pxnav__glow--far {
  filter: blur(18px);
  opacity: 0.55;
  width: 32px;
  height: 32px;
}
.pxnav__btn--solid:hover .pxnav__glow--near {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

/* Botón Hamburguesa */
.pxnav__burger {
  display: flex;
}
@media (min-width: 992px) {
  .pxnav__burger {
    display: none;
  }
}

/* ==========================================================================
   MEGAMENÚS DESPLEGABLES FLOTANTES (PXNAV-DROPS)
   ========================================================================== */
.pxnav-drops {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.pxnav-drop {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s ease;
  z-index: 1010;
}
.pxnav-drop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Panel Base Glassmorphism */
.pxpanel {
  background: #FFFFFF;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 55px rgba(20, 33, 61, 0.16), 0 0 0 1px rgba(201, 166, 107, 0.2);
  overflow: hidden;
}
.pxnav-drop[data-pxnav-panel="apartamentos"] .pxpanel {
  width: 880px;
  max-width: 95vw;
}
.pxnav-drop[data-pxnav-panel="servicios"] .pxpanel {
  width: 840px;
  max-width: 95vw;
}

.pxpanel__top {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: #FFFFFF;
}
@media (max-width: 900px) {
  .pxpanel__top {
    grid-template-columns: 1fr;
  }
}

/* Cards Segmentadoras con Foto */
.pxpanel__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #F8FAFC;
  border-right: 1px solid rgba(20, 33, 61, 0.08);
}
.pxcard {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid rgba(20, 33, 61, 0.08);
  transition: all 0.2s ease;
}
.pxcard:hover {
  border-color: var(--dorado-suave);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 33, 61, 0.08);
}
.pxcard__thumb {
  width: 74px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.pxcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pxcard__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pxcard__ttl {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--azul-noche);
  line-height: 1.2;
}
.pxcard__desc {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.3;
}
.pxcard__link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--turquesa-dark);
  margin-top: 2px;
}

/* Listas de Enlaces del Panel */
.pxpanel__lists {
  padding: 20px 24px;
}
.pxlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pxlist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pxlist__cap {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--turquesa-dark);
  margin-bottom: 4px;
  display: block;
}
.pxlist li a {
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.pxlist li a:hover {
  color: var(--azul-mar);
  font-weight: 600;
}

/* Badges */
.pxbadge {
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(201, 166, 107, 0.2);
  color: var(--dorado-dark);
  border: 1px solid var(--dorado-suave);
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Banda Horizontal Inferior */
.pxband {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 20px;
  background: var(--azul-noche);
  color: #FFFFFF;
}
.pxband__bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.80rem;
  text-decoration: none;
  color: #CBD5E1;
  transition: color 0.2s ease;
}
.pxband__bar--wide {
  font-weight: 600;
  color: var(--dorado-suave);
}
.pxband__bar--wide:hover {
  color: #FFFFFF;
}
.pxband__ico {
  width: 16px;
  height: 16px;
  color: var(--turquesa-grisaceo);
}
.pxband__ttl {
  font-weight: 700;
  color: #FFFFFF;
}
.pxband__lst {
  font-size: 0.76rem;
  color: #94A3B8;
}
.pxband__go svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.pxband__bar:hover .pxband__go svg {
  transform: translateX(3px);
}

/* Layout Mosaico de Servicios (pxsec) */
.pxsec-wrap {
  padding: 18px;
}
.pxsec {
  display: grid;
  gap: 12px;
}
.pxsec[data-cols="3"] {
  grid-template-columns: 240px 1fr 1fr;
}
@media (max-width: 800px) {
  .pxsec[data-cols="3"] {
    grid-template-columns: 1fr;
  }
}

.pxsec__card {
  background: #F8FAFC;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pxsec__card:hover {
  background: #FFFFFF;
  border-color: var(--turquesa-grisaceo);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 33, 61, 0.08);
}
.pxsec__card--alta {
  background: linear-gradient(135deg, var(--azul-noche) 0%, #91ADC8 100%);
  color: #FFFFFF;
  border: none;
}
.pxsec__card--alta:hover {
  transform: none;
  background: linear-gradient(135deg, var(--azul-noche) 0%, #91ADC8 100%);
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.25);
}
.pxsec__card--alta .pxsec__ttl {
  color: var(--dorado-suave);
}
.pxsec__card--alta .pxsec__desc {
  color: #E2E8F0;
}
.pxsec__ttl {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--azul-noche);
  margin-bottom: 4px;
}
.pxsec__desc {
  font-size: 0.74rem;
  color: #64748B;
  line-height: 1.35;
  margin-bottom: 8px;
}
.pxsec__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.pxsec__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.pxsec__link:hover {
  background: var(--dorado-suave);
  color: var(--azul-noche);
}
.pxsec__pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.pxsec__tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--turquesa-dark);
  text-transform: uppercase;
}
.pxsec__cta {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--azul-mar);
}

.pxsec__banda {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px 14px;
  background: #F1F5F9;
  border-radius: 8px;
}
.pxsec__bandaTxt {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
}
.pxsec__bandaCta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803D;
  text-decoration: none;
}
.pxsec__bandaCta:hover {
  text-decoration: underline;
}

/* Responsivo en Mobile */
@media (max-width: 991px) {
  .pxnav__logo--full {
    height: 54px !important;
  }
  .pxnav__btn--ghost {
    display: none;
  }
}



/* ==========================================================================
   MEGAMENÚ APARTAMENTOS: 5 FICHAS VISUALES DE UNIDADES
   ========================================================================== */
.pxunits-wrap {
  padding: 16px 20px 20px;
  background: #FFFFFF;
}
.pxunits-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}
.pxunits-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--azul-noche);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pxunits-badge-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dorado-dark);
  background: rgba(201, 166, 107, 0.18);
  border: 1px solid var(--dorado-suave);
  border-radius: 20px;
  padding: 2px 10px;
}
.pxunits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 980px) {
  .pxunits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .pxunits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pxunit-card {
  display: flex;
  flex-direction: column;
  background: #F8FAFC;
  border: 1px solid rgba(20, 33, 61, 0.09);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.22s ease;
}
.pxunit-card:hover {
  transform: translateY(-3px);
  border-color: var(--dorado-suave);
  box-shadow: 0 8px 20px rgba(20, 33, 61, 0.1);
  background: #FFFFFF;
}
.pxunit-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #E2E8F0;
}
.pxunit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.pxunit-card:hover .pxunit-thumb img {
  transform: scale(1.06);
}
.pxunit-capacity {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #6e9db4;
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.pxunit-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.pxunit-ttl {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--azul-noche);
  margin-bottom: 3px;
  line-height: 1.2;
}
.pxunit-features {
  font-size: 0.68rem;
  color: #64748B;
  line-height: 1.35;
  margin-bottom: 8px;
}
.pxunit-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--turquesa-dark);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.pxnav-drop[data-pxnav-panel="apartamentos"] .pxpanel {
  width: 960px !important;
  max-width: 96vw !important;
}

/* Pulso al redirigir a barra de reservas */
.quick-booking-bar.pulse-highlight {
  box-shadow: 0 0 0 4px var(--dorado-suave), 0 15px 40px rgba(20, 33, 61, 0.3) !important;
  transition: box-shadow 0.3s ease !important;
}



/* Botón Reservar Limpio y Sólido en Dorado Oficial (Sin reflejos traslúcidos azules) */
.pxnav__btn--solid {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: var(--azul-noche) !important;
  background: var(--dorado-suave) !important;
  border: none !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(201, 166, 107, 0.35) !important;
  transition: all 0.2s ease !important;
}
.pxnav__btn--solid:hover {
  transform: translateY(-2px) !important;
  background: #D8B77D !important;
  box-shadow: 0 8px 22px rgba(201, 166, 107, 0.45) !important;
}
.pxnav__glow {
  display: none !important;
}


/* ==========================================================================
   MEGAMENÚ SERVICIOS: 8 FICHAS POR FILA (SIN FOTOS, MODAL AL HACER CLIC)
   ========================================================================== */
.pxnav-drop[data-pxnav-panel="servicios"] .pxpanel {
  width: 1180px !important;
  max-width: 97vw !important;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.pxnav-drop[data-pxnav-panel="servicios"] .pxpanel::-webkit-scrollbar {
  width: 5px;
}
.pxnav-drop[data-pxnav-panel="servicios"] .pxpanel::-webkit-scrollbar-thumb {
  background: var(--dorado-suave);
  border-radius: 10px;
}

.pxservices-wrap {
  padding: 14px 18px 16px;
  background: #FFFFFF;
}
.pxservices-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}
.pxservices-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--azul-noche);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.pxservices-badge-count {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--dorado-dark);
  background: rgba(201, 166, 107, 0.18);
  border: 1px solid var(--dorado-suave);
  border-radius: 20px;
  padding: 2px 9px;
}

.pxservices-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 8px;
}
@media (max-width: 1150px) {
  .pxservices-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px;
  }
}
@media (max-width: 640px) {
  .pxservices-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }
}

.pxservice-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1px solid rgba(20, 33, 61, 0.09);
  border-radius: 8px;
  padding: 10px 8px 9px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 114px;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}
.pxservice-card:hover {
  transform: translateY(-2px);
  border-color: var(--dorado-suave);
  box-shadow: 0 6px 16px rgba(20, 33, 61, 0.1);
  background: #FFFFFF;
}

.pxservice-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.pxservice-badge {
  display: inline-block;
  background: rgba(20, 33, 61, 0.07);
  color: var(--azul-noche);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid rgba(20, 33, 61, 0.06);
}
.pxservice-card:hover .pxservice-badge {
  background: rgba(201, 166, 107, 0.18);
  color: var(--dorado-dark);
  border-color: var(--dorado-suave);
}
.pxservice-cam-ico {
  font-size: 0.70rem;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
}
.pxservice-card:hover .pxservice-cam-ico {
  opacity: 1;
  transform: scale(1.15);
}

.pxservice-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  padding: 0;
}
.pxservice-ttl {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--azul-noche);
  margin-bottom: 3px;
  line-height: 1.2;
}
.pxservice-desc {
  font-size: 0.60rem;
  color: #64748B;
  line-height: 1.25;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 25px;
}
.pxservice-link {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--turquesa-dark);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: auto;
}
.pxservice-card:hover .pxservice-link {
  color: var(--dorado-dark);
}

.story-nav-arrow:hover {
  background: rgba(0,0,0,0.75) !important;
  border-color: var(--dorado-suave) !important;
  transform: translateY(-50%) scale(1.08) !important;
}

/* Iconos en miniatura circulares estilo sección servicios */
.pxservice-mini-ring {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A66B 0%, #22374A 60%, #6FA8AD 100%);
  padding: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(34, 55, 74, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.pxservice-card:hover .pxservice-mini-ring {
  transform: scale(1.12);
  box-shadow: 0 4px 10px rgba(201, 166, 107, 0.4);
}
.pxservice-mini-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pxservice-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ==========================================================================
   AJUSTES MOBILE: TIPOGRAFÍA DEL HERO (Título H1 y Descripción H2/H3)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-content {
    padding-bottom: 24px !important;
  }
  .hero-badge {
    font-size: 0.76rem !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
  }
  .hero-title,
  .hero h1,
  .hero-content h1 {
    font-size: 1.72rem !important; /* Presencia elegante y destacada */
    line-height: 1.20 !important;
    letter-spacing: -0.2px !important;
    margin-bottom: 12px !important;
  }
  .hero-desc,
  .hero h2,
  .hero h3,
  .hero-content h2,
  .hero-content h3 {
    font-size: 0.90rem !important; /* Altamente legible (14.4px) con excelente jerarquía visual */
    line-height: 1.55 !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
    opacity: 0.94 !important;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.70rem !important;
    padding: 4px 10px !important;
    margin-bottom: 10px !important;
  }
  .hero-title,
  .hero h1,
  .hero-content h1 {
    font-size: 1.48rem !important; /* Tamaño armónico para pantallas angostas */
    line-height: 1.22 !important;
    margin-bottom: 10px !important;
  }
  .hero-desc,
  .hero h2,
  .hero h3,
  .hero-content h2,
  .hero-content h3 {
    font-size: 0.84rem !important; /* ~13.5px nítido y descansado a la vista */
    line-height: 1.50 !important;
    margin-bottom: 14px !important;
  }
}

/* ==========================================================================
   BOTONES DE REDES SOCIALES Y CONTACTO EN EL MENÚ DRAWER MÓVIL
   ========================================================================== */
.drawer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 4px 0;
}
.drawer-social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.drawer-social-btn:hover,
.drawer-social-btn:active {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.drawer-social-btn.btn-wa {
  background: #25D366;
  border-color: #25D366;
}
.drawer-social-btn.btn-wa:hover {
  background: #1EBE5D;
}
.drawer-social-btn.btn-fb {
  background: #1877F2;
  border-color: #1877F2;
}
.drawer-social-btn.btn-fb:hover {
  background: #166FE5;
}
.drawer-social-btn.btn-ig {
  background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888);
  border-color: #E1306C;
}
.drawer-social-btn.btn-mail {
  background: #C9A66B;
  border-color: #C9A66B;
  color: #14213D !important;
}
.drawer-social-btn.btn-mail:hover {
  background: #D8B77E;
}

/* ==========================================================================
   FILA UNIFICADA DE HUÉSPEDES (ADULTOS, MENORES, BEBÉS) EN BARRA DE BÚSQUEDA
   ========================================================================== */
.booking-guests-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  width: 100%;
}
@media (min-width: 992px) {
  .booking-guests-row {
    display: contents;
  }
}
@media (max-width: 991px) {
  .quick-booking-bar.is-mobile-expanded .booking-grid {
    max-height: 400px;
  }
}
@media (max-width: 480px) {
  .booking-guests-row {
    gap: 6px;
  }
  .booking-guests-row .booking-field label {
    font-size: 0.62rem;
    letter-spacing: 0.2px;
  }
  .booking-guests-row .booking-field select {
    padding: 8px 4px;
    font-size: 0.78rem;
  }
}


/* ==========================================================================
   DISEÑO SIMÉTRICO Y MINIMALISTA PARA FICHAS DE APARTAMENTOS
   ========================================================================== */
.apartment-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(34, 55, 74, 0.09);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}
.apartment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(20, 33, 61, 0.12);
}
.apartment-info {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}
.apt-header {
  margin-bottom: 12px;
}
.apt-header .apartment-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #14213D;
  margin: 0 0 4px 0;
  line-height: 1.2;
}
.apt-surface-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #8C6D38;
  background: rgba(201, 166, 107, 0.12);
  border: 1px solid rgba(201, 166, 107, 0.28);
  border-radius: 20px;
  padding: 2px 10px;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   BARRA DE ESPECIFICACIONES CLAVE (PAX, DORMITORIO, BAÑO)
   Diseño Symmetrical Micro-Grid Responsive (Se adapta al 100% del área asignada)
   ========================================================================== */
.apt-specs-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  align-items: center !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 10px 4px !important;
  margin-bottom: 14px !important;
  gap: 2px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.apt-specs-bar .apt-spec-divider {
  display: none !important;
}

.apt-specs-bar .apt-spec-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 4px !important;
  font-size: 0.73rem !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  line-height: 1.25 !important;
  padding: 0 4px !important;
  white-space: normal !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.apt-specs-bar .apt-spec-item:not(:last-child) {
  border-right: 1px solid #E2E8F0 !important;
}

.apt-specs-bar .apt-spec-item svg {
  stroke: #6FA8AD !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

/* Servicios Incluidos (Pills Minimalistas) */
.apt-amenities-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.apt-amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.apt-amenity-pill:hover {
  border-color: #6FA8AD;
  background: #F8FAFC;
}
.apt-amenity-pill svg {
  stroke: #2FB6C4;
  flex-shrink: 0;
}

/* Bloque de Distribución y Ambientes */
.apt-details-block {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}
.apt-details-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748B;
  margin-bottom: 9px;
}
.apt-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.apt-details-list li {
  position: relative;
  padding-left: 15px;
  font-size: 0.81rem;
  color: #334155;
  line-height: 1.42;
}
.apt-details-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -1px;
  color: #C9A66B;
  font-size: 1.1rem;
  line-height: 1;
}

/* Sub-columnas para unidades en dos plantas (Familiar A y B) */
.apt-plants-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.apt-plant-col {
  background: #FAFAFA;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid #F1F5F9;
}
.apt-plant-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #1E293B;
  background: #E2E8F0;
  border-radius: 4px;
  padding: 2px 6px;
  margin-bottom: 6px;
}

@media (max-width: 576px) {
  
  .apt-spec-divider {
    display: none;
  }
  .apt-amenities-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   FICHAS DE SERVICIOS EN SECCIÓN #SERVICIOS (COHERENCIA CON MEGAMENÚ HEADER)
   ========================================================================== */
.services-section-grid {
  margin-top: 10px;
  width: 100%;
}
.services-section-grid .pxservice-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(27, 47, 122, 0.12) !important;
  box-shadow: 0 3px 12px rgba(27, 47, 122, 0.05) !important;
  min-height: 120px !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.services-section-grid .pxservice-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(27, 47, 122, 0.14) !important;
  border-color: var(--dorado-suave) !important;
}

/* ==========================================================================
   SENIOR UI/UX REDESIGN: MENU HAMBURGUESA CON FONDO Y ESTILO DEL FOOTER
   (Reacomodado armónico sin áreas de espaciado excesivo)
   ========================================================================== */
@media (max-width: 991px) {
  .mobile-drawer {
    width: 50vw !important;
    min-width: 175px !important;
    max-width: 280px !important;
    padding: 16px 14px 18px !important;
    background: #6FA8AD !important; /* Fondo #6FA8AD */
    box-shadow: -10px 0 32px rgba(0, 0, 0, 0.45) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Evita áreas de mucho espaciado en pantallas altas */
    gap: 14px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    z-index: 1200 !important;
  }
  .mobile-drawer::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-backdrop {
    background: rgba(10, 20, 50, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 1150 !important;
  }

  .drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 12px !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    flex-shrink: 0 !important;
  }
  .drawer-logo-img {
    max-height: 36px !important;
    max-width: 90px !important;
    width: auto !important;
    object-fit: contain !important;
  }
  .drawer-close {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #FFFFFF !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
  }
  .drawer-close:hover,
  .drawer-close:active {
    background: var(--dorado-suave) !important;
    color: #22374A !important;
    transform: scale(1.05) !important;
  }

  .drawer-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
  .drawer-menu a {
    color: rgba(255, 255, 255, 0.90) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.25px !important;
    padding: 7px 8px !important;
    border-radius: 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .drawer-menu a:hover,
  .drawer-menu a:focus,
  .drawer-menu a:active {
    color: var(--turquesa) !important;
    background: rgba(47, 182, 196, 0.14) !important;
    padding-left: 12px !important;
    border-bottom-color: transparent !important;
  }

  .drawer-footer {
    margin-top: 4px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }
  .drawer-social-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 2px 0 !important;
    flex-wrap: nowrap !important;
  }
  .drawer-social-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20) !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }
  .drawer-social-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
  .drawer-social-btn:hover,
  .drawer-social-btn:active {
    transform: translateY(-2px) scale(1.08) !important;
    background: var(--dorado-suave) !important;
    color: #22374A !important;
    box-shadow: 0 4px 12px rgba(201, 166, 107, 0.4) !important;
  }
  .drawer-social-btn.btn-wa {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #FFFFFF !important;
  }
  .drawer-social-btn.btn-wa:hover {
    background: #1EBE5D !important;
    color: #FFFFFF !important;
  }
  .drawer-social-btn.btn-fb {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    color: #FFFFFF !important;
  }
  .drawer-social-btn.btn-fb:hover {
    background: #166FE5 !important;
    color: #FFFFFF !important;
  }
  .drawer-social-btn.btn-ig {
    background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888) !important;
    border-color: #E1306C !important;
    color: #FFFFFF !important;
  }
  .drawer-social-btn.btn-mail {
    background: var(--dorado-suave) !important;
    border-color: var(--dorado-suave) !important;
    color: #22374A !important;
  }

  .drawer-footer p,
  .drawer-location {
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.70) !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
  }
}

@media (max-width: 340px) {
  .mobile-drawer {
    width: 56vw !important;
    padding: 14px 8px 16px !important;
    gap: 10px !important;
  }
  .drawer-social-row {
    gap: 4px !important;
  }
  .drawer-social-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }
  .drawer-social-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
}
/* ==========================================================================
   ÁREA DESPLEGABLE DE DISTRIBUCIÓN Y EQUIPAMIENTO EN FICHAS DE APARTAMENTOS
   ========================================================================== */
.apt-collapse-wrapper {
  margin-top: 6px;
  width: 100%;
}
.apt-collapse-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 9px !important;
  padding: 9px 13px !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  outline: none !important;
}
.apt-collapse-toggle:hover {
  background: rgba(201, 166, 107, 0.12) !important;
  border-color: rgba(201, 166, 107, 0.4) !important;
  color: #8C6D38 !important;
  transform: translateY(-1px) !important;
}
.apt-collapse-toggle.active {
  background: rgba(201, 166, 107, 0.15) !important;
  border-color: rgba(201, 166, 107, 0.5) !important;
  color: #8C6D38 !important;
}
.apt-toggle-arrow {
  stroke: #6FA8AD !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease !important;
  flex-shrink: 0 !important;
}
.apt-collapse-toggle:hover .apt-toggle-arrow,
.apt-collapse-toggle.active .apt-toggle-arrow {
  stroke: #8C6D38 !important;
}
.apt-collapse-toggle.active .apt-toggle-arrow {
  transform: rotate(180deg) !important;
}

.apt-collapse-content {
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease !important;
  margin-top: 0 !important;
  box-sizing: border-box !important;
}
.apt-collapse-content.open {
  max-height: 800px !important;
  opacity: 1 !important;
  margin-top: 10px !important;
}
/* Mobile header dropdown panel background #22374A */
@media (max-width: 991px) {
  .pxnav-drops .pxpanel,
  .pxpanel {
    background: #22374A !important;
  }
}

/* ==========================================================================
   ALINEACIÓN DE TARJETAS DE APARTAMENTOS (EVITAR ESPACIO EN BLANCO AL DESPLEGAR)
   ========================================================================== */
.apartments-grid {
  align-items: start !important;
}
.apartment-card {
  align-self: start !important;
  height: auto !important;
}

/* ==========================================================================
   FICHAS DE SERVICIOS SIN PASTILLAS (ICONO CIRCULAR ALINEADO A LA DERECHA)
   ========================================================================== */
.pxservice-card-head {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin-bottom: 6px !important;
}
.pxservice-badge {
  display: none !important;
}
/* ==========================================================================
   FICHAS DE SERVICIOS: DISTRIBUCIÓN Y ALTURAS 100% UNIFORMES
   ========================================================================== */
.pxservice-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 130px !important;
  padding: 10px 10px 9px !important;
  box-sizing: border-box !important;
}

.pxservice-card-head {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin-bottom: 4px !important;
  height: 28px !important;
  flex-shrink: 0 !important;
}

.pxservice-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  justify-content: space-between !important;
  padding: 0 !important;
}

.pxservice-ttl {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: var(--azul-noche) !important;
  margin-bottom: 4px !important;
  line-height: 1.25 !important;
  min-height: 32px !important;
  max-height: 32px !important;
  display: flex !important;
  align-items: flex-start !important;
  overflow: hidden !important;
}

.pxservice-desc {
  font-size: 0.62rem !important;
  color: #64748B !important;
  line-height: 1.3 !important;
  margin-bottom: 6px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.pxservice-link {
  font-size: 0.64rem !important;
  font-weight: 700 !important;
  color: var(--turquesa-dark) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  margin-top: auto !important;
  flex-shrink: 0 !important;
}
/* ==========================================================================
   GRILLA DE 12 SERVICIOS (6 POR FILA EN DESKTOP)
   ========================================================================== */
.pxservices-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 12px !important;
}
@media (max-width: 1024px) {
  .pxservices-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }
}
@media (max-width: 768px) {
  .pxservices-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
}
@media (max-width: 480px) {
  .pxservices-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
}
.pxnav-drop[data-pxnav-panel="servicios"] .pxpanel {
  width: 1120px !important;
  max-width: 96vw !important;
}

/* ==========================================================================
   APARTMENT GALLERY HOVER & EXPAND BADGE (SENIOR UI/UX)
   ========================================================================== */
.gallery-slide {
  cursor: pointer;
  user-select: none;
}
.gallery-slide img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.apartment-gallery:hover .gallery-slide img {
  transform: scale(1.025);
}

.gallery-expand-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #97c0c4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.25s ease;
  z-index: 6;
  pointer-events: none;
}
.gallery-expand-badge svg {
  color: #000000;
}
.apartment-gallery:hover .gallery-expand-badge {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MODAL FICHA DESCRIPTIVA DEL APARTAMENTO (SENIOR UI/UX LIGHTBOX & SPECS)
   ========================================================================== */
body.apt-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.apt-modal {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-sizing: border-box;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apt-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.apt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: #ffffff;
  background-color: #ffffff;
  opacity: 0.88;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.apt-modal-dialog {
  position: relative;
  width: 80vw;
  max-width: 1400px;
  height: 82vh;
  min-height: 500px;
  max-height: 86vh;
  min-width: 0;
  background: #FFFFFF;
  border-radius: 22px;
  /* Glow Luxury Flotante */
  box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.4), 
              0 0 45px rgba(197, 160, 89, 0.25), 
              0 30px 80px rgba(10, 25, 47, 0.65);
  border: 1px solid rgba(197, 160, 89, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.apt-modal.open .apt-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Header del Modal */
.apt-modal-header {
  padding: 12px 24px;
  background: #6e9db4;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.apt-modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.apt-modal-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

.apt-modal-title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apt-modal-surface {
  font-size: 0.8rem;
  color: #CBD5E1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apt-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.apt-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Body en Desktop: 2 columnas lado a lado, 80% del área sin scroll */
.apt-modal-body {
  padding: 0;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  background: #F8FAFC;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden; /* Cero scroll en versión desktop */
}

/* Lightbox / Galería Izquierda (se adapta dinámicamente al 80% de altura) */
.apt-modal-gallery {
  background: #ffffff;
  padding: 14px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: space-between;
}

.apt-modal-viewport {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.apt-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.apt-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  padding: 0;
}

.apt-modal-nav svg,
.gallery-nav-btn svg {
  display: block;
  pointer-events: none;
}

.apt-modal-nav:hover {
  background: #C5A059;
  border-color: #C5A059;
  color: #0F172A;
  transform: translateY(-50%) scale(1.08);
}

.apt-modal-nav-prev { left: 12px; }
.apt-modal-nav-next { right: 12px; }

.apt-modal-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: #6e9db4;
  background-color: #6e9db4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 10;
  letter-spacing: 0.5px;
}

/* Tira de Miniaturas */
.apt-modal-thumbs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 3px;
  scrollbar-width: thin;
  scrollbar-color: #C5A059 rgba(255, 255, 255, 0.1);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.apt-modal-thumbs::-webkit-scrollbar {
  height: 5px;
}
.apt-modal-thumbs::-webkit-scrollbar-thumb {
  background: #C5A059;
  border-radius: 3px;
}

.apt-modal-thumb-btn {
  flex: 0 0 68px;
  height: 46px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #000;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.apt-modal-thumb-btn:hover {
  opacity: 0.85;
}

.apt-modal-thumb-btn.active {
  opacity: 1;
  border-color: #C5A059;
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.6);
  transform: scale(1.03);
}

.apt-modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Columna Derecha: Texto Descriptivo, Specs & Distribución */
.apt-modal-content {
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  justify-content: flex-start;
  overflow-y: auto;
}

/* Barra de Especificaciones */
.apt-modal-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
  padding: 8px 14px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  flex-shrink: 0;
}

.apt-modal-specs .apt-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #22374A;
}

.apt-modal-specs .apt-spec-item svg {
  width: 14px;
  height: 14px;
  color: #C5A059;
  flex-shrink: 0;
}

.apt-modal-specs .apt-spec-divider {
  color: #CBD5E1;
}

/* Bloques de Contenido */
.apt-modal-section {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.apt-modal-section-title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: #22374A;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1.5px solid #F1F5F9;
  padding-bottom: 3px;
}

/* Pastillas de Servicios y Equipamiento en Desktop */
.apt-modal-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
}

.apt-modal-amenities .apt-amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #334155;
  border: 1px solid #E2E8F0;
}

.apt-modal-amenities .apt-amenity-pill svg {
  width: 12px;
  height: 12px;
  color: #22374A;
  flex-shrink: 0;
}

/* Distribución de Espacios */
.apt-modal-content .apt-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
}

.apt-modal-content .apt-details-list li {
  position: relative;
  padding-left: 15px;
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.3;
}

.apt-modal-content .apt-details-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #C5A059;
  font-size: 0.74rem;
  font-weight: bold;
}

.apt-modal-content .apt-plants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.apt-modal-content .apt-plant-col {
  background: #F8FAFC;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

.apt-modal-content .apt-plant-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #22374A;
  background: rgba(197, 160, 89, 0.2);
  padding: 2px 7px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.apt-modal-content .apt-plant-col .apt-details-list {
  grid-template-columns: 1fr;
  gap: 3px;
}

/* Eliminar definitivamente footer / botones en todas las vistas */
.apt-modal-footer {
  display: none !important;
}

/* ==========================================================================
   VERSION MOBILE (PANTALLAS <= 768px): GLOW FLOTANTE, 2 FILAS & TEXTOS -2PX
   ========================================================================== */
@media (max-width: 768px) {
  .apt-modal {
    padding: 12px 10px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Pop up Flotante con Estilo Glow Luxury */
  .apt-modal-dialog {
    max-width: 370px;
    width: 100%;
    height: auto;
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.5), 
                0 0 28px rgba(197, 160, 89, 0.3), 
                0 20px 50px rgba(7, 16, 31, 0.7);
    border: 1px solid rgba(197, 160, 89, 0.55);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .apt-modal-header {
    padding: 8px 12px;
    gap: 8px;
    box-sizing: border-box;
  }

  /* Textos -2px en Cabecera */
  .apt-modal-badge {
    font-size: 0.56rem;
  }
  .apt-modal-title {
    font-size: 1.05rem;
  }
  .apt-modal-surface {
    font-size: 0.65rem;
  }

  .apt-modal-close {
    width: 28px;
    height: 28px;
  }
  .apt-modal-close svg {
    width: 15px;
    height: 15px;
  }

  /* Body con scroll táctil en móvil */
  .apt-modal-body {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    box-sizing: border-box;
  }

  .apt-modal-gallery {
    padding: 8px 10px 6px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
  }

  .apt-modal-viewport {
    height: 175px;
    border-radius: 8px;
  }

  .apt-modal-nav {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }

  .apt-modal-thumb-btn {
    flex: 0 0 48px;
    height: 32px;
    border-radius: 4px;
  }

  .apt-modal-content {
    padding: 8px 10px;
    gap: 6px;
    box-sizing: border-box;
  }

  /* Specs Bar Mobile (-2px) */
  .apt-modal-specs {
    padding: 5px 6px;
    gap: 3px 6px;
    border-radius: 8px;
    justify-content: center;
    box-sizing: border-box;
  }
  .apt-modal-specs .apt-spec-item {
    font-size: 0.64rem;
    gap: 3px;
  }
  .apt-modal-specs .apt-spec-item svg {
    width: 11px;
    height: 11px;
  }

  /* Secciones Mobile (-2px) */
  .apt-modal-section {
    padding: 6px 8px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .apt-modal-section-title {
    font-size: 0.72rem;
    margin: 0 0 4px 0;
    padding-bottom: 2px;
  }

  /* Pastillas de Servicios en Mobile: Ajustadas en 2 filas exactas */
  .apt-modal-amenities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
  }
  .apt-modal-amenities .apt-amenity-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3px 2px;
    font-size: 0.58rem;
    border-radius: 6px;
    gap: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    box-sizing: border-box;
  }
  .apt-modal-amenities .apt-amenity-pill svg {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
  }

  /* Distribución Mobile (-2px) */
  .apt-modal-content .apt-details-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .apt-modal-content .apt-details-list li {
    font-size: 0.65rem;
    padding-left: 12px;
    line-height: 1.2;
  }
  .apt-modal-content .apt-details-list li::before {
    font-size: 0.64rem;
  }

  .apt-modal-content .apt-plants-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .apt-modal-content .apt-plant-col {
    padding: 5px 6px;
  }
  .apt-modal-content .apt-plant-badge {
    font-size: 0.56rem;
    padding: 2px 5px;
    margin-bottom: 2px;
  }
}

/* ==========================================================================
   OPTIMIZACIONES DE RENDIMIENTO MÓVIL (CORE WEB VITALS / CWV)
   ========================================================================== */
picture.pxnav__logo--full {
  display: flex;
  align-items: center;
}
.concept-image-mosaic .mosaic-item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.concept-image-mosaic .mosaic-item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.attraction-card picture {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}
.attraction-card picture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform var(--transition-smooth);
}
.attraction-card:hover picture img {
  transform: scale(1.08);
}
.gallery-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#atracciones,
#ubicacion,
#faq,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}
