/* ============================================================
   ROOT
============================================================ */
:root {
  --orange:       #E9983E;
  --orange-light: #F9C178;
  --purple:       #86318B;
  --purple-dark:  #1a0a1e;
  --purple-mid:   #2d0d33;
  --black:        #0a0a0a;
  --white:        #ffffff;
  --warm-off:     #f8f4ef;
  --warm-mid:     #f0e8de;

  --font-sans:  'Google Sans Flex', 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --grad-brand: linear-gradient(135deg, #1a0a1e 0%, #86318B 45%, #E9983E 80%, #F9C178 100%);
  --grad-hero:  linear-gradient(135deg, #1a0a1e 0%, #3d1545 55%, #5a1f61 100%);

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --trans:      all 0.3s var(--ease);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sh-sm: 0 4px 12px rgba(0,0,0,0.09);
  --sh-md: 0 8px 28px rgba(0,0,0,0.14);
  --sh-lg: 0 16px 48px rgba(0,0,0,0.2);
  --sh-xl: 0 24px 64px rgba(0,0,0,0.26);
}

/* ============================================================
   LOADER
============================================================ */
#pageLoader {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99999;
  background: var(--purple-dark);
  display: flex; align-items: center; justify-content: center;
  /* iOS: prevent rubber-band scroll from revealing content below */
  -webkit-overflow-scrolling: none;
  touch-action: none;
}
.loader-iso-circle {
  width: 88px; height: 88px;
  /* no filter in will-change — avoids iOS compositing bug with SVG */
  will-change: transform, opacity;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1120px;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 10px 18px;
  z-index: 1000;
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
  /* Solo transicionar propiedades visuales; max-width lo maneja GSAP */
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 36px rgba(0,0,0,0.11);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: #fff; letter-spacing: -0.5px;
}
.nav-logo-text {
  font-size: 15px; font-weight: 700;
  color: var(--black); letter-spacing: -0.3px;
}
.nav-links {
  display: flex; align-items: center; gap: 26px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: #555;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: #fff;
  font-size: 13.5px; font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--trans);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--purple); transform: translateY(-1px); }
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: background 0.25s var(--ease);
}
/* Nav oscuro (glass) → hamburger blanco */
.nav.glass .nav-burger span { background: #fff; }

/* Mobile drawer */
.nav-drawer {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed; inset: 0;
  background: rgba(18,6,22,0.96);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 1001;
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.nav-drawer.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer a {
  font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.85);
  letter-spacing: -0.3px;
  transition: color 0.18s, transform 0.18s;
  transform: translateY(0);
}
.nav-drawer a:hover  { color: var(--orange); transform: translateY(-2px); }
.nav-drawer a:active { transform: translateY(0); }

/* Línea separadora decorativa */
.nav-drawer::before {
  content: '';
  position: absolute;
  width: 48px; height: 3px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--purple), var(--orange));
  top: calc(50% - 140px);
  opacity: 0.5;
}

/* CTA en el drawer */
.nav-drawer .drawer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 1rem; font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  margin-top: 8px;
  transition: background 0.2s, transform 0.18s;
}
.nav-drawer .drawer-cta:hover { background: var(--purple); transform: translateY(-2px) !important; }

.nav-drawer-close {
  position: absolute; top: 26px; right: 26px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 18px; cursor: pointer; line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.nav-drawer-close:hover { background: rgba(233,152,62,0.2); color: var(--orange); }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-orb-a {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,152,62,0.22) 0%, transparent 68%);
  top: -160px; right: -120px; pointer-events: none;
}
.hero-orb-b {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(134,49,139,0.35) 0%, transparent 68%);
  bottom: 60px; left: -120px; pointer-events: none;
}
.hero-body {
  flex: 1; display: flex; align-items: center;
  padding-top: 104px; padding-bottom: 48px;
  position: relative; z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(233,152,62,0.3);
  padding: 6px 14px; border-radius: 50px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--orange-light); margin-bottom: 26px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%;
}
.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.7rem);
  font-weight: 700; color: #fff;
  letter-spacing: -1.5px; line-height: 1.08;
  margin-bottom: 22px;
}
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  color: var(--orange-light);
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75; margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  background: var(--orange); color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: 50px;
  transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--orange-light); color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(233,152,62,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 15px; font-weight: 500;
  padding: 14px 24px; border-radius: 50px;
  transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); }

/* Photo card */
.hero-photo-wrap { position: relative; }
.hero-photo-frame {
  width: 100%; aspect-ratio: 4/5;
  border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(145deg, #2d0d33 0%, #86318B 100%);
  position: relative;
}
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  opacity: 0.32;
}
.photo-placeholder svg { width: 60px; height: 60px; color: #fff; }
.photo-placeholder span { color: #fff; font-size: 13px; font-weight: 500; }

.hero-badge-social {
  position: absolute; bottom: -18px; left: -18px;
  background: #fff; border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--sh-xl);
  display: flex; align-items: center; gap: 12px;
  z-index: 10;
}
.avatar-row { display: flex; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #fff;
  margin-right: -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
}
.av1 { background: var(--orange); }
.av2 { background: var(--purple); }
.av3 { background: #c47d2a; }
.av4 { background: var(--black); font-size: 9px; }
.badge-social-text { font-size: 12px; font-weight: 600; color: var(--black); line-height: 1.35; }
.badge-social-text span { display: block; font-size: 11px; font-weight: 400; color: #888; }

.hero-badge-years {
  position: absolute; top: 20px; right: -16px;
  background: var(--orange); color: #fff;
  border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--sh-lg); text-align: center;
}
.badge-num { font-size: 26px; font-weight: 800; line-height: 1; }
.badge-label { font-size: 10px; opacity: 0.85; margin-top: 3px; line-height: 1.3; }

/* Stats bar */
.hero-stats {
  background: rgba(0,0,0,0.18);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 26px 0; position: relative; z-index: 1;
}
.hero-stats-row {
  display: flex; align-items: center; justify-content: center;
}
.stat-item { text-align: center; padding: 0 44px; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.1); }
.stat-num {
  font-size: 2rem; font-weight: 800;
  color: var(--orange); letter-spacing: -1px; line-height: 1;
}
.stat-label {
  font-size: 12px; color: rgba(255,255,255,0.45);
  margin-top: 4px; text-transform: uppercase; letter-spacing: 0.4px;
}

/* ============================================================
   TRUST BAR
============================================================ */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-bar {
  background: var(--purple-dark); padding: 16px 0; overflow: hidden;
}
.trust-inner {
  display: flex; align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}
.trust-inner:hover { animation-play-state: paused; }
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 28px;
  font-size: 12.5px; font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.3px;
  white-space: nowrap;
}
.trust-dot {
  width: 5px; height: 5px;
  background: var(--orange); border-radius: 50%; flex-shrink: 0;
}

/* ============================================================
   SECTION BASE
============================================================ */
section { padding: 100px 0; }

.sec-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-badge .dot { width: 6px; height: 6px; border-radius: 50%; }

.sec-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 700; letter-spacing: -1px; line-height: 1.12;
  margin-bottom: 16px;
}
.sec-title em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
}
.sec-sub {
  font-size: 1.05rem; line-height: 1.72;
  opacity: 0.62; max-width: 540px;
}

/* ============================================================
   EL PROBLEMA
============================================================ */
#problema { background: var(--warm-off); }
.problema-head { margin-bottom: 52px; }
.problema-head .sec-badge { color: var(--purple); }
.problema-head .sec-badge .dot { background: var(--purple); }
.problema-head .sec-title { color: var(--black); }
.problema-head .sec-sub   { color: #555; }

.problema-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.pain-card {
  background: #fff; border-radius: var(--r-lg);
  padding: 32px 26px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--trans); position: relative; overflow: hidden;
}
.pain-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.pain-card:hover::after { transform: scaleX(1); }

.pain-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pi-orange { background: rgba(233,152,62,0.11); color: var(--orange); }
.pi-purple { background: rgba(134,49,139,0.11); color: var(--purple); }
.pi-dark   { background: rgba(26,10,30,0.08);   color: var(--purple); }

.pain-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--black);
  margin-bottom: 10px; letter-spacing: -0.2px;
}
.pain-card p { font-size: 0.88rem; color: #666; line-height: 1.68; }

.pain-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-size: 14px; font-weight: 600;
  margin-top: 40px; transition: gap 0.2s;
}
.pain-link:hover { gap: 12px; }

/* ============================================================
   PLANES
============================================================ */
#planes { background: linear-gradient(160deg, #1A0320 0%, #2D0733 60%, #1A0015 100%); position: relative; overflow: hidden; }
#planes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(134,49,139,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(233,152,62,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.planes-head { margin-bottom: 52px; }
.planes-head .sec-badge { color: var(--orange-light); }
.planes-head .sec-badge .dot { background: var(--orange); }
.planes-head .sec-title { color: #fff; }
.planes-head .sec-sub   { color: rgba(255,255,255,0.52); }

.planes-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; align-items: start;
}
.plan-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.25s, background 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.plan-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(233,152,62,0.35);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px rgba(233,152,62,0.15);
}
.plan-card.featured {
  background: var(--orange);
  border-color: transparent;
  box-shadow: 0 24px 64px rgba(233,152,62,0.45);
}
.plan-card.featured:hover {
  background: #C97530;
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 80px rgba(233,152,62,0.6);
}

.plan-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px;
  margin-bottom: 20px; display: inline-block;
}
.pt-orange  { background: var(--orange); color: #fff; }
.pt-outline { border: 1px solid var(--orange); color: var(--orange-light); }
.pt-muted   { border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.38); }

.plan-name {
  font-size: 1.65rem; font-weight: 800; color: #fff;
  letter-spacing: -0.5px; margin-bottom: 4px;
}
.plan-tagline { font-size: 13px; color: rgba(255,255,255,0.42); margin-bottom: 26px; }

.plan-price {
  margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.plan-amount {
  font-size: 3rem; font-weight: 800; color: #fff;
  letter-spacing: -2px; line-height: 1;
}
.plan-currency {
  font-size: 1.15rem; font-weight: 500;
  color: var(--orange-light);
  vertical-align: super; margin-right: 2px;
}
.plan-note { font-size: 12px; color: rgba(255,255,255,0.38); margin-top: 7px; }

.plan-features {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,0.68); line-height: 1.45;
}
.plan-features li::before {
  content: '';
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  border: 1.5px solid var(--orange);
  background: rgba(233,152,62,0.15)
    url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L3 5L7 1' stroke='%23E9983E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center;
}

.plan-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 22px; border-radius: 50px;
  font-size: 14px; font-weight: 600;
  transition: var(--trans); width: 100%; cursor: pointer;
  font-family: var(--font-sans);
}
.pb-orange {
  background: var(--orange); color: #fff; border: none;
}
.pb-orange:hover {
  background: var(--orange-light); color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(233,152,62,0.28);
}
.pb-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.75);
}
.pb-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.plan-card.featured .plan-btn {
  background: var(--white);
  color: var(--orange);
  border-color: transparent;
  font-weight: 700;
}
.plan-card.featured .plan-btn:hover {
  background: var(--warm-off);
  transform: translateY(-1px);
}

/* ============================================================
   FORMULARIO INTELIGENTE (DIAGNÓSTICO)
============================================================ */
#diagnostico { background: var(--warm-off); }
.diag-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.diag-head .sec-badge { color: var(--orange); justify-content: center; }
.diag-head .sec-badge .dot { background: var(--orange); }
.diag-head .sec-title { color: var(--black); }
.diag-head .sec-sub { color: #555; margin: 0 auto; }

.diag-card {
  max-width: 640px; margin: 0 auto;
  background: #fff; border-radius: var(--r-xl);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--sh-lg);
  padding: 44px 48px;
  position: relative; overflow: hidden;
}

/* Progress bar */
.diag-progress { margin-bottom: 36px; }
.diag-progress-bar {
  height: 4px; border-radius: 4px; background: rgba(0,0,0,0.06);
  overflow: hidden; margin-bottom: 14px;
}
.diag-progress-fill {
  height: 100%; width: 33.33%; border-radius: 4px;
  background: var(--orange); transition: width 0.45s var(--ease);
}
.diag-progress-steps { display: flex; justify-content: space-between; }
.diag-step-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.3px;
  color: rgba(0,0,0,0.28); transition: color 0.3s ease;
}
.diag-step-label.active { color: var(--orange); }

/* Steps */
.diag-step { display: none; }
.diag-step.active { display: block; animation: diagFadeIn 0.4s ease; }
@keyframes diagFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.diag-q {
  font-size: 1.3rem; font-weight: 700; color: var(--black);
  letter-spacing: -0.4px; margin-bottom: 24px; line-height: 1.3;
}
.diag-q-sub {
  font-size: 13.5px; color: #777; line-height: 1.55;
  margin-top: -16px; margin-bottom: 24px;
}

.diag-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: rgba(0,0,0,0.4);
  margin-bottom: 18px; padding: 0; transition: color 0.2s;
}
.diag-back:hover { color: var(--orange); }

/* Options (quiz buttons) */
.diag-options { display: flex; flex-direction: column; gap: 12px; }
.diag-opt {
  display: flex; align-items: flex-start; gap: 14px;
  text-align: left; width: 100%;
  background: var(--warm-off); border: 1.5px solid transparent;
  border-radius: var(--r-md); padding: 16px 18px;
  cursor: pointer; transition: var(--trans); font-family: var(--font-sans);
}
.diag-opt:hover { background: #f3ebe0; }
.diag-opt.selected {
  background: rgba(233,152,62,0.08); border-color: var(--orange);
}
.diag-opt-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(233,152,62,0.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.diag-opt.selected .diag-opt-icon { background: var(--orange); color: #fff; }
.diag-opt-text { display: flex; flex-direction: column; gap: 3px; }
.diag-opt-text strong { font-size: 14.5px; color: var(--black); letter-spacing: -0.1px; }
.diag-opt-text small { font-size: 12.5px; color: #777; line-height: 1.4; }

/* Result banner */
.diag-result {
  background: linear-gradient(135deg, #1a0a1e 0%, #86318B 45%, #E9983E 100%);
  border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 28px;
  text-align: center;
}
.diag-result-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 6px;
}
.diag-result-name {
  font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}
.diag-result-lead {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.92);
  margin-top: 6px;
}
.diag-result-desc {
  font-size: 13.5px; color: rgba(255,255,255,0.75);
  line-height: 1.6; margin-top: 10px; max-width: 440px;
  margin-left: auto; margin-right: auto;
}
.diag-result-price {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.diag-result-price-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.diag-result-price-amount {
  font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}

/* Contact fields */
.diag-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px;
}
.diag-field { display: flex; flex-direction: column; gap: 6px; }
.diag-field label { font-size: 12.5px; font-weight: 600; color: #555; }
.diag-field input {
  font-family: var(--font-sans); font-size: 14.5px;
  padding: 13px 16px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(0,0,0,0.1); background: var(--warm-off);
  color: var(--black); transition: border-color 0.2s, background 0.2s;
}
.diag-field input::placeholder { color: rgba(0,0,0,0.32); }
.diag-field input:focus {
  outline: none; border-color: var(--orange); background: #fff;
}
.diag-field input.invalid { border-color: #d64545; }

.diag-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px 24px; border-radius: 50px;
  background: var(--orange); color: #fff; border: none;
  font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: var(--trans);
}
.diag-submit:hover { background: #C97530; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(233,152,62,0.28); }
.diag-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.diag-trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 18px; margin-top: 18px; list-style: none;
}
.diag-trust li {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: rgba(0,0,0,0.5);
}
.diag-trust li::before {
  content: '';
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  background: rgba(233,152,62,0.15)
    url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L3 5L7 1' stroke='%23E9983E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center;
}

/* Success state */
.diag-success { text-align: center; padding: 12px 0; }
.diag-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(233,152,62,0.12); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.diag-success h3 { font-size: 1.3rem; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.diag-success p { font-size: 14px; color: #666; line-height: 1.6; max-width: 420px; margin: 0 auto 26px; }
.diag-success-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--orange); color: #fff; padding: 14px 26px;
  border-radius: 50px; font-size: 14.5px; font-weight: 700;
  transition: var(--trans);
}
.diag-success-cta:hover { background: #C97530; transform: translateY(-2px); }

/* ============================================================
   METODOLOGÍA
============================================================ */
#metodologia { background: var(--white); }
.metodologia-head { margin-bottom: 64px; }
.metodologia-head .sec-badge { color: var(--orange); }
.metodologia-head .sec-badge .dot { background: var(--orange); }

.metodologia-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.steps { display: flex; flex-direction: column; gap: 0; }
.step  { display: flex; gap: 20px; padding-bottom: 38px; }
.step:last-child { padding-bottom: 0; }
.step-line { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-connector {
  width: 2px; flex: 1; min-height: 26px; margin-top: 8px;
  background: linear-gradient(to bottom, var(--orange), var(--orange-light));
}
.step:last-child .step-connector { display: none; }
.step-body { padding-top: 8px; }
.step-body h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--black);
  margin-bottom: 6px; letter-spacing: -0.2px;
}
.step-body p { font-size: 0.88rem; color: #666; line-height: 1.65; }

.valores-title { font-size: 0.9rem; font-weight: 600; color: #888; margin-bottom: 20px; }
.valores-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.valor-card {
  background: var(--warm-off); border-radius: var(--r-md);
  padding: 22px; transition: var(--trans);
}
.valor-card:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.valor-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 13px;
}
.valor-card h4 { font-size: 0.93rem; font-weight: 700; color: var(--black); margin-bottom: 5px; }
.valor-card p  { font-size: 0.82rem; color: #777; line-height: 1.57; }

/* ============================================================
   SOBRE MÍ
============================================================ */
#sobre-mi { background: var(--purple-dark); }

.credential-badges {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.cred-badge {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.sobre-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 64px; align-items: center;
}
.sobre-photo-wrap { position: relative; }
.sobre-frame {
  aspect-ratio: 3/4; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(140deg, #3D0A42 0%, #86318B 55%, rgba(233,152,62,0.4) 100%);
  border: 1px solid rgba(249,193,120,0.15);
  position: relative;
}
.sobre-badge {
  position: absolute; bottom: 28px; right: -18px;
  background: var(--orange); color: #fff;
  border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--sh-lg); text-align: center;
}
.sobre-badge .big   { font-size: 28px; font-weight: 800; line-height: 1; }
.sobre-badge .small { font-size: 11px; opacity: 0.85; margin-top: 3px; }

.sobre-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

.sobre-content .sec-badge { color: var(--orange-light); }
.sobre-content .sec-badge .dot { background: var(--orange); }
.sobre-content .sec-title { color: #fff; margin-bottom: 22px; }
.sobre-bio {
  font-size: 1rem; color: rgba(255,255,255,0.62); line-height: 1.78;
  margin-bottom: 20px;
}
.sobre-bio strong { color: var(--orange-light); font-weight: 600; }
.sobre-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 36px; }
.sobre-stat .num { font-size: 2.2rem; font-weight: 800; color: var(--orange); letter-spacing: -1px; }
.sobre-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.42); margin-top: 2px; }

/* ============================================================
   TESTIMONIOS
============================================================ */
#testimonios { background: var(--warm-off); }
.testi-head { margin-bottom: 52px; }
.testi-head .sec-badge { color: var(--purple); }
.testi-head .sec-badge .dot { background: var(--purple); }

.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
}
.testi-card {
  background: #fff; border-radius: var(--r-lg);
  padding: 28px; border: 1px solid rgba(0,0,0,0.06);
  transition: var(--trans);
}
.testi-card:hover {
  border-color: rgba(233,152,62,0.3);
  box-shadow: 0 8px 32px rgba(233,152,62,0.1);
}
.testi-stars { color: var(--orange); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-quote {
  font-size: 0.88rem; color: #444; line-height: 1.72;
  font-style: italic; margin-bottom: 20px;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.06);
}
.testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.ta1 { background: var(--orange); }
.ta2 { background: var(--purple); }
.ta3 { background: #c47d2a; }
.ta4 { background: var(--purple-dark); }
.ta5 { background: #2d8b7a; }
.ta6 { background: #a0384e; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--black); }
.testi-role { font-size: 12px; color: #888; }

/* ============================================================
   FAQ
============================================================ */
#faq { background: var(--purple-mid); }
.faq-head { margin-bottom: 52px; text-align: center; }
.faq-head .sec-badge { color: var(--orange-light); justify-content: center; }
.faq-head .sec-badge .dot { background: var(--orange); }
.faq-head .sec-title { color: #fff; }

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(233,152,62,0.3); }

.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  padding: 20px 24px;
  font-size: 15px; font-weight: 600; color: #fff;
  cursor: pointer; background: none; border: none;
  text-align: left; font-family: var(--font-sans);
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--orange);
  font-size: 18px; font-weight: 300; line-height: 1;
  transition: var(--trans);
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: rgba(233,152,62,0.12);
  color: var(--orange);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.38s var(--ease); }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14px; color: rgba(255,255,255,0.58); line-height: 1.78;
}

/* ============================================================
   CTA FINAL
============================================================ */
@keyframes gradMove {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
#cta {
  background: var(--grad-brand);
  background-size: 220% 220%;
  animation: gradMove 14s ease infinite;
  padding: 120px 0; text-align: center;
  position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(20,6,24,0.28);
}
.cta-inner { position: relative; z-index: 1; }
.cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 14px; border-radius: 50px;
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,0.88); letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 24px;
}
.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 800; color: #fff;
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 18px;
}
.cta-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.cta-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  margin-bottom: 40px; max-width: 460px;
  margin-left: auto; margin-right: auto;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--black);
  font-size: 16px; font-weight: 700;
  padding: 16px 36px; border-radius: 50px;
  transition: var(--trans);
  box-shadow: 0 8px 36px rgba(0,0,0,0.22);
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 52px rgba(0,0,0,0.3); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--purple-dark); padding: 40px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-brand { display: flex; align-items: center; }
.footer-logo  { height: 34px; width: auto; display: block; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500;
  padding: 10px 18px; border-radius: 50px; transition: var(--trans);
}
.footer-wa:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--orange); }
.footer-location { color: rgba(255,255,255,0.18) !important; font-size: 11px !important; }

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-wrap { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-photo-frame { aspect-ratio: 4/3; }
  .hero-badge-years { right: 8px; }
  .hero-badge-social { left: 8px; }
  .hero-stats-row { flex-wrap: wrap; justify-content: flex-start; }
  .stat-item { padding: 0 28px; min-width: 130px; }

  .problema-grid { grid-template-columns: 1fr; }
  .planes-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-4px); }

  .metodologia-layout { grid-template-columns: 1fr; gap: 52px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 44px; }
  .sobre-photo-wrap { max-width: 300px; margin: 0 auto; }
  .sobre-badge { right: -10px; }

  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner  { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }

  .diag-card { padding: 36px 28px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.1rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .sobre-stats { gap: 22px; }
  .hero-stats-row { justify-content: center; }
  .trust-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 16px; }

  .diag-card { padding: 28px 18px; border-radius: var(--r-lg); }
  .diag-q { font-size: 1.1rem; }
  .diag-q-sub { margin-top: -12px; }
  .diag-fields { grid-template-columns: 1fr; }
  .diag-progress-steps { font-size: 10px; }
  .diag-opt { padding: 13px 14px; gap: 11px; }
  .diag-result-name { font-size: 1.5rem; }
  .diag-trust { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   HIGHLIGHTS CAROUSEL
============================================================ */
#highlights {
  background: var(--purple-dark);
  padding: 100px 0 72px;
  overflow: hidden;
}

.hl-header { margin-bottom: 52px; }
.hl-header .sec-badge       { color: var(--orange-light); }
.hl-header .sec-badge .dot  { background: var(--orange); }
.hl-header .sec-title       { color: #fff; }

/* Track wrapper — clips overflow and enables grab cursor */
.hl-viewport {
  overflow: hidden;
  cursor: grab;
  padding: 16px 0 48px;
  -webkit-user-select: none;
  user-select: none;
}
.hl-viewport.grabbing { cursor: grabbing; }

/* The sliding track */
.hl-track {
  display: flex;
  gap: 20px;
  /* First card aligns with the container's left edge */
  padding-left: max(28px, calc((100vw - 1160px) / 2 + 28px));
  padding-right: 60px;
  will-change: transform;
}

/* Card */
.hl-card {
  flex-shrink: 0;
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(0,0,0,0.36);
}

/* Image zone */
.hl-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.hl-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  pointer-events: none;
}
.hl-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.hl-ph-icon { width: 44px; height: 44px; opacity: 0.2; color: #fff; }

/* Gradient placeholders — replace with <img> when photos are ready */
.hl-ph-1 { background: linear-gradient(155deg, #2d0d33 0%, #86318B 100%); }
.hl-ph-2 { background: linear-gradient(155deg, #1a0a1e 0%, #c47d2a 100%); }
.hl-ph-3 { background: linear-gradient(155deg, #0d1a2d 0%, #2d5a86 100%); }
.hl-ph-4 { background: linear-gradient(155deg, #2d1a0d 0%, #E9983E 100%); }
.hl-ph-5 { background: linear-gradient(155deg, #0d2d1e 0%, #2d8b7a 100%); }
.hl-ph-6 { background: linear-gradient(155deg, #2d0d1a 0%, #a0384e 100%); }
.hl-ph-7 { background: linear-gradient(155deg, #1a0a1e 0%, #86318B 50%, #E9983E 100%); }
.hl-ph-8 { background: linear-gradient(155deg, #3d1545 0%, #E9983E 100%); }

/* Card info zone */
.hl-info   { padding: 18px 20px 22px; }
.hl-tag    {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.hl-caption {
  font-size: 15px; font-weight: 600;
  color: #fff; line-height: 1.4; margin-bottom: 6px;
}
.hl-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.42);
  line-height: 1.55;
}

/* Dot navigation */
.hl-nav  { display: flex; justify-content: center; padding-top: 8px; }
.hl-dots { display: flex; gap: 8px; align-items: center; }
.hl-dot  {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.hl-dot.active {
  width: 22px;
  background: var(--orange);
}

@media (max-width: 960px) {
  .hl-track { padding-left: 28px; }
  .hl-card  { width: 260px; }
}
@media (max-width: 640px) {
  .hl-card { width: 230px; }
}

/* ============================================================
   NAV — SVG LOGOS
============================================================ */
.nav-isotipo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
  display: none;
}
.nav-logo-full {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}

/* Island compact: ocultar texto del CTA, solo ícono */
.nav.island .cta-text { display: none; }
.nav.island .nav-cta  { padding: 10px 14px; gap: 0; }

/* Island expandido: restaurar CTA completo y apretar links */
.nav.island.expanded .cta-text       { display: inline; }
.nav.island.expanded .nav-cta        { padding: 10px 20px; gap: 6px; }
.nav.island.expanded .nav-links      { gap: 18px; }
.nav.island.expanded .nav-links a    { font-size: 13px; }

/* Links en glass oscuro → texto claro */
.nav.glass .nav-links a              { color: rgba(255,255,255,0.82); }
.nav.glass .nav-links a:hover        { color: var(--orange); }

/* Glass sobre sección clara → texto oscuro */
.nav.glass.light-bg .nav-links a     { color: rgba(30,10,35,0.72); }
.nav.glass.light-bg .nav-links a:hover { color: var(--orange); }

/* Móvil: ocultar texto CTA para no colapsar el nav */
@media (max-width: 640px) {
  .nav .cta-text { display: none; }
  .nav .nav-cta  { padding: 10px 12px; gap: 0; }
}

/* ============================================================
   DYNAMIC ISLAND — LIQUID GLASS (Vision Pro style)
============================================================ */
@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes iridescent {
  to { --border-angle: 360deg; }
}

/* Glass — todos los dispositivos al hacer scroll */
.nav.glass {
  background: rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(36px) saturate(220%) brightness(1.12);
  -webkit-backdrop-filter: blur(36px) saturate(220%) brightness(1.12);
  border-color: transparent !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.14) inset,
    0 10px 48px rgba(0, 0, 0, 0.22),
    0 0 100px rgba(233,152,62,0.07);
}

/* Mobile: glass más opaco para mejor legibilidad */
@media (max-width: 960px) {
  .nav.glass {
    background: rgba(10, 10, 20, 0.82) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

/* Iridescent spinning border */
.nav.island::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 50px;
  background: conic-gradient(
    from var(--border-angle),
    rgba(255,255,255,0.04)  0%,
    rgba(249,193,120,0.95) 14%,
    rgba(255,255,255,0.98) 26%,
    rgba(134, 49,139,0.90) 40%,
    rgba(233,152, 62,0.92) 56%,
    rgba(255,255,255,0.92) 70%,
    rgba(249,193,120,0.75) 84%,
    rgba(255,255,255,0.04) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1.5px;
  animation: iridescent 4s linear infinite;
  pointer-events: none;
  z-index: -1;
}

/* Specular highlight follows cursor */
.nav.island::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 30%),
    rgba(255,255,255,0.24) 0%,
    rgba(255,255,255,0.07) 38%,
    transparent 68%
  );
  pointer-events: none;
}

/* ============================================================
   WORD SPANS — blur reveal
============================================================ */
.word {
  display: inline-block;
  will-change: filter, opacity, transform;
}

/* ============================================================
   HERO PHOTO
============================================================ */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/*Estilos generales del boton whatsapp*/
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: breathe 2s ease-in-out infinite;
  }
  
  /*Estilos solo al icono whatsapp*/
  .whatsapp-btn i {
  color: #fff;
  font-size: 24px;
  animation: beat 2s ease-in-out infinite;
  text-decoration: none;
  }

  /*Estilos con animation contorno respirando*/
  @keyframes breathe {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
    }
    
    /*Estilos de animacion del icono latiendo*/
    @keyframes beat {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
    }

