/* ============================================================
   LECTORA DE ESTRELLAS — Design System
   Aesthetic: Mystical Editorial · Warm Cosmos · Artisanal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Cinzel:wght@400;500&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --ink:         #1a1118;
  --ink-soft:    #3d2e3a;
  --parchment:   #faf6f0;
  --cream:       #f5ede0;
  --blush:       #e8c5b0;
  --rose:        #c97d6e;
  --mauve:       #9b7a9e;
  --plum:        #6b4471;
  --deep-plum:   #3d1f45;
  --violet:      #7b5ea7;
  --dusty-gold:  #c4a265;
  --gold:        #d4a853;
  --midnight:    #150d1e;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #e8c5b0 0%, #d4a4c0 35%, #9b7a9e 65%, #6b4471 100%);
  --grad-warm:    linear-gradient(160deg, #faf6f0 0%, #f0e4d4 50%, #e8d5c8 100%);
  --grad-cosmic:  linear-gradient(180deg, #150d1e 0%, #3d1f45 50%, #6b4471 100%);
  --grad-banner:  linear-gradient(90deg, #c97d6e, #9b7a9e, #6b4471, #9b7a9e, #c97d6e);

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'DM Sans', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(107,68,113,0.08);
  --shadow-md:  0 8px 32px rgba(107,68,113,0.15);
  --shadow-lg:  0 20px 60px rgba(107,68,113,0.2);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--parchment);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Typography Scale ───────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
}

/* ── Announcement Banner ────────────────────────────────── */
.banner {
  background: var(--grad-banner);
  background-size: 300% 100%;
  animation: bannerScroll 8s linear infinite;
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.banner-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.banner-track span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes bannerScroll {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(155, 122, 158, 0.12);
  transition: box-shadow 0.3s var(--ease);
}

.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.nav-logo em {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--mauve);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a:hover { color: var(--plum); background: rgba(155,122,158,0.08); }
.nav-links a.active { color: var(--violet); }

.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after {
  content: '▾';
  margin-left: 0.25rem;
  font-size: 0.65rem;
  opacity: 0.6;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--parchment);
  border: 1px solid rgba(155,122,158,0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
  z-index: 200;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.dropdown-section {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mauve);
  padding: 0.5rem 0.75rem 0.25rem;
  margin-top: 0.25rem;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-search {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--ink-soft);
  transition: background 0.2s;
}
.nav-search:hover { background: rgba(155,122,158,0.1); }

.nav-account {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-account:hover {
  background: rgba(155,122,158,0.1);
  color: var(--plum);
}
@media (max-width: 768px) { .nav-account { display: none; } }

.cart-btn {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--ink);
  transition: background 0.2s;
}
.cart-btn:hover { background: rgba(155,122,158,0.1); }

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--rose);
  color: white;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.cart-count.visible { opacity: 1; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--plum);
  color: white;
  box-shadow: 0 4px 16px rgba(107,68,113,0.25);
}
.btn-primary:hover {
  background: var(--deep-plum);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(107,68,113,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--plum);
  border: 1.5px solid var(--plum);
}
.btn-secondary:hover {
  background: var(--plum);
  color: white;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26,17,24,0.2);
}
.btn-ghost:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(212,168,83,0.3);
}
.btn-gold:hover {
  background: var(--dusty-gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212,168,83,0.4);
}

.btn-sm {
  font-size: 0.72rem;
  padding: 0.5rem 1.25rem;
}

.btn-lg {
  font-size: 0.85rem;
  padding: 1rem 2.25rem;
}

/* ── Layout Utilities ───────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--space-lg) 0; }
.section-lg { padding: var(--space-xl) 0; }

/* ── Section Headers ────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin-top: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Product Cards ──────────────────────────────────────── */
.product-card {
  position: relative;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid rgba(155,122,158,0.1);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.product-card-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.product-card-price {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--plum);
  font-weight: 500;
}

.product-card-price .original {
  text-decoration: line-through;
  color: var(--blush);
  margin-right: 0.4rem;
  font-weight: 400;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge-bestseller { background: var(--gold); color: var(--ink); }
.badge-new { background: var(--rose); color: white; }
.badge-limited { background: var(--plum); color: white; }
.badge-digital { background: var(--mauve); color: white; }

/* ── Grids ──────────────────────────────────────────────── */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

/* ── Cart Sidebar ───────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 13, 30, 0.5);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(4px);
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--parchment);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: -20px 0 60px rgba(21,13,30,0.2);
}

.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(155,122,158,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.cart-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--ink-soft);
  font-size: 1.25rem;
  transition: background 0.2s;
}
.cart-close:hover { background: rgba(155,122,158,0.1); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.75rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
}
.cart-empty .star { font-size: 2rem; margin-bottom: 1rem; }
.cart-empty p { font-size: 1rem; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(155,122,158,0.1);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { min-width: 0; }
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--plum);
  font-weight: 500;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(155,122,158,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.qty-btn:hover { border-color: var(--plum); color: var(--plum); }
.qty-num {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  width: 20px;
  text-align: center;
}

.cart-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid rgba(155,122,158,0.15);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.cart-subtotal .label { color: var(--ink-soft); }
.cart-subtotal .amount {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

.cart-shipping-note {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--mauve);
  margin-bottom: 1rem;
  text-align: center;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--midnight);
  color: rgba(250,246,240,0.7);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-md);
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: white;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-social:hover {
  border-color: var(--mauve);
  color: white;
  background: rgba(155,122,158,0.2);
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(250,246,240,0.65);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ── Newsletter Strip ───────────────────────────────────── */
.newsletter-strip {
  background: var(--grad-cosmic);
  padding: var(--space-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-strip .moon-phases {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.4;
}
.newsletter-strip .moon-phases span { font-size: 1.5rem; }

.newsletter-strip h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
  position: relative;
}

.newsletter-strip p {
  color: rgba(250,246,240,0.65);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  position: relative;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  position: relative;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: white;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  outline: none;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--mauve); background: rgba(255,255,255,0.12); }

.newsletter-form .btn {
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  flex-shrink: 0;
}

/* ── Testimonial ────────────────────────────────────────── */
/* ── Testimonial / Phone Mockup ─────────────────────────── */
.testimonial-strip {
  background: var(--grad-warm);
  padding: var(--space-xl) 0 var(--space-lg);
  overflow: hidden;
}

.testimonial-strip .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.testimonial-strip .section-header .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}

/* Stories bar — top padding clears the Dynamic Island (62px wide, 20px tall, 8px into screen) */
.stories-bar {
  background: white;
  padding: 36px 16px 10px;
  border-bottom: 0.5px solid rgba(107,68,113,0.1);
}

.stories-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.stories-brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stories-brand-avatar svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.stories-brand-name {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.stories-brand-sub {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--violet);
}

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 4px 0 0;
}

.progress-dot {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: rgba(107,68,113,0.18);
  transition: background 0.3s;
  flex-shrink: 0;
}

.progress-dot.active {
  background: var(--plum);
}

/* Cards */
.reviews-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.review-slide {
  min-width: 100%;
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
}

.review-slide-reviewer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.reviewer-initials {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

.reviewer-meta-name {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.reviewer-meta-handle {
  font-family: var(--font-ui);
  font-size: 9px;
  color: var(--mauve);
}

.review-bubble {
  background: white;
  border-radius: 4px 16px 16px 16px;
  padding: 14px;
  flex: 1;
  border: 0.5px solid rgba(107,68,113,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-bubble-text {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-star {
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
}

.review-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--violet);
  border: 0.5px solid var(--violet);
  border-radius: 20px;
  padding: 3px 9px;
  align-self: flex-start;
}

/* Nav bottom */
.phone-nav {
  background: white;
  padding: 10px 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid rgba(107,68,113,0.1);
}

.phone-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0.5px solid rgba(107,68,113,0.25);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  font-size: 14px;
  transition: background 0.2s;
  line-height: 1;
}

.phone-nav-btn:hover { background: var(--cream); }
.phone-nav-btn:disabled { opacity: 0.3; cursor: default; }

.phone-nav-counter {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--mauve);
  letter-spacing: 0.08em;
}

.swipe-hint {
  text-align: center;
  margin-top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--mauve);
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* ── Experience Strip / Stories Mockup ──────────────────── */
.experience-strip {
  background: var(--midnight);
  padding: var(--space-lg) 0;
  overflow: hidden;
}

.experience-strip .section-header { text-align: center; margin-bottom: 3rem; }
.experience-strip .eyebrow { color: var(--mauve); }
.experience-strip h2 { color: var(--parchment); }
.experience-strip .section-desc { color: rgba(250,246,240,0.6); font-size: 0.97rem; max-width: 480px; margin: 0.5rem auto 0; }

/* Progress bars — below Dynamic Island (island bottom: 16+20=36px from frame, 8px into screen = 28px from screen top) */
.stories-progress {
  position: absolute;
  top: 36px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 3px;
  z-index: 15;
}

.stories-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 1px;
  overflow: hidden;
}

.stories-progress-fill {
  height: 100%;
  background: white;
  width: 0%;
  transition: none;
}

.stories-progress-fill.done { width: 100%; }

.stories-progress-fill.playing {
  animation: storyProgress linear forwards;
}

@keyframes storyProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Stories header overlay — below progress bars */
.stories-overlay-header {
  position: absolute;
  top: 42px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 14;
  padding-top: 10px;
}

.stories-ov-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid white;
  background: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stories-ov-avatar svg { width: 14px; height: 14px; fill: white; }

.stories-ov-name {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.stories-ov-time {
  font-family: var(--font-ui);
  font-size: 9px;
  color: rgba(255,255,255,0.7);
}

/* Media */
.stories-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stories-media video,
.stories-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tap zones */
.stories-tap-prev,
.stories-tap-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  z-index: 16;
}

.stories-tap-prev { left: 0; }
.stories-tap-next { right: 0; }

/* Nav hint */
.stories-nav-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(250,246,240,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ── Mobile menu overlay ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(21,13,30,0);
  z-index: 150;
  transition: background 0.35s;
}
.mobile-overlay.open {
  display: block;
  background: rgba(21,13,30,0.35);
}

/* ── Full-screen slide-in menu (izquierda → derecha) ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  background: #6B4471;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(250,246,240,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mobile-menu-logo {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: #FAF6F0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mobile-menu-logo em {
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(250,246,240,0.65);
  letter-spacing: 0;
  text-transform: none;
}
.mobile-menu-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(250,246,240,0.12);
  border: none;
  color: #FAF6F0;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.mobile-menu-close:hover { background: rgba(250,246,240,0.22); }

.mobile-menu-nav {
  flex: 1;
  padding: 0.75rem 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: rgba(250,246,240,0.82);
  letter-spacing: 0.07em;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: #FAF6F0;
  background: rgba(250,246,240,0.1);
  border-left-color: #D4A853;
}
.mobile-menu-nav a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #D4A853;
  opacity: 0.45;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.mobile-menu-nav a:hover::before,
.mobile-menu-nav a.active::before { opacity: 1; }

.mobile-menu-divider {
  height: 1px;
  background: rgba(250,246,240,0.12);
  margin: 0.5rem 1.5rem;
}

.mobile-menu-social {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 1.75rem;
  justify-content: center;
  border-top: 1px solid rgba(250,246,240,0.18);
  flex-shrink: 0;
}
.mobile-social-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(250,246,240,0.12);
  border: 1px solid rgba(250,246,240,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF6F0;
  transition: all 0.2s;
  text-decoration: none;
}
.mobile-social-icon:hover {
  background: rgba(250,246,240,0.2);
  border-color: rgba(212,168,83,0.5);
  color: #D4A853;
}
.mobile-social-icon svg { width: 22px; height: 22px; }

.nav-hamburger span {
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .section-lg { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }
}

@media (max-width: 480px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
  .newsletter-form input { border-radius: var(--radius-md) var(--radius-md) 0 0; border-right: 1px solid rgba(255,255,255,0.12); border-bottom: none; }
  .newsletter-form .btn { border-radius: 0 0 var(--radius-md) var(--radius-md); }
}

/* ── YouTube / aprende section grid ─────────────────────── */
.yt-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}
@media (max-width: 700px) {
  .yt-section-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.fade-up { animation: fadeUp 0.7s var(--ease-out) both; }
.fade-up-2 { animation: fadeUp 0.7s 0.15s var(--ease-out) both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s var(--ease-out) both; }
.fade-up-4 { animation: fadeUp 0.7s 0.45s var(--ease-out) both; }

/* ── Dividers ───────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: var(--space-md) 0;
  color: var(--blush);
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.divider span { font-size: 1rem; }
