/* Digafy Lite · hoja de estilos única. Móvil primero (375 · 768 · 1024 · 1440). Sin fuentes ni recursos externos.
   --brand y --on-brand los fija el <style nonce> de cada layout (color del negocio, validado en servidor). */

:root {
  --brand: #7C3AED;
  --on-brand: #FFFFFF;
  --paper: #FAF8F4;
  --tint: #F0EBFA;
  --card: #FFFFFF;
  --ink: #1A1033;
  --ink-2: #4A4163;
  --muted: #655D80;
  --line: #E2DAEF;
  --link: color-mix(in srgb, var(--brand) 78%, #000);
  --focus: #6D28D9;
  --night: #0B0520;
  --night-2: #170C38;
  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(26, 16, 51, .06), 0 12px 32px -12px rgba(26, 16, 51, .18);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E0820;
    --tint: #150C2E;
    --card: #1A1136;
    --ink: #F4F0FF;
    --ink-2: #CFC6E6;
    --muted: #ADA5C6;
    --line: #2D2352;
    --link: color-mix(in srgb, var(--brand) 55%, #fff);
    --focus: #C4B5FD;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
ul, ol { padding-left: 1.25em; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Botones (44 px mínimo de alto) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 10px 22px;
  border: 1.5px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn--primary:hover { box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn--light { background: #fff; color: #1A1033; }
.btn--outline { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--big { padding: 14px 28px; font-size: 1.0625rem; }
.btn--small { padding: 8px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }

/* ---------- Cabecera del sitio ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 700 1.25rem/1 var(--font-display); letter-spacing: -.01em; }
.site-header .brand { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav__link { display: none; align-items: center; min-height: 44px; padding: 0 14px; color: rgba(255, 255, 255, .82); text-decoration: none; border-radius: 999px; font-weight: 500; }
.site-nav__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav__link--login { display: inline-flex; }
@media (min-width: 900px) { .site-nav__link { display: inline-flex; } }

/* Páginas del sitio sin hero oscuro (legales, precios): la cabecera va sobre .page-head, también oscuro. */

/* ---------- Hero ---------- */
.hero, .page-head, .cta { position: relative; overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.hero { padding: 112px 0 64px; }
.hero__aurora, .cta__aurora {
  position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 55% at 18% 12%, rgba(124, 58, 237, .85), transparent 70%),
    radial-gradient(40% 50% at 88% 28%, rgba(219, 39, 119, .55), transparent 70%),
    radial-gradient(45% 45% at 62% 105%, rgba(245, 158, 11, .35), transparent 72%),
    radial-gradient(60% 60% at 50% 50%, var(--night-2), var(--night));
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(2%, -2%, 0) scale(1.06); } }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: #F0ABFC; box-shadow: 0 0 0 4px rgba(240, 171, 252, .2); flex: none; }
.hero h1, .page-head h1 {
  font: 700 clamp(2.4rem, 1.2rem + 5.4vw, 5.25rem)/.98 var(--font-display); letter-spacing: -.035em;
}
.hero h1 em, .page-head h1 em, .cta h2 em {
  font-style: italic; color: #E9D5FF;
  background: linear-gradient(100deg, #C4B5FD 0%, #F0ABFC 45%, #FCD34D 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__lead { max-width: 34em; margin: 24px 0 0; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; color: rgba(255, 255, 255, .8); }
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hero__cta--center { justify-content: center; align-items: center; }
.hero__note { margin: 20px 0 0; font-size: .9375rem; color: rgba(255, 255, 255, .68); }
@media (min-width: 560px) { .hero__cta { flex-direction: row; flex-wrap: wrap; } }

.hero__visual { position: relative; display: flex; justify-content: center; padding-bottom: 28px; }
.phone {
  width: min(300px, 82vw); padding: 10px; border-radius: 40px; background: #0A0414;
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 255, 255, .04);
}
.phone__notch { width: 88px; height: 20px; margin: 4px auto 6px; border-radius: 999px; background: #1b1130; }
.phone__screen { padding: 20px 18px 22px; border-radius: 30px; background: #FAF8F4; color: #1A1033; }
.phone__tag { margin: 0 0 14px; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: #655D80; }
.phone__name { margin: 0; font: 700 1.375rem/1.15 var(--font-display); }
.phone__sub { margin: 4px 0 16px; font-size: .875rem; color: #4A4163; }
.phone__steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.phone__steps li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #E2DAEF; font-size: .8125rem; font-weight: 600; }
.phone__steps li span { font-weight: 400; color: #655D80; text-align: right; }
.phone__steps li.is-now { border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.phone__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.phone__slots span { padding: 10px 0; text-align: center; border-radius: 10px; border: 1px solid #E2DAEF; background: #fff; font: 600 .8125rem/1 var(--font-mono); }
.phone__slots .is-picked { background: #7C3AED; border-color: #7C3AED; color: #fff; }
.phone__slots .is-off { opacity: .4; text-decoration: line-through; }
.phone__btn { display: block; padding: 13px; text-align: center; border-radius: 999px; background: #1A1033; color: #fff; font-size: .875rem; font-weight: 600; }
.ticket {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) translateX(-6%); display: flex; gap: 12px; align-items: flex-start; width: min(300px, 86vw);
  padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95); color: #1A1033; font-size: .8125rem; line-height: 1.4;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
}
.ticket strong { display: block; font-size: .875rem; }
.ticket__dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }

@media (min-width: 1024px) {
  .hero { padding: 156px 0 112px; }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 64px; }
  .phone { transform: rotate(3deg); }
  .ticket { left: 6%; transform: none; bottom: 8%; width: 280px; }
  .hero__visual { padding-bottom: 0; justify-content: flex-end; }
}

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section--flush { padding-top: 0; margin-top: -40px; position: relative; z-index: 2; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--night); color: #fff; }
.section--ink a { color: #DDD0FF; }
.kicker { margin: 0 0 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.kicker--light { color: #D8C6FF; }
.section__title { max-width: 18em; font: 700 clamp(1.9rem, 1.1rem + 3.2vw, 3.5rem)/1.04 var(--font-display); letter-spacing: -.03em; }
.section__lead { max-width: 36em; margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); }
.section--ink .section__lead { color: rgba(255, 255, 255, .78); }
.section__more { margin-top: 28px; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .section { padding: 112px 0; } .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--reverse > :first-child { order: 2; } }

/* Cómo funciona */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 32px; counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step__n { display: block; margin-bottom: 8px; font: 700 5rem/.9 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--link); letter-spacing: -.04em; }
.step h3 { font: 700 1.375rem/1.2 var(--font-display); margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 24em; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } .step:nth-child(2) { margin-top: 40px; } .step:nth-child(3) { margin-top: 80px; } }

/* Bento */
.bento { display: grid; gap: 14px; margin-top: 48px; grid-template-columns: 1fr; }
.bento__item { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.bento__item h3 { font: 700 1.3125rem/1.2 var(--font-display); margin-bottom: 10px; }
.bento__item p { margin: 0; color: var(--ink-2); }
.bento__item--hero { background: var(--card); box-shadow: var(--shadow); }
.bento__item--hero h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -.02em; max-width: 14em; }
.bento__item--hero p { max-width: 36em; }
.bento__mono { margin-top: 22px !important; padding: 12px 16px; border-radius: var(--radius-s); background: var(--tint); font: 500 .9375rem/1.3 var(--font-mono); color: var(--ink) !important; overflow-wrap: anywhere; }
.bento__mono strong { color: var(--link); }
.bento__item--dark { background: var(--night); border-color: var(--night); color: #fff; }
.bento__item--dark p { color: rgba(255, 255, 255, .78); }
.bento__item--soft { background: var(--tint); border-color: transparent; }
.bento__item--brand { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.bento__item--brand p { color: inherit; opacity: .92; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__item--hero, .bento__item--wide, .bento__item--brand { grid-column: span 2; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .bento__item { grid-column: span 2; }
  .bento__item--hero, .bento__item--wide { grid-column: span 4; }
  .bento__item--brand { grid-column: span 6; display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: center; }
  .bento__item--brand h3 { margin: 0; font-size: 1.75rem; }
}

/* Sectores */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; }
.chips li:nth-child(3n+1) { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.chips li:last-child { border-style: dashed; color: var(--ink-2); }

/* IA */
.ia-demo { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.ia-demo__q { margin: 0 0 16px; padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: rgba(255, 255, 255, .12); max-width: 85%; }
.ia-demo__a { margin: 0 0 16px auto; padding: 14px 18px; border-radius: 18px 18px 4px 18px; background: #fff; color: #1A1033; max-width: 90%; }
.ia-demo__tag { margin: 0; font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%237C3AED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

/* Planes */
.plans { display: grid; gap: 20px; margin-top: 40px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan .ticks { flex: 1; margin-bottom: 28px; }
.plan__name { font: 700 1.5rem/1 var(--font-display); }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 8px; }
.plan__price strong { font: 700 3.25rem/1 var(--font-display); letter-spacing: -.03em; }
.plan__price span { color: var(--muted); }
.plan__for { color: var(--ink-2); margin: 0; }
.plan--lite { background: var(--night); border-color: transparent; color: #fff; box-shadow: 0 0 0 1.5px #A855F7, 0 30px 60px -20px rgba(124, 58, 237, .6); }
.plan--lite .plan__price span, .plan--lite .plan__for { color: rgba(255, 255, 255, .75); }
.plan__badge { position: absolute; top: -14px; left: 28px; margin: 0; padding: 6px 14px; border-radius: 999px; background: linear-gradient(100deg, #7C3AED, #DB2777); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 768px) { .plans { grid-template-columns: 1fr 1fr; max-width: 920px; gap: 28px; } }

/* Sé de los primeros */
.honest { display: grid; gap: 28px; }
.honest p { max-width: 36em; }
@media (min-width: 900px) { .honest { grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; } }

/* FAQ sin JavaScript */
.faq-wrap { display: grid; gap: 32px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font: 600 1.125rem/1.3 var(--font-body);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); font-size: 1.25rem; line-height: 1; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--brand); color: var(--on-brand); }
.faq__item p { margin: 0 0 20px; max-width: 42em; color: var(--ink-2); }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 80px; } .faq-wrap > :first-child { position: sticky; top: 90px; align-self: start; } }

/* Llamada final */
.cta { padding: 96px 0; text-align: center; }
.cta h2 { font: 700 clamp(2rem, 1.2rem + 4vw, 4.25rem)/1 var(--font-display); letter-spacing: -.035em; max-width: 14em; margin: 0 auto; }
.cta p { margin: 20px auto 0; max-width: 30em; font-size: 1.125rem; color: rgba(255, 255, 255, .8); }

/* Cabecera de páginas interiores */
.page-head { padding: 120px 0 64px; }
.page-head h1 { max-width: 16em; font-size: clamp(2.1rem, 1.2rem + 4vw, 4rem); }
.page-head__lead { max-width: 32em; margin: 20px 0 0; font-size: 1.1875rem; color: rgba(255, 255, 255, .8); }
.page-head--legal { padding: 112px 0 40px; }
.page-head--legal h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.25rem); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 12% 0%, rgba(124, 58, 237, .8), transparent 70%), radial-gradient(40% 70% at 95% 20%, rgba(219, 39, 119, .4), transparent 70%); }

/* Textos legales */
.prose { max-width: 820px; margin-inline: 0 auto; padding-block: 48px 88px; }
@media (min-width: 1440px) { .prose { margin-inline: auto; } }
.prose h2 { margin: 2.2em 0 .6em; font: 700 1.5rem/1.2 var(--font-display); letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .5em; }
.pendiente { padding: 1px 8px; border-radius: 6px; background: #FDE68A; color: #5B3A00; font-weight: 600; }
.draft-note { margin: 0 0 32px; padding: 16px 20px; border-radius: var(--radius-s); border: 1.5px solid #D97706; background: #FFF4D6; color: #5B3A00; }

/* Tablas */
.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--tint); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.compare tbody th { font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .si { color: #047857; font-weight: 700; }
.compare .no { color: var(--muted); }
@media (prefers-color-scheme: dark) { .compare .si { color: #34D399; } }
.note { max-width: 46em; color: var(--ink-2); }

/* ---------- Pie y crédito ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .78); padding-top: 56px; }
.site-footer a { color: rgba(255, 255, 255, .88); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { max-width: 24em; margin: 0; }
.site-footer h2 { margin-bottom: 14px; font: 700 .8125rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 64px; } }
.site-footer--slim { padding-top: 24px; background: transparent; color: var(--muted); }
.site-footer--slim a { color: var(--link); }
.powered { margin: 0 0 8px; text-align: center; font-size: .875rem; }
.site-credit { margin: 0; padding: 18px var(--gutter) 24px; text-align: center; font-size: .8125rem; color: var(--muted); border-top: 1px solid rgba(128, 128, 160, .2); }
.site-footer .site-credit { color: rgba(255, 255, 255, .62); border-top-color: rgba(255, 255, 255, .12); }
.site-credit a { color: inherit; text-underline-offset: 3px; }
.site-footer--slim .site-credit { border-top: 0; color: var(--muted); }

/* ---------- Layout mínimo (errores y páginas sueltas) ---------- */
.layout-minimal { min-height: 100vh; display: flex; flex-direction: column; }
.minimal { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 18vh var(--gutter) 48px; }
.minimal h1 { font: 700 clamp(2rem, 1.4rem + 3vw, 3rem)/1.05 var(--font-display); letter-spacing: -.03em; margin-bottom: 16px; }
.minimal pre { overflow: auto; padding: 12px; border-radius: var(--radius-s); background: var(--tint); font-size: .8125rem; }

/* ---------- Panel y superadmin (estructura común; las vistas llegan en la wave 2) ---------- */
.layout-panel { background: var(--paper); }
.panel-header { background: var(--card); border-bottom: 1px solid var(--line); }
.panel-header__bar { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; min-height: 64px; padding-block: 8px; }
.panel-header .brand { font-size: 1.125rem; }
.panel-nav { display: flex; gap: 4px; overflow-x: auto; flex: 1 1 100%; order: 3; margin-inline: -6px; }
.panel-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.panel-nav__link:hover { background: var(--tint); }
.panel-nav__link[aria-current="page"] { background: var(--brand); color: var(--on-brand); }
.panel-logout { margin: 0 0 0 auto; }
.panel-page { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-block: 10px 14px; border-top: 1px dashed var(--line); font-size: .9375rem; }
.panel-page__label { color: var(--muted); }
.panel-page__url { font-family: var(--font-mono); overflow-wrap: anywhere; }
.panel-main { padding-block: 28px 64px; }
.panel-footer { padding-bottom: 8px; }
.flash { margin: 0 0 20px; padding: 12px 16px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--brand) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line)); }
@media (min-width: 900px) { .panel-nav { flex: 0 1 auto; order: 0; } .panel-logout { margin-left: auto; } }

/* Formularios básicos (los usan alta, entrar, panel y reserva) */
label { display: block; margin-bottom: 6px; font-weight: 600; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], input[type="time"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--card); color: var(--ink); font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field { margin-bottom: 18px; }
.field__hint { margin: 6px 0 0; font-size: .875rem; color: var(--muted); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
