/* ═══════════════════════════════════════════════════════════════
   Secretos Estética Corporal y Facial — Custom CSS
   Design System: Crema · Dorado · Petróleo
   Stack: Tailwind CDN + Custom CSS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Base resets & utilities ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

.safe-pb {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ─── Glassmorphism ──────────────────────────────────────────────── */
.glass-nav {
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-panel {
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.50);
}

.glass-card {
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(14, 74, 85, 0.12);
}

/* ─── Shadows — tintadas de petróleo ────────────────────────────────── */
.soft-shadow {
  box-shadow:
    0 2px 4px rgba(14, 74, 85, 0.04),
    0 10px 40px rgba(14, 74, 85, 0.08);
}

.soft-shadow-sm {
  box-shadow:
    0 1px 3px rgba(14, 74, 85, 0.03),
    0 4px 16px rgba(14, 74, 85, 0.06);
}

.soft-shadow-lg {
  box-shadow:
    0 4px 8px rgba(14, 74, 85, 0.06),
    0 20px 60px rgba(14, 74, 85, 0.12);
}

.accent-shadow {
  box-shadow:
    0 4px 12px rgba(184, 137, 58, 0.12),
    0 8px 30px rgba(184, 137, 58, 0.18);
}

/* ─── Navigation ─────────────────────────────────────────────────── */
#main-nav.scrolled {
  box-shadow:
    0 1px 0 rgba(14, 74, 85, 0.06),
    0 4px 24px rgba(14, 74, 85, 0.08);
}

/* ─── Hero Section ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background: linear-gradient(135deg, #FBF7F0 0%, #E8DCC8 50%, #F1E6D5 100%);
  border-bottom-left-radius: 140px;
  z-index: -1;
  opacity: 0.8;
}

.hero-bg-orb {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #F4E9D4 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.35;
  filter: blur(50px);
}

.hero-bg-orb-secondary {
  position: absolute;
  top: -60px;
  right: 30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #EFE2C6 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.30;
  filter: blur(40px);
}

.hero-img-main {
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 4px 8px rgba(14, 74, 85, 0.08),
    0 20px 60px rgba(14, 74, 85, 0.14);
}

.hero-img-float {
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid #FFFDF9;
  box-shadow:
    0 4px 8px rgba(14, 74, 85, 0.06),
    0 12px 40px rgba(14, 74, 85, 0.11);
}

/* Texto con degradado dorado */
.hero-title-gradient {
  background: linear-gradient(135deg, #C9A35C 0%, #B8893A 45%, #8A6424 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Hero Photo Fallback ─────────────────────────────────────────── */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transition: opacity 0.4s ease;
}
.hero-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-bg-photo.hidden-by-canvas {
  opacity: 0;
  pointer-events: none;
}

/* ─── Hero Water Ripple Canvas ───────────────────────────────────── */
#water-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* Overlay de legibilidad */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.86) 30%,
      rgba(255, 255, 255, 0.40) 58%,
      rgba(255, 255, 255, 0.08) 82%,
      rgba(255, 255, 255, 0.00) 100%);
}

@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.78) 55%,
      rgba(255, 255, 255, 0.55) 100%);
  }
}

/* ─── Scroll Reveal Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
}

/* ─── Service Cards ───────────────────────────────────────────────── */
.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E8DCC8;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 8px rgba(14, 74, 85, 0.07),
    0 20px 50px rgba(14, 74, 85, 0.13);
  border-color: rgba(14, 74, 85, 0.40);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 130px; height: 130px;
  background: radial-gradient(circle at top right, rgba(184, 137, 58, 0.08), transparent 70%);
  border-bottom-left-radius: 100%;
  margin-top: -20px; margin-right: -20px;
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #F4E9D4 0%, #EFE2C6 100%);
  display: flex; align-items: center; justify-content: center;
  color: #0E4A55;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 4px 16px rgba(14, 74, 85, 0.20);
}

/* ─── Product Cards ───────────────────────────────────────────────── */
.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E8DCC8;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 8px rgba(14, 74, 85, 0.06),
    0 16px 40px rgba(14, 74, 85, 0.11);
  border-color: rgba(14, 74, 85, 0.40);
}

.product-img-wrap { position: relative; overflow: hidden; }
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

/* ─── Bento gallery ──────────────────────────────────────────────── */
.bento-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 180px 180px;
  gap: 10px;
}
.bento-cell { border-radius: 18px; overflow: hidden; }
.bento-main      { grid-column: 1 / 4; grid-row: 1 / 3; }
.bento-top-mid   { grid-column: 4 / 6; grid-row: 1 / 2; }
.bento-top-right { grid-column: 6 / 7; grid-row: 1 / 2; }
.bento-bot-mid   { grid-column: 4 / 5; grid-row: 2 / 3; }
.bento-bot-right { grid-column: 5 / 7; grid-row: 2 / 3; }

@media (max-width: 767px) {
  .bento-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 160px 120px 120px;
  }
  .bento-main      { grid-column: 1 / 3; grid-row: 1 / 2; }
  .bento-top-mid   { grid-column: 1 / 2; grid-row: 2 / 3; }
  .bento-top-right { grid-column: 2 / 3; grid-row: 2 / 3; }
  .bento-bot-mid   { grid-column: 1 / 2; grid-row: 3 / 4; }
  .bento-bot-right { grid-column: 2 / 3; grid-row: 3 / 4; }
}

/* ─── Gallery ────────────────────────────────────────────────────── */
.gallery-item { overflow: hidden; border-radius: 18px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(30, 22, 14, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox.open { opacity: 1; pointer-events: all; }
#lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 16px; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
#lightbox-close {
  position: absolute; top: 20px; right: 20px;
  color: white; background: rgba(255, 255, 255, 0.12);
  border: none; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
#lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ─── Form Inputs — Teal on Focus ────────────────────────────────── */
.form-field {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(14, 74, 85, 0.35);
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px; line-height: 24px;
  color: #2B2622;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-field::placeholder { color: #A89A85; }
.form-field:focus {
  border-bottom-color: #0E4A55;
  box-shadow: 0 1.5px 0 0 #0E4A55;
}

.form-field-box {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #E8DCC8;
  border-radius: 14px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px; color: #2B2622;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-field-box::placeholder { color: #A89A85; }
.form-field-box:focus {
  border-color: #0E4A55;
  box-shadow: 0 0 0 3px rgba(14, 74, 85, 0.10);
}

.form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  color: #5E554C;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #0E4A55 0%, #1A6470 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  padding: 14px 32px; border-radius: 14px;
  border: none; cursor: pointer; text-decoration: none;
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow:
    0 2px 4px rgba(14, 74, 85, 0.15),
    0 8px 24px rgba(14, 74, 85, 0.28);
}
.btn-primary:hover {
  filter: brightness(1.06); transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(14, 74, 85, 0.18),
    0 14px 36px rgba(14, 74, 85, 0.32);
}
.btn-primary:active { transform: scale(0.97); filter: brightness(0.97); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: #B8893A;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  padding: 14px 32px; border-radius: 14px;
  border: 1.5px solid #B8893A;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover {
  background: rgba(184, 137, 58, 0.06); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 137, 58, 0.14);
}
.btn-secondary:active { transform: scale(0.97); }

/* ─── Section Dividers ───────────────────────────────────────────── */
.section-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, #0E4A55, #B8893A);
  border-radius: 9999px;
  margin: 12px auto 28px;
}
.section-divider-left { margin-left: 0; margin-right: auto; }

/* ─── Category Tabs / Pills ──────────────────────────────────────── */
.cat-tab {
  white-space: nowrap;
  padding: 10px 24px; border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.25s ease;
  border: 1.5px solid transparent;
}
.cat-tab.active {
  background: linear-gradient(135deg, #F4E9D4, #EFE2C6);
  color: #08333B;
  border-color: rgba(14, 74, 85, 0.40);
  box-shadow: 0 2px 8px rgba(14, 74, 85, 0.12);
}
.cat-tab.inactive { background: transparent; color: #5E554C; border-color: #E8DCC8; }
.cat-tab.inactive:hover {
  background: #FBF7F0;
  border-color: rgba(14, 74, 85, 0.35);
  color: #0E4A55;
}

/* ─── Scrollbar utilities ────────────────────────────────────────── */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── Admin sidebar link active state ────────────────────────────── */
.admin-nav-link.active {
  background: rgba(184, 137, 58, 0.12);
  color: #0E4A55;
  font-weight: 600;
}

/* ─── Booking Form ───────────────────────────────────────────────── */
.time-slot {
  border: 1.5px solid rgba(14, 74, 85, 0.35);
  border-radius: 12px; padding: 10px; text-align: center;
  font-family: 'Inter', sans-serif; font-size: 14px;
  cursor: pointer; transition: all 0.2s ease;
}
.time-slot:hover:not(.disabled) {
  border-color: #0E4A55; color: #0E4A55;
  background: rgba(184, 137, 58, 0.08);
}
.time-slot.selected {
  background: linear-gradient(135deg, #0E4A55 0%, #1A6470 100%);
  color: #ffffff; border-color: #0E4A55;
  box-shadow: 0 4px 12px rgba(14, 74, 85, 0.25);
}
.time-slot.disabled { opacity: 0.4; cursor: not-allowed; }

.calendar-day {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px;
  transition: background 0.2s ease; margin: auto;
}
.calendar-day:hover:not(.selected):not(.disabled) { background: #FBF7F0; }
.calendar-day.today:not(.selected) { color: #0E4A55; font-weight: 700; }
.calendar-day.selected {
  background: linear-gradient(135deg, #0E4A55 0%, #1A6470 100%);
  color: white;
  box-shadow: 0 3px 10px rgba(14, 74, 85, 0.28);
}
.calendar-day.disabled { color: #EADCC6; cursor: not-allowed; }

/* ─── Decorative shapes ──────────────────────────────────────────── */
.deco-circle { border-radius: 50%; position: absolute; pointer-events: none; z-index: 0; }
.deco-circle-rosa    { background: radial-gradient(circle, rgba(184, 137, 58, 0.18), transparent 70%); filter: blur(35px); }
.deco-circle-lavanda { background: radial-gradient(circle, rgba(184, 137, 58, 0.18), transparent 70%); filter: blur(35px); }
.deco-circle-teal    { background: radial-gradient(circle, rgba(184, 137, 58, 0.22), transparent 70%); filter: blur(30px); }
.deco-circle-gold    { background: radial-gradient(circle, rgba(184, 137, 58, 0.22), transparent 70%); filter: blur(30px); }

/* ─── Testimonial / Quote card ───────────────────────────────────── */
.quote-card {
  position: relative; padding: 28px 32px;
  background: white; border-radius: 24px;
  border-left: 3px solid #B8893A;
  box-shadow:
    0 2px 4px rgba(14, 74, 85, 0.05),
    0 8px 30px rgba(14, 74, 85, 0.08);
}
.quote-card::before {
  content: '\201C';
  position: absolute; top: -14px; left: 24px;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 90px; color: rgba(184, 137, 58, 0.22); line-height: 1;
}

/* ─── Page hero banners (non-home) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #FBF7F0 0%, #E8DCC8 100%);
  padding: 80px 24px 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(184, 137, 58, 0.18), transparent 70%);
  border-radius: 50%;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -40px; left: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(184, 137, 58, 0.16), transparent 70%);
  border-radius: 50%;
}

/* ─── Cart & Checkout ────────────────────────────────────────────── */
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid #E8DCC8;
}
.cart-qty-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid #E8DCC8; background: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; color: #5E554C;
  transition: all 0.2s ease;
}
.cart-qty-btn:hover { border-color: #0E4A55; color: #0E4A55; background: #FBF7F0; }

/* ─── Admin Panel ────────────────────────────────────────────────── */
.admin-sidebar {
  background: linear-gradient(180deg, #08333B 0%, #08333B 60%, #08333B 100%);
  min-height: 100vh; width: 260px; flex-shrink: 0;
}
.admin-stat-card {
  background: white; border-radius: 16px; padding: 24px;
  border-left: 4px solid;
  box-shadow: 0 4px 20px rgba(14, 74, 85, 0.06);
}

/* ─── WhatsApp FAB pulse ─────────────────────────────────────────── */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
#wa-fab { animation: wa-pulse 2.5s infinite; }

/* ─── Section spacing helpers ────────────────────────────────────── */
.section-pad { padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 768px) {
  .section-pad { padding-top: 128px; padding-bottom: 128px; }
}

@media (max-width: 767px) {
  body { padding-top: 80px; padding-bottom: 64px; }
}

/* ─── Image placeholder ──────────────────────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, #FBF7F0 0%, #E8DCC8 50%, #F4E9D4 100%);
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder::after {
  content: ''; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(14, 74, 85, 0.16);
}

/* ─── Premium badge chip ─────────────────────────────────────────── */
.premium-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(184, 137, 58, 0.12), rgba(184, 137, 58, 0.12));
  border: 1px solid rgba(14, 74, 85, 0.22);
  border-radius: 9999px; padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #08333B;
}

/* ─── Print ──────────────────────────────────────────────────────── */
@media print {
  #main-nav, #wa-fab, nav[aria-label="Navegación móvil"], #mobile-menu { display: none !important; }
  body { padding-top: 0 !important; padding-bottom: 0 !important; }
}

/* ─── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
  #wa-fab { animation: none !important; }
  .promo-float { transition: none !important; }
}

/* ─── Card de promoción incrustado en el hero ────────────────────── */
.hero-promo-card {
  flex-direction: column;
  width: min(600px, 44vw); max-height: 90vh;
  border-radius: 28px; overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 8px rgba(14, 74, 85, 0.06),
    0 16px 48px rgba(14, 74, 85, 0.14),
    0 0 0 1px rgba(14, 74, 85, 0.07);
  cursor: pointer; transition: box-shadow 0.3s ease;
}
.hero-promo-card:hover {
  box-shadow:
    0 6px 12px rgba(14, 74, 85, 0.08),
    0 20px 52px rgba(14, 74, 85, 0.17),
    0 0 0 1px rgba(14, 74, 85, 0.10);
}
.hero-promo-img-wrap { position: relative; width: 100%; overflow: hidden; border-radius: 22px 22px 0 0; }
.hero-promo-img { width: 100%; height: auto; display: block; }
.hero-promo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 30, 14, 0.50) 0%, transparent 55%); }
.hero-promo-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(14, 74, 85, 0.90);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-promo-zoom {
  position: absolute; bottom: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transition: opacity 0.25s ease;
}
.hero-promo-card:hover .hero-promo-zoom { opacity: 1; }
.hero-promo-footer { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.hero-promo-title { font-family: 'Cormorant Garamond', 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: #2B2622; line-height: 1.35; margin: 0; }
.hero-promo-cta { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #0E4A55; letter-spacing: 0.02em; transition: gap 0.2s ease; }
.hero-promo-card:hover .hero-promo-cta { gap: 8px; }

/* ─── Recuadro flotante de promoción ──────────────────────────────── */
.promo-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 45;
  width: 260px; max-width: calc(100vw - 40px);
  background: #ffffff; border-radius: 18px; overflow: hidden;
  box-shadow:
    0 4px 12px rgba(14, 74, 85, 0.10),
    0 16px 48px rgba(14, 74, 85, 0.18);
  opacity: 0; transform: translateY(20px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.promo-float.promo-show { opacity: 1; transform: none; pointer-events: auto; }
.promo-close {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 30px; height: 30px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92); color: #2B2622;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, transform 0.2s;
}
.promo-close:hover { background: #ffffff; transform: scale(1.08); }

.promo-open { display: block; width: 100%; padding: 0; border: none; background: none; cursor: pointer; text-align: left; position: relative; }
.promo-img { width: 100%; display: block; object-fit: cover; transition: transform 0.4s ease; }
.promo-open:hover .promo-img { transform: scale(1.04); }
.promo-zoom-hint {
  position: absolute; top: 8px; left: 8px;
  width: 28px; height: 28px; border-radius: 9999px;
  background: rgba(43, 30, 14, 0.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease;
}
.promo-open:hover .promo-zoom-hint { opacity: 1; }
.promo-caption { display: block; padding: 10px 14px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: #2B2622; background: #ffffff; line-height: 1.3; }

/* ─── Lightbox ampliado de promoción ──────────────────────────────── */
.promo-modal {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(30, 22, 14, 0.82);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.promo-modal.promo-modal-show { opacity: 1; visibility: visible; }
.promo-modal-content {
  position: relative; background: #ffffff;
  border-radius: 22px; overflow: hidden;
  max-width: 560px; width: 100%; max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: scale(0.94); transition: transform 0.3s ease;
}
.promo-modal.promo-modal-show .promo-modal-content { transform: scale(1); }
.promo-modal-img { width: 100%; max-height: 78vh; object-fit: contain; background: #FBF7F0; display: block; }
.promo-modal-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 16px 20px; background: #ffffff;
}
.promo-modal-title { font-family: 'Cormorant Garamond', 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: #2B2622; margin: 0; }
.promo-modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 44px; height: 44px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92); color: #2B2622;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: background 0.2s, transform 0.2s;
}
.promo-modal-close:hover { background: #fff; transform: scale(1.08); }

@media (max-width: 767px) {
  .promo-float { left: 12px; width: 150px; bottom: 88px; border-radius: 14px; }
  .promo-caption { font-size: 11px; padding: 8px 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   Estilo 2026 — crema, dorado y petróleo
   ═══════════════════════════════════════════════════════════════ */
:root {
  --sec-petroleo: #0E4A55;
  --sec-petroleo-osc: #08333B;
  --sec-oro: #B8893A;
  --sec-oro-claro: #C9A35C;
  --sec-oro-texto: #8A6424;
  --sec-crema: #FBF7F0;
  --sec-crema-2: #F6EEE2;
  --sec-tinta: #2B2622;
  --sec-tinta-2: #5E554C;
  --sec-oro-degradado: linear-gradient(135deg, #C9A35C 0%, #B8893A 45%, #8A6424 100%);
}
body { background-color: var(--sec-crema); color: var(--sec-tinta); }
::selection { background: rgba(184, 137, 58, 0.25); }

/* Botones globales: píldora con borde dorado, como en la portada */
.btn-primary, .btn-secondary { border-radius: 9999px; }
.btn-primary { background: var(--sec-petroleo); border: 1.5px solid var(--sec-oro); }
.btn-primary:hover { background: var(--sec-petroleo-osc); filter: none; }
.btn-secondary { background: #FFFDF9; color: var(--sec-petroleo); border-color: var(--sec-oro); }
.btn-secondary:hover { background: #FFFFFF; }

/* ─── Hero Yessika ─────────────────────────────────────────────── */
.hero-yessika { min-height: clamp(600px, 50vw, 780px); overflow: hidden; background: var(--sec-crema); }
.hero-foto { position: absolute; inset: 0; z-index: 0; display: block; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; display: block; }
.hero-yessika .hero-overlay {
  background: linear-gradient(90deg,
    rgba(251, 247, 240, 0.97) 0%,
    rgba(251, 247, 240, 0.92) 32%,
    rgba(251, 247, 240, 0.60) 46%,
    rgba(251, 247, 240, 0.12) 58%,
    rgba(251, 247, 240, 0) 66%);
}
.hero-grid { position: relative; padding-top: 28px; padding-bottom: 36px; }
.hero-text { position: relative; z-index: 2; width: min(100%, 660px); display: flex; flex-direction: column; align-items: flex-start; }

.hero-logo { width: clamp(200px, 17vw, 260px); height: auto; margin: 0 0 0 -6px; }
.hero-adorno { display: flex; align-items: center; gap: 14px; width: min(100%, 340px); color: var(--sec-oro); margin: 2px 0 16px; }
.hero-adorno span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--sec-oro), transparent); }
.hero-adorno i { font-style: normal; font-size: 18px; line-height: 1; }
.hero-adorno-loto { width: min(100%, 460px); margin: 14px 0 10px; }

.hero-titulo {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 600; text-transform: uppercase;
  font-size: clamp(40px, 4.5vw, 74px); line-height: 0.98; white-space: nowrap; letter-spacing: 0.005em;
  color: var(--sec-petroleo); margin: 0;
}
.hero-titulo-linea { display: block; }
.hero-titulo-oro { background: var(--sec-oro-degradado); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--sec-oro); }

.hero-sub {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; font-weight: 500;
  color: var(--sec-tinta); margin: 14px 0 0; max-width: 40ch;
}
.hero-experiencia {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--sec-tinta); margin: 0 0 20px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 9999px; text-decoration: none;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif; font-size: 18px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; border: 1.5px solid var(--sec-oro);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.hero-btn .material-symbols-outlined { font-size: 22px; transition: transform .2s ease; }
.hero-btn:hover .material-symbols-outlined { transform: translateX(3px); }
.hero-btn:focus-visible { outline: 3px solid rgba(184, 137, 58, 0.55); outline-offset: 3px; }
.hero-btn-principal { background: var(--sec-petroleo); color: #FFFFFF; box-shadow: 0 10px 26px -10px rgba(8, 51, 59, 0.55); }
.hero-btn-principal:hover { background: var(--sec-petroleo-osc); transform: translateY(-2px); }
.hero-btn-secundario { background: rgba(255, 253, 249, 0.92); color: var(--sec-petroleo); }
.hero-btn-secundario:hover { background: #FFFFFF; transform: translateY(-2px); }

.hero-wa-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 2px;
  font-size: 14px; font-weight: 600; color: var(--sec-oro-texto); text-decoration: none;
}
.hero-wa-link .material-symbols-outlined { font-size: 20px; }
.hero-wa-link:hover { color: var(--sec-petroleo); }

.hero-firma {
  position: absolute; z-index: 2; right: 3%; top: 34%;
  display: flex; flex-direction: column; gap: 2px; margin: 0;
  padding-left: 18px; border-left: 2px solid var(--sec-oro);
}
.hero-firma strong { font-family: 'Cormorant Garamond', 'Playfair Display', serif; font-size: 30px; font-weight: 600; color: var(--sec-petroleo); line-height: 1.1; }
.hero-firma span { font-size: 15px; color: var(--sec-tinta); font-weight: 500; }

/* Final del hero: la foto se desvanece en el crema de la sección siguiente (sin corte duro) */
.hero-yessika::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none;
  height: clamp(140px, 16vw, 260px);
  background: linear-gradient(180deg,
    rgba(251, 247, 240, 0) 0%,
    rgba(251, 247, 240, 0.35) 30%,
    rgba(251, 247, 240, 0.75) 60%,
    rgba(251, 247, 240, 0.95) 85%,
    var(--sec-crema) 100%);
}

/* Pantallas medianas: la firma baja para no tocar la cara */
@media (max-width: 1279px) and (min-width: 1024px) {
  .hero-firma { top: auto; bottom: 7%; background: rgba(251, 247, 240, 0.85); padding: 10px 16px; border-radius: 0 12px 12px 0; }
  .hero-firma strong { font-size: 24px; }
  .hero-yessika .hero-overlay {
    background: linear-gradient(90deg, rgba(251, 247, 240, 0.97) 0%, rgba(251, 247, 240, 0.9) 42%, rgba(251, 247, 240, 0.45) 56%, rgba(251, 247, 240, 0) 70%);
  }
}

/* Teléfono y tableta: la misma composición que en computadora — foto de fondo con Yessika a la
   derecha, velo crema a la izquierda con logo, título y texto, y abajo los botones y la firma.
   El texto se limita a la columna izquierda; los botones ocupan todo el ancho al pie del hero. */
@media (max-width: 1023px) {
  .hero-yessika { align-items: stretch; min-height: 640px; min-height: max(640px, calc(100svh - 144px)); }
  .hero-foto img { object-position: 58% 0%; }
  .hero-yessika .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 247, 240, 0) 62%, rgba(251, 247, 240, 0.7) 80%, rgba(251, 247, 240, 0.94) 100%),
      linear-gradient(90deg,
        rgba(251, 247, 240, 0.97) 0%,
        rgba(251, 247, 240, 0.9) 38%,
        rgba(251, 247, 240, 0.55) 54%,
        rgba(251, 247, 240, 0.12) 68%,
        rgba(251, 247, 240, 0) 78%);
  }
  .hero-yessika::after { display: none; }
  /* static: la firma se posiciona respecto a la sección; flex: los botones bajan al pie */
  .hero-yessika .hero-grid { position: static; display: flex; flex-direction: column; padding-top: 20px; padding-bottom: 20px; }
  .hero-text { flex: 1; width: 100%; }
  .hero-text > :not(.hero-ctas):not(.hero-wa-link) { max-width: 60%; }

  .hero-logo { width: clamp(118px, 34vw, 200px); margin: 0 0 0 -4px; }
  .hero-adorno { width: 100%; gap: 10px; margin: 2px 0 12px; }
  .hero-adorno i { font-size: 14px; }
  .hero-titulo { white-space: normal; font-size: clamp(28px, 7.6vw, 52px); line-height: 1.02; }
  .hero-sub { font-size: clamp(15px, 4vw, 22px); line-height: 1.32; margin-top: 10px; }
  .hero-adorno-loto { margin: 10px 0 8px; }
  .hero-adorno-loto svg { width: 26px; height: 15px; }
  .hero-experiencia { font-size: clamp(9.5px, 2.5vw, 12px); line-height: 1.6; letter-spacing: 0.16em; margin: 0; }
  .hero-ctas { margin-top: auto; padding-top: 18px; width: 100%; flex-direction: column; gap: 10px; }
  .hero-btn { width: 100%; min-height: 50px; padding: 0 20px; font-size: 16px; }
  .hero-wa-link { align-self: center; margin-top: 6px; font-size: 13px; }

  .hero-firma {
    top: auto; right: 16px; bottom: 192px;
    padding: 8px 14px; background: rgba(251, 247, 240, 0.88); border-radius: 0 12px 12px 0;
  }
  .hero-firma strong { font-size: 19px; }
  .hero-firma span { font-size: 12px; }
}
/* Tableta: más aire, botones lado a lado y la firma un poco más grande */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-yessika { min-height: max(680px, calc(100svh - 80px)); }
  .hero-foto img { object-position: 54% 0%; }
  .hero-yessika .hero-grid { padding-top: 32px; padding-bottom: 32px; }
  .hero-text > :not(.hero-ctas):not(.hero-wa-link) { max-width: 58%; }
  .hero-ctas { flex-direction: row; }
  .hero-btn { width: auto; }
  .hero-wa-link { align-self: flex-start; }
  .hero-firma { right: 24px; bottom: 150px; padding: 10px 16px; }
  .hero-firma strong { font-size: 24px; }
  .hero-firma span { font-size: 14px; }
}

/* ─── Franja de promoción bajo el hero ─────────────────────────── */
.promo-franja { position: relative; z-index: 4; background: var(--sec-crema); padding: 0 0 8px; margin-top: -8px; }
.promo-franja-card {
  display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; cursor: pointer;
  background: #FFFDF9; border: 1px solid #E8DCC8; border-radius: 18px; padding: 10px 22px 10px 10px;
  font: inherit; color: inherit; box-shadow: 0 6px 20px -12px rgba(74, 52, 16, 0.35);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.promo-franja-card:hover { border-color: var(--sec-oro); box-shadow: 0 12px 28px -12px rgba(74, 52, 16, 0.45); transform: translateY(-1px); }
.promo-franja-card:focus-visible { outline: 3px solid rgba(184, 137, 58, 0.55); outline-offset: 3px; }
.promo-franja-img { flex: none; width: 86px; height: 86px; border-radius: 12px; overflow: hidden; background: var(--sec-crema); }
.promo-franja-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-franja-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.promo-franja-etiqueta { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sec-oro-texto); }
.promo-franja-etiqueta .material-symbols-outlined { font-size: 15px; }
.promo-franja-titulo { font-family: 'Cormorant Garamond', 'Playfair Display', serif; font-size: 24px; font-weight: 600; color: var(--sec-petroleo); line-height: 1.15; overflow-wrap: anywhere; }
.promo-franja-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 9999px; background: var(--sec-petroleo); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.promo-franja-cta .material-symbols-outlined { font-size: 16px; }
@media (max-width: 640px) {
  .promo-franja-card { flex-wrap: wrap; padding: 10px; gap: 12px; }
  .promo-franja-img { width: 64px; height: 64px; }
  .promo-franja-titulo { font-size: 20px; }
  .promo-franja-cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-btn, .promo-franja-card { transition: none; }
}
