/* digitalizateia.lat - hoja de estilos de la pagina publica */

:root {
  --bg: #070d17;
  --bg-2: #0b1626;
  --card: rgba(255, 255, 255, 0.05);
  --card-solid: #0e1a2b;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f8fc;
  --muted: #9db0c6;
  --brand: #2563eb;
  --brand-2: #60a5fa;
  --green: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

/* Cualquier elemento con el atributo `hidden` se oculta de verdad: sin esto,
   una regla con display (como .nav__mobile) le gana y el bloque se ve siempre. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }

.muted { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------- fondo --- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg__blob {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); opacity: .5;
}
.bg__blob--1 {
  width: 46rem; height: 46rem; top: -18rem; right: -14rem;
  background: radial-gradient(circle at 30% 30%, #2563eb, transparent 65%);
  animation: flotar 18s ease-in-out infinite alternate;
}
.bg__blob--2 {
  width: 40rem; height: 40rem; bottom: -16rem; left: -16rem;
  background: radial-gradient(circle at 60% 40%, #60a5fa, transparent 65%);
  opacity: .3;
  animation: flotar 22s ease-in-out infinite alternate-reverse;
}
.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
@keyframes flotar {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4rem, 3rem, 0) scale(1.12); }
}

/* ----------------------------------------------------------------- nav --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: .85rem 1.25rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.nav__logo-img { height: 34px; width: auto; display: block; }
.nav__logo-img--sm { height: 28px; }
.brand-hero { max-width: var(--max); margin: 1.5rem auto 0; padding: 0 1.25rem; }
.brand-hero__img {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.nav__mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff; font-weight: 900; font-size: 1.15rem;
}
.nav__name { font-size: 1.05rem; letter-spacing: -0.02em; }
.nav__name span { color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: .95rem; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; gap: .6rem; }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: .5rem .6rem; cursor: pointer;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }
.nav__mobile {
  display: grid; gap: .2rem; padding: .5rem 1.25rem 1rem;
  border-top: 1px solid var(--line);
}
.nav__mobile a { padding: .6rem .25rem; color: var(--muted); }

/* ------------------------------------------------------------ botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 106, 43, 0.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 106, 43, 0.42); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.06); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.28); color: var(--text); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------- hero --- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 4.5rem 1.25rem 3.5rem;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-2); margin-bottom: .9rem;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 0; }
.hero__badges li { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: .45rem; }
.hero__badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* telefono */
.hero__visual { display: grid; place-items: center; }
.phone {
  position: relative; width: min(320px, 88vw); border-radius: 34px; padding: 12px;
  background: linear-gradient(160deg, #1c2431, #0d131b);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: subir 6s ease-in-out infinite;
}
@keyframes subir { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone__bar { display: flex; gap: 5px; padding: 4px 8px 10px; }
.phone__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.phone__screen {
  background: #0a0e14; border-radius: 24px; padding: 1rem; display: grid; gap: .8rem;
  border: 1px solid rgba(255,255,255,.06);
}
.order { background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px; padding: .85rem .95rem; }
.order__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.pill { font-style: normal; font-size: .7rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; background: rgba(37,99,235,.18); color: var(--brand-2); }
.order__line { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); margin: .2rem 0; }
.order__line b { color: var(--text); }
.order__total { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); margin-top: .6rem; padding-top: .55rem; }
.order__btn {
  width: 100%; margin-top: .7rem; padding: .6rem; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #ffffff; font-weight: 700;
}
.order--new { border-color: rgba(37,211,102,.4); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulso 1.8s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.order__muted { color: var(--muted); font-size: .85rem; margin: 0; }

/* ----------------------------------------------------------- secciones --- */
.section { max-width: var(--max); margin: 0 auto; padding: 3.5rem 1.25rem; }
.section__head { text-align: center; max-width: 40rem; margin: 0 auto 2.2rem; }
.section__head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }

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

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; backdrop-filter: blur(6px); transition: transform .22s, border-color .22s, background .22s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,.45); background: rgba(255,255,255,.06); }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card--accent { background: linear-gradient(150deg, rgba(37,99,235,.14), rgba(96,165,250,.06)); border-color: rgba(37,99,235,.35); }

.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: .9rem;
  background: rgba(37,99,235,.14); border: 1px solid rgba(37,99,235,.28); }
.icon svg { width: 22px; height: 22px; stroke: var(--brand-2); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- pasos --- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: paso; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.step__num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: .8rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #ffffff; font-weight: 800;
}
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ------------------------------------------------------------- precios --- */
.pricing {
  max-width: 640px; margin: 0 auto; background: var(--card-solid); border: 1px solid var(--line);
  border-radius: 24px; padding: 1.8rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem;
  grid-template-columns: 1fr 1fr;
}
.pricing__pack { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem; }
.pricing__pack--main { background: linear-gradient(150deg, rgba(37,99,235,.16), rgba(96,165,250,.05)); border-color: rgba(37,99,235,.4); }
.pricing__label { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .35rem; }
.pricing__amount { font-size: 2.3rem; font-weight: 800; margin: 0; letter-spacing: -0.03em; }
.pricing__amount span { font-size: 1.2rem; vertical-align: super; color: var(--brand-2); }
.pricing__amount small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.pricing__note { font-size: .85rem; color: var(--muted); margin: .4rem 0 0; }
.pricing__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; grid-column: 1 / -1; }
.pricing__list li { color: var(--muted); font-size: .95rem; padding-left: 1.6rem; position: relative; }
.pricing__list li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 14px; height: 8px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.pricing > .btn { grid-column: 1 / -1; }
.pricing__fine { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }

/* ----------------------------------------------------------- formularios --- */
.form { display: grid; gap: .8rem; padding: 1.6rem; }
.form h3 { font-size: 1.25rem; }
.form label { display: grid; gap: .35rem; font-size: .88rem; color: var(--muted); }
.form input {
  width: 100%; padding: .75rem .9rem; border-radius: var(--radius-sm);
  background: rgba(0,0,0,.3); border: 1px solid var(--line); color: var(--text);
  font: inherit; transition: border-color .2s, box-shadow .2s;
}
.form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.form__hint { font-size: .85rem; margin: 0; }
.form__hint a { color: var(--brand-2); }
.form__msg { margin: 0; padding: .7rem .9rem; border-radius: var(--radius-sm); font-size: .9rem; }
.form__msg--ok { background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.4); color: #b6f3ce; }
.form__msg--error { background: rgba(37,99,235,.14); border: 1px solid rgba(37,99,235,.4); color: #c7ddff; }

/* ---------------------------------------------------------------- faq --- */
.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: .7rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-2); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: .7rem 0 0; font-size: .95rem; }

/* ------------------------------------------------------------ bloque QR --- */
.qr-block {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
  background: linear-gradient(150deg, rgba(37,99,235,.14), rgba(96,165,250,.05));
  border: 1px solid rgba(37,99,235,.3); border-radius: 24px; padding: 2rem;
}
.qr-block h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.qr-block__lista { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.qr-block__lista li { color: var(--muted); font-size: .96rem; padding-left: 1.6rem; position: relative; }
.qr-block__lista li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 14px; height: 8px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.qr-block__figura { margin: 0; display: grid; justify-items: center; gap: .7rem; }
.qr-block__figura img {
  width: min(250px, 70vw); height: auto; background: #fff; padding: 14px; border-radius: 18px;
  box-shadow: var(--shadow);
}
.qr-block__figura figcaption { color: var(--muted); font-size: .85rem; }

/* ------------------------------------------------- muestra de tickets --- */
.tickets {
  display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 1.8rem; justify-content: center;
}
.papel { margin: 0; display: grid; gap: .8rem; justify-items: center; }
.papel figcaption { color: var(--muted); font-size: .85rem; }
.papel__hoja {
  width: 100%; background: #fff; color: #111827; border-radius: 6px; padding: 1.1rem 1rem;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem; line-height: 1.55; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.papel__hoja h4 { margin: 0; text-align: center; font-size: .98rem; letter-spacing: .06em; }
.papel__hoja p { margin: .1rem 0; }
.papel__sub { text-align: center; font-weight: 700; letter-spacing: .04em; margin: .2rem 0 .5rem !important; }
.papel__hoja hr { border: 0; border-top: 1px dashed #9ca3af; margin: .55rem 0; }
.papel__hoja .lin { display: flex; justify-content: space-between; gap: .6rem; }
.papel__hoja .lin--fuerte { font-weight: 700; }
.papel__corte { text-align: center; letter-spacing: .12em; color: #4b5563; }
.papel__qr { display: grid; justify-items: center; gap: .35rem; margin-top: .7rem; text-align: center; }
.papel__qr img { width: 88px; height: 88px; }
.papel__qr span { font-size: .7rem; color: #4b5563; }

/* ------------------------------------------------------ punto de venta --- */
.pos-block {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 24px; padding: 2rem;
  box-shadow: var(--shadow);
}
.pos-block h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pos-block__lista { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.pos-block__lista li { color: var(--muted); font-size: .96rem; padding-left: 1.6rem; position: relative; }
.pos-block__lista li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 14px; height: 8px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.pos-block__lista b { color: var(--text); }

.mini { background: #0d131b; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; display: grid; gap: 1rem; }
.mini__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.mini__label { display: block; color: var(--muted); font-size: .82rem; }
.mini__total { font-size: 1.7rem; letter-spacing: -.02em; }
.mini__alza {
  background: rgba(37, 211, 102, .14); color: #7ce0a6; border: 1px solid rgba(37, 211, 102, .35);
  padding: .2rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap;
}
.mini__bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; align-items: end; height: 130px; }
.mini__bars span {
  display: block; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  transform-origin: bottom; animation: crecer .9s ease both;
}
.mini__bars span:nth-child(2) { animation-delay: .06s; }
.mini__bars span:nth-child(3) { animation-delay: .12s; }
.mini__bars span:nth-child(4) { animation-delay: .18s; }
.mini__bars span:nth-child(5) { animation-delay: .24s; }
.mini__bars span:nth-child(6) { animation-delay: .3s; }
.mini__bars span:nth-child(7) { animation-delay: .36s; }
@keyframes crecer { from { transform: scaleY(0); opacity: .25; } to { transform: scaleY(1); opacity: 1; } }
.mini__filas { display: grid; gap: .55rem; }
.mini__filas > div {
  display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem;
  border-top: 1px dashed var(--line); padding-top: .5rem;
}
.mini__filas span { color: var(--muted); }

/* ----------------------------------------------------------------- cta --- */
.cta-final { max-width: var(--max); margin: 0 auto 2rem; padding: 3rem 1.25rem; text-align: center;
  background: linear-gradient(150deg, rgba(37,99,235,.14), rgba(96,165,250,.05));
  border: 1px solid rgba(37,99,235,.3); border-radius: 24px; }
.cta-final h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }

/* -------------------------------------------------------------- footer --- */
.footer { border-top: 1px solid var(--line); margin-top: 2rem; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 2.2rem 1.25rem 1rem;
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: .92rem; }
.footer__links a:hover { color: var(--text); }
.footer__fine { text-align: center; color: var(--muted); font-size: .82rem; padding: 1rem; margin: 0; }

/* ----------------------------------------------------------- whatsapp --- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { margin: 0; width: auto; height: auto; background: none; border: 0; }
.wa-float svg { width: 28px; height: 28px; stroke: #fff; }

/* ----------------------------------------------------------- animacion --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- responsive --- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero__visual { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .qr-block { grid-template-columns: 1fr; }
  .pos-block { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
}
@media (max-width: 620px) {
  .grid--3, .grid--2, .steps, .pricing, .tickets { grid-template-columns: 1fr; }
  .hero { padding-top: 2.4rem; }
  .section { padding: 2.6rem 1.1rem; }
  .nav__inner { padding: .7rem 1rem; }
  .btn--lg { width: 100%; }
}

/* ------------------------------------------------------- demostracion --- */
.demo-hero { max-width: var(--max); margin: 0 auto; padding: 3rem 1.25rem .5rem; text-align: center; }
.demo-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.demo-hero .lead { margin: .6rem auto 1rem; }
.aviso-demo {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(96,165,250,.14); border: 1px solid rgba(96,165,250,.35); color: #cfe0ff; font-size: .85rem;
}
.aviso-demo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); }

.demo-tabs { max-width: var(--max); margin: 1.4rem auto 0; padding: 0 1.25rem; display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.demo-tab {
  padding: .6rem 1.25rem; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--text); cursor: pointer; font: inherit; font-weight: 600;
}
.demo-tab.is-active { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #ffffff; border-color: transparent; }

.demo-marco { max-width: var(--max); margin: 1.2rem auto 0; padding: 0 1.25rem; }
.demo-panel { display: grid; grid-template-columns: 1fr 320px; gap: 1.2rem; align-items: start; }
.demo-panel[hidden] { display: none; }
.demo-ventana { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.demo-ventana__barra { display: flex; align-items: center; gap: .45rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); }
.demo-ventana__barra > span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.demo-ventana__url { margin-left: .5rem; font-size: .82rem; color: var(--muted); background: rgba(0,0,0,.3); padding: .2rem .6rem; border-radius: 8px; }
.demo-ventana iframe { display: block; width: 100%; height: min(72vh, 640px); border: 0; background: #fff; }
.demo-guia { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.demo-guia h3 { font-size: 1rem; }
.demo-guia ol { margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: .92rem; display: grid; gap: .55rem; }
.demo-acciones { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.demo-nota { max-width: var(--max); margin: 1.2rem auto 2rem; padding: 0 1.25rem; text-align: center; color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .demo-panel { grid-template-columns: 1fr; }
  .demo-ventana iframe { height: 62vh; }
}
