@font-face {
  font-family: 'Liliana';
  src: url('fonts/liliana.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Millita';
  src: url('fonts/Militta.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #012A30;
  --surface: rgba(3, 56, 64, 0.92);
  --surface-strong: rgba(3, 56, 64, 1);
  --text: #f8fafc;
  --muted: #B9E89A;
  --accent: #A9FF3C;
  --accent-soft: rgba(169, 255, 60, 0.16);
  --border: rgba(169, 255, 60, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  --safe-area-top: max(0px, env(safe-area-inset-top));
  --safe-area-right: max(0px, env(safe-area-inset-right));
  --safe-area-bottom: max(0px, env(safe-area-inset-bottom));
  --safe-area-left: max(0px, env(safe-area-inset-left));
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #012A30 0%, #021B24 100%);
  color: var(--text);
  padding: 0;
  -webkit-user-select: none;
  -webkit-user-select: text;
  user-select: text;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  padding-top: var(--safe-area-top);
  padding-left: var(--safe-area-left);
  padding-right: var(--safe-area-right);
}

h1,
h2,
h3 {
  font-family: 'Liliana', 'Fontspring DEMO Liliana', serif;
}

/* Titles inside cards and section headers: Montserrat bold white */
.package-card .card-body h2,
.package-card .card-body h3,
.card-body h2,
.card-body h3,
.section-header h2,
.trust-item figcaption {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
}

/* Apply Montserrat bold white to section titles (excluding hero section) */
section:not(.hero-section) h1,
section:not(.hero-section) h2,
section:not(.hero-section) h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
}

/* Revert carousel titles to the original display type (Liliana) */
.carousel-section h1,
.carousel-section h2,
.carousel-section h3 {
  font-family: 'Liliana', 'Fontspring DEMO Liliana', serif;
  font-weight: 400;
  color: #7CFC00;
}

/* CRITICAL: Carousel caption name - must match hero "Las Huaringas" styling */
.carousel-caption-name {
  font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif !important;
  font-weight: 400 !important;
  color: #7CFC00 !important;
  letter-spacing: -0.02em !important;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  width: 100%;
  padding: 1rem 0;
  padding-top: calc(1rem + var(--safe-area-top));
  padding-left: var(--safe-area-left);
  padding-right: var(--safe-area-right);
  background: transparent;
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform, opacity;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
}

.site-header.scrolled {
  background: linear-gradient(180deg, rgba(1, 26, 28, 0.94), rgba(1, 26, 28, 0.82));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.nav-toggle {
  display: none; /* shown on small screens via media query */
  align-items: center;
  justify-content: center;
  background: rgba(3,56,64,0.6);
  color: var(--text);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}

.nav-toggle .hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms cubic-bezier(.2,.9,.2,1), opacity 160ms ease;
}
.nav-toggle .hamburger-bar + .hamburger-bar { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.6);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile login link inside nav (hidden on desktop) */
.mobile-login {
  display: none;
  color: var(--text);
  text-decoration: none;
}

.site-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  max-height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a,
.btn-login {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.site-nav a:hover,
.btn-login:hover {
  color: var(--accent);
}

.btn-login {
  border: 1px solid rgba(169, 255, 60, 0.18);
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(3, 56, 64, 0.7);
}

.hero-section {
  position: relative;
  min-height: clamp(560px, 60vh, 920px);
  display: grid;
  align-items: start;
  justify-items: start;
  padding: 0;
  background: #012A30;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-section > .container {
  width: 100%;
  max-width: none;
  padding: 0 clamp(0.75rem, 3.5vw, 3.5rem);
  margin: 0;
}
.prod-desc {
  margin: 0.6rem 0 0.8rem;
  color: rgba(248,250,252,0.9);
  font-size: 0.95rem;
  line-height: 1.45;
}
.prod-desc-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 0.8rem;
  color: rgba(248,250,252,0.9);
}
.card-list img, .prod-desc img {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: cover;
  border-radius: 2px;
}
.card-list {
  margin: 0.6rem 0 0.8rem;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.card-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(248,250,252,0.92);
  font-size: 0.95rem;
}

.card-features {
  margin-bottom: 0.75rem;
}

.prod-desc-items {
  margin: 0.4rem 0 0.6rem;
  padding: 0;
  list-style: none;
}
.prod-desc-items li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(248,250,252,0.95);
  font-size: 0.95rem;
}

/* Package grid and cards */
.package-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch; /* asegurar que los items se estiren verticalmente */
  grid-auto-rows: 1fr; /* filas con altura uniforme dentro de cada fila */
}
.package-card {
  background: rgba(1,42,48,0.18);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Alinear altura mínima de las cards fijas y de los paquetes */
.package-card,
.product-info-card,
.card-equal {
  min-height: 520px; /* mismo mínimo que la card de producto */
}
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.18);
  border-color: rgba(169,255,60,0.18);
}
.package-card .card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  padding-top: 0;
  background-color: rgba(0, 0, 0, 0.12);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 20px;
}
.package-card .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  background-color: transparent;
  border-radius: 20px;
}
.package-card .card-body {
  padding: 1.25rem;
  flex: 1;
  min-height: 0; /* permite que el flex-item se contraiga dentro del grid */
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.package-card h2 {
  font-family: 'Liliana', serif;
  font-size: 1.26rem;
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0;
  color: #f8fbfc;
}
.package-card .prod-desc p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(235, 248, 255, 0.92);
}
.prod-desc-items {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.prod-desc-items li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(235,248,255,0.92);
  font-size: 0.94rem;
}
.package-card .card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.4rem;
}
.package-card .card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: rgba(235,248,255,0.95);
  font-size: 0.95rem;
}
.package-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 1rem 0;
  margin-top: auto;
}
.package-card .btn {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  text-align: right;
}
.price-current {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22rem;
  font-size: 0.98rem;
}
.price-current strong {
  font-size: 1.15rem;
  font-weight: 800;
}
.price-old {
  font-size: 0.82rem;
  color: rgba(169,255,60,0.82);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.92;
  will-change: transform;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.18) 25%, rgba(0, 0, 0, 0.05) 60%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  max-width: 560px;
  padding: 0 1rem;
}

.hero-text {
  display: grid;
  gap: 0.5rem;
}

.hero-cta {
  position: relative;
  margin: 1.2rem 0 0;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif;
}

.hero-content h1 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.hero-content h1,
.hero-content .hero-subtitle {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 100%;
}

.hero-content .hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-title-highlight {
  font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif;
  font-weight: 400;
  color: #7CFC00;
  letter-spacing: 0;
  line-height: 0.95;
  display: inline-block;
  margin-left: 0.35em;
  font-size: 1.72em;
  text-shadow: 0 2px 6px rgba(10, 60, 10, 0.08);
  text-transform: capitalize;
}

.hero-content .hero-title-highlight::first-letter {
  text-transform: uppercase;
}

@media (max-width: 900px) and (min-width: 420px) {
  .hero-content {
    top: 34vh;
    left: 6%;
    transform: translateY(-50%);
    padding: 0 1rem;
    max-width: calc(100% - 2rem);
  }
  .hero-content h1,
  .hero-content .hero-subtitle {
    font-size: clamp(1.3rem, 5.2vw, 1.9rem);
  }
  .hero-cta {
    margin-top: 0.9rem;
  }
  /* Header: show toggle and hide full nav on smaller screens */
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .brand-logo { max-height: 36px; }

  /* Cards: 2 columns on medium screens */
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-section { height: 100dvh !important; min-height: 100dvh !important; }
  .carousel-container,
  .carousel-track,
  .carousel-slide { height: 100% !important; min-height: 100% !important; }
  .carousel-caption {
    left: 6%;
    width: min(360px, 48vw);
  }
  /* Hide desktop login and show mobile login inside nav when nav-open */
  .btn-login { display: inline-block; }
  .mobile-login { display: none; }
}

/* Small screens: center hero horizontally and improve readability */
@media (max-width: 600px) {
  .hero-content {
    left: 50%;
    top: 46vh;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 92%;
    padding: 0 1rem;
  }

  .hero-content h1,
  .hero-content .hero-subtitle {
    font-size: clamp(1.2rem, 6.5vw, 1.8rem);
    line-height: 1.05;
  }

  .hero-content .hero-title-highlight {
    transform: translateY(0) rotate(0);
    margin-left: 0.1rem;
    font-size: 1em;
  }

  .hero-cta {
    justify-content: center;
    margin-top: 0.9rem;
  }

  /* Ensure hero covers full viewport on small screens */
  .hero-video { display: block; }
  .hero-section { min-height: 100vh; }

  /* --- Header (mobile pixel-perfect) --- */
  .site-header {
    background: transparent;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
  }
  .header-inner { padding: 0 1rem; }
  .site-nav {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    justify-content: flex-end;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
  }
  .site-nav a { color: #ffffff; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .btn-login {
    display: inline-flex;
    background: #0a3d3d; /* verde petróleo oscuro */
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(169,255,60,0.12);
    font-weight: 700;
    font-size: 0.95rem;
  }

  /* Make header float visually over hero (transparent background) */
  .site-header::after { content: ''; position: absolute; inset: 0; pointer-events: none; }

  /* --- Hero (mobile pixel-perfect) --- */
  .hero-content { top: 50vh; transform: translate(-50%, -50%); left: 50%; text-align: center; padding: 0 1rem; max-width: 92%; }
  /* Aumentar drásticamente título y usar tipografía script para el highlight */
  .hero-content h1 { font-weight: 900; font-size: clamp(2rem, 9.5vw, 3.6rem); line-height: 0.98; margin: 0; }
  .hero-content .hero-subtitle { font-weight: 600; font-size: clamp(1.1rem, 5vw, 1.3rem); margin-top: 0.25rem; }
  .hero-content .hero-title-highlight { color: var(--accent); font-family: 'Millita', 'Liliana', serif; font-size: 1em; display: block; margin-left: 0; margin-top: 0.2rem; letter-spacing: -0.02em; }

  /* Overlay más oscuro para mejorar legibilidad sobre nubes */
  .hero-overlay { background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.4)); }

  /* CTA: reducir ancho, border-radius más redondeado */
  .hero-cta .btn-primary { display: inline-flex; width: auto; max-width: 260px; padding: 0.7rem 1.4rem; border-radius: 999px; background: #083636; box-shadow: 0 12px 30px rgba(0,0,0,0.28); }

  /* Header spacing to avoid compression */
  .site-header { padding-top: calc(0.9rem + var(--safe-area-top)); padding-bottom: 0.6rem; }
  .header-inner { gap: 1rem; align-items: center; }
  .site-nav a { font-size: 0.95rem; padding: 0.25rem 0.5rem; }

  /* --- Paquetes (cards) --- */
  .package-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .package-card { border-radius: 40px; background: rgba(3,56,64,0.95); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
  /* en móvil desactivar min-height fijo para que las cards sean compactas */
  .package-card,
  .product-info-card,
  .card-equal { min-height: auto; }
  .package-card .card-image { height: 160px; border-radius: 40px 40px 0 0; background-size: cover; background-position: center; background-color: transparent; }
  .package-card .card-image img { width: 100%; height: 100%; object-fit: cover !important; object-position: center center !important; }
  .package-card .card-body { padding: 0.9rem 0.95rem; }
  .card-body h2 { font-size: 1rem !important; margin: 0.3rem 0 !important; }
  .card-body p { font-size: 0.8rem !important; margin: 0.2rem 0 !important; line-height: 1.4 !important; }
  .package-card .card-list { display: none !important; }
  .card-list li { color: #fff; font-size: 0.75rem; }
  .card-list li::before { content: ''; width: 18px; height: 18px; display: inline-block; background: #ffffff33; border-radius: 4px; margin-right: 0.6rem; vertical-align: middle; }
  .package-card .card-footer { align-items: center; gap: 0.6rem; }
  .price { margin-left: auto; text-align: right; }
  .price strong { color: var(--accent); font-size: 0.95rem; display: block; }
  .price-old { color: #fff; opacity: 0.85; text-decoration: line-through; font-size: 0.65rem; }
  .package-card .btn { padding: 0.55rem 0.9rem; font-size: 0.75rem; background: #083636; }

  /* --- Collage / Informativa --- */
  .collage-section h2 { text-align: center; color: #fff; font-weight: 800; }
  .collage-content p { color: #fff; }
  .collage-content p strong { font-weight: 800; }

  /* Emphasize specific phrases via a helper class (apply in HTML if needed) */
  .emph-mobile { font-weight: 800; }

  /* --- Galería / Slider --- */
  .collage-images .collage-image { border-radius: 14px; overflow: hidden; }
  .carousel-caption { left: 1rem; right: 1rem; bottom: 1rem; transform: none; }

  /* --- ¿Quienes Somos? / Bloque de confianza --- */
  .collage-layout { gap: 1rem; }
  .trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .trust-item img { filter: brightness(0) invert(1); max-width: 60px; }
  .trust-item figcaption { color: #fff; font-size: 0.78rem; }

  /* --- Footer móvil --- */
  .site-footer { background: var(--surface-strong); padding: 1.25rem 0; }
  .footer-content { display: flex; flex-direction: column; gap: 1rem; }
  .footer-col { width: 100%; }
  .follow-btn { background: #fff; color: #012A30; padding: 0.45rem 0.8rem; border-radius: 999px; display: inline-block; font-weight: 700; }
  .footer-contact a { color: #fff; text-decoration: none; }
  .footer-shoe { max-width: 120px; opacity: 0.9; }

  .carousel-caption {
    left: 50%;
    right: auto;
    top: 50%;
    width: auto;
    max-width: 90%;
    transform: translate(-50%, -50%);
    text-align: left;
    gap: 0 !important;
    display: grid !important;
  }

  .carousel-caption-kicker {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
    line-height: 0.8 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-caption-name {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
    font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif !important;
    color: #7CFC00 !important;
    font-weight: 400 !important;
    margin: -0.15em 0 0 !important;
    padding: 0 !important;
    line-height: 0.75 !important;
  }

  .carousel-caption-description {
    max-width: 100%;
    font-size: 0.78rem;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  .btn {
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Two-column packages for small/medium screens (phones landscape / small tablets) */
@media (min-width: 480px) and (max-width: 900px) {
  .package-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px; /* between 10px-15px as requested */
  }

  .package-card {
    padding: 0.55rem; /* reduce internal padding */
    border-radius: 20px;
  }

  .package-card .card-image {
    /* make image square and aligned */
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
  }

  .package-card .card-body {
    padding: 0.5rem !important;
    gap: 0.35rem;
  }

  .card-body h3 { font-size: 0.92rem; }
  .card-body p { font-size: 0.78rem; }
  .card-list { font-size: 0.72rem; gap: 0.3rem; }
  .card-list li::before { width: 14px; height: 14px; margin-right: 0.45rem; }

  .package-card .card-footer { gap: 0.45rem; }
  .package-card .btn { padding: 0.56rem 0.9rem; font-size: 0.78rem; }
  .price strong { font-size: 1.02rem; }
}

/* Mobile nav open state */
/* Mobile menu: full-screen panel that scrolls with content */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}
.mobile-menu.open { display: flex; }
.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}
.mobile-menu-panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 0;
  padding: 0;
  padding-top: calc(3.5rem + var(--safe-area-top));
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 72;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.8rem 0 0.45rem 0;
}
.mobile-menu-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  transition: background 0.12s ease;
}
.mobile-menu-nav a:hover { background: rgba(255,255,255,0.03); }

/* style the mobile login inside the mobile menu like a button */
.mobile-menu-nav .mobile-login {
  display: inline-flex;
  background: rgba(2,45,47,0.98);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(169,255,60,0.12);
}

/* Mobile socials inside mobile menu */
.mobile-menu-socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  padding-top: 0.45rem;
  margin-top: 0.25rem;
}
.mobile-menu-socials .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  color: #fff;
}
.mobile-menu-socials .icon-social { width: 18px; height: 18px; }

/* Mobile: stack package cards into 1 column */
@media (max-width: 480px) {
  .nav-toggle { display: inline-flex; }
  .btn-login { display: none; }
  .section-header { text-align: center; }
  .section-header h2 { margin-bottom: 1.15rem; font-size: clamp(1.55rem, 6vw, 2rem); }
  .package-grid { grid-template-columns: 1fr; gap: 0.85rem; align-items: start; }
  .package-card { min-width: 0; padding: 0.9rem; border-radius: 16px; }
  .package-card .card-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
    margin: 0 auto 0.5rem auto;
    border-radius: 16px;
  }
  .card-body { padding: 0; min-width: 0; gap: 0.4rem; align-items: flex-start; }
  .card-body h3 { font-size: 0.95rem; line-height: 1.25; margin: 0; text-align: left; }
  .card-body p { font-size: 0.84rem; line-height: 1.4; margin: 0; text-align: left; }
  .card-list { gap: 0.28rem; font-size: 0.8rem; line-height: 1.35; }
  .card-list li { gap: 0.32rem; }
  .card-list li::before { content: '•'; color: #ffffff; font-size: 0.95rem; font-weight: 400; line-height: 1; margin-top: 0; }
  .card-footer { padding: 0.3rem 0 0; gap: 0.4rem; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .package-card .btn { min-width: 0; width: 100%; flex: 0 0 auto; padding: 0.65rem 0.85rem; font-size: 0.78rem; white-space: nowrap; }
  .price { display: flex; flex-direction: column; align-items: flex-start; text-align: left; font-size: 0.85rem; line-height: 1.2; margin-left: 0; }
  .price strong { font-size: 1.05rem; }
  .price-old { font-size: 0.72rem; margin-top: 0.06rem; }
  .hero-content { left: 50%; top: 45vh; transform: translate(-50%, -50%); text-align: center; max-width: calc(100% - 1.5rem); padding: 0 0.5rem; }
  .hero-content h1, .hero-content .hero-subtitle { font-size: clamp(1.2rem, 5.5vw, 1.5rem); }
  .carousel-section { height: 100dvh !important; min-height: 100dvh !important; }
  .carousel-container,
  .carousel-track,
  .carousel-slide { height: 100% !important; min-height: 100% !important; }
  .carousel-caption { left: 50%; right: auto; top: 50%; width: min(90vw, 360px); transform: translate(-50%, -50%); text-align: left; gap: 0 !important; display: grid !important; }
  .carousel-caption-kicker { font-size: clamp(1.15rem, 4.8vw, 1.7rem); line-height: 0.8 !important; margin: 0 !important; padding: 0 !important; }
  .carousel-caption-name { font-size: clamp(1.9rem, 8vw, 3rem); font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif !important; color: #7CFC00 !important; font-weight: 400 !important; margin: -0.15em 0 0 !important; padding: 0 !important; line-height: 0.75 !important; }
  .carousel-caption-description { font-size: 0.76rem; line-height: 1.2 !important; max-width: 100%; margin: 0 !important; padding: 0 !important; }
  .carousel-slide:nth-child(1) { background-image: url('assets/images/L.NEGRA.jpeg') !important; }
  .carousel-slide:nth-child(2) { background-image: url('assets/images/L.SHIMBE.jpeg') !important; }
  .carousel-slide:nth-child(3) { background-image: url('assets/images/L.MILLONARIA.jpeg') !important; }
  .carousel-slide:nth-child(4) { background-image: url('assets/images/L. 3AMORES.jpeg') !important; }
  .carousel-slide:nth-child(5) { background-image: url('assets/images/L.REY.jpeg') !important; }
  .collage-section { padding: 3.25rem 0; }
  .collage-layout { display: flex !important; flex-direction: column !important; gap: 1rem; justify-items: stretch; align-items: stretch; width: 100%; min-width: 0; }
  .collage-content { max-width: 100%; width: 100%; margin: 0 auto; text-align: left; box-sizing: border-box; min-width: 0; padding: 0 1rem; }
  .collage-section h2 { font-size: clamp(1.65rem, 6vw, 2.15rem); font-weight: 950; color: #fff; margin-bottom: 0.8rem; text-align: center; }
  .collage-content p { margin-bottom: 0.8rem; font-size: 0.93rem; line-height: 1.62; text-align: left; }
  .collage-images {
    display: grid !important;
    gap: 0.75rem;
  }
  .collage-row {
    display: grid !important;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .collage-top,
  .collage-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .collage-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .collage-row .collage-image {
    width: 100%;
    min-height: 128px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: rgba(0,0,0,0.16);
  }
  .collage-top .collage-image {
    min-height: 128px;
  }
  .collage-bottom .collage-image {
    min-height: 88px;
    aspect-ratio: 1 / 1;
  }
  .collage-layout > .collage-image {
    width: 100%;
    min-height: 300px;
    height: auto;
    aspect-ratio: 4 / 3;
    box-sizing: border-box;
    max-width: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 20px;
    overflow: hidden;
    margin: 0;
  }
  /* Ensure images and container are not clipped on small screens */
  .collage-layout, .collage-images, .collage-row { overflow: hidden; height: auto; min-width: 0; }
  /* Add spacing below collage so the next section doesn't overlap */
  .collage-layout { padding-bottom: 1.5rem; }
}

/* Prevent wide images/sections from overflowing on very small screens */
img, .collage-image { max-width: 100%; height: auto; }
.card-image { max-width: 100%; }

.package-card .card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  min-height: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-content .hero-exclaim {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  display: inline;
  visibility: visible;
  opacity: 1;
}

.btn-primary {
  background: #0a3d3d;
  color: #ffffff;
  border: 1px solid rgba(169, 255, 60, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 1.2rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: var(--bg);
  color: #f8fafc;
  border: 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #011f25;
}

.btn-secondary {
  background: rgba(169, 255, 60, 0.14);
  color: #f8fafc;
  border: 1px solid rgba(169, 255, 60, 0.4);
  padding: 0.95rem 1.9rem;
  font-size: 0.98rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(169, 255, 60, 0.24);
  border-color: rgba(169, 255, 60, 0.6);
}

.info-section {
  padding: 5rem 0;
}

.packages-section {
  padding: 7.5rem 0;
}

.carousel-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #021b24;
}

.carousel-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.carousel-caption {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: min(440px, 38vw);
  display: grid;
  gap: 0;
  pointer-events: none;
  text-align: left;
}

.carousel-caption-kicker {
  margin: 0;
  padding: 0;
  font-family: 'Liliana', 'Fontspring DEMO Liliana', serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 0.75;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.carousel-caption-name {
  margin: -0.22em 0 0;
  padding: 0;
  font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif !important;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.75;
  color: #7CFC00 !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  transform: rotate(-0.5deg);
  text-shadow: 0 3px 10px rgba(8, 55, 8, 0.25);
}

.carousel-caption-description {
  margin: -0.08em 0 0;
  padding: 0;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  line-height: 1.35;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
}

.carousel-caption {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: min(34rem, 38vw);
  max-width: calc(100vw - 2rem);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  display: grid;
  gap: 0.35rem;
  pointer-events: none;
  text-align: left;
}

/* Ensure consistent aspect ratio for collage and card image blocks */
.collage-image,
.package-card .card-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center center;
  min-height: 128px;
}

/* Fallback for browsers that don't support aspect-ratio */
.no-aspect-ratio .collage-image,
.no-aspect-ratio .package-card .card-image {
  height: 0;
  padding-top: 75%; /* 4:3 fallback */
  position: relative;
  overflow: hidden;
}

/* Ensure background images fill the padded box in fallback */
.no-aspect-ratio .collage-image,
.no-aspect-ratio .package-card .card-image {
  background-size: cover !important;
  background-position: center center !important;
}

.carousel-caption-label {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.carousel-caption-title {
  margin: 0;
  padding: 0;
  color: #7CFC00 !important;
  font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif !important;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 0.88;
  font-weight: 400 !important;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 10px rgba(8, 55, 8, 0.22);
}

.carousel-caption-description {
  margin: 0;
  padding: 0;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.86rem, 1.05vw, 0.98rem);
  line-height: 1.45;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.carousel-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  position: relative;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 34%, rgba(1, 42, 48, 0.1) 100%);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev {
  left: 1.5rem;
}

.carousel-btn.next {
  right: 1.5rem;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

.carousel-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.18);
  cursor: pointer;
}

.carousel-dot.active {
  background: rgba(169,255,60,0.95);
  border-color: rgba(169,255,60,0.95);
}

.collage-section {
  padding: 5.5rem 0;
}

.collage-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.collage-images { display: block; }
.collage-row { display: flex; gap: 1rem; }
.collage-row .collage-image {
  flex: 1 1 0;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  min-height: 120px;
}

.collage-layout > .collage-image {
  height: auto;
  min-height: 260px;
  align-self: start;
}

.collage-content {
  max-width: 520px;
  padding-inline: 1rem;
}

.collage-section h2 {
  margin: 0 0 2rem;
  font-size: clamp(2.5rem, 3vw, 3.5rem);
  color: #ffffff;
  white-space: normal;
}

.collage-content p {
  margin: 0 0 1.4rem;
  color: #f5f7fb;
  line-height: 1.8;
}

.reviews-section {
  padding: 4.5rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.review-card {
  background: linear-gradient(180deg, rgba(8, 36, 41, 0.98), rgba(6, 31, 36, 0.98));
  border: 1px solid rgba(188, 162, 97, 0.35);
  border-radius: 8px;
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.review-stars {
  margin: 0 0 0.85rem;
  color: #f2c14e;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  line-height: 1;
}

.review-quote {
  margin: 0 0 1rem;
  color: rgba(255, 246, 218, 0.96);
  line-height: 1.7;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  background: linear-gradient(180deg, #cfa56b 0%, #9d7642 100%);
  color: #101010;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.review-author-copy {
  min-width: 0;
}

.review-name {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  line-height: 1.25;
  color: #f7f7f2;
  font-weight: 700;
}

.review-meta {
  margin: 0.15rem 0 0;
  color: rgba(195, 213, 214, 0.78);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.reviews-cta .btn-primary {
  background: #083636;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.collage-images {
  display: grid;
  gap: 1.5rem;
  grid-template-rows: auto auto;
  min-height: auto;
  height: auto;
}

.collage-row {
  display: grid;
  gap: 1.5rem;
}

.collage-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collage-bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.collage-top .collage-image {
  aspect-ratio: 1.15 / 1;
}

.collage-bottom .collage-image {
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
}

.collage-image {
  aspect-ratio: 1.1 / 1;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Standardized collage image rules (no !important) to avoid
   overriding other layout rules unexpectedly. Kept in cascade
   order so desktop/mobile breakpoints can still adjust them. */
.collage-image,
.collage-row .collage-image,
.collage-layout > .collage-image {
  background-clip: padding-box;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Prevent text from forcing unexpected layout changes */
.collage-content p,
.collage-content {
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Final fallback overrides for browsers without aspect-ratio support.
   Use high specificity and !important to counter earlier layout rules. */
.no-aspect-ratio .collage-image,
.no-aspect-ratio .collage-top .collage-image,
.no-aspect-ratio .collage-bottom .collage-image,
.no-aspect-ratio .collage-layout > .collage-image {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 75% !important; /* default 4:3 fallback */
  position: relative !important;
  display: block !important;
  box-shadow: var(--shadow) !important;
}

.no-aspect-ratio .collage-top .collage-image { padding-top: 86.9% !important; } /* ~1.15:1 */
.no-aspect-ratio .collage-bottom .collage-image { padding-top: 133.33% !important; } /* 3:4 -> padding-top 133.33% (tall) */

.no-aspect-ratio .package-card .card-image {
  height: 0 !important;
  padding-top: 100% !important; /* square fallback for package cards */
  position: relative !important;
  overflow: hidden !important;
}
.no-aspect-ratio .package-card .card-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 1024px) {
  .collage-layout {
    grid-template-columns: 1fr;
  }
  .collage-section { padding: 4rem 0; }
}

.section-header h2 {
  margin: 0 0 2rem;
  font-size: clamp(2.5rem, 3vw, 3.5rem);
  letter-spacing: -0.04em;
  font-weight: 700;
}

.package-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card {
  border-radius: 32px;
  background: rgba(15, 68, 74, 0.95);
  padding: 1.25rem;
  border: none;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-card[data-selected="true"] {
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.product-detail-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  background: rgba(2, 39, 44, 0.94);
  border: 1px solid rgba(169, 255, 60, 0.16);
  border-radius: 30px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}

.detail-image {
  border-radius: 24px;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.detail-price {
  color: var(--accent);
  font-size: clamp(1.8rem, 2.3vw, 2.4rem);
  font-weight: 900;
}

.detail-tag {
  color: var(--muted);
  font-size: 0.97rem;
}

.detail-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  color: #e6f8e1;
  font-size: 1rem;
}

.detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.detail-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
}

.detail-extra {
  color: var(--accent);
  font-weight: 700;
}

/* Precio antiguo (plomo) y card fija */
.price-old {
  display: block;
  color: #9ea5ab; /* plomo */
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#detailAddCart {
  min-width: 200px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
}

.toast.visible {
  opacity: 1;
}

.cart-count {
  margin-left: 0.35rem;
  background: var(--accent);
  color: #04261a;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  /* Mobile-only: apply tighter product-detail padding for small screens */
  .product-detail { padding: 4rem 1.5rem 3rem !important; }
  .product-detail-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .package-grid {
    grid-template-columns: 1fr;
  }
  .detail-image {
    min-height: 280px;
  }
}

.card-image {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  background-color: transparent;
  box-shadow: none;
  border: none;
  overflow: hidden;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-body h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #f8fafc;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  color: #d9f1db;
  font-size: 0.95rem;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.card-list li::before {
  content: none;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.price {
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.price strong {
  font-size: 2rem;
}

.price-current {
  display: block;
}

.price-old {
  font-size: 0.9rem;
  color: #8899aa;
  text-decoration: line-through;
  font-weight: normal;
  margin-top: 0.25rem;
}

.package-card .btn {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.95rem 1.9rem;
  min-width: 160px;
  font-size: 0.98rem;
  border-radius: 999px;
}

.package-card .btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.contact-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0 1rem 1rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 1.2rem 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}

.btn-whatsapp .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}

.alt-background {
  background: rgba(255, 255, 255, 0.02);
}

.section-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.9fr 1fr;
  align-items: start;
}

.section-label {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(169, 255, 60, 0.12);
  color: var(--accent);
  font-family: 'Millita', 'Millita Regular Regular', cursive;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.info-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.info-section p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
}

.section-card {
  min-height: 220px;
  padding: 2rem;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  place-content: center;
  font-weight: 600;
  color: #edf2f7;
}

.callout-section {
  padding: 5rem 0 6rem;
  text-align: center;
  background: var(--surface-strong);
  border-top: 1px solid rgba(169, 255, 60, 0.08);
}

.callout-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 3vw, 3.5rem);
}

.callout-section p {
  margin: 0 auto 2rem;
  max-width: 620px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 1rem;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }
}

.price-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
}

@media (max-width: 620px) {
  .hero-content {
    padding-top: 4.5rem;
    max-width: 100%;
    padding-left: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .btn {
    width: 100%;
  }
}

/* Sección "¿Estás seguro con nosotros?" (ultima) */
.trust-section {
  padding: 4.5rem 0;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.02);
}
.trust-section h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #ffffff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
}
.trust-item {
  text-align: center;
  display: grid;
  gap: 0.9rem;
  align-items: center;
  justify-items: center;
}
.trust-item img {
  max-width: 180px;
  height: auto;
  display: block;
}
.trust-item figcaption {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  /* Fit four trust icons fully in one row on small screens */
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: center;
    justify-items: center;
    padding: 0.25rem 0 0.5rem 0;
    width: 100%;
  }
  .trust-item { min-width: 0; }
  .trust-item img { max-width: 56px; height: auto; display: block; margin: 0 auto; }
  .trust-item figcaption { font-size: 0.72rem; text-align: center; color: var(--muted); }
}

/* Footer centered with shoe image */
.site-footer {
  position: relative;
  padding: 3.5rem 0 5rem;
  background: var(--surface-strong);
  color: var(--text);
  overflow: hidden;
}
.site-footer .container {
  position: relative;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.3rem;
  align-items: flex-start;
  text-align: left;
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-left { align-items: center; text-align: center; }
.footer-col-center { align-items: flex-start; }
.footer-col-right { visibility: hidden; display: none; }
.footer-logo { max-height: 70px; display: block; margin: 0 0 0.4rem; }
.follow-btn { display: inline-block; background: #FFFFFF; color: #012A30; padding: 0.5rem 1rem; border-radius: 999px; font-weight:700; font-size: 0.85rem; }
.follow-block { display:flex; flex-direction:column; gap:0.5rem; align-items:center; }
.social-links { display:flex; gap:0.8rem; justify-content:center; }
.social { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; background: transparent; border-radius:10px; text-decoration:none; color: #FFFFFF; }
.icon-social { width:18px; height:18px; display:block; }
.footer-nav { display:flex; flex-direction:column; gap:0.6rem; margin-bottom: 0.4rem; }
.footer-nav a { color: var(--text); text-decoration:none; font-weight:700; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 0.4rem 0; }
.footer-contact-label { color: var(--text); font-weight:700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.contact-list { list-style:none; margin:0; padding:0; color: var(--muted); font-size:0.85rem; display:flex; flex-direction:column; gap:0.45rem; }
.contact-list li { display:flex; align-items:center; gap:0.5rem; }
.contact-icon { width:16px; height:16px; flex-shrink:0; }
.contact-list a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }
.footer-col-right { visibility: visible; display: flex; align-items: center; justify-content: flex-end; }
.footer-shoe {
  position: absolute;
  right: 2%;
  top: 1%;
  width: 640px;
  max-width: 55%;
  opacity: 0.98;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0) translateX(10%);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
  display: block;
}

@media (max-width: 1400px) {
  .footer-shoe { width: 520px; max-width: 50%; right: 4%; top: 3%; transform: translateX(8%); }
}
@media (max-width: 1100px) {
  .footer-shoe { width: 380px; max-width: 40%; right: 6%; top: 5%; transform: translateX(6%); }
}
@media (max-width: 900px) {
  .footer-shoe { display: block; position: static; width: 100%; max-width: 120px; opacity: 0.95; transform: none; right: auto; top: auto; margin-top: 1rem; }
}

@media (max-width: 600px) {
  .footer-nav {
    display: none !important;
  }
  .footer-divider {
    display: none !important;
  }
  .footer-contact-label {
    margin-top: 0.2rem;
  }
  .footer-col-center {
    align-items: center;
  }
  .footer-col-right {
    display: flex !important;
    visibility: visible !important;
    justify-content: center;
  }
  .footer-shoe {
    max-width: 200px !important;
    width: 70% !important;
    margin-top: 0.75rem !important;
    opacity: 1 !important;
  }
}
  

/* make entire package card clickable without changing styles */
.package-link { display: block; color: inherit; text-decoration: none; }
.package-link .package-card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.package-link:hover .package-card { transform: translateY(-6px); box-shadow: 0 36px 80px rgba(0,0,0,0.36); }

/* Tour detail page layout */
.tour-section { padding: 4.5rem 0 6rem; background: #001F1F; }

/* Base desktop grid - 2 columns, gallery stretches to full height */
.tour-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
  align-items: stretch !important;
}

/* Desktop summary card layout for tour detail pages */
.summary-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  align-items: stretch !important;
}

.tour-layout > .gallery-2x2 {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.8rem !important;
  min-height: 560px !important;
  height: 100% !important;
  align-self: stretch !important;
  align-items: stretch !important;
}

.gallery-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.8rem !important;
  min-width: 0 !important;
  height: 100% !important;
  width: 100% !important;
  min-height: 100% !important;
  flex: 1 1 auto !important;
}

.gallery-stack .gallery-img {
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  border-radius: 18px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.gallery-stack.left .gallery-img:first-child,
.gallery-stack.right .gallery-img:last-child {
  /* Large images (top-left, bottom-right) */
  flex: 1.6 1 auto !important;
}

.gallery-stack.left .gallery-img:last-child,
.gallery-stack.right .gallery-img:first-child {
  /* Small images (bottom-left, top-right) */
  flex: 0.4 1 auto !important;
}

.tour-layout > .info-column {
  height: 100%;
}

.summary-col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
}

.summary-col h3 {
  margin-top: 0;
}

.summary-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.55rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  min-width: 0 !important;
  height: 100% !important;
}

.summary-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.55rem !important;
  line-height: 1.35 !important;
  min-width: 0 !important;
}

.summary-list li > span:last-child {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.summary-list li .icon,
.summary-list li .summary-icon {
  flex: 0 0 auto !important;
}

.summary-icon {
  width: 18px !important;
  height: 18px !important;
}

/* Mobile: force tour pages to show info first, gallery after (no need to edit each HTML) */
@media (max-width: 900px) {
  .tour-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
    height: auto !important;
  }
  .product-detail {
    font-family: 'Montserrat', sans-serif !important;
  }
  .info-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
  }
  /* Gallery full width below info on mobile */
  .tour-layout > .gallery-2x2 { width: 100% !important; min-height: 320px !important; }
  .tour-layout .gallery-img { min-height: 120px !important; border-radius: 12px !important; }
  .tour-layout > .gallery-2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    min-height: 420px !important;
    height: auto !important;
    align-self: stretch !important;
  }
  .gallery-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    height: 100% !important;
  }
  .gallery-stack .gallery-img {
    min-height: 120px !important;
    border-radius: 12px !important;
  }
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
    align-items: start !important;
  }
  .summary-col h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.84rem !important;
    margin-bottom: 0.55rem !important;
    line-height: 1.1 !important;
  }
  .summary-list {
    font-family: 'Montserrat', sans-serif !important;
    gap: 0.42rem !important;
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .summary-list li {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.45rem !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
  }
  .summary-list li > span:last-child {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .summary-list li .icon,
  .summary-list li .summary-icon {
    flex: 0 0 auto !important;
  }
  .summary-icon {
    width: 16px !important;
    height: 16px !important;
  }
}

/* Fallback for very narrow screens: restore stacked layout to avoid overflow/hidden images */
@media (max-width: 419px) {
  .tour-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }
  .tour-layout > .gallery-2x2 {
    grid-column: auto !important;
    order: 2 !important;
    width: 100% !important;
    min-height: 260px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
  }
  .gallery-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    height: auto !important;
  }
  .gallery-stack .gallery-img {
    min-height: 120px !important;
    height: auto !important;
  }
}

.tour-grid { display: grid; grid-template-columns: 45% 55%; gap: 2rem; align-items: start; }

/* Bento grid (two-column stacked layout) */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  height: auto;
}
.bento-grid .col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bento-item {
  border-radius: 16px;
  overflow: hidden;
  background: #0b2b2b;
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}
.bento-item.large { height: 220px; }
.bento-item.small { height: 120px; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Right column: information */
.tour-info { background: #002B2B; padding: 2rem; border-radius: 18px; color: #ffffff; height: fit-content; position: sticky; top: 100px; }
.tour-info h1 { margin: 0 0 8px; font-size: 2.2rem; font-weight: 800; color: #ffffff; }
.tour-lead { color: #B0BEC5; margin: 0 0 1rem; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 12px; }
.detail-card { background: #002B2B; padding: 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.03); }
.detail-card h3 { margin: 0 0 0.6rem; font-size: 1rem; color: #ffffff; }
.detail-card ul { margin: 0; padding: 0; list-style: none; color: #B0BEC5; }
.detail-card li { display:flex; gap:10px; align-items:center; padding: 6px 0; }
.detail-card li .icon { width: 18px; height: 18px; display:inline-block; background: rgba(255,255,255,0.06); border-radius:4px; }

/* 'Qué Incluye' two-column grid (desktop) */
#includesList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0;
}
#includesList li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0; }

/* Mobile: force 'Qué Incluye' into single column (vertical stack) */
@media (max-width: 900px) {
  #includesList {
    grid-template-columns: 1fr !important;
    gap: 0.35rem !important;
  }
}

/* When body has this class, force footer shoe below the columns */
.stack-footer-shoe .site-footer .container { display: flex; flex-direction: column; align-items: stretch; }
.stack-footer-shoe .site-footer .footer-content { width: 100%; }
.stack-footer-shoe .site-footer .footer-shoe { margin-top: 1rem; align-self: center; max-width: 220px; width: 60%; }

/* Date picker */
.date-picker { display:flex; gap: 12px; padding: 14px 8px; margin-top: 18px; background: rgba(0,0,0,0.06); border-radius: 14px; overflow-x: auto; }
.date-item,
.date-card { min-width: 56px; background: rgba(255,255,255,0.03); color: #B0BEC5; padding: 10px; border-radius: 10px; text-align:center; font-weight:700; }
.date-item .day,
.date-card .day { display:block; font-size:1rem; }
.date-item .label,
.date-card .month,
.date-card .status { display:block; font-size:0.7rem; color:#B0BEC5; margin-top:4px; }
.date-item.active,
.date-card.active { background: var(--accent-soft); color: #fff; border: 2px solid var(--accent); }
.date-card.available { background: rgba(255,255,255,0.03); }
.date-card.disabled { opacity: 0.7; }

/* Up-selling cards */
.upsell-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.upsell-card { background: #002B2B; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.03); }
.option-buttons { display:flex; gap:10px; margin-top:10px; }
.option-buttons button { flex:1; background:#000; color:#fff; border:1px solid rgba(255,255,255,0.06); padding:10px; border-radius:10px; }

/* Action row — sticky within right column */
.tour-footer { position: sticky; bottom: 20px; display:flex; gap: 12px; align-items:center; margin-top: 18px; }
.btn-whatsapp { background: #00C853; color: #fff; border-radius: 50px; padding: 12px 18px; display:inline-flex; gap: 10px; align-items:center; font-weight:700; }
.btn-brochure { background: #000; color:#fff; border-radius: 50px; padding: 12px 16px; display:inline-flex; align-items:center; border:1px solid rgba(255,255,255,0.06); }
.btn-pay { background: #9B2D2D; color:#fff; border-radius: 10px; padding: 14px; font-weight:800; width:100%; display:block; text-align:center; }

@media (max-width: 900px) {
  .tour-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item.large { height: 250px; }
  .bento-item.small { height: 200px; }
  .date-picker { overflow-x: auto; }
  .upsell-grid { grid-template-columns: 1fr; }
  .tour-footer { position: static; flex-direction: column-reverse; }
  .tour-info { position: static; }
}
/* ========== MEDIA QUERIES MEJORADAS PARA iOS Y DISPOSITIVOS MÓVILES ========== */
/* Hide the mobile nav toggle on desktop; shown only in mobile media queries */
.nav-toggle { display: none; }

/* Pantallas medianas (600px - 768px) - iPad mini, tablets */
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex !important; }
  .btn-login { display: none !important; }
  .container { width: min(100%, calc(100% - 1.5rem)); padding: 0 0.75rem; }
  .site-header { padding: 0.75rem 0; }
  
  .hero-section > .container { padding: 0 1.5rem; }
  .hero-content { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 90%; }
  .hero-content h1, .hero-content .hero-subtitle { font-size: clamp(1.5rem, 4vw, 2rem); }
  
  .package-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .package-card { padding: 1rem; border-radius: 16px; }
  .package-card .card-image { height: 160px; }
  .card-body { padding: 0.75rem !important; }
  .card-body h3 { font-size: 0.95rem; }
  .card-body p { font-size: 0.85rem; }
  .card-list { font-size: 0.8rem; gap: 0.4rem; }
  .price { font-size: 1.3rem; }
  .package-card .btn { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
  
  .section-grid { grid-template-columns: 1fr; }
  .product-detail-panel { grid-template-columns: 1fr; padding: 1.5rem; }
  .detail-image { min-height: 250px; }
  
  .carousel-caption { width: 85%; left: 7.5%; }
  .carousel-caption-name { font-size: clamp(2rem, 6vw, 3rem); font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif !important; color: #7CFC00 !important; font-weight: 400 !important; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.3rem; }
  
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; }
  .trust-item img { max-width: 34px; }
  
  .info-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
}

/* Móviles medianos (480px - 600px) - IPHONE principal */
@media (max-width: 600px) {
  html { font-size: 15px; }
  
  .site-header { 
    padding: 0.5rem 0; 
    padding-top: calc(0.5rem + var(--safe-area-top));
    padding-left: var(--safe-area-left);
    padding-right: var(--safe-area-right);
  }
  
  .nav-toggle { 
    display: inline-flex !important; 
    width: 40px;
    height: 40px;
    margin: 0 0.5rem 0 0;
  }
  
  .btn-login { display: none !important; }
  .container { width: calc(100% - 1rem); margin: 0 auto; }
  
  .hero-section { min-height: 80vh; }
  .hero-section > .container { padding: 0 1rem; }
  .hero-content { 
    left: 50%; top: 50%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    max-width: calc(100% - 1rem);
    padding: 0;
  }
  .hero-content h1 { font-size: clamp(1.2rem, 5vw, 1.8rem); margin-bottom: 0.5rem; }
  .hero-content .hero-subtitle { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .eyebrow { font-size: 0.75rem; margin-bottom: 0.5rem; }
  
  .package-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .package-card { padding: 0.8rem; border-radius: 14px; margin-bottom: 0.5rem; }
  .package-card .card-image {
    height: auto;
    aspect-ratio: auto;
    min-height: 120px;
    display: block;
    padding: 0;
    overflow: hidden;
  }
  .package-card .card-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
  .card-body { padding: 0.6rem !important; gap: 0.4rem; }
  .card-body h3 { font-size: 0.85rem; line-height: 1.2; }
  .card-body p { font-size: 0.75rem; line-height: 1.3; }
  .card-list { font-size: 0.72rem; gap: 0.3rem; }
  .card-list li::before { font-size: 0.9rem; margin-top: 0.05rem; }
  .card-footer { gap: 0.5rem; padding: 0.4rem 0 0; }
  .price { font-size: 1.1rem; }
  .price strong { font-size: 1.3rem; }
  .package-card .btn { 
    padding: 0.6rem 1rem; 
    font-size: 0.75rem; 
    min-width: auto;
    width: 100%;
    min-height: 40px;
  }
  
  .section-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-label { font-size: 0.65rem; margin-bottom: 0.75rem; }
  .info-section h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); margin-bottom: 0.8rem; }
  .info-section p { font-size: 0.9rem; }
  
  .product-detail-panel { 
    grid-template-columns: 1fr; 
    padding: 1rem; 
    gap: 1rem;
    border-radius: 16px;
  }
  .detail-image { min-height: 200px; border-radius: 12px; }
  .detail-content { gap: 0.8rem; }
  .detail-price { font-size: clamp(1.3rem, 3vw, 1.8rem); }
  .detail-features { font-size: 0.85rem; gap: 0.6rem; }
  .detail-actions { flex-direction: column; gap: 0.75rem; }
  #detailAddCart { width: 100%; min-width: auto; }
  
  .carousel-section { height: 100vh; }
  .carousel-caption { left: 50%; right: auto; top: 50%; width: min(90vw, 330px); transform: translate(-50%, -50%); text-align: left; gap: 0 !important; display: grid !important; }
  .carousel-caption-kicker { font-size: clamp(1.1rem, 4.5vw, 1.6rem); line-height: 0.8 !important; margin: 0 !important; padding: 0 !important; }
  .carousel-caption-name { font-size: clamp(1.8rem, 7.4vw, 2.85rem); font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif !important; color: #7CFC00 !important; font-weight: 400 !important; margin: -0.15em 0 0 !important; padding: 0 !important; line-height: 0.75 !important; }
  .carousel-caption-description { font-size: 0.75rem; line-height: 1.2 !important; max-width: 100%; margin: 0 !important; padding: 0 !important; }
  .carousel-btn { 
    display: none;
  }
  .carousel-btn.prev {
    display: none;
  }
  .carousel-btn.next { 
    display: grid;
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    right: 1rem;
    top: auto;
    bottom: 2rem;
    transform: none;
    font-size: 2.5rem;
  }
  .carousel-dots { bottom: 1rem; }
  .carousel-dot { width: 0.7rem; height: 0.7rem; }

  /* Strong override for carousel caption name: match hero title exactly */
  .carousel-caption-name {
    font-family: 'Millita', 'Liliana', 'Fontspring DEMO Liliana', serif !important;
    font-weight: 400 !important;
    color: #7CFC00 !important;
    letter-spacing: 0 !important;
    line-height: 0.95 !important;
    text-shadow: 0 2px 6px rgba(10, 60, 10, 0.08) !important;
    text-transform: capitalize !important;
  }
  
  .trust-section { padding: 2.5rem 0; }
  .trust-section h2 { font-size: clamp(1.2rem, 4vw, 1.6rem); margin-bottom: 1.5rem; }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; padding: 0; }
  .trust-item { gap: 0.35rem; min-width: 0; }
  .trust-item img { max-width: 28px; }
  .trust-item figcaption { font-size: 0.5rem; line-height: 1.05; }
  
  .site-footer { padding: 2.5rem 1rem 3rem; }
  .callout-section { padding: 2.5rem 1rem; }
  .callout-section h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); margin-bottom: 0.8rem; }
  .callout-section p { font-size: 0.9rem; margin-bottom: 1.5rem; }
  
  .btn { padding: 0.8rem 1.4rem; font-size: 0.85rem; min-height: 44px; }
  .btn-secondary { padding: 0.8rem 1.5rem; font-size: 0.85rem; }
  .btn-whatsapp { padding: 0.85rem 1.2rem; font-size: 0.85rem; min-height: 44px; }
}

/* Móviles pequeños (< 480px) - iPhone 12 mini, SE, etc */
@media (max-width: 480px) {
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.45rem !important; }
/* Desktop: optional cards side by side (2 columns) */
.optional-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.action-row { grid-template-columns: 1fr; }

/* Mobile: keep optional-grid as 2 columns (side by side) */
@media (max-width: 380px) {
  .optional-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}
  .info-title { font-size:2.65rem !important; }
  body { 
    padding-top: var(--safe-area-top);
    padding-left: var(--safe-area-left);
    padding-right: var(--safe-area-right);
  }
  
  .site-header { 
    padding: 0.4rem var(--safe-area-right) 0.4rem var(--safe-area-left);
    padding-top: calc(0.4rem + var(--safe-area-top));
  }
  
  .header-inner { padding: 0 0.5rem; }
  .nav-toggle { width: 36px; height: 36px; font-size: 1rem; margin: 0; }
  .brand-logo { max-height: 36px; }
  
  .container { width: calc(100% - 0.8rem); padding: 0 0.4rem; }
  
  .hero-section { min-height: 70vh; }
  .hero-section > .container { padding: 0 0.8rem; }
  .hero-content { 
    left: 50%; top: 48%; 
    transform: translate(-50%, -50%); 
    max-width: calc(100% - 0.8rem);
    padding: 0;
  }
  .hero-content h1 { font-size: clamp(1.3rem, 6.5vw, 1.8rem); margin-bottom: 0.3rem; }
  .hero-content .hero-subtitle { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
  .eyebrow { font-size: 0.7rem; margin-bottom: 0.35rem; letter-spacing: 0.12em; }
  .hero-cta { margin-top: 0.8rem; }
  
  .section-header { text-align: center; }
  .section-header h2 { font-size: clamp(1rem, 4vw, 1.5rem); margin-bottom: 1rem; }
  
  .package-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .package-card { 
    padding: 0.75rem; 
    border-radius: 14px; 
    margin-bottom: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  .package-card .card-image { 
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 12px;
    grid-row: auto;
  }
  .card-body { 
    padding: 0.2rem 0 0 !important; 
    gap: 0.45rem;
    grid-column: auto;
    min-width: 0;
  }
  .card-body h3 { font-size: 0.95rem; line-height: 1.25; margin-bottom: 0.15rem; }
  .card-body p { font-size: 0.84rem; line-height: 1.45; }
  .card-list { font-size: 0.8rem; gap: 0.3rem; }
  .card-list li { gap: 0.25rem; }
  .card-list li::before { font-size: 0.92rem; }
  .card-footer { 
    grid-column: auto; 
    flex-direction: column; 
    align-items: flex-start;
    gap: 0.45rem; 
    padding: 0 !important; 
  }
  .price { font-size: 0.92rem; }
  .price strong { font-size: 1.15rem; }
  .price-old { font-size: 0.72rem; }
  .package-card .btn { 
    padding: 0.72rem 0.95rem; 
    font-size: 0.82rem; 
    min-height: 42px;
    width: 100%;
  }
  
  .collage-section { padding: 2.25rem 0; }
  .collage-layout { display: flex !important; flex-direction: column !important; gap: 0.9rem; width: 100%; min-width: 0; align-items: stretch; }
  .collage-content { text-align: left; width: 100%; box-sizing: border-box; min-width: 0; margin: 0 auto; padding: 0 1rem; }
  .collage-images {
    display: grid !important;
    gap: 0.65rem;
  }
  .collage-row {
    display: grid !important;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .collage-top,
  .collage-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .collage-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .collage-row .collage-image {
    min-height: 118px;
  }
  .collage-top .collage-image {
    min-height: 118px;
  }
  .collage-bottom .collage-image {
    min-height: 84px;
    aspect-ratio: 1 / 1;
  }
  .collage-layout > .collage-image {
    width: 100%;
    min-height: 280px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    max-width: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
    margin: 0;
  }
  .collage-section h2 { font-size: clamp(1.25rem, 4.6vw, 1.8rem); font-weight: 950; color: #fff; margin-bottom: 0.72rem; }
  .collage-content p { font-size: 0.86rem; margin-bottom: 0.72rem; line-height: 1.58; text-align: left; }
  
  .detail-image { min-height: 160px; }
  .detail-price { font-size: 1.3rem; }
  .detail-features { font-size: 0.75rem; gap: 0.5rem; }
  
  .carousel-section { height: 60vh; }
  .carousel-dots { bottom: 0.8rem; }
  .carousel-dot { width: 0.6rem; height: 0.6rem; }
  
  .trust-section { padding: 2rem 0; }
  .trust-section h2 { font-size: clamp(1rem, 3.5vw, 1.4rem); margin-bottom: 1rem; }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.28rem; }
  .trust-item { gap: 0.25rem; }
  .trust-item img { max-width: 24px; }
  .trust-item figcaption { font-size: 0.45rem; line-height: 1.02; }
  
  .site-footer { padding: 2rem 0.8rem 2.5rem; }
  .callout-section { padding: 2rem 0.8rem; }
  .callout-section h2 { font-size: clamp(1.1rem, 3.5vw, 1.5rem); }
  .callout-section p { font-size: 0.8rem; margin-bottom: 1.2rem; }
  
  .btn { padding: 0.7rem 1.2rem; font-size: 0.75rem; min-height: 40px; }
  .btn-secondary { padding: 0.7rem 1.2rem; font-size: 0.75rem; }
  .btn-whatsapp { padding: 0.75rem 1rem; font-size: 0.75rem; min-height: 40px; gap: 0.4rem; }
  .btn-icon { width: 1.8rem; height: 1.8rem; }
}

/* Pantallas muy pequeñas (< 380px) - iPhone SE pequeño */
@media (max-width: 380px) {
  html { font-size: 13px; }
  
  .container { width: calc(100% - 0.6rem); }
  .hero-section > .container { padding: 0 0.6rem; }
  
  .section-header h2 { font-size: clamp(0.95rem, 3.8vw, 1.3rem); }
  .package-grid { gap: 0.7rem; }
  .package-card { 
    padding: 0.65rem; 
    border-radius: 10px; 
    gap: 0.5rem;
  }
}

/* Removed legacy overrides that forced desktop nav on small screens.
   Mobile header appearance is controlled by assets/css/mobile-header.css
   and the shared mobile JS. Keeping mobile rules centralized avoids
   conflicting behavior between desktop and mobile. */

/* Soporte para modo landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section { min-height: auto; height: 100vh; }
  .hero-content { top: 50%; }
  .carousel-section { height: 88dvh !important; min-height: 88dvh !important; }
  .carousel-container,
  .carousel-track,
  .carousel-slide { height: 100% !important; min-height: 100% !important; }
  .site-header { padding: 0.4rem 0; }
  .section-header h2 { margin-bottom: 0.6rem; }
}

/* Notch/Safe area adjustments para iOS 14+ */
@supports (padding: max(0px)) {
  .site-header { 
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  
  body {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
  
  .site-footer {
    padding-bottom: calc(2.5rem + max(0px, env(safe-area-inset-bottom)));
  }
}

/* ======================================================
   MOBILE CLEAN START — Reset and single mobile source of truth
   This block overrides scattered mobile/iOS rules so we
   can start fresh for mobile without touching desktop.
   Keep all mobile design changes inside these queries.
 ====================================================== */

@media (max-width: 900px) {
  /* Header */
  /* responsive size variables for mobile-only scale control */
  :root {
    --space-xs: clamp(6px, 1.5vw, 8px);
    --space-sm: clamp(8px, 2.2vw, 12px);
    --space-md: clamp(12px, 3.2vw, 16px);
    --space-lg: clamp(16px, 4.2vw, 20px);
    --font-xl: clamp(1.8rem, 8vw, 3.6rem);
    --font-lg: clamp(1.05rem, 4.2vw, 1.6rem);
    --font-md: clamp(0.92rem, 3vw, 1.05rem);
    --font-sm: clamp(0.78rem, 2.6vw, 0.92rem);
    --card-gap: 12px;
    --card-radius: 12px;
    --card-pad: clamp(8px, 2.2vw, 12px);
    --card-img-maxh: clamp(120px, 26vw, 220px);
  }
/* Toggle is shown via media queries below - this hides it on desktop */
  .nav-toggle { display: none; }
  /* Force header into a single row using grid so elements never wrap */
  .header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 0.6rem !important;
    width: 100%;
  }
  .brand { justify-self: start; }
  .site-nav { justify-self: center; display: flex !important; gap: 0.6rem !important; align-items: center !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .site-nav a { padding: 0 0.45rem !important; font-size: 0.92rem !important; white-space: nowrap; }
  .btn-login { justify-self: end; display: inline-flex !important; }
  .site-header { background: transparent !important; padding-top: calc(0.9rem + var(--safe-area-top)) !important; padding-bottom: 0.5rem !important; }

  /* Reduce spacing before packages and make the title stronger */
  .packages-section { padding-top: 4.4rem !important; }
  .section-header h2 {
    font-size: clamp(1.95rem, 7.8vw, 2.8rem) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    margin-bottom: 0.65rem !important;
    letter-spacing: -0.03em !important;
  }

  /* Hero */
  .hero-section { min-height: 100vh !important; height: auto !important; }
  .hero-overlay { background: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.45)) !important; }
  .hero-video { display: block !important; }
  .hero-content { position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; text-align: center !important; max-width: 92% !important; padding: 0 1rem !important; }
  .hero-content h1 { font-weight: 900 !important; font-size: var(--font-xl) !important; line-height: 0.98 !important; margin: 0 !important; }
  .hero-content .hero-subtitle { margin-top: var(--space-xs) !important; font-size: var(--font-lg) !important; }
  .hero-content .hero-title-highlight { font-family: 'Millita', 'Liliana', serif !important; color: var(--accent) !important; font-size: calc(var(--font-xl) * 0.48) !important; display: inline-block !important; margin-left: 0.25rem !important; }
  .hero-cta .btn-primary { display: inline-flex !important; width: auto !important; max-width: 260px !important; padding: var(--space-sm) var(--space-lg) !important; border-radius: 999px !important; font-size: var(--font-md) !important; }

  /* Packages default on mobile: two columns that never overflow */
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--card-gap) !important; }
  .package-card {
    padding: var(--card-pad) !important;
    border-radius: var(--card-radius) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: 100% !important;
  }
  .package-card .card-image {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: clamp(120px, 26vw, 180px) !important;
    min-height: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 12px !important;
    flex: 0 0 auto !important;
  }
  .package-card .card-body {
    padding: calc(var(--card-pad) * 0.7) !important;
    gap: 0 !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .card-body h3 {
    font-size: var(--font-md) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    min-height: 2.2em !important;
  }
  .card-body p,
  .card-list {
    display: block !important;
    font-size: calc(var(--font-sm) * 0.72) !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }
  .card-body p {
    display: block !important;
    overflow: visible !important;
    max-height: none !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }
  .card-list {
    display: grid !important;
    gap: 0.14rem !important;
  }
  .card-list li {
    font-size: calc(var(--font-sm) * 0.7) !important;
    line-height: 1.1 !important;
    gap: 0.22rem !important;
  }
  .card-list li::before {
    font-size: 0.72rem !important;
    line-height: 1 !important;
  }
  .package-card .card-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.45rem !important;
    padding: 0.2rem 0 0 !important;
    margin-top: auto !important;
  }
  .package-card .btn {
    padding: calc(var(--space-xs) + 4px) calc(var(--space-sm) + 6px) !important;
    font-size: var(--font-sm) !important;
    width: auto !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    text-align: right !important;
    gap: 0.05rem !important;
    line-height: 1 !important;
  }
  .price-current {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 0.12rem !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }
  .price strong { font-size: clamp(0.9rem, 2.7vw, 1rem) !important; }
  .price-old {
    display: block !important;
    font-size: calc(var(--font-sm) * 0.82) !important;
    margin-top: 0.08rem !important;
    line-height: 1 !important;
  }
  /* Ensure footer is horizontal so price and button sit on same row */

  /* Footer and trust */
  .site-footer { padding: 1.25rem 0 !important; background: var(--surface-strong) !important; }

  .site-footer {
    background: #01161a !important;
    padding: 1rem 0 1.35rem !important;
    border-top: 1px solid rgba(169, 255, 60, 0.08);
  }

  .site-footer .container {
    width: calc(100% - 1rem);
    max-width: 560px;
  }

  .footer-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .footer-col {
    width: 100%;
    padding: 0.15rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    gap: 0.7rem;
  }

  .footer-col + .footer-col {
    padding-top: 0.95rem;
    border-top: 0;
  }

  .footer-col-left {
    align-items: center;
    text-align: center;
    order: 1;
  }

  .footer-col-center {
    align-items: center;
    order: 2;
  }

  .footer-col-right {
    display: flex !important;
    visibility: visible !important;
    justify-content: center;
    align-items: center;
    order: 3;
    min-height: 130px;
  }

  .footer-logo {
    max-height: 52px;
    margin: 0;
  }

  .follow-block {
    width: 100%;
    gap: 0.65rem;
  }

  .follow-btn {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.92);
    padding: 0.58rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .social-links {
    gap: 0.7rem;
  }

  .social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0;
  }

  .footer-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 0;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .footer-divider {
    display: none;
  }

  .footer-contact-label {
    margin: 0.1rem 0 0.2rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    width: 100%;
  }

  .contact-list {
    gap: 0.5rem;
    font-size: 0.78rem;
    width: 100%;
  }

  .contact-list li {
    justify-content: center;
    align-items: center;
    padding: 0.55rem 0.65rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    text-align: center;
  }

  .contact-icon {
    margin-top: 0.08rem;
  }

  .contact-list a {
    text-align: center;
  }

  .contact-list a {
    color: rgba(255, 255, 255, 0.84);
    word-break: break-word;
  }

  .footer-shoe {
    position: static !important;
    width: min(100%, 210px) !important;
    max-width: 210px !important;
    margin: 0 !important;
    opacity: 0.98 !important;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
    transform: none !important;
  }

  /* Reset potential iOS weird paddings */
  body { padding-top: var(--safe-area-top) !important; padding-left: var(--safe-area-left) !important; padding-right: var(--safe-area-right) !important; }

  /* Make images safe */
  img, .collage-image, .card-image { max-width: 100% !important; height: auto !important; }
}

/* Two-column layout for wider mobile / small tablets */
@media (min-width: 480px) and (max-width: 900px) {
  .package-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .package-card { padding: 0.55rem !important; }
  .package-card .card-image { aspect-ratio: 1 / 1 !important; }
  .package-card .card-body { padding: 0.5rem !important; }
}

/* End of MOBILE CLEAN START */

@media (max-width: 768px) {
  .carousel-caption {
    left: 1rem;
    right: 1rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    max-width: calc(100vw - 2rem);
    padding: 0;
  }

  .carousel-caption-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .carousel-caption-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    line-height: 0.9;
  }

  .carousel-caption-description {
    font-size: 0.78rem;
    line-height: 1.3;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .carousel-caption {
    left: 0.75rem;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    max-width: calc(100vw - 6rem);
    padding: 0;
    gap: 0.3rem;
  }

  .carousel-caption-label {
    font-size: 0.68rem;
  }

  .carousel-caption-title {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }

  .carousel-caption-description {
    font-size: 0.74rem;
    line-height: 1.28;
  }

  .carousel-btn.next {
    display: grid;
    background: transparent;
    border: none;
    width: 48px;
    height: 48px;
    right: 1rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    font-size: 0;
    background-image: url('assets/images/flecha.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  /* --- Strong final overrides to prevent collage text from stretching images --- */
  .collage-layout {
    align-items: start !important;
    align-content: start !important;
  }
  .collage-layout > .collage-image,
  .collage-row .collage-image,
  .collage-layout .collage-image {
    align-self: start !important;
    height: auto !important;
    max-height: 720px !important;
    min-height: 140px !important;
    padding-top: 0 !important;
  }

  /* Ensure the content column can scroll independently if it's very long */
  .collage-content {
    align-self: start !important;
    height: auto !important;
    max-height: none !important;
    min-height: 140px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    padding: 0.5rem !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }
}

  /* Make the images column size to its content rather than stretch to the text column */
  .collage-images {
    align-self: start !important;
    height: auto !important;
    display: grid !important;
    grid-auto-rows: min-content !important;
    gap: 1rem !important;
  }

  .collage-images .collage-image,
  .collage-row .collage-image {
    height: auto !important;
    align-self: start !important;
  }
/* Ensure nav toggle is hidden on desktop (wider than 900px).
   High-specificity desktop rule to prevent the hamburger from
   showing when viewport is large. */
@media (min-width: 901px) {
  :root {
    --desktop-content-width: min(1180px, calc(100vw - 3rem));
    --desktop-section-gap: 2rem;
    --desktop-card-radius: 1.9rem;
  }

  .container {
    width: var(--desktop-content-width);
  }

  .hero-section {
    min-height: 100vh;
  }

  .hero-section > .container {
    padding: 0 clamp(1.5rem, 2vw, 3.5rem);
  }

  .hero-content {
    width: min(100%, 44rem);
    max-width: 44rem;
  }

  .hero-content h1 {
    font-size: clamp(2.6rem, 3.8vw, 4.1rem);
  }

  .hero-content .hero-subtitle {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  }

  .package-grid {
    gap: var(--desktop-section-gap);
  }

  .collage-section {
    padding: 3rem 0;
  }

  .collage-layout {
    gap: var(--desktop-section-gap);
    align-items: start;
  }

  /* Desktop: fix collage into two columns and cap height to viewport to avoid cross-browser stretching */
  /* Desktop: force two-column grid and make both columns equal height */
  .collage-layout {
    display: grid !important;
    grid-template-columns: 1fr min(540px, 48%) !important;
    gap: var(--desktop-section-gap) !important;
    align-items: stretch !important;
    align-content: stretch !important;
  }

  /* Make direct children stretch to the same height */
  .collage-layout > * {
    align-self: stretch !important;
  }

  .collage-content {
    height: 100% !important;
    overflow: visible !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .collage-layout > .collage-image {
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center center !important;
    display: block !important;
  }

  .collage-content { max-width: 520px; }
  /* Normalize collage text size on desktop to reduce cross-browser differences */
  .collage-content,
  .collage-content p {
    font-size: 14px !important;
    line-height: 1.56 !important;
  }

/* If browser lacks aspect-ratio support, slightly reduce collage text to avoid overflow */
.no-aspect-ratio .collage-content,
.no-aspect-ratio .collage-content p {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

  /* Desktop-specific tighter spacing for the collage to avoid large gaps
     without changing spacing on other breakpoints */
  @media (min-width: 901px) {
    .collage-layout {
      gap: 0.45rem !important;
    }
    .collage-images {
      gap: 0.4rem !important;
      grid-auto-rows: min-content !important;
    }
    .collage-row {
      gap: 0.4rem !important;
      grid-auto-rows: min-content !important;
      padding: 0 !important;
      margin: 0 !important;
    }
    .collage-row .collage-image {
      min-height: 96px !important;
      border-radius: 18px !important;
    }
    .collage-layout > .collage-image {
      min-height: 0 !important;
    }
    .collage-layout {
      gap: 0.45rem !important;
    }
    .collage-images {
      gap: 0.35rem !important;
      grid-auto-rows: min-content !important;
      grid-template-rows: minmax(240px, auto) minmax(96px, auto) !important;
    }
    .collage-row {
      gap: 0.35rem !important;
      grid-auto-rows: min-content !important;
      padding: 0 !important;
      margin: 0 !important;
    }
    .collage-top .collage-image {
      min-height: 260px !important;
      border-radius: 18px !important;
      background-size: cover !important;
      background-position: center center !important;
    }
    .collage-bottom .collage-image {
      min-height: 96px !important;
    }
  }

@media (min-width: 901px) {
  .no-aspect-ratio .collage-content,
  .no-aspect-ratio .collage-content p {
    font-size: 0.92rem !important;
    line-height: 1.52 !important;
  }
}

@media (max-width: 600px) {
  .no-aspect-ratio .collage-content,
  .no-aspect-ratio .collage-content p {
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
  }
}

  .collage-image,
  .collage-row .collage-image,
  .collage-layout > .collage-image {
    border-radius: var(--desktop-card-radius) !important;
  }

  .site-header .nav-toggle,
  .nav-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .product-detail {
    padding-top: 6.2rem !important;
  }
  .tour-layout > .gallery-2x2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.3rem !important;
    min-height: 560px !important;
    height: 560px !important;
  }
  .tour-layout > .gallery-2x2 > .gallery-stack.left,
  .tour-layout > .gallery-2x2 > .gallery-stack.right {
    flex: 1 1 0 !important;
  }
  .tour-layout .gallery-stack.left .gallery-img:first-child {
    flex: 1.75 1 0 !important;
    min-height: 280px !important;
  }
  .tour-layout .gallery-stack.left .gallery-img:last-child {
    flex: 0.45 1 0 !important;
    min-height: 180px !important;
  }
  .tour-layout .gallery-stack.right .gallery-img:first-child {
    flex: 0.45 1 0 !important;
    min-height: 180px !important;
  }
  .tour-layout .gallery-stack.right .gallery-img:last-child {
    flex: 1.55 1 0 !important;
    min-height: 260px !important;
  }

  .carousel-btn.prev {
    display: none !important;
  }

  .carousel-btn.next {
    right: 1.5rem;
    width: 6rem;
    height: 6rem;
    border-radius: 0;
    background-color: transparent;
    background-image: url('assets/images/flecha.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    box-shadow: none;
    color: transparent;
    font-size: 0;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 100vh !important;
    height: auto !important;
  }

  .hero-section > .container {
    padding: 0 1rem !important;
  }

  .hero-content {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(100%, 26rem) !important;
    max-width: calc(100% - 1.5rem) !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .hero-text {
    gap: 0.18rem !important;
    justify-items: start !important;
  }

  .hero-content h1 {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 0.28rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(1.15rem, 4.9vw, 1.38rem) !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
    margin: 0 !important;
  }

  .hero-content .hero-title-highlight {
    display: inline-block !important;
    margin: 0 !important;
    font-size: clamp(1.7rem, 8.2vw, 2.45rem) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  }

  .hero-content .hero-subtitle {
    margin-top: 0.45rem !important;
    font-size: clamp(1.08rem, 4.6vw, 1.3rem) !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    max-width: 22rem !important;
  }

  .hero-cta {
    justify-content: flex-start !important;
    margin-top: 1rem !important;
  }

  .hero-cta .btn-primary {
    width: auto !important;
    max-width: none !important;
    padding: 0.78rem 1.35rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 380px) {
  .hero-content {
    width: min(100%, 22rem) !important;
    max-width: calc(100% - 1rem) !important;
  }

  .hero-content h1 {
    font-size: clamp(1.05rem, 4.4vw, 1.2rem) !important;
    gap: 0.22rem !important;
  }

  .hero-content .hero-title-highlight {
    font-size: clamp(1.55rem, 7.6vw, 2.15rem) !important;
  }

  .hero-content .hero-subtitle {
    font-size: clamp(1rem, 4.2vw, 1.16rem) !important;
  }
}

/* ============================================
   CARD DE CONTACTO WHATSAPP
   ============================================ */

.contact-whatsapp-card,
.contact-promo-card {
  display: block;
}

.btn-whatsapp {
  width: 100%;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  background: #25d366;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}

.contact-whatsapp-card .card-footer,
.contact-promo-card .card-footer {
  justify-content: stretch;
}

.btn-whatsapp:hover {
  background: #20c65e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .contact-whatsapp-card .package-card .card-image,
  .contact-promo-card .package-card .card-image {
    display: block;
    height: 160px;
  }

  .btn-whatsapp {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
  }
}

.product-detail .info-title {
  margin-top: 0 !important;
}
.product-detail .info-title {
  margin-top: 0 !important;
}
.product-detail .btn-green,
.product-detail .btn-black,
.product-detail .btn-red {
  border-radius: 0.9rem !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.95rem !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
}
.product-detail .btn-red {
  font-weight: 700 !important;
}
.product-detail .action-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}
.product-detail .action-row a {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  flex: 1 1 0 !important;
}

@media (max-width: 900px) {
  .product-detail .gallery-2x2,
  .tour-layout > .gallery-2x2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    min-height: 520px !important;
    height: 520px !important;
    width: 100% !important;
  }
  .tour-layout > .gallery-2x2 > .gallery-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    height: 100% !important;
  }
  .tour-layout > .gallery-2x2 > .gallery-stack.left {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 4 !important;
  }
  .tour-layout > .gallery-2x2 > .gallery-stack.right {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 4 !important;
  }
  .tour-layout .gallery-stack.left .gallery-img:first-child {
    flex: 1.7 1 0 !important;
    min-height: 240px !important;
  }
  .tour-layout .gallery-stack.left .gallery-img:last-child {
    flex: 0.3 1 0 !important;
    min-height: 100px !important;
  }
  .tour-layout .gallery-stack.right .gallery-img:first-child {
    flex: 0.35 1 0 !important;
    min-height: 100px !important;
  }
  .tour-layout .gallery-stack.right .gallery-img:last-child {
    flex: 1.65 1 0 !important;
    min-height: 240px !important;
  }
  .product-detail .gallery-2x2 .gallery-img {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 1rem !important;
    aspect-ratio: auto !important;
  }
}

/* Final mobile override: package card images stay square and rounded */
@media (max-width: 900px) {
  .package-card .card-image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .package-card .card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: inherit !important;
  }
}

/* Final hero video dark gradient overlay */
.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.45) 32%,
    rgba(0, 0, 0, 0.14) 68%,
    rgba(0, 0, 0, 0.03) 100%
  ) !important;
}

/* Collage images: visual fix to remove harsh borders/shadows and unify radius */
.collage-image,
.collage-row .collage-image,
.collage-layout > .collage-image {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  border: none !important;
  background-clip: padding-box !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Ensure any <img> inside retains rounded corners if present */
.collage-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: inherit !important;
}

