/* =============================================
   NUVORA DESCANSO — Ultra Premium Redesign
   Inspired by apple.com
   ============================================= */

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

:root {
  --navy:    #1B2D5B;
  --white:   #FFFFFF;
  --gray:    #F5F5F7;
  --text:    #1D1D1F;
  --text-2:  #6E6E73;
  --text-3:  #86868B;
  --border:  #D2D2D7;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  --ease:    cubic-bezier(.25,.46,.45,.94);
  --ease-out:cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Puntero nativo del sistema (cursor personalizado desactivado) */

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Fade-in animation --- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* --- Shared section title --- */
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
  letter-spacing: -0.005em;
}
.btn--solid {
  background: var(--navy);
  color: var(--white);
}
.btn--solid:hover { opacity: 0.82; }

.btn--outline {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  padding: 16px 40px;
}
.btn--white:hover { opacity: 0.85; }


/* ==============================================
   SCROLL PROGRESS BAR
   ============================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--navy);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}


/* ==============================================
   CUSTOM CURSOR
   ============================================== */
.custom-cursor { display: none; }


/* ==============================================
   1. HEADER
   ============================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.4s var(--ease);
}
.header.is-scrolled {
  box-shadow: 0 0.5px 0 0 rgba(0,0,0,0.1);
}

.header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 52px;
}

.header__logo { flex-shrink: 0; margin-right: auto; }
.header__logo-img {
  height: 65px;
  width: auto;
  padding: 4px 0;
}

.header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header__menu {
  display: flex;
  gap: 36px;
}
.header__link {
  font-size: 0.8125rem;
  color: var(--text-2);
  transition: color 0.25s;
}
.header__link:hover { color: var(--text); }

.header__cta {
  margin-left: auto;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  padding: 7px 18px;
  border-radius: 980px;
  transition: opacity 0.25s;
}
.header__cta:hover { opacity: 0.8; }

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  position: relative;
  z-index: 1002;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.header__burger.is-active span:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}
.header__burger.is-active span:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  /* Bajo el header (1000): el logo y la X del burger quedan visibles encima */
  z-index: 999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-menu__link {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--navy);
  transition: opacity 0.25s;
}
.mobile-menu__link:hover { opacity: 0.6; }
.mobile-menu__cta {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  padding: 12px 36px;
  border-radius: 980px;
  margin-top: 8px;
}


/* ==============================================
   2. HERO — ESCENA 1
   ============================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Canvas de partículas: capa base detrás del texto */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Contenido del hero: encima del canvas, sujeto a parallax via JS */
.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 24px;
  min-height: 1.05em; /* evita CLS mientras escribe el typewriter */
}

/* Cursor parpadeante del typewriter */
.hero__type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  background: var(--navy);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1px;
  animation: cursorBlink 0.75s step-end infinite;
}
.hero__type-cursor.is-done {
  opacity: 0;
  animation: none;
  transition: opacity 0.4s ease 0.8s;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Entrada del subtítulo y botones tras el typewriter */
.hero__entrance {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero__entrance.is-visible {
  opacity: 1;
  transform: none;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-2);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  animation: arrowBounce 2s ease-in-out infinite;
  opacity: 0.35;
  z-index: 1;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}



/* Mini-franja de confianza del hero */
.hero__trust {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 26px;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-3);
}
.hero__trust svg { color: #C49A2C; flex-shrink: 0; }



/* ==============================================
   5. PRODUCTOS — ESCENA 5 (tarjetas flotantes 3D)
   ============================================== */
.productos {
  padding: 140px 0;
  background: var(--white);
}
.productos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.producto {
  border-radius: 18px;
  overflow: hidden;
  background: var(--gray);
  /* La transición suave se controla por JS también */
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  /* Preparar perspectiva 3D */
  transform-style: preserve-3d;
  will-change: transform;
}
/* El hover base se deja como fallback si JS no actúa */
.producto:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.producto__img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #E8E8ED;
}
.producto__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.producto:hover .producto__img img { transform: scale(1.03); }

.producto__body { padding: 24px 24px 28px; }
.producto__name {
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.producto__desc {
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 18px;
}
.producto__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.producto__price {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
}
.producto__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: opacity 0.25s;
}
.producto__link:hover { opacity: 0.6; }


/* ==============================================
   6. TESTIMONIOS — Stagger Cards
   ============================================== */
.testimonios {
  padding: 140px 0 80px;
  background: var(--gray);
}

.stagger {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 520px;
}

.stagger__stage {
  position: relative;
  width: 100%;
  height: 100%;
}

/* --- Card --- */
.stagger__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  padding: 32px;
  background: var(--white);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
  clip-path: polygon(40px 0%, calc(100% - 40px) 0%, 100% 40px, 100% 100%, calc(100% - 40px) 100%, 40px 100%, 0 100%, 0 0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stagger__card.is-center {
  z-index: 10;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0px 8px 0px 4px var(--border);
}
.stagger__card:not(.is-center) {
  z-index: 1;
}
.stagger__card:not(.is-center):hover {
  border-color: rgba(27, 45, 91, 0.4);
}

/* Corner notch line */
.stagger__card::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 38px;
  width: 56.57px; /* sqrt(40^2 + 40^2) */
  height: 2px;
  background: var(--border);
  transform-origin: top right;
  transform: rotate(45deg);
}
.stagger__card.is-center::after {
  background: rgba(255,255,255,0.2);
}

/* Avatar */
.stagger__avatar {
  width: 48px;
  height: 40px;
  object-fit: cover;
  object-position: top;
  background: var(--gray);
  box-shadow: 3px 3px 0px var(--gray);
  flex-shrink: 0;
  margin-bottom: 16px;
}
.stagger__card.is-center .stagger__avatar {
  box-shadow: 3px 3px 0px rgba(255,255,255,0.15);
}

/* Quote */
.stagger__quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}
.stagger__card.is-center .stagger__quote {
  color: var(--white);
}

/* Cite */
.stagger__cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-3);
  margin-top: auto;
}
.stagger__card.is-center .stagger__cite {
  color: rgba(255,255,255,0.7);
}

/* --- Navigation --- */
.stagger__nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.stagger__btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.stagger__btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.stagger__btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .stagger { height: 480px; }
  .stagger__card {
    width: 270px;
    height: 270px;
    padding: 24px;
    clip-path: polygon(30px 0%, calc(100% - 30px) 0%, 100% 30px, 100% 100%, calc(100% - 30px) 100%, 30px 100%, 0 100%, 0 0);
  }
  .stagger__card::after {
    top: 28px;
    width: 42.43px;
  }
  .stagger__quote { font-size: 0.9375rem; }
}


/* ==============================================
   7. NÚMEROS
   ============================================== */
.numeros {
  padding: 120px 0;
  background: var(--white);
}
.numeros__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.numero__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.numero__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-3);
  letter-spacing: 0.01em;
}


/* ==============================================
   8. CTA + REVEAL TEXT
   ============================================== */
.cta {
  padding: 100px 0 140px;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}

/* --- Reveal Text --- */
.reveal-text {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 0;
}

.reveal-letter {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 13vw, 11rem); /* 6 letras: NUVORA */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transform: scale(0);
  opacity: 0;
  transition: none;
  cursor: pointer;
  -webkit-text-fill-color: var(--white);
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

/* Spring entrance animation */
.reveal-letter.is-revealed {
  animation: revealSpring 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes revealSpring {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

/* Gold flash sweep — combined with spring so it doesn't override visibility */
.reveal-letter.is-sweeping {
  animation: revealSpring 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             goldFlash 0.4s ease-in-out forwards;
}
@keyframes goldFlash {
  0%   { -webkit-text-fill-color: var(--white); }
  10%  { -webkit-text-fill-color: #D4AF37; }
  70%  { -webkit-text-fill-color: #D4AF37; }
  100% { -webkit-text-fill-color: var(--white); }
}

/* Hover: image-filled text */
.reveal-letter.is-revealed:hover {
  -webkit-text-fill-color: transparent;
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 3s ease-in-out;
  background-position: 10% center;
}


/* ==============================================
   LOGO CLOUD — Infinite Slider
   ============================================== */
.logo-cloud {
  padding: 72px 0;
  background: var(--white);
  text-align: center;
}

.logo-cloud__heading {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  padding: 0 24px;
}

.logo-cloud__muted {
  color: var(--text-3);
  font-weight: 400;
}

.logo-cloud__bold {
  color: var(--text);
  font-weight: 600;
}

.logo-cloud__divider {
  height: 1px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--border);
  mask-image: linear-gradient(to right, transparent, black, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black, transparent);
}

.logo-cloud__mask {
  overflow: hidden;
  padding: 32px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-cloud__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}

.logo-cloud__track:hover {
  animation-play-state: paused;
}

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

.logo-cloud__logo {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: -0.02em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  text-transform: lowercase;
}

.logo-cloud__logo--serif {
  font-family: var(--serif);
  font-weight: 600;
  text-transform: none;
  color: var(--navy);
  font-size: 1.35rem;
}

.logo-cloud__logo--accent {
  text-transform: none;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-2);
  border: 1.5px solid var(--border);
  border-radius: 980px;
  padding: 6px 20px;
}

@media (max-width: 768px) {
  .logo-cloud { padding: 48px 0; }
  .logo-cloud__logo { font-size: 1rem; }
  .logo-cloud__logo--serif { font-size: 1.1rem; }
  .logo-cloud__logo--accent { font-size: 0.9rem; padding: 5px 16px; }
  .logo-cloud__track { gap: 32px; }
}


/* ==============================================
   9. FOOTER
   ============================================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer__logo {
  height: 32px;
  width: auto;
}
.footer__links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-size: 0.8125rem;
  color: var(--text-3);
  transition: color 0.25s;
}
.footer__links a:hover { color: var(--text); }
.footer__sep {
  color: var(--border);
  font-size: 0.75rem;
}
.footer__social {
  display: flex;
  gap: 16px;
}
.footer__social a {
  color: var(--text-3);
  transition: color 0.25s;
}
.footer__social a:hover { color: var(--navy); }
.footer__copy {
  font-size: 0.75rem;
  color: var(--text-3);
}


/* ==============================================
   RESPONSIVE
   ============================================== */

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .header__inner { padding: 0 20px; height: 48px; }
  .header__logo-img { height: 45px; }
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; margin-left: 16px; }
  /* La cesta se agrupa con el burger a la derecha (antes quedaba centrada) */
  .cartbtn { margin-left: auto; }

  /* Hero */
  .hero { padding: 110px 24px 60px; min-height: 90vh; }
  .hero__arrow { bottom: 24px; }

  /* Productos */
  .productos { padding: 100px 0; }
  .section-title { margin-bottom: 48px; }
  .productos__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Testimonios: en móvil solo la tarjeta central (las laterales desbordan) */
  .testimonios { padding: 100px 0 60px; }
  .stagger { height: 400px; }
  .stagger__card:not(.is-center) { display: none; }

  /* Números */
  .numeros { padding: 80px 0; }
  .numeros__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  /* CTA */
  .cta { padding: 100px 0; }

  /* Footer */
  .footer__inner { padding: 36px 24px 32px; gap: 16px; }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .hero__buttons .btn { width: 100%; text-align: center; }
  .producto__footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* ==============================================
   COMPROMISO — Banda compacta (inicio)
   Envío 3–5 días · 100 noches · 10 años
   ============================================== */
.promesa {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% -20%, #1c2f5d 0%, rgba(28,47,93,0) 60%),
    linear-gradient(180deg, #0A1128 0%, #101d3d 100%);
  padding: 110px 0 120px;
  overflow: hidden;
}
/* Hilo dorado decorativo superior */
.promesa::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55), transparent);
}
.promesa__head {
  text-align: center;
  margin-bottom: 72px;
}
.promesa__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.85);
  margin-bottom: 18px;
}
.promesa__eyebrow::before,
.promesa__eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(212,175,55,0.4);
}
.promesa__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.promesa__title em {
  font-style: italic;
  color: #D4AF37;
}
.promesa__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.promesa__item {
  position: relative;
  text-align: center;
  padding: 12px 36px;
}
.promesa__item + .promesa__item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 72%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.14), transparent);
}
.promesa__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.35);
  color: #D4AF37;
  margin-bottom: 22px;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}
.promesa__item:hover .promesa__icon {
  border-color: rgba(212,175,55,0.8);
  box-shadow: 0 0 28px rgba(212,175,55,0.22);
  transform: translateY(-3px);
}
.promesa__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.promesa__value small {
  font-size: 0.42em;
  font-weight: 600;
  color: #D4AF37;
  letter-spacing: 0.06em;
  margin-left: 4px;
}
.promesa__label {
  display: block;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.promesa__note {
  display: block;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}
.promesa__cta {
  text-align: center;
  margin-top: 64px;
}
.promesa__cta .btn--outline {
  color: #D4AF37;
  box-shadow: inset 0 0 0 1.5px rgba(212,175,55,0.5);
}
.promesa__cta .btn--outline:hover {
  background: #D4AF37;
  color: #0A1128;
}

@media (max-width: 768px) {
  .promesa { padding: 72px 0 80px; }
  .promesa__head { margin-bottom: 44px; }
  .promesa__grid { grid-template-columns: 1fr; gap: 40px; }
  .promesa__item + .promesa__item::before {
    left: 50%; top: -20px;
    transform: translateX(-50%);
    width: 72%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  }
  .promesa__cta { margin-top: 48px; }
}


/* ==============================================
   PAGO SEGURO — badges de métodos de pago
   ============================================== */
.footer__pay {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__pay-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-right: 6px;
}
.paybadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}
.paybadge svg { display: block; }


/* ==============================================
   PULIDO PREMIUM — microinteracciones globales
   ============================================== */

/* Resplandor dorado sutil tras el titular del hero */
.hero::before {
  content: '';
  position: absolute;
  top: 16%;
  left: 50%;
  width: min(720px, 90vw);
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(212, 175, 55, 0.10) 0%, rgba(212, 175, 55, 0) 70%);
  pointer-events: none;
  /* Respiración: el halo dorado se expande y atenúa muy lento, como respirar */
  animation: heroBreathe 9s ease-in-out infinite;
}
@keyframes heroBreathe {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.6; }
  50%      { transform: translateX(-50%) scale(1.1);  opacity: 1; }
}

/* Subrayado dorado animado en la navegación */
.header__link { position: relative; }
.header__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: #C49A2C;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.header__link:hover::after,
.header__link.is-active::after { transform: scaleX(1); }

/* Foco visible accesible (teclado) en toda la web */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #C49A2C;
  outline-offset: 3px;
  border-radius: 4px;
}
input:focus-visible,
select:focus-visible {
  outline: 2px solid #C49A2C;
  outline-offset: 1px;
}

/* CTAs principales: elevación + halo dorado */
.btn--solid,
.header__cta {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), opacity 0.25s;
}
.btn--solid:hover,
.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -8px rgba(27, 45, 91, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.28);
}

/* Barrido de luz al pasar por las tarjetas de producto (home) */
.producto__img { position: relative; }
.producto__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.32) 50%, transparent 60%);
  transform: translateX(-130%);
  pointer-events: none;
}
.producto:hover .producto__img::after {
  transform: translateX(130%);
  transition: transform 0.9s var(--ease-out);
}

/* Accesibilidad: respeta "reducir movimiento" del sistema */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ==============================================
   CESTA DE LA COMPRA
   ============================================== */
.cartbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  margin-left: 2px;
  transition: color 0.25s;
}
.cartbtn:hover { color: var(--navy); }
.cartbtn__badge {
  position: absolute;
  top: 1px;
  right: -1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: #C49A2C;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1004;
}
.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 92vw);
  background: #fff;
  z-index: 1005;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.45s var(--ease-out);
  box-shadow: -18px 0 50px rgba(13, 27, 62, 0.18);
}
body.cart-open .cart { transform: translateX(0); }
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }
body.cart-open { overflow: hidden; }
.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}
.cart__close {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--text-3);
  cursor: pointer;
  padding: 6px;
  transition: color 0.25s;
}
.cart__close:hover { color: var(--text); }
.cart__body { flex: 1; overflow-y: auto; padding: 6px 24px; }
.cart__empty {
  text-align: center;
  color: var(--text-3);
  margin-top: 70px;
  line-height: 1.8;
}
.cart__item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray);
}
.cart__item--gift { border-bottom: none; }
.cart__img {
  width: 64px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--gray);
  flex-shrink: 0;
}
.cart__info { flex: 1; min-width: 0; }
.cart__name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.cart__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-3);
  margin: 2px 0 8px;
}
.cart__qty { display: flex; align-items: center; gap: 10px; }
.cart__qty button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--navy);
}
.cart__qty span { font-size: 0.85rem; min-width: 14px; text-align: center; }
.cart__qty .cart__del {
  width: auto;
  border: none;
  background: none;
  font-size: 0.72rem;
  color: var(--text-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart__price {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
}
.cart__price--gift {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: #2d8a4e;
  font-weight: 700;
}
.cart__foot {
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}
.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.cart__total span { font-size: 0.82rem; color: var(--text-2); }
.cart__total strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
}
.cart__checkout {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 14px;
  border-radius: 100px;
  margin-bottom: 10px;
  transition: opacity 0.25s, transform 0.25s;
}
.cart__checkout:hover { opacity: 0.9; transform: translateY(-1px); }
.cart__continue,
.cart__shop {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  font-size: 0.8rem;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cart__shop { color: var(--navy); }
