/* ================================================================
   DB · MAQUILLAJE PROFESIONAL — SITE.CSS
   Sistema de diseño independiente (editorial, pearl, minimalista)
   ================================================================ */

:root {
  /* ---- Paleta ---- */
  --bg: #FAFAF8;
  --bg-alt: #f5efef;
  --surface: #FFFFFF;
  --surface-alt: #f0e3e3;
  --pearl: #e8d8d8;
  --accent: #c48282;
  --accent-l: #d49494;
  --accent-dim: rgba(196, 168, 130, .13);
  --accent-mid: rgba(196, 168, 130, .28);
  --text: #1a1414;
  --text-soft: #4a3838;
  --muted: #8b7373;
  --border: rgba(196, 130, 130, 0.22);
  --border-strong: rgba(196, 130, 130, 0.4);

  /* ---- Gradientes nacarados ---- */
  --shimmer: linear-gradient(135deg, #ffffff 0%, #f5eaea 40%, #e8d2d2 70%, #f5f0ea 100%);
  --shimmer-soft: linear-gradient(135deg, #FAFAF8 0%, #f5efef 50%, #f5dbdb 100%);
  --glow-pearl: 0 10px 40px rgba(196, 130, 130, 0.08);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, .03), 0 1px 3px rgba(0, 0, 0, .02);
  --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, .06), 0 2px 6px rgba(0, 0, 0, .03);

  /* ---- Tipografía ---- */
  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* ---- Transiciones ---- */
  --t-fast: .2s cubic-bezier(.22, 1, .36, 1);
  --t-base: .35s cubic-bezier(.22, 1, .36, 1);
  --t-slow: .6s cubic-bezier(.22, 1, .36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---- Shimmer overlay sutil en todo el body ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .4) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 90%, rgba(240, 235, 227, .3) 0%, transparent 50%);
  opacity: .7;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.sr { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); }
.sr.left { transform: translateX(-28px); }
.sr.right { transform: translateX(28px); }
.sr.scale { transform: scale(.96) translateY(14px); }
.sr.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s !important; }
.d2 { transition-delay: .16s !important; }
.d3 { transition-delay: .24s !important; }
.d4 { transition-delay: .32s !important; }
.d5 { transition-delay: .4s !important; }


/* ============================================================
   TIPOGRAFÍA Y COMPONENTES BASE
   ============================================================ */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.sec-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.sec-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.sec-desc {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 580px;
  line-height: 1.85;
  margin-bottom: 56px;
  font-weight: 300;
}


/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 20px;
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--surface);
  box-shadow: 0 6px 24px rgba(196, 168, 130, .3);
}
.btn-primary:hover {
  background: var(--accent-l);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196, 168, 130, .4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  color: var(--accent);
  padding: 8px 0;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  letter-spacing: .2em;
}
.btn-ghost:hover {
  border-bottom-color: var(--accent);
}


/* ============================================================
   NAVEGACIÓN
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--t-base), padding var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(250, 250, 248, .92);
  backdrop-filter: blur(20px);
  padding: 16px 48px;
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .02);
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .04em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.nav-logo em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.nav-logo .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--text-soft);
  transition: color var(--t-fast);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--t-base);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--surface);
  background: var(--accent);
  padding: 11px 22px;
  border-radius: 20px;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav-cta:hover { background: var(--accent-l); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 9999;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  transition: var(--t-base);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 248, .98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 8999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
  padding: 80px 30px 40px;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
/* El div interno también flex column para que cada link salga uno debajo del otro */
.mobile-menu > div,
#mobileMenuLinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
  max-width: 380px;
}
.mobile-menu a {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .02em;
  transition: color var(--t-fast);
  text-align: center;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--accent); font-style: italic; }
/* Botón "Volver a Latin Gang" en el menú móvil — destacado al final */
.mobile-menu-back {
  margin-top: 16px;
  padding: 12px 24px;
  font-size: 13px !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  color: var(--muted) !important;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
}
.mobile-menu-back:hover {
  color: var(--accent) !important;
  border-color: var(--accent-mid);
  font-style: normal !important;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  #nav { padding: 18px 22px; }
  #nav.scrolled { padding: 14px 22px; }
}


/* ============================================================
   SECCIONES
   ============================================================ */
section {
  position: relative;
  padding: 120px 48px;
  z-index: 2;
}
.wrap { max-width: 1200px; margin: 0 auto; }
@media (max-width: 768px) {
  section { padding: 72px 22px; }
}


/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 48px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--shimmer);
  opacity: .5;
  animation: shimmerShift 18s ease-in-out infinite;
}
@keyframes shimmerShift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  mix-blend-mode: multiply;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 250, 248, .3) 0%, rgba(250, 250, 248, .6) 70%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -.015em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  display: block;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.85;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  #hero { padding: 120px 22px 60px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
}


/* ============================================================
   BIO
   ============================================================ */
#bio { background: var(--bg-alt); }
.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.bio-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--pearl);
  box-shadow: var(--shadow-card);
}
.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bio-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(196, 168, 130, .08) 100%);
  z-index: 1;
  pointer-events: none;
}
.bio-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--shimmer);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 80px;
  color: var(--accent);
  font-style: italic;
  opacity: .4;
}
.bio-content p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.95;
  margin-bottom: 18px;
  font-weight: 300;
}

@media (max-width: 900px) {
  .bio-layout { grid-template-columns: 1fr; gap: 40px; }
  .bio-photo { max-width: 400px; margin: 0 auto; }
}


/* ============================================================
   PORTFOLIO — TINDER CARDS
   ============================================================ */
#portfolio { padding-top: 140px; padding-bottom: 140px; }

.portfolio-category {
  margin-bottom: 120px;
}
.portfolio-category:last-child { margin-bottom: 0; }

.category-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 48px;
}
.category-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.category-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 10px;
}
.category-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.category-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
}
.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  transition: var(--t-base);
  white-space: nowrap;
}
.category-cta:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}

/* --- Tinder deck container --- */
.deck-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}
.deck {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 620px;
  user-select: none;
  touch-action: none; /* importante para swipe sin scroll */
}

.deck-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--pearl);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), opacity var(--t-base), box-shadow var(--t-base);
  cursor: grab;
  will-change: transform, opacity;
}
.deck-card.dragging {
  transition: none;
  cursor: grabbing;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
}
.deck-card.swipe-out-left {
  transform: translateX(-140%) rotate(-18deg) !important;
  opacity: 0 !important;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .4s;
}
.deck-card.swipe-out-right {
  transform: translateX(140%) rotate(18deg) !important;
  opacity: 0 !important;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .4s;
}

.deck-card img,
.deck-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Gradiente inferior para legibilidad de contador */
.deck-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35));
  pointer-events: none;
}

.deck-badge-video {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}
.deck-badge-video::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ff4444;
  border-radius: 50%;
  animation: recPulse 1.5s infinite;
}
@keyframes recPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* Panel lateral con controles y contador */
.deck-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.deck-counter {
  font-family: var(--font-title);
  font-size: 56px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.deck-counter em {
  color: var(--accent);
  font-style: italic;
}
.deck-counter-total {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 10px;
}
.deck-hint {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.deck-controls {
  display: flex;
  gap: 12px;
}
.deck-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: var(--t-base);
  cursor: pointer;
}
.deck-btn:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.deck-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.deck-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 620px;
  border-radius: 20px;
  background: var(--shimmer);
  color: var(--muted);
  text-align: center;
  padding: 40px;
  flex-direction: column;
  gap: 12px;
  border: 1px dashed var(--border-strong);
}
.deck-empty-icon {
  font-size: 40px;
  color: var(--accent);
  opacity: .6;
}
.deck-empty-text {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--text-soft);
  font-style: italic;
}
.deck-empty-sub {
  font-size: 12px;
  color: var(--muted);
  max-width: 260px;
}

@media (max-width: 900px) {
  .category-header { grid-template-columns: 1fr; gap: 20px; }
  .deck-wrap { grid-template-columns: 1fr; gap: 32px; }
  .deck-panel { order: -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .deck-counter { font-size: 40px; }
  .deck-hint { display: none; }
  .deck { max-width: 400px; margin: 0 auto; }
  .deck-empty { max-width: 400px; margin: 0 auto; }
}


/* ============================================================
   PAQUETES DE NOVIA
   ============================================================ */
#paquetes {
  background: var(--shimmer-soft);
  position: relative;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: var(--t-base);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}
.package-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}
.package-card:hover::before { opacity: 1; }
.package-tag {
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.package-name {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 6px;
  font-style: italic;
}
.package-price {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
  letter-spacing: -.01em;
}
.package-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.package-features li {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
  font-weight: 300;
}
.package-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}


/* ============================================================
   TIMELINE — EL CAMINO A TU BODA
   ============================================================ */
#timeline {
  background: var(--bg-alt);
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 40px;
}
.timeline-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-mid) 20%, var(--accent-mid) 80%, transparent);
  z-index: 0;
}
.timeline-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.timeline-circle {
  width: 64px;
  height: 64px;
  background: var(--shimmer);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  box-shadow: var(--glow-pearl);
  position: relative;
  z-index: 2;
  background-color: var(--surface);
}
.timeline-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.005em;
}
.timeline-desc {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 900px) {
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .timeline-steps::before {
    top: 0;
    bottom: 0;
    left: 31px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--accent-mid) 10%, var(--accent-mid) 90%, transparent);
  }
  .timeline-step {
    text-align: left;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 0;
    align-items: start;
  }
  .timeline-circle { margin-bottom: 0; }
}


/* ============================================================
   FORMACIÓN — TEASER
   ============================================================ */
#formacion {
  background: var(--bg);
  position: relative;
}
.courses-teaser-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.courses-teaser-header .eyebrow { justify-content: center; }
.courses-teaser-header .eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
.course-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: var(--t-base);
  box-shadow: var(--shadow-card);
}
.course-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}
.course-mini-num {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
  font-style: italic;
  letter-spacing: .1em;
}
.course-mini-name {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.course-mini-sub {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 18px;
}
.course-mini-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .05em;
  padding: 8px 16px;
  background: var(--accent-dim);
  border-radius: 20px;
  display: inline-block;
}
.courses-cta {
  text-align: center;
}

@media (max-width: 780px) {
  .courses-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   LOGÍSTICA
   ============================================================ */
#logistica {
  background: var(--shimmer-soft);
}
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.logistics-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--t-base);
  box-shadow: var(--shadow-card);
}
.logistics-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.logistics-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.logistics-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  font-style: italic;
}
.logistics-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.8;
  font-weight: 300;
}

@media (max-width: 780px) {
  .logistics-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   FAQ
   ============================================================ */
#faq {
  background: var(--bg);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: var(--t-base);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t-fast);
  cursor: pointer;
}
.faq-q:hover { color: var(--accent); }
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--t-base);
}
.faq-item.open .faq-toggle {
  background: var(--accent);
  color: var(--surface);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  font-weight: 300;
}


/* ============================================================
   CONTACTO
   ============================================================ */
#contacto {
  background: var(--bg-alt);
  text-align: center;
}
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 40px;
  box-shadow: var(--shadow-card);
}
.contact-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 14px;
}
.contact-title em {
  font-style: italic;
  color: var(--accent);
}
.contact-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.contact-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.contact-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.contact-info-item {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .05em;
}
.contact-info-item strong {
  color: var(--text);
  font-weight: 500;
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.contact-info-item a { color: var(--accent); }
.contact-info-item a:hover { text-decoration: underline; }


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 48px 48px 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.footer-brand-wrap .footer-brand {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .04em;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.footer-brand em { font-style: italic; color: var(--accent); font-weight: 500; }
.footer-brand .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
.footer-tagline {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--accent); }
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: var(--t-base);
}
.footer-social:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-divider { height: 1px; background: var(--border); margin: 24px auto; max-width: 1200px; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}
.footer-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  transition: color var(--t-fast);
  letter-spacing: .15em;
  font-size: 10px;
  text-transform: uppercase;
}
.footer-back:hover { color: var(--accent); }

@media (max-width: 640px) {
  footer { padding: 40px 22px 24px; }
  .footer-top { gap: 24px; }
}


/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8000;
  width: 56px;
  height: 56px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 6px 24px rgba(196, 168, 130, .25), 0 0 0 0 rgba(196, 168, 130, .4);
  transition: transform var(--t-base), box-shadow var(--t-base);
  animation: waPulse 2.8s ease-in-out infinite;
}
.float-wa:hover {
  transform: scale(1.1);
  background: var(--accent);
  color: var(--surface);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(196, 168, 130, .25), 0 0 0 0 rgba(196, 168, 130, .4); }
  50% { box-shadow: 0 6px 24px rgba(196, 168, 130, .25), 0 0 0 12px rgba(196, 168, 130, 0); }
}


/* ============================================================
   PÁGINA CURSOS
   ============================================================ */
.courses-hero {
  padding: 180px 48px 80px;
  text-align: center;
  background: var(--shimmer-soft);
  position: relative;
  overflow: hidden;
}
.courses-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--shimmer);
  opacity: .3;
  animation: shimmerShift 18s ease-in-out infinite;
}
.courses-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.courses-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
}
.courses-hero h1 em { font-style: italic; color: var(--accent); }
.courses-hero p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.course-level {
  padding: 80px 48px;
  border-bottom: 1px solid var(--border);
}
.course-level:nth-child(even) { background: var(--bg-alt); }
.course-level-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.course-level-side {
  position: sticky;
  top: 100px;
}
.course-level-num {
  font-family: var(--font-title);
  font-size: 84px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  font-style: italic;
  opacity: .35;
  margin-bottom: 14px;
}
.course-level-name {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 6px;
}
.course-level-subtitle {
  font-family: var(--font-title);
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 20px;
}
.course-level-price {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 22px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  margin-bottom: 6px;
}
.course-level-pricenote {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
}
.course-level-target {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--accent-dim);
  border-left: 2px solid var(--accent);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.6;
}

.course-level-content .intro {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 32px;
  font-weight: 300;
}
.course-level-topics {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.course-topic {
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 14px;
}
.course-topic-num {
  font-family: var(--font-title);
  font-size: 14px;
  font-style: italic;
  color: var(--accent);
  min-width: 24px;
}

.course-level-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--surface);
  padding: 14px 28px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: var(--t-base);
}
.course-level-cta:hover {
  background: var(--accent-l);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .course-level { padding: 60px 22px; }
  .course-level-inner { grid-template-columns: 1fr; gap: 32px; }
  .course-level-side { position: static; }
  .course-level-num { font-size: 60px; }
}

.includes-section {
  padding: 120px 48px;
  background: var(--shimmer-soft);
}
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.include-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.include-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.include-card h4 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  font-style: italic;
}
.include-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
}

.format-section {
  padding: 120px 48px;
  background: var(--bg-alt);
}
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.format-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.format-card h4 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  font-style: italic;
}
.format-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.85;
  font-weight: 300;
}

@media (max-width: 780px) {
  .includes-section, .format-section { padding: 72px 22px; }
  .format-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
