/* creattivaIA: tokens y componentes de la tienda. Las páginas con class="theme-auto" en <html> siguen el modo oscuro del sistema; el resto (carrito, checkout, cuenta) queda claro hasta re-estilizarlas. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --fg: #0b0f19;
  --muted: #4d5566;
  --line: #e2e6ed;
  --orange: #f26b1d;
  --orange-soft: #fff0e4;
  --orange-blob: #fde6d3;
  --blue: #0b5fe8;
  --blue-soft: #eaf1fd;
  --band: #000000;
  --band-fg: #ffffff;
  --band-muted: #b9bec9;
  --term: #101827;
  --term-bar: #1c2536;
  --term-fg: #d7deea;
  --term-cmd: #6fb1ff;
  --term-ok: #4ade80;
  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root.theme-auto {
    --bg: #0b0e14; --bg-soft: #11151d; --surface: #151a24; --fg: #f2f4f8; --muted: #a7afbf; --line: #2a3140;
    --orange: #ff8a42; --orange-soft: #2c1c11; --orange-blob: #2a1a0f; --blue: #3b82f6; --blue-soft: #14233d;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45); color-scheme: dark;
  }
}

.ia-body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 15px; line-height: 1.5; }
.ia a { text-decoration: none; }
.ia h1, .ia h2 { letter-spacing: -.025em; line-height: 1.08; font-weight: 800; text-wrap: balance; }
.ia h3 { letter-spacing: -.015em; line-height: 1.2; font-weight: 700; font-size: 18px; }
.ia :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.ia svg { flex: none; }
.ia-inner { color: #1f2937; }

.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 40px; }

/* Banda negra */
.band { background: var(--band); color: var(--band-fg); }
.topbar { display: flex; align-items: center; gap: 22px; padding-block: 12px; flex-wrap: wrap; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo b { color: var(--orange); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 13.5px; font-weight: 500; }
.nav-link:hover, .side a:hover, .mm-btn:hover { color: var(--orange); }
.side { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 500; flex-wrap: wrap; }
.pill-ia { border: 1px solid var(--orange); border-radius: 999px; padding: 5px 12px; font-weight: 600; white-space: nowrap; }
.flag { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.cc { position: relative; }
.cc-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cc-btn:hover { color: var(--orange); }
.cc-btn svg:last-child { transition: transform .15s; }
.cc-btn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.cc-panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 50; width: min(320px, calc(100vw - 32px)); background: var(--surface); color: var(--fg); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); padding: 16px; display: grid; gap: 10px; }
.cc-panel[hidden] { display: none; }
.cc-title { font-size: 15px; font-weight: 700; }
.cc-search { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--fg); padding: 8px 12px; font: inherit; font-size: 13.5px; }
.cc-search:focus { border-color: var(--orange); outline: none; }
.cc-list { display: grid; gap: 2px; max-height: 280px; overflow-y: auto; }
.cc-item { display: flex; align-items: center; gap: 10px; border-radius: 8px; padding: 8px; font-size: 14px; font-weight: 500; color: var(--fg); }
.cc-item:hover { background: var(--bg-soft); color: var(--fg) !important; }
.cc-item.is-active { background: var(--orange-soft); font-weight: 700; }
.cc-item span { color: var(--muted); font-weight: 400; }
.cc-item b { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.cc-empty { font-size: 13px; color: var(--muted); padding: 6px 8px; }
.side-cart { position: relative; display: inline-flex; }
.side-cart b { position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; padding-inline: 4px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.menu-toggle { display: none; border: 1px solid #3a3f4b; border-radius: 8px; padding: 4px 12px; font-size: 13px; font-weight: 600; }

/* Menú desplegable */
.mm-btn { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.mm-btn svg { transition: transform .15s; }
.mm-btn[aria-expanded="true"] { color: var(--band-muted); }
.mm-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mm-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: var(--band); border-top: 1px solid #23262e; border-bottom: 1px solid #23262e; border-radius: 0 0 14px 14px; padding: 22px max(16px, env(safe-area-inset-left, 0px)) 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.mm-panel[hidden] { display: none; }
.mm-panel:has(.mm-tabs) { grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); }
.mm-label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--band-muted); margin-bottom: 12px; }
.mm-tabs { border-right: 1px solid #2c2f38; padding-right: 22px; display: grid; gap: 4px; align-content: start; }
.mm-tab { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; text-align: left; width: 100%; }
.mm-tab:hover { background: #17191f; }
.mm-tab.is-active { background: #2a1a0f; font-weight: 700; color: #ffb98a; }
.mm-group { display: none; }
.mm-group.is-active { display: block; }
.mm-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.mm-item { display: grid; gap: 3px; min-width: 0; }
.mm-item strong { font-size: 14.5px; font-weight: 700; }
.mm-item span { font-size: 13px; color: var(--band-muted); line-height: 1.4; }
.mm-item strong span { color: inherit; font-weight: 400; }
a.mm-item:hover strong { color: var(--orange); }
.mm-item em { font-style: normal; font-size: 11px; font-weight: 600; color: #ffb98a; border: 1px solid #5c3a22; border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }

.searchrow { display: flex; align-items: center; gap: 20px; padding-bottom: 14px; flex-wrap: wrap; }
.domain { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; gap: 10px; background: #1a1d24; border: 1px solid #3a3f4b; border-radius: 999px; padding: 5px 5px 5px 16px; }
.domain input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--band-fg); font: inherit; font-size: 13.5px; outline: none; }
.domain input::placeholder { color: var(--band-muted); }
.domain:focus-within { border-color: var(--orange); }
.domain button { background: #fff; color: #0b0f19; border-radius: 999px; font-weight: 700; font-size: 13px; padding: 7px 24px; }
.promo { font-size: 13px; line-height: 1.35; border-left: 1px solid #3a3f4b; padding-left: 18px; }
.promo strong { display: block; }
.promo u { text-underline-offset: 2px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font-weight: 700; font-size: 13.5px; padding: 9px 20px; border: 1px solid transparent; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-line { border-color: var(--line); background: var(--surface); }
.btn-blue { background: var(--blue); color: #fff; padding: 7px 16px; }
.btn-white { background: #fff; color: #0b5fe8; padding: 7px 16px; }
.btn-orange { background: var(--orange); color: #fff; padding: 7px 16px; }
.btn-ghost { border-color: #5b6475; color: #fff; padding: 5px 10px; font-size: 12px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 26px 22px; }
.ia .hero h1 { font-size: clamp(32px, 4.3vw, 45px); }
.hero .lead { margin-top: 12px; font-size: 16.5px; color: var(--muted); max-width: 44ch; }
.cta { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.art { position: relative; min-height: 190px; display: flex; align-items: flex-end; justify-content: flex-end; min-width: 0; }
.art::before { content: ""; position: absolute; inset: -10px 0 -10px 0; background: var(--orange-blob); border-radius: 58% 42% 46% 54% / 60% 52% 48% 40%; }
.spark { position: absolute; color: var(--orange); }
.spark.a { left: 11%; top: 26px; }
.spark.b { left: 24%; top: -6px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 6px; width: min(100%, 410px); text-align: center; }
.stats > div { padding: 2px 6px; border-left: 1px solid var(--line); min-width: 0; font-size: 12px; color: var(--muted); }
.stats > div:first-child { border-left: 0; }
.stats strong { display: block; font-size: 20px; font-weight: 800; color: var(--fg); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* Grilla de líneas */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; gap: 16px; min-width: 0; }
.card p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.card .btn { margin-top: 10px; }
.card > div { min-width: 0; }
.card.hosting { background: var(--blue); color: #fff; border-color: transparent; }
.card.hosting p { color: #e4edff; }
.card.ia-line { background: var(--orange-soft); border-color: transparent; position: relative; }
.tag-ia { position: absolute; top: 12px; right: 12px; background: var(--orange-blob); color: var(--orange); border-radius: 999px; padding: 1px 10px; font-weight: 800; font-size: 13px; }
.ia .card.ia-line h3 { padding-right: 38px; }
.card.vps { grid-column: 2; grid-row: 1 / span 2; background: var(--term); color: var(--term-fg); border-color: transparent; padding: 0; flex-direction: column; gap: 0; overflow: hidden; }
.tbar { display: flex; align-items: center; gap: 6px; background: var(--term-bar); padding: 8px 14px; }
.tbar i { width: 10px; height: 10px; border-radius: 50%; }
.tbar span { margin-left: 12px; font-size: 12px; font-weight: 600; color: #fff; }
.term { margin: 0; padding: 12px 16px 6px; font-family: var(--mono); font-size: 12px; line-height: 1.75; overflow-x: auto; white-space: pre; color: var(--term-fg); }
.term .n { color: #64708a; user-select: none; }
.term .c { color: var(--term-cmd); }
.term .k { color: var(--term-ok); }
.vps-foot { padding: 6px 18px 16px; margin-top: auto; }
.ia .vps-foot h3 { color: #fff; font-size: 21px; }
.vps-row { display: flex; gap: 12px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.card .vps-row p { color: var(--term-fg); margin-top: 4px; }
.card .vps-row .btn { margin-top: 0; }
.small { align-items: center; padding-block: 12px; }
.ia .small h3 { font-size: 15.5px; }
.card.small p { font-size: 12px; margin-top: 2px; }
a.card:hover { border-color: var(--orange); }

.tech { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; background: var(--bg-soft); border-radius: 14px; padding: 14px 24px; margin-top: 20px; }
.tech strong { font-size: 12.5px; line-height: 1.25; padding-right: 20px; border-right: 1px solid var(--line); }
.tech span { font-weight: 700; font-size: 14.5px; color: var(--muted); }

/* Rendimiento */
.perf { display: grid; grid-template-columns: 1.15fr 1fr 1.05fr 1.05fr; gap: 12px; align-items: stretch; }
.ia .perf h2, .ia h2.title { font-size: clamp(25px, 2.8vw, 30px); }
.perf .intro p { margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.metric { flex-direction: column; justify-content: center; gap: 4px; font-size: 12.5px; }
.metric.row { flex-direction: row; align-items: center; gap: 14px; }
.metric strong { font-size: 25px; font-weight: 800; letter-spacing: -.02em; display: block; font-variant-numeric: tabular-nums; }
.donut { width: 78px; height: 78px; position: relative; flex: none; }
.donut b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13.5px; font-weight: 800; }
.spk { width: 100%; height: 44px; color: var(--blue); }

.sub { color: var(--muted); margin-top: 4px; }
.cases-slider { position: relative; margin-top: 16px; }
.cases { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cases::-webkit-scrollbar { display: none; }
.case { flex: 0 0 calc((100% - 24px) / 3); flex-direction: column; gap: 6px; scroll-snap-align: start; }
.case-nav { position: absolute; top: 50%; z-index: 1; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--fg); box-shadow: var(--shadow); font-size: 18px; line-height: 1; cursor: pointer; }
.case-nav:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.case-nav:disabled { opacity: .35; cursor: default; }
.case-nav[hidden] { display: none; }
.case-nav.prev { left: -14px; }
.case-nav.next { right: -14px; }
@media (max-width: 960px) {
  .case { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 720px) {
  .case { flex-basis: 100%; }
  .cases-slider { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .cases { width: 100%; }
  .case-nav { position: static; margin-top: 0; box-shadow: none; }
}
.stars { color: var(--orange); letter-spacing: 2px; font-size: 15px; }
.case .quote { flex: 1; margin-bottom: 8px; color: var(--fg); }
.case strong { font-size: 13.5px; }
.case-line { align-self: flex-start; margin-top: 6px; color: var(--blue); font-size: 12.5px; font-weight: 600; }

/* Preguntas */
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.6fr); gap: 24px; }
.faq .intro p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.qs { display: grid; gap: 8px; min-width: 0; }
details.q { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
details.q[open] { background: var(--blue-soft); border-color: transparent; }
details.q summary { cursor: pointer; font-weight: 700; font-size: 13.5px; padding: 9px 18px; display: flex; justify-content: space-between; gap: 12px; list-style: none; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "⌄"; font-size: 15px; line-height: 1; }
details.q[open] summary::after { transform: rotate(180deg); }
details.q p { padding: 0 18px 12px; font-size: 13px; color: var(--muted); max-width: 72ch; }

/* Precios y planes */
.price-hero { background: var(--band); color: var(--band-fg); text-align: center; padding-block: 26px 28px; border-top: 1px solid #23262e; }
.ia .price-hero h1 { font-size: clamp(30px, 4.6vw, 48px); }
.guarantees { display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; margin-top: 14px; font-size: 13.5px; color: var(--band-muted); }
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tab { display: inline-flex; align-items: center; gap: 7px; background: #2a1a0f; color: #ffd9bf; border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 700; }
.tab:hover { background: #3d2513; }
.tab.is-active { background: #fff; color: #0b0f19; }
.line-block { padding-block: 34px 10px; scroll-margin-top: 10px; }
.ia .line-block h2, .ia .line-head h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; }
.line-desc { color: var(--muted); margin-top: 6px; font-size: 14px; }
.line-head { padding-block: 30px 6px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.crumb a:hover { color: var(--orange); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; background: var(--surface); }
.filter:hover { border-color: var(--orange); color: var(--orange); }
.filter.is-active { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; min-width: 0; position: relative; }
.ia .plan h3 { font-size: 17px; font-weight: 600; }
.plan-desc { font-size: 13px; color: var(--muted); margin-top: 4px; min-height: 39px; }
.plan-price { margin-top: 16px; font-size: 13px; color: var(--muted); }
.plan-price strong { font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.plan-approx { display: block; font-size: 12px; margin-top: 2px; }
.ia h3.addons-title { margin-top: 28px; font-size: 20px; }
.plan .btn { width: 100%; margin-top: 14px; border-color: var(--orange); color: var(--orange); background: transparent; }
.plan .btn:hover { background: var(--orange-soft); }
.plan-specs { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.plan-specs li { display: flex; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.plan-specs li::before { content: "✓"; color: var(--orange); font-weight: 700; }
.plan.is-featured { background: #17110c; color: #fff; border-color: #17110c; }
.plan.is-featured .plan-desc, .plan.is-featured .plan-price, .plan.is-featured .plan-specs { color: #d9d2cc; }
.plan.is-featured .plan-price strong { color: #fff; }
.plan.is-featured .plan-specs { border-color: #3a2c21; }
.plan.is-featured .btn { background: var(--orange); border-color: var(--orange); color: #fff; }
.plan-tag { position: absolute; top: -11px; left: 20px; background: var(--orange); color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1; padding: 5px 12px; }
.notice { margin-top: 16px; background: var(--orange-soft); border-radius: 12px; padding: 10px 16px; font-size: 13.5px; }
.empty { color: var(--muted); margin-top: 18px; }

/* Opciones al contratar un VPS */
.config { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 20px; align-items: start; margin-top: 18px; }
.config-steps { display: grid; gap: 16px; min-width: 0; }
.step { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px 20px; min-width: 0; }
.ia .step legend { font-size: 17px; font-weight: 700; padding-inline: 6px; letter-spacing: -.01em; }
.step legend span { color: var(--orange); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
.choices { display: grid; gap: 8px; margin-top: 10px; }
.choice { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; cursor: pointer; min-width: 0; }
.choice:hover { border-color: var(--orange); }
.choice:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.choice input { accent-color: var(--orange); flex: none; }
.choice-name { font-weight: 600; font-size: 14px; min-width: 0; }
.choice-price { margin-left: auto; font-size: 13px; color: var(--muted); text-align: right; }
.choice-price small { display: block; font-size: 11.5px; }
.os-grid { display: grid; gap: 8px; margin-top: 12px; }
.os-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 8px 4px; min-width: 0; }
.os-card:hover { border-color: var(--orange); }
.os-card:has(input:checked) { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.os-head { display: flex; flex: 1 1 auto; align-items: center; gap: 12px; padding: 4px 8px; cursor: pointer; min-width: 0; }
.os-head input { accent-color: var(--orange); flex: none; width: 17px; height: 17px; }
.os-head img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.os-initial { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.os-rec { display: inline-flex; align-items: center; gap: 6px; background: var(--orange-soft); color: var(--fg); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; line-height: 1.25; min-width: 0; }
.os-rec[hidden], .os-rec img[hidden] { display: none; }
.os-rec img { width: 16px; height: 16px; object-fit: contain; flex: none; }
.os-dd { position: relative; flex: none; width: 128px; }
.os-dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 7px 12px; font-size: 13.5px; font-weight: 600; }
.os-dd-btn:hover { border-color: var(--orange); }
.ia .os-dd-btn:focus-visible, .ia .os-dd-option:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: 9px; }
.os-dd-btn svg { transition: transform .15s; }
.os-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.os-dd-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; min-width: 100%; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; }
.os-dd-menu[hidden] { display: none; }
.os-dd-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border-radius: 9px; padding: 8px 10px; font-size: 13.5px; font-weight: 500; text-align: left; white-space: nowrap; }
.os-dd-option:hover, .os-dd-option[aria-selected="true"] { background: var(--bg-soft); }
.os-dd-option svg { visibility: hidden; color: var(--orange); }
.os-dd-option[aria-selected="true"] svg { visibility: visible; }
.ia h3.choice-title { font-size: 14.5px; margin-top: 16px; }
.field-error { color: #d92d20; font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.config-next { justify-self: end; padding: 11px 26px; font-size: 14.5px; }
.summary { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px; position: sticky; top: 14px; display: grid; gap: 10px; }
.ia .summary h2 { font-size: 17px; font-weight: 700; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); }
.summary-row b { color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13.5px; font-weight: 600; }
.summary-total strong { font-size: 23px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.summary-note { font-size: 12px; color: var(--muted); }

/* Tabla de VPS con backup */
.backup-group { margin-top: 26px; }
.ia .backup-group h2 { font-size: 22px; font-weight: 700; }
.plan-table { width: 100%; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; border-collapse: separate; border-spacing: 0; background: var(--surface); font-size: 14px; }
.plan-table thead th { background: var(--bg-soft); font-size: 12.5px; font-weight: 700; text-align: left; padding: 12px 14px; line-height: 1.25; }
.plan-table thead th:first-child { border-top-left-radius: 14px; }
.plan-table thead th:last-child { border-top-right-radius: 14px; }
.plan-table tbody th, .plan-table td { padding: 12px 14px; border-top: 1px solid var(--line); font-weight: 400; text-align: left; vertical-align: middle; }
.plan-table tbody th { font-weight: 700; }
.plan-table-price { font-size: 19px; font-weight: 800 !important; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-table-action { text-align: right !important; }
.plan-table .btn { padding: 7px 16px; white-space: nowrap; border-color: var(--orange); color: var(--orange); background: transparent; }
.plan-table .btn:hover { background: var(--orange-soft); }
.plan-tag-inline { display: inline-block; background: var(--orange); color: #fff; border-radius: 6px; font-size: 11px; font-weight: 700; padding: 1px 7px; margin-left: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Documentos legales */
.legal-doc { max-width: 780px; margin-inline: auto; padding-block: 32px 16px; min-width: 0; }
.ia .legal-doc h1 { font-size: clamp(28px, 4vw, 38px); }
.legal-meta { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.legal-changes { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.legal-body { margin-top: 20px; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.legal-body p { margin-top: 10px; }
.ia .legal-body h2 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.ia .legal-body h3 { font-size: 16.5px; font-weight: 700; margin-top: 22px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-top: 8px; display: grid; gap: 4px; }
.legal-body a, .legal-history a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.legal-history { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.ia .legal-history h2 { font-size: 18px; }
.legal-history ul { margin-top: 8px; display: grid; gap: 4px; color: var(--muted); }
.legal-history [aria-current] { font-weight: 700; }

/* Ingreso y registro */
.auth-page { background: var(--band); display: flex; justify-content: center; padding: 40px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid #23262e; }

/* Pie */
.ia-footer { background: var(--bg-soft); margin-top: 26px; }
.auth-page + .ia-footer { margin-top: 0; }
.fgrid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 28px 16px; }
.ia .fgrid h4 { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.fgrid ul { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.fgrid a:hover, .legal a:hover { color: var(--orange); }
.fbrand { border-right: 1px solid var(--line); padding-right: 20px; }
.fbrand p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 12px; font-size: 12.5px; color: var(--muted); }
.legal-side { display: inline-flex; align-items: center; gap: 12px; }
.legal .is-on { color: var(--orange); font-weight: 700; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-block; margin-left: auto; }
  .nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 10px; border-top: 1px solid #23262e; padding-top: 10px; }
  .nav.is-open { display: flex; }
  .mm-btn { width: 100%; justify-content: space-between; padding-block: 2px; }
  .side { margin-left: 0; width: 100%; order: 3; justify-content: flex-start; }
  .side { position: relative; }
  .cc { position: static; }
  .cc-panel { left: 0; right: 0; width: auto; max-width: 360px; top: calc(100% + 8px); }
  .mm-panel, .mm-panel:has(.mm-tabs) { position: static; display: block; padding: 10px 0 4px; border: 0; box-shadow: none; }
  .mm-panel[hidden] { display: none; }
  .mm-tabs { display: none; }
  .mm-group, .mm-group.is-active { display: block; margin-bottom: 14px; }
  .mm-items { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .perf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perf .intro { grid-column: 1 / -1; }
  .perf .metric:last-child { grid-column: 1 / -1; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbrand { grid-column: 1 / -1; border-right: 0; }
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.vps { grid-column: 1 / -1; grid-row: auto; order: -1; }
}
@media (max-width: 860px) {
  .config { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .os-card { flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .os-head { flex-basis: 100%; padding-inline: 0; }
  .os-dd { flex: 1 1 100%; width: auto; }
  .plan-table, .plan-table tbody, .plan-table tr, .plan-table tbody th, .plan-table td { display: block; width: 100%; }
  .plan-table { border: 0; background: transparent; }
  .plan-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .plan-table tr { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 10px 14px; margin-bottom: 10px; }
  .plan-table tbody th, .plan-table td { border-top: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; }
  .plan-table td::before { content: attr(data-label); color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
  .plan-table tbody th { justify-content: flex-start; flex-wrap: wrap; font-size: 15px; padding-bottom: 6px; }
  .plan-table-action { display: block !important; padding-top: 8px !important; }
  .plan-table-action .btn { width: 100%; }
}
@media (max-width: 720px) {
  .hero, .faq { grid-template-columns: minmax(0, 1fr); }
  .art { min-height: 0; padding-top: 30px; justify-content: center; }
  .art::before { inset: 0; }
  .spark { display: none; }
  .stats { width: 100%; }
  .promo { border-left: 0; padding-left: 0; }
  .domain { flex-basis: 100%; }
  .lines { grid-template-columns: minmax(0, 1fr); }
  .tech strong { border-right: 0; width: 100%; padding-right: 0; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .perf { grid-template-columns: minmax(0, 1fr); }
  .domain button { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ia * { transition: none !important; } }
