
/* FIX: ocultar menú móvil en escritorio */
.nav-mobile{ display:none !important; }
.nav-mobile.is-open{ display:none !important; }
@media (max-width: 1020px){
  .nav-mobile.is-open{ display:grid !important; }
}
:root{
  --brand-green: #01D555;
  --brand-navy: #000030;

  --bg: #ffffff;
  --bg-soft: rgba(0,0,48,.03);
  --text: #0b1020;
  --muted: rgba(11,16,32,.72);

  --card: #ffffff;
  --line: rgba(0,0,0,.10);

  --shadow: 0 18px 50px rgba(0,0,0,.10);
  --shadow-soft: 0 12px 30px rgba(0,0,0,.06);

  --radius: 18px;
  --radius-lg: 26px;

  --container: 1140px;
  --focus: 0 0 0 4px rgba(1,213,85,.22);
}

[data-theme="dark"]{
  --bg: #05051a;
  --bg-soft: rgba(1,213,85,.07);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --card: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.12);
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow-soft: 0 12px 30px rgba(0,0,0,.45);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 4px; }
button, input, select { font: inherit; }

.container{
  width:min(var(--container), calc(100% - 2rem));
  margin-inline:auto;
}
.narrow{ width:min(880px, calc(100% - 2rem)); }

.skip-link{
  position:absolute;
  left:-999px; top:0;
  background:#000;
  color:#fff;
  padding:.75rem 1rem;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:1rem; top:1rem; }

.topbar{
  background: linear-gradient(90deg, rgba(1,213,85,.26), rgba(0,0,48,.10));
  border-bottom: 1px solid var(--line);
}
.topbar__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding: .5rem 0;
}
.topbar__msg{ margin:0; font-weight:800; color: rgba(0,0,48,.85); }
[data-theme="dark"] .topbar__msg{ color: rgba(255,255,255,.86); }
.topbar__btn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 800;
  cursor:pointer;
}
[data-theme="dark"] .topbar__btn{ background: rgba(255,255,255,.06); color: var(--text); }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .site-header{ background: rgba(5,5,26,.75); }

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand__logo{ height:44px; width:auto; }

.nav-desktop{
  display:flex;
  align-items:center;
  gap: .95rem;
}
.navlink{
  font-weight: 800;
  color: rgba(0,0,48,.86);
}
[data-theme="dark"] .navlink{ color: rgba(255,255,255,.80); }
.navlink.is-active{
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(1,213,85,.85);
}

.header-cta{
  display:flex;
  gap: .6rem;
  align-items:center;
}
.burger{
  display:none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 14px;
  cursor:pointer;
}
.burger span{
  display:block;
  width: 20px;
  height: 2px;
  background: rgba(0,0,48,.85);
  margin: 5px auto;
  border-radius: 10px;
}
[data-theme="dark"] .burger span{ background: rgba(255,255,255,.85); }

.nav-mobile{
  display:none;
  gap: .7rem;
  padding: .9rem 0 1.2rem;
}
.nav-mobile .navlink{
  padding: .65rem .9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.60);
}
[data-theme="dark"] .nav-mobile .navlink{ background: rgba(255,255,255,.04); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .92rem 1.1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration:none !important;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active{ transform: translateY(1px); }
.btn:focus{ outline: none; box-shadow: var(--focus); }

.btn--sm{ padding: .65rem .85rem; border-radius: 14px; }

.btn--primary{
  background: var(--brand-green);
  color: var(--brand-navy);
  box-shadow: 0 14px 35px rgba(1,213,85,.28);
}
.btn--primary:hover{ box-shadow: 0 18px 44px rgba(1,213,85,.38); }

.btn--ghost{
  background: transparent;
  border-color: rgba(0,0,48,.20);
  color: rgba(0,0,48,.92);
}
[data-theme="dark"] .btn--ghost{
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.88);
}

.btn--block{ width:100%; }

.section{ padding: 3.2rem 0; }
.section-head{ margin-bottom: 1.25rem; }
.section-head h2, .section h2{
  margin:0 0 .35rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing:-0.03em;
}
.lead{ margin:.35rem 0 0; font-size: 1.08rem; color: var(--muted); }
.section-cta{ margin-top: 1.2rem; }
.cta-row{ display:flex; gap:.8rem; flex-wrap:wrap; margin-top: 1rem; }

.grid{ display:grid; gap: 1rem; }
.cards-4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hero{
  position: relative;
  padding: 2.6rem 0 0;
}
.hero::before{
  content:"";
  position:absolute;
  inset: -30% -15% auto -15%;
  height: 700px;
  background:
    radial-gradient(closest-side, rgba(1,213,85,.45), transparent 62%),
    radial-gradient(closest-side, rgba(0,0,48,.22), transparent 70%),
    radial-gradient(closest-side, rgba(1,213,85,.10), transparent 72%);
  filter: blur(12px);
  pointer-events:none;
}
.hero-wave{
  height: 90px;
  background:
    linear-gradient(180deg, transparent, rgba(1,213,85,.12)),
    radial-gradient(110% 120% at 0% 100%, rgba(1,213,85,.22), transparent 55%),
    radial-gradient(120% 120% at 100% 0%, rgba(0,0,48,.10), transparent 55%);
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 2.2rem;
}
[data-theme="dark"] .hero-wave{ border-top: 1px solid rgba(255,255,255,.08); }

.hero-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.2rem;
  align-items: start;
}
.hero-copy h1{
  margin: .7rem 0 .65rem;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-badges{ display:flex; flex-wrap:wrap; gap:.55rem; }

.pill{
  display:inline-flex;
  align-items:center;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}
[data-theme="dark"] .pill{ background: rgba(255,255,255,.05); }
.pill--green{ border-color: rgba(1,213,85,.55); background: rgba(1,213,85,.14); color: rgba(0,0,48,.92); }
.pill--navy{ border-color: rgba(0,0,48,.20); background: rgba(0,0,48,.10); color: rgba(0,0,48,.90); }
[data-theme="dark"] .pill--navy{ color: rgba(255,255,255,.86); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.pill--soft{ border-color: rgba(0,0,0,.10); }

.stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.15rem 0 1rem;
}
.stat{
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow-soft);
  padding: .85rem .9rem;
}
[data-theme="dark"] .stat{ background: rgba(255,255,255,.04); }
.stat__n{ margin:0; font-size: 1.35rem; font-weight: 900; color: rgba(0,0,48,.95); }
[data-theme="dark"] .stat__n{ color: rgba(255,255,255,.90); }
.stat__t{ margin:.05rem 0 0; color: var(--muted); font-weight: 700; }

.checks{ margin: 0; padding-left: 1.1rem; color: rgba(0,0,48,.88); font-weight: 650; }
[data-theme="dark"] .checks{ color: rgba(255,255,255,.86); }
.checks li{ margin:.42rem 0; }

.hero-panel{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
  overflow:hidden;
}
[data-theme="dark"] .hero-panel{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
}
.panel-head{
  padding: 1.1rem 1.15rem .6rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(1,213,85,.22), transparent 55%),
    radial-gradient(120% 120% at 100% 30%, rgba(0,0,48,.10), transparent 55%);
}
.panel-title{ margin:0; font-size: 1.25rem; }
.panel-subtitle{ margin:.25rem 0 0; color: var(--muted); font-weight: 650; }

.form{
  display:grid;
  gap: .9rem;
  padding: 1rem 1.15rem 1.15rem;
}
.field label{
  display:block;
  font-weight: 900;
  font-size: .92rem;
  margin-bottom: .35rem;
}
input, select{
  width: 100%;
  padding: .86rem .92rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.14);
  outline: none;
  background: rgba(255,255,255,.88);
  color: var(--text);
}
[data-theme="dark"] input, [data-theme="dark"] select{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.16);
}
input:focus, select:focus{ box-shadow: var(--focus); border-color: rgba(1,213,85,.78); }
.hint{ display:block; min-height: 1.1em; font-size: .85rem; color: rgba(255,60,60,.92); margin-top: .25rem; }
.fineprint{ margin:.2rem 0 0; font-size:.86rem; color: var(--muted); }

.hero-media{
  grid-column: 1 / -1;
  display:none;
}
.device{
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}
[data-theme="dark"] .device{ background: rgba(255,255,255,.04); }

.section--spotlight{
  background: linear-gradient(180deg, var(--bg), var(--bg-soft), var(--bg));
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
[data-theme="dark"] .section--spotlight{
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.section--gradient{
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(1,213,85,.18), transparent 50%),
    radial-gradient(90% 110% at 100% 20%, rgba(0,0,48,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg));
}

.section--final{
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(1,213,85,.26), transparent 55%),
    radial-gradient(120% 160% at 100% 30%, rgba(0,0,48,.14), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg));
  border-top: 1px solid rgba(0,0,0,.06);
}
[data-theme="dark"] .section--final{ border-top: 1px solid rgba(255,255,255,.08); }

.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.2rem;
  align-items: start;
}
.split--reverse{ grid-template-columns: .95fr 1.05fr; }

.callout{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.55);
  padding: 1.1rem 1.15rem;
}
[data-theme="dark"] .callout{ background: rgba(255,255,255,.04); }
.callout h3{ margin:0 0 .55rem; }
.callout ul{ margin:0; padding-left: 1.1rem; color: var(--muted); font-weight: 700; }
.callout li{ margin:.4rem 0; }

.card{
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
}
[data-theme="dark"] .card{ background: rgba(255,255,255,.04); }
.card h3{ margin:.6rem 0 .2rem; }
.card p{ margin:.2rem 0 0; color: var(--muted); font-weight: 650; }

.card--lift{ transition: transform .14s ease, box-shadow .14s ease; }
.card--lift:hover{ transform: translateY(-3px); box-shadow: 0 18px 45px rgba(0,0,0,.12); }

.card--accent{
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(1,213,85,.18), transparent 45%),
    rgba(255,255,255,.58);
}
[data-theme="dark"] .card--accent{
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(1,213,85,.16), transparent 45%),
    rgba(255,255,255,.04);
}

.card-icon{
  width: 48px; height: 48px;
  border-radius: 16px;
  display:grid; place-items:center;
  border: 1px solid rgba(1,213,85,.25);
  background: rgba(1,213,85,.12);
}
.card-icon img{ width: 26px; height: 26px; }

.steps{
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display:grid;
  gap: .9rem;
}
.step{
  display:flex;
  gap: .9rem;
  align-items:flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow-soft);
}
[data-theme="dark"] .step{ background: rgba(255,255,255,.04); }
.step-n{
  width: 46px; height: 46px;
  border-radius: 18px;
  display:grid; place-items:center;
  background: var(--brand-navy);
  color: var(--brand-green);
  font-weight: 950;
  flex: 0 0 auto;
}
.step h3{ margin:.15rem 0 .2rem; }
.step p{ margin:0; color: var(--muted); font-weight: 650; }

.bullets{ margin: .8rem 0 0; padding-left: 1.1rem; }
.bullets li{ margin:.42rem 0; color: var(--muted); font-weight: 750; }

.illustration{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(1,213,85,.22), transparent 55%),
    rgba(255,255,255,.55);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}
[data-theme="dark"] .illustration{ background:
    radial-gradient(120% 160% at 0% 0%, rgba(1,213,85,.18), transparent 55%),
    rgba(255,255,255,.04);
}
.illustration__bubble{
  border: 1px dashed rgba(0,0,48,.25);
  border-radius: 18px;
  padding: .9rem;
  background: rgba(255,255,255,.55);
}
[data-theme="dark"] .illustration__bubble{
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.03);
}
.illustration__bubble p{ margin:0; color: var(--muted); font-weight: 700; }
.illustration__logo{ margin-top: .9rem; opacity: .95; }

.feature{
  display:flex;
  gap: 1rem;
  align-items:flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}
[data-theme="dark"] .feature{ background: rgba(255,255,255,.04); }
.feature__icon{
  width: 56px; height: 56px;
  border-radius: 18px;
  display:grid; place-items:center;
  background: rgba(1,213,85,.12);
  border: 1px solid rgba(1,213,85,.25);
  flex: 0 0 auto;
}
.feature__icon img{ width: 30px; height: 30px; }
.feature h3{ margin:.1rem 0 .35rem; }
.feature p{ margin:0; color: var(--muted); font-weight: 650; }

.carousel{
  display:grid;
  grid-template-columns: 46px 1fr 46px;
  gap: .7rem;
  align-items:center;
}
.carousel__btn{
  width: 46px; height: 46px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  cursor:pointer;
  font-weight: 950;
  font-size: 1.25rem;
}
[data-theme="dark"] .carousel__btn{ background: rgba(255,255,255,.04); color: var(--text); }
.carousel__viewport{
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow-soft);
}
[data-theme="dark"] .carousel__viewport{ background: rgba(255,255,255,.04); }
.carousel__track{
  display:flex;
  transition: transform .35s ease;
  will-change: transform;
}
.shot{
  margin:0;
  min-width: 100%;
  padding: .9rem;
}
.shot img{
  width:100%;
  height:auto;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
}

.faq{ display:grid; gap: .75rem; }
.faq-item{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow-soft);
  padding: .35rem .85rem;
}
[data-theme="dark"] .faq-item{ background: rgba(255,255,255,.04); }
.faq-item summary{
  cursor:pointer;
  font-weight: 900;
  padding: .6rem .2rem;
  outline: none;
}
.faq-item p{
  margin: .2rem 0 .8rem;
  color: var(--muted);
  font-weight: 650;
}

.pricing{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price{
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow-soft);
  display:flex;
  flex-direction:column;
}
[data-theme="dark"] .price{ background: rgba(255,255,255,.04); }
.price h3{ margin:0; }
.price__value{
  margin:.55rem 0 1rem;
  font-size: 2.05rem;
  font-weight: 950;
}
.price__value span{ font-size: .95rem; font-weight: 850; color: var(--muted); }
.price ul{ margin: 0 0 1.1rem; padding-left: 1.1rem; color: var(--muted); font-weight: 750; }
.price li{ margin:.4rem 0; }
.price .fineprint{ margin-top: .9rem; }

.price--featured{
  border-color: rgba(1,213,85,.55);
  box-shadow: 0 20px 55px rgba(1,213,85,.18);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(1,213,85,.20), transparent 50%),
    rgba(255,255,255,.58);
}
[data-theme="dark"] .price--featured{
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(1,213,85,.18), transparent 50%),
    rgba(255,255,255,.04);
}
.badge{
  position:absolute;
  top: 14px; right: 14px;
  background: var(--brand-navy);
  color: var(--brand-green);
  font-weight: 950;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .85rem;
}

.payments{
  margin-top: 1.3rem;
  display:flex;
  justify-content:center;
}
.payments img{ max-width: 480px; width:100%; height:auto; opacity: .95; }

.final{
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(140% 160% at 0% 0%, rgba(1,213,85,.20), transparent 55%),
    radial-gradient(120% 160% at 100% 30%, rgba(0,0,48,.12), transparent 55%),
    rgba(255,255,255,.55);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.3rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
}
[data-theme="dark"] .final{ background:
    radial-gradient(140% 160% at 0% 0%, rgba(1,213,85,.18), transparent 55%),
    radial-gradient(120% 160% at 100% 30%, rgba(0,0,48,.18), transparent 55%),
    rgba(255,255,255,.04);
}
.final__copy h2{ margin:0 0 .25rem; }
.final__cta{ display:flex; gap:.8rem; flex-wrap:wrap; }

.site-footer{
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,48,.04));
}
.footer-row{
  display:grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 1.25rem;
  align-items:start;
}
.footer-brand p{ margin:.5rem 0 0; color: var(--muted); font-weight: 650; }
.footer-links{ display:grid; gap: .55rem; color: var(--muted); font-weight: 850; }
.footer-cta{ display:grid; gap:.55rem; justify-items:start; }

.wa:hover{ text-decoration:none; transform: translateY(-2px); }

.to-top{
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  color: var(--text);
  font-weight: 950;
  cursor:pointer;
  box-shadow: var(--shadow-soft);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}
[data-theme="dark"] .to-top{ background: rgba(255,255,255,.04); }
.to-top.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1020px){
  .nav-mobile.is-open{ display:grid; }
  .cards-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3{ grid-template-columns: 1fr; }
  .cards-2{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .split, .split--reverse{ grid-template-columns: 1fr; }
  .final{ flex-direction: column; align-items:flex-start; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media{ display:block; }
  .nav-desktop{ display:none; }
  .burger{ display:inline-block; }
  .topbar__msg{ font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}

/* Form feedback */
.form-notice{
  margin: .5rem 0 1rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(1, 213, 85, .35);
  background: rgba(1, 213, 85, .10);
  color: var(--text);
}
.form-notice--error{
  border-color: rgba(255, 99, 71, .45);
  background: rgba(255, 99, 71, .12);
}

/* Modal WhatsApp */
.modal[hidden]{ display:none !important; }
.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.modal__panel{
  position: relative;
  width: min(720px, calc(100% - 1.5rem));
  margin: 7vh auto 0;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
  padding: 1.1rem;
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .8rem;
}
.modal__head h3{
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.modal__x{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.modal__desc{
  margin: .6rem 0 0;
  color: var(--muted);
}
.modal__box{
  margin-top: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: .9rem;
}
.modal__label{
  margin: 0 0 .4rem;
  font-weight: 700;
}
.modal__text{
  width: 100%;
  resize: none;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  color: var(--text);
  padding: .8rem;
  font: inherit;
}
.modal__row{
  display:flex;
  gap: .6rem;
  margin-top: .7rem;
  flex-wrap: wrap;
}
.modal__hint{
  margin: .6rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.modal__foot{
  display:flex;
  justify-content: flex-end;
  margin-top: .9rem;
}
@media (max-width: 520px){
  .modal__panel{ margin-top: 4vh; }
  .modal__row .btn{ width: 100%; }
}



/* Video (full width) */
.video-embed{
  margin-top: 1rem;
  text-align: center;
}
.video-embed__frame{
  width: 100%;
  display:flex;
  justify-content:center;
}
.video-embed iframe{
  width: 815px;
  height: 454px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  max-width: 100%;
}
@media (max-width: 860px){
  .video-embed iframe{
    width: 100%;
    height: auto;
    aspect-ratio: 815 / 454;
  }
}




}

/* Botón de tema */
.theme-toggle{
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover{ background: rgba(255,255,255,.10); }
.theme-toggle__icon{ font-size: 1.1rem; line-height: 1; }

/* Tema claro */
:root[data-theme="light"]{
  --bg: #ffffff;
  --card: #f6f7fb;
  --text: #0b1020;
  --muted: rgba(11,16,32,.72);
  --border: rgba(11,16,32,.12);
}
:root[data-theme="light"] body{
  background: var(--bg);
  color: var(--text);
}


/* WhatsApp flotante (siempre visible, también en móvil) */
.wa{
  position: fixed;
  right: 18px;
  bottom: 18px; /* fallback */
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  z-index: 10000;
  background: transparent;
}
.wa img{ width:56px; height:56px; display:block; }
