/* DVSystem — estilos del sitio público (mobile first) */
:root {
  /* Colores tomados del logo oficial DVSystem Ecuador */
  --navy: #001852;
  --brand: #0a49ba;
  --brand-700: #00347f;
  --brand-500: #2f6fe0;
  --brand-100: #d3e2fb;
  --brand-50: #edf3fd;
  --accent: #f6c604;
  --accent-50: #fff7d6;
  --wa: #1fa855;
  --wa-700: #168043;
  --ink: #0b1640;
  --text: #444759;
  --muted: #6b6f82;
  --line: #e6e5ef;
  --bg: #ffffff;
  --bg-alt: #f7f6fb;
  --card: #ffffff;
  --danger: #c62828;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 20, 43, .06), 0 1px 1px rgba(18, 20, 43, .04);
  --shadow: 0 10px 30px -12px rgba(0, 24, 82, .18), 0 2px 6px rgba(18, 20, 43, .05);
  --shadow-lg: 0 30px 60px -20px rgba(0, 24, 82, .35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 10px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

/* ---------- botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.3em; border-radius: 12px; border: 1.5px solid transparent;
  font: 700 .95rem/1.2 var(--font); cursor: pointer; transition: transform .15s ease, background-color .15s, box-shadow .15s, color .15s, border-color .15s; text-align: center; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 73, 186, .55); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand-100); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-50); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-700); color: #fff; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .88rem; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: .85em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.link-more { display: inline-block; font-weight: 600; font-size: .9rem; margin-top: .75rem; }
.link-wa { display: inline-flex; align-items: center; gap: .4em; color: var(--wa-700); font-weight: 600; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }

.badge { display: inline-flex; align-items: center; padding: .2em .7em; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: .75rem; font-weight: 700; letter-spacing: .01em; }
.badge-accent { background: var(--accent-50); color: #7a5d00; }

/* ---------- header */
/* Sin backdrop-filter: haría que el menú móvil (position: fixed) quede atrapado dentro del encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mono { height: 44px; width: auto; }
.brand-word { height: 26px; width: auto; }
@media (max-width: 380px) { .brand-word { height: 20px; } .brand-mono { height: 38px; } }
.site-footer .brand-mono { height: 56px; }
.site-footer .brand-word { height: 32px; }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links > a, .dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; color: var(--ink); font: 600 .93rem var(--font); background: none; border: 0; cursor: pointer; }
.nav-links > a:hover, .dropdown-toggle:hover { background: var(--bg-alt); color: var(--brand); }
.nav-links [aria-current="page"] { color: var(--brand); }
.dropdown { position: relative; }
.dropdown-toggle .ico { width: 1em; transition: transform .2s; }
.dropdown.is-open .dropdown-toggle .ico { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: -12px; width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown.is-open .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: none; } }
.dropdown-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.dropdown-menu a:hover { background: var(--brand-50); }
.dropdown-menu a > .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.dropdown-menu strong { display: block; font-size: .93rem; }
.dropdown-menu small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.dropdown-menu .dropdown-all { justify-content: space-between; align-items: center; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--brand); font-weight: 700; font-size: .9rem; }
.dropdown-all .ico { width: 1.1em; height: 1.1em; padding: 0; background: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-login { display: none; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 10px; color: var(--ink); font-weight: 600; font-size: .9rem; border-radius: 10px; }
.nav-login:hover { background: var(--bg-alt); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); }
.cart-link:hover { background: var(--bg-alt); }
.cart-count { position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.nav-wa { display: none; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; color: var(--ink); cursor: pointer; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0; background: #fff; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav > a, .mobile-nav summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; border-radius: 12px; color: var(--ink); font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .ico { transform: rotate(180deg); }
.mobile-nav details a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px 0 20px; color: var(--text); font-weight: 600; }
.mobile-nav details a .ico { color: var(--brand); }
.mobile-nav .btn { margin-top: 12px; justify-content: center; gap: 10px; color: #fff; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-wa { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}
@media (min-width: 1200px) {
  .nav-login { display: flex; }
}

/* ---------- secciones */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0 56px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head-left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--brand); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }

/* ---------- hero */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden; background:
  radial-gradient(900px 500px at 85% -10%, rgba(246, 198, 4, .14), transparent 60%),
  radial-gradient(800px 600px at -10% 10%, rgba(10, 73, 186, .12), transparent 60%), var(--bg); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-500) 60%, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.12rem; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.hero-pill b { background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .75rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ico { color: var(--brand); }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; } }
@media (min-width: 1024px) { .hero { padding: 72px 0 96px; } .hero-grid { grid-template-columns: 1.02fr 1fr; } }

/* mockup del hero (solo CSS) */
.hero-visual { position: relative; padding: 18px 8px 36px; }
.app-window { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.app-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfaff; }
.app-top i { width: 10px; height: 10px; border-radius: 50%; background: #e0ddea; }
.app-top i:first-child { background: #ff8a80; } .app-top i:nth-child(2) { background: #ffd180; } .app-top i:nth-child(3) { background: #b9f6ca; }
.app-top span { margin-left: 10px; font-size: .75rem; color: var(--muted); font-weight: 600; }
.app-body { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.app-side { background: var(--navy); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.app-side span { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: rgba(255, 255, 255, .6); }
.app-side span.on { background: var(--brand); color: #fff; }
.app-side .ico { width: 16px; height: 16px; }
.app-main { padding: 16px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.kpi small { display: block; font-size: .65rem; color: var(--muted); font-weight: 600; }
.kpi b { font-size: .95rem; color: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; padding: 0 4px 6px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand-500), var(--brand)); opacity: .85; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom; }
.bars span:nth-child(odd) { background: linear-gradient(180deg, #ffe066, var(--accent)); }
@keyframes grow { from { transform: scaleY(.1); } }
.inv-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 0; font-size: .72rem; border-bottom: 1px dashed var(--line); }
.inv-row b { color: var(--ink); font-weight: 700; }
.inv-row .st { padding: 2px 8px; border-radius: 999px; background: #e6f7ee; color: #157347; font-weight: 700; font-size: .62rem; }
.inv-row .line { height: 7px; border-radius: 4px; background: #eceaf5; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--ink); font-weight: 700; animation: floaty 6s ease-in-out infinite; }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; }
.float-card .fc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.float-card .fc-ico .ico { width: 18px; height: 18px; }
.fc-sign { left: -4px; bottom: 0; }
.fc-sign .fc-ico { background: #e6f7ee; color: #157347; }
.fc-host { right: -4px; top: -4px; animation-delay: -3s; }
.fc-host .fc-ico { background: var(--accent-50); color: #7a5d00; }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); margin-right: 4px; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 420px) { .fc-host { right: 0; } .kpi b { font-size: .8rem; } }

/* ---------- categorías */
.cat-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.cat-card { display: flex; flex-direction: column; color: var(--text); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; overflow: hidden; }
.cat-card::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); color: var(--text); }
.cat-card:hover::after { transform: scaleX(1); }
.cat-card p { font-size: .95rem; }
.cat-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); margin-bottom: 16px; }
.cat-icon .ico { width: 24px; height: 24px; }
.cat-icon-lg { width: 72px; height: 72px; border-radius: 20px; }
.cat-icon-lg .ico { width: 36px; height: 36px; }
.from { margin: auto 0 0; font-size: .9rem; color: var(--muted); }
.from strong { font-size: 1.5rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.from span { font-size: .85rem; }
.from-quote { font-weight: 700; color: var(--brand); }
.card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 800; color: var(--brand); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.card-cta .ico { transition: transform .2s; }
.cat-card:hover .card-cta .ico { transform: translateX(4px); }

/* ---------- buscador y filtros */
.search { position: relative; max-width: 640px; margin: 0 auto 28px; }
.search-label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 8px; text-align: center; font-size: 1.05rem; }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.search-box .ico { color: var(--muted); }
.search-box input { flex: 1; min-width: 0; height: 54px; border: 0; outline: 0; font: 500 1rem var(--font); background: transparent; color: var(--ink); }
.search-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; max-height: 420px; overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.search-results a:hover, .search-results a:focus { background: var(--brand-50); }
.sr-title { flex: 1; min-width: 0; font-weight: 700; font-size: .93rem; }
.sr-title small { display: block; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-price { font-weight: 800; color: var(--brand); font-size: .85rem; white-space: nowrap; }
.sr-empty { padding: 12px; margin: 0; color: var(--muted); }

.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 16px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .chip-row { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.chip { flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 .9rem var(--font); color: var(--ink); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.product-card { display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; animation: fadeUp .35s ease both; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card h3 a { color: var(--ink); }
.product-card h3 a::after { content: ''; position: absolute; inset: 0; }
.product-card p { font-size: .95rem; }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; }
.product-bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 12px; }
.product-bottom .btn { position: relative; z-index: 1; }
.product-bottom .from { margin: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.empty { color: var(--muted); text-align: center; padding: 24px; grid-column: 1 / -1; }

/* ---------- planes */
.plan-grid { align-items: stretch; }
.plan-card { display: flex; flex-direction: column; padding: 28px 24px; }
.plan-card.is-highlight, .sign-card.is-highlight { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan-desc { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; margin: 4px 0 16px; }
.price .amount { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price-lg .amount { font-size: 2.6rem; }
.price .period { color: var(--muted); font-weight: 600; font-size: .9rem; }
.price-old { color: var(--muted); font-size: 1rem; }
.price-pending { font-size: .9rem; color: var(--muted); font-style: italic; }
.feature-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.feature-list .ico { color: var(--brand); background: var(--brand-50); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.feature-inline { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 12px 0 16px; }
.plan-actions { margin-top: auto; text-align: center; }
/* API de facturación (informativo) */
.api-banner { display: grid; gap: 32px; align-items: center; padding: 32px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.api-banner h2 { margin-bottom: .4em; }
.api-banner .hero-actions { margin-top: 20px; }
@media (min-width: 1024px) { .api-banner { grid-template-columns: 1fr 1.1fr; padding: 48px; } }
.api-hero .api-flow { margin-top: 40px; max-width: 860px; }
.api-hero .hero-actions { margin-top: 24px; }
.api-flow { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.api-node { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.api-node strong { color: var(--ink); display: block; }
.api-node small { color: var(--muted); font-size: .82rem; }
.api-node > strong, .api-node > small { display: block; }
.api-node { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; }
.api-node-ico { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand); }
.api-node-main { background: linear-gradient(135deg, var(--navy), var(--brand)); border-color: transparent; box-shadow: var(--shadow); }
.api-node-main strong { color: #fff; }
.api-node-main small { color: rgba(255, 255, 255, .8); }
.api-node-main .api-node-ico { background: rgba(255, 255, 255, .14); color: #fff; }
.api-ok { background: #e6f7ee; color: #157347; }
.api-arrow { position: relative; display: grid; place-items: center; height: 28px; color: var(--brand); }
.api-arrow .ico { transform: rotate(90deg); position: relative; background: var(--bg); border-radius: 50%; }
.api-arrow i { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: repeating-linear-gradient(180deg, var(--brand-100) 0 4px, transparent 4px 8px); }
@media (min-width: 768px) {
  .api-flow { flex-direction: row; align-items: center; }
  .api-node { flex: 1; }
  .api-arrow { width: 44px; height: auto; flex: none; }
  .api-arrow .ico { transform: none; }
  .api-arrow i { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-100) 0 4px, transparent 4px 8px); }
}
@media (min-width: 1024px) { .api-banner .api-flow { flex-direction: column; align-items: stretch; } .api-banner .api-arrow { width: auto; height: 28px; } .api-banner .api-arrow .ico { transform: rotate(90deg); } .api-banner .api-arrow i { top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--brand-100) 0 4px, transparent 4px 8px); } }
.btn-light .ico, .btn .ico { flex: none; }

.plan-grid-auto { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.plan-card .plan-code { display: block; margin: -6px 0 8px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.unit-note { margin: -10px 0 16px; font-size: .82rem; font-weight: 600; color: var(--brand); }
.feature-list li.is-off { color: var(--muted); }
.feature-list li.is-off .ico { color: var(--muted); background: var(--bg-alt); }
.plan-card-pack { padding: 22px 20px; }
.plan-card-pack .feature-list { margin-bottom: 14px; }
.plan-group + .plan-group { margin-top: 40px; }
.plan-group-title { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.plan-note { display: flex; gap: 10px; align-items: flex-start; max-width: 860px; margin: 24px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--accent-50); color: var(--ink); font-size: .92rem; }
.plan-note .ico { color: #a68400; margin-top: 2px; }
.pick small { font-size: .72rem; color: var(--muted); font-weight: 600; margin-left: 2px; }

.spec-list { margin: 0 0 18px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; font-size: .88rem; }
.spec-list div:nth-child(odd) { background: var(--bg-alt); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.is-pending { color: var(--muted) !important; font-weight: 500 !important; font-style: italic; }

.sign-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
@media (min-width: 1180px) { .sign-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.sign-card { min-width: 0; }
.sign-card { display: flex; flex-direction: column; text-align: center; padding: 22px 16px 18px; transition: transform .2s, box-shadow .2s; }
.sign-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sign-card .plan-flag { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.sign-label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sign-card h3 { font-size: 1.3rem; margin: 4px 0 2px; }
.sign-card .price { justify-content: center; margin-bottom: 8px; }
.sign-card .price .period { display: none; }
.sign-card .plan-desc { font-size: .8rem; min-height: 0; flex: 1; }
.sign-card .link-more { margin-top: 10px; font-size: .82rem; }

/* combos */
.combo-card { display: flex; flex-direction: column; }
.combo-items { list-style: none; padding: 0; margin: 4px 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.combo-items li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--bg-alt); border-radius: 10px; font-weight: 600; font-size: .85rem; color: var(--ink); }
.combo-items .ico { color: var(--brand); }
.combo-items li.plus { background: none; padding: 0; color: var(--muted); }
.combo-card .from { margin: auto 0 14px; }

/* por qué / cómo funciona */
.why-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.why-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-weight: 700; color: var(--ink); }
.why-item > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.why-item span { display: inline-flex; align-items: center; gap: 8px; }
.why-item .ico-check { color: var(--wa); width: 1.1em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps p { margin: 0; font-size: .94rem; }

/* testimonios */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-size: 1rem; color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--brand); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq p { margin: 0 0 18px; }

/* contacto */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--brand-50); color: var(--brand); flex: none; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a, .contact-list span { word-break: break-word; }

/* formularios */
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .radio-group legend { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 1rem var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8rem; font-weight: 600; }
.field-error:empty { display: none; }
.radio-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.radio-group legend { width: 100%; margin-bottom: 6px; }
.radio-group label { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; min-height: 40px; cursor: pointer; }
.radio-group input, .check input { width: 18px; height: 18px; accent-color: var(--brand); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.form-actions-split { justify-content: space-between; }
.form-actions .btn-lg { flex: 1 1 auto; }
@media (min-width: 640px) { .form-actions .btn-lg { flex: 0 0 auto; } }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: .92rem; cursor: pointer; }
.check input { margin-top: 3px; flex: none; }

/* ---------- páginas internas */
.page-hero { padding: 48px 0 40px; background: radial-gradient(700px 300px at 90% 0, rgba(246, 198, 4, .12), transparent 60%), linear-gradient(180deg, var(--brand-50), #fff); }
.page-hero-sm { padding: 18px 0 0; background: none; }
.page-hero .lead, .lead { font-size: 1.1rem; max-width: 640px; }
.page-hero-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 1024px) { .page-hero { padding: 72px 0 56px; } .page-hero-grid { grid-template-columns: 1.4fr 1fr; } }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefits li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-weight: 600; color: var(--ink); }
.benefits .ico { color: #fff; background: var(--brand); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.spec-table { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.spec-table div { display: grid; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec-table div:last-child { border-bottom: 0; }
.spec-table dt { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.spec-table dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
@media (min-width: 640px) { .spec-table div { grid-template-columns: 220px 1fr; align-items: center; } }
.notice { background: var(--accent-50); border-color: #f3df8a; color: var(--ink); padding: 14px 18px; border-radius: 14px; }
.legal-body { max-width: 760px; }
.cta-band { border-radius: 24px; padding: 40px 24px; background: linear-gradient(120deg, var(--navy), var(--brand) 70%, var(--brand-500)); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto 22px; }
.cta-band .hero-actions { justify-content: center; margin: 0; }
.service-card { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 640px) { .service-card { flex-direction: row; gap: 20px; } }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-list { display: grid; gap: 16px; }

/* detalle */
.detail { display: grid; gap: 32px; }
@media (min-width: 1024px) { .detail { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } .detail-media { position: sticky; top: calc(var(--header-h) + 24px); } }
.detail h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-top: 12px; }
.detail h1 .muted { font-weight: 700; }
.h-sm { font-size: 1.1rem; margin: 24px 0 12px; }
.card > .h-sm:first-child { margin-top: 0; }
.plan-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.pick { display: flex; flex-direction: column; align-items: flex-start; min-width: 96px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 600 .85rem var(--font); color: var(--text); cursor: pointer; transition: all .15s; }
.pick strong { font-size: 1.05rem; color: var(--ink); }
.pick:hover { border-color: var(--brand); }
.pick.is-active { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-50); }
.detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.detail-price .price { margin-bottom: 4px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.detail-actions .btn { flex: 1 1 200px; }
.mock { border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--brand-50), #fff 60%, var(--accent-50)); box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 4 / 3; display: flex; flex-direction: column; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, .7); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcd8ea; }
.mock-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--ink); font-size: 1.15rem; }
.mock-body .cat-icon { margin: 0; background: #fff; box-shadow: var(--shadow); }
.mock-lines { width: min(280px, 80%); display: grid; gap: 8px; }
.mock-lines span { height: 10px; border-radius: 6px; background: rgba(10, 73, 186, .1); width: 100%; justify-self: center; }

/* ---------- carrito / checkout */
.stepper { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--muted); text-align: center; position: relative; }
.stepper li::before { content: ''; position: absolute; top: 17px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: -1; }
.stepper li:first-child::before { display: none; }
.stepper li.is-done::before, .stepper li.is-current::before { background: var(--brand); }
.stepper span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--muted); font-size: .9rem; }
.stepper .is-current span { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.stepper .is-done span { background: var(--brand); border-color: var(--brand); color: #fff; }
.stepper .is-current { color: var(--ink); }
@media (min-width: 640px) { .stepper li { font-size: .88rem; } }
.checkout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1fr 360px; } .order-summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.cart-lines { list-style: none; margin: 0 0 8px; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'ic info rm' 'ic qty total'; gap: 8px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-lines .cat-icon { grid-area: ic; margin: 0; align-self: start; }
.cl-info { grid-area: info; min-width: 0; }
.cl-info strong { display: block; color: var(--ink); }
.cl-info span { font-size: .88rem; color: var(--muted); }
.cart-lines .qty { grid-area: qty; }
.cl-total { grid-area: total; color: var(--ink); text-align: right; }
.cart-lines .icon-btn { grid-area: rm; justify-self: end; }
@media (min-width: 640px) { .cart-lines li { grid-template-columns: auto 1fr auto 80px auto; grid-template-areas: 'ic info qty total rm'; } }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; width: max-content; }
.qty button { width: 40px; height: 40px; border: 0; background: #fff; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { background: var(--bg-alt); }
.qty output { min-width: 32px; text-align: center; font-weight: 800; color: var(--ink); }
.qty-fixed { padding: 8px 14px; color: var(--muted); font-weight: 700; border-style: dashed; }
.order-summary ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; font-size: .9rem; }
.order-summary li { display: flex; justify-content: space-between; gap: 12px; }
.order-summary dl { margin: 0; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.order-summary dl div { display: flex; justify-content: space-between; }
.order-summary dd { margin: 0; font-weight: 700; color: var(--ink); }
.order-summary .disc dd { color: var(--wa-700); }
.order-summary .total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 1.2rem; }
.order-summary .total dt { font-weight: 800; color: var(--ink); }
.order-summary .total dd { font-weight: 800; }
.combo-hint { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; background: var(--brand-50); border-radius: 12px; font-size: .9rem; color: var(--ink); }
.combo-hint .ico { color: var(--brand); margin-top: 2px; }
.pay-methods { display: grid; gap: 10px; }
.pay-method { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: all .15s; }
.pay-method:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pay-method input { margin-top: 12px; accent-color: var(--brand); width: 18px; height: 18px; }
.pay-method strong { display: block; color: var(--ink); }
.pay-method small { color: var(--muted); font-size: .86rem; }
.pm-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; color: var(--brand); border: 1px solid var(--line); }
.pm-ico svg { width: 22px; height: 22px; }
.empty-cart, .success { text-align: center; padding: 40px 24px; }
.empty-cart .ico-xl { width: 56px; height: 56px; color: var(--brand); margin: 0 auto 12px; }
.empty-cart .hero-actions { justify-content: center; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e6f7ee; color: #157347; }
.success-icon .ico { width: 32px; height: 32px; }
.success .btn { margin-top: 8px; }
.success-page { max-width: 640px; margin: 0 auto; }
.success-page .spec-table { text-align: left; margin: 20px 0; }

/* ---------- modal y toast */
.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(18, 20, 43, .55); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; }
.modal-backdrop.is-on { opacity: 1; }
.modal { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 28px 18px 24px; transform: translateY(30px); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.modal-backdrop.is-on .modal { transform: none; }
@media (min-width: 640px) { .modal-backdrop { align-items: center; padding: 24px; } .modal { max-width: 640px; border-radius: 22px; padding: 32px; } }
.modal-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--bg-alt); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.modal-title { font-size: 1.5rem; padding-right: 40px; }
.summary-box { background: var(--brand-50); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.summary-box dl { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 8px 16px; }
.summary-box dt { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.summary-box dd { margin: 0; color: var(--ink); font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: all .25s; z-index: 90; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31, 168, 85, .7); transition: transform .2s; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: .4; animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }

/* ---------- footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 56px 0 24px; margin-top: 0; }
.site-footer .brand, .site-footer h3 { color: #fff; }
.site-footer h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer-contact li > a, .footer-contact li > span { display: inline-flex; gap: 8px; align-items: flex-start; word-break: break-word; }
.footer-contact .link-wa { color: #4fdc8a; }
.footer-brand p { margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* animación de aparición */
.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.will-reveal.is-in { opacity: 1; transform: none; }
/* =====================================================================
   IDENTIDAD VIBRANTE — colores de los íconos del logo DVSystem Ecuador
   ===================================================================== */
[data-tone] { --t1: #2f8bf5; --t2: #0a49ba; }
[data-tone="blue"]   { --t1: #36a3ff; --t2: #0a49ba; }
[data-tone="green"]  { --t1: #5fd068; --t2: #1f9a3a; }
[data-tone="purple"] { --t1: #b46cf0; --t2: #6a2bc9; }
[data-tone="sky"]    { --t1: #4fc3f7; --t2: #1e7fd6; }
[data-tone="teal"]   { --t1: #3fd6c6; --t2: #0f9488; }
[data-tone="orange"] { --t1: #ffb43a; --t2: #f2621f; }
[data-tone="amber"]  { --t1: #ffd23f; --t2: #f59e0b; }
[data-tone="pink"]   { --t1: #ff6fb5; --t2: #d0247a; }

/* Ícono circular con degradado, como en el logo */
[data-tone] .cat-icon { border-radius: 50%; background: linear-gradient(145deg, var(--t1), var(--t2)); color: #fff;
  box-shadow: 0 10px 22px -8px var(--t2), inset 0 2px 0 rgba(255, 255, 255, .35); }
[data-tone] .from-quote { color: var(--t2); }

/* Tarjetas de categoría: borde superior y brillo del color de su servicio */
.cat-card[data-tone] { border-top: 4px solid var(--t1); }
.cat-card[data-tone]::after { background: linear-gradient(90deg, var(--t1), var(--t2)); }
.cat-card[data-tone]:hover { box-shadow: 0 22px 40px -18px var(--t2); border-color: var(--t1); }
.cat-card[data-tone] .card-cta { color: var(--t2); }
.product-card[data-tone]:hover { box-shadow: 0 22px 40px -20px var(--t2); }
.service-card[data-tone] { border-left: 4px solid var(--t1); }

/* ---------- HERO vibrante (azul marino del logo + brillos de color) */
.hero-vivid { background: linear-gradient(160deg, #001852 0%, #0a2f8a 55%, #0a49ba 100%); color: rgba(255, 255, 255, .86); padding-bottom: 110px; isolation: isolate; }
.hero-vivid h1 { color: #fff; margin-bottom: .1em; }
.hero-vivid .hero-lead { color: rgba(255, 255, 255, .85); }
.hero-vivid .hero-pill { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.hero-vivid .hero-pill b { background: var(--accent); color: var(--navy); }
.hero-vivid .hero-trust { color: rgba(255, 255, 255, .8); }
.hero-vivid .hero-trust .ico { color: var(--accent); }
.swoosh { display: block; width: min(320px, 70%); height: 22px; margin: 0 0 18px; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
.blob-1 { width: 380px; height: 380px; background: #b46cf0; top: -120px; right: 8%; }
.blob-2 { width: 320px; height: 320px; background: #3fd6c6; bottom: 40px; left: -100px; animation-delay: -6s; }
.blob-3 { width: 260px; height: 260px; background: #f6c604; top: 40%; right: -80px; opacity: .35; animation-delay: -10s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.1); } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }
.btn-yellow { background: var(--accent); color: var(--navy); box-shadow: 0 12px 26px -10px rgba(246, 198, 4, .8); }
.btn-yellow:hover { background: #ffd83a; color: var(--navy); transform: translateY(-2px); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hero-vivid .app-window { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1); }
.hero-vivid .bars span { background: linear-gradient(180deg, #4fc3f7, #1e7fd6); }
.hero-vivid .bars span:nth-child(3n) { background: linear-gradient(180deg, #ffd23f, #f59e0b); }
.hero-vivid .bars span:nth-child(3n+2) { background: linear-gradient(180deg, #b46cf0, #6a2bc9); }

/* Franja de servicios con círculos de color */
.service-strip { display: flex; gap: 14px; overflow-x: auto; padding: 44px 2px 8px; scrollbar-width: none; }
.service-strip::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .service-strip { justify-content: space-between; overflow: visible; } }
.svc-dot { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #fff; }
.svc-dot:hover { color: #fff; }
.svc-circle { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(145deg, var(--t1), var(--t2));
  box-shadow: 0 12px 24px -8px var(--t2), inset 0 3px 0 rgba(255, 255, 255, .35); border: 3px solid rgba(255, 255, 255, .85); transition: transform .25s cubic-bezier(.2, .9, .3, 1.4); }
.svc-circle .ico { width: 28px; height: 28px; }
.svc-dot:hover .svc-circle { transform: translateY(-6px) scale(1.08) rotate(-4deg); }
.svc-label { font-size: .74rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; }

/* Encabezados de sección: etiqueta tipo píldora */
.eyebrow { padding: 5px 14px; border-radius: 999px; background: var(--brand-50); }

/* Fondos alternos con un toque de color */
.section-alt { background: radial-gradient(600px 300px at 0% 0%, rgba(180, 108, 240, .08), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(63, 214, 198, .1), transparent 70%), #f5f8ff; }

/* Plan recomendado: tarjeta azul marino destacada */
.plan-card { transition: transform .25s, box-shadow .25s; }
.plan-card:not(.is-highlight):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.is-highlight { background: linear-gradient(165deg, #001852, #0a49ba); border: 0; color: rgba(255, 255, 255, .85); transform: translateY(-8px); box-shadow: 0 30px 60px -25px rgba(0, 24, 82, .7); }
.plan-card.is-highlight h3, .plan-card.is-highlight .price .amount { color: #fff; }
.plan-card.is-highlight .plan-desc, .plan-card.is-highlight .price .period, .plan-card.is-highlight .plan-code { color: rgba(255, 255, 255, .7); }
.plan-card.is-highlight .feature-list .ico { background: rgba(255, 255, 255, .15); color: var(--accent); }
.plan-card.is-highlight .btn-primary { background: var(--accent); color: var(--navy); box-shadow: none; }
.plan-card.is-highlight .link-more { color: #fff; }
.plan-card.is-highlight .spec-list { border-color: rgba(255, 255, 255, .15); }
.plan-card.is-highlight .spec-list div:nth-child(odd) { background: rgba(255, 255, 255, .06); }
.plan-card.is-highlight .spec-list dt { color: rgba(255, 255, 255, .7); }
.plan-card.is-highlight .spec-list dd { color: #fff; }
.plan-flag { background: var(--accent); color: var(--navy); }

/* Firma: cada vigencia con un acento de color distinto */
.sign-grid .sign-card { border-top: 4px solid var(--c, #4fc3f7); }
.sign-grid .sign-card:nth-child(1) { --c: #4fc3f7; } .sign-grid .sign-card:nth-child(2) { --c: #5fd068; }
.sign-grid .sign-card:nth-child(3) { --c: #f6c604; } .sign-grid .sign-card:nth-child(4) { --c: #ffb43a; }
.sign-grid .sign-card:nth-child(5) { --c: #ff6fb5; } .sign-grid .sign-card:nth-child(6) { --c: #b46cf0; }
.sign-grid .sign-card:nth-child(7) { --c: #3fd6c6; }
.sign-card.is-highlight { background: linear-gradient(165deg, #001852, #6a2bc9); border-color: transparent; color: rgba(255, 255, 255, .85); }
.sign-card.is-highlight h3, .sign-card.is-highlight .price .amount { color: #fff; }
.sign-card.is-highlight .sign-label, .sign-card.is-highlight .plan-desc { color: rgba(255, 255, 255, .75); }
.sign-card.is-highlight .btn-primary { background: var(--accent); color: var(--navy); }
.sign-card.is-highlight .link-more { color: #fff; }

/* ¿Por qué? y pasos con color */
.why-item > .ico { border-radius: 50%; color: #fff; }
.why-grid .why-item:nth-child(6n+1) > .ico { background: linear-gradient(145deg, #36a3ff, #0a49ba); }
.why-grid .why-item:nth-child(6n+2) > .ico { background: linear-gradient(145deg, #5fd068, #1f9a3a); }
.why-grid .why-item:nth-child(6n+3) > .ico { background: linear-gradient(145deg, #b46cf0, #6a2bc9); }
.why-grid .why-item:nth-child(6n+4) > .ico { background: linear-gradient(145deg, #4fc3f7, #1e7fd6); }
.why-grid .why-item:nth-child(6n+5) > .ico { background: linear-gradient(145deg, #ff6fb5, #d0247a); }
.why-grid .why-item:nth-child(6n+6) > .ico { background: linear-gradient(145deg, #ffb43a, #f2621f); }
.why-item { transition: transform .2s, box-shadow .2s; }
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-n { border-radius: 50%; box-shadow: 0 10px 20px -8px rgba(0, 24, 82, .5); }
.steps li:nth-child(1) .step-n { background: linear-gradient(145deg, #36a3ff, #0a49ba); }
.steps li:nth-child(2) .step-n { background: linear-gradient(145deg, #b46cf0, #6a2bc9); }
.steps li:nth-child(3) .step-n { background: linear-gradient(145deg, #ffb43a, #f2621f); }
.steps li:nth-child(4) .step-n { background: linear-gradient(145deg, #5fd068, #1f9a3a); }

/* Páginas internas: cabecera azul con brillos y curva */
.page-hero:not(.page-hero-sm) { position: relative; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, .85); padding-bottom: 76px;
  background: radial-gradient(500px 260px at 90% 0%, rgba(180, 108, 240, .45), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(63, 214, 198, .35), transparent 70%), linear-gradient(160deg, #001852, #0a49ba); }
.page-hero:not(.page-hero-sm)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: #fff; clip-path: ellipse(75% 100% at 50% 100%); }
.page-hero:not(.page-hero-sm) h1 { color: #fff; }
.page-hero:not(.page-hero-sm) .lead, .page-hero:not(.page-hero-sm) .muted { color: rgba(255, 255, 255, .85); }
.page-hero:not(.page-hero-sm) .crumbs, .page-hero:not(.page-hero-sm) .crumbs a { color: rgba(255, 255, 255, .7); }
.page-hero:not(.page-hero-sm) .eyebrow { background: rgba(255, 255, 255, .12); color: var(--accent); }
.page-hero:not(.page-hero-sm) .btn-primary { background: var(--accent); color: var(--navy); }
.page-hero:not(.page-hero-sm) .hero-pill { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.page-hero:not(.page-hero-sm) .hero-pill b { background: var(--accent); color: var(--navy); }
.api-hero .api-node { color: var(--text); }

/* Banda CTA y pie con el arcoíris del logo */
.cta-band { background: radial-gradient(400px 200px at 100% 0%, rgba(246, 198, 4, .35), transparent 70%), radial-gradient(400px 220px at 0% 100%, rgba(180, 108, 240, .45), transparent 70%), linear-gradient(120deg, #001852, #0a49ba); }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #36a3ff, #5fd068, #b46cf0, #3fd6c6, #ffb43a, #ff6fb5, #4fc3f7); }

/* Chips del catálogo con color al activarse */
.chip.is-active { background: linear-gradient(135deg, #0a49ba, #2f6fe0); box-shadow: 0 8px 18px -8px rgba(10, 73, 186, .7); }

.sign-phone { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; color: rgba(255, 255, 255, .9); }
.sign-phone:empty { display: none; }
.sign-phone strong { color: #fff; }
.sign-phone .ico { color: var(--accent); }

/* Firma electrónica: tarjeta simple — vigencia, precio (inc. IVA) y botón */
.price-note { flex-basis: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sign-card { padding: 26px 16px 18px; gap: 4px; }
.sign-card h3 { font-size: 1.15rem; margin: 0; }
.sign-card .price { flex-direction: column; align-items: center; gap: 0; margin: 6px 0 16px; }
.sign-card .price-lg .amount { font-size: 2.4rem; line-height: 1.1; }
.sign-card .price-note { flex-basis: auto; }
.sign-card .btn { margin-top: auto; }
.sign-card.is-highlight .price-note, .plan-card.is-highlight .price-note { color: rgba(255, 255, 255, .7); }
.summary-box dd small { color: var(--muted); font-weight: 600; }

/* Firma electrónica: pasos para obtenerla */
.flow-tabs { justify-content: center; }
.flow-tabs .chip { display: inline-flex; align-items: center; gap: 8px; }
.flow-tabs .chip.is-active .badge { background: rgba(255, 255, 255, .2); color: #fff; }
.flow-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 640px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .flow-steps { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px 18px; box-shadow: var(--shadow-sm);
  animation: fadeUp .4s ease both; animation-delay: calc(var(--i) * 60ms); transition: transform .2s, box-shadow .2s; }
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-step h3 { font-size: 1rem; margin: 12px 0 6px; }
.flow-step p { font-size: .88rem; margin: 0; color: var(--muted); }
.flow-n { position: absolute; top: 14px; right: 16px; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--brand-50); }
.flow-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--f1), var(--f2)); box-shadow: 0 10px 20px -8px var(--f2); }
.flow-ico .ico { width: 24px; height: 24px; }
.flow-step:nth-child(7n+1) { --f1: #36a3ff; --f2: #0a49ba; }
.flow-step:nth-child(7n+2) { --f1: #5fd068; --f2: #1f9a3a; }
.flow-step:nth-child(7n+3) { --f1: #b46cf0; --f2: #6a2bc9; }
.flow-step:nth-child(7n+4) { --f1: #ffb43a; --f2: #f2621f; }
.flow-step:nth-child(7n+5) { --f1: #4fc3f7; --f2: #1e7fd6; }
.flow-step:nth-child(7n+6) { --f1: #ff6fb5; --f2: #d0247a; }
.flow-step:nth-child(7n+7) { --f1: #3fd6c6; --f2: #0f9488; }
.flow-step:last-child { border: 2px solid #5fd068; }
.flow-note { margin: 24px auto 0; }

/* Hosting: selector de pago Mensual / Anual */
.billing-toggle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 5px; gap: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.billing-toggle button { min-height: 42px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent; font: 700 .95rem var(--font); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.billing-toggle button:hover { color: var(--brand); }
.billing-toggle button.is-active { background: linear-gradient(135deg, #0a49ba, #2f6fe0); color: #fff; box-shadow: 0 8px 18px -8px rgba(10, 73, 186, .7); }
.billing-wrap .plan-card .unit-note { margin-top: -10px; }
.plan-card.is-highlight .unit-note { color: var(--accent); }

/* Facturación: planes con selector Mensual / Anual */
.billing-plans { --bp-ease: cubic-bezier(.2, .8, .2, 1); }
.bp-switch { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 auto 36px; text-align: center; }
.bp-switch-title { margin: 0; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.bp-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(300px, 100%); padding: 5px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.bp-toggle button { position: relative; z-index: 1; min-height: 46px; border: 0; background: none; border-radius: 999px; font: 800 .9rem var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: color .3s; }
.bp-toggle button[aria-checked="true"] { color: #fff; }
.bp-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(135deg, #0a49ba, #2f6fe0); box-shadow: 0 8px 18px -8px rgba(10, 73, 186, .8); transition: transform .35s var(--bp-ease); }
[data-billing-mode="anio"] .bp-thumb { transform: translateX(100%); }
.bp-status { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--ink); font-size: .92rem; }
.bp-save-tag { padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--navy); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bp-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 640px) { .bp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bp-grid { grid-template-columns: repeat(4, 1fr); } }
.bp-card { display: flex; flex-direction: column; padding: 30px 22px 24px; transition: transform .25s, box-shadow .25s; }
.bp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bp-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.bp-card .plan-desc { min-height: 3em; }
.bp-price { position: relative; margin: 6px 0 20px; min-height: 150px; }
.bp-monthly, .bp-annual { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.bp-amount { font-size: clamp(2.1rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.05; }
.bp-period { color: var(--muted); font-weight: 600; font-size: .92rem; }
.bp-tax { display: inline-block; margin-left: 2px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); }
.bp-equiv { flex-basis: 100%; margin-top: 6px; font-weight: 800; color: var(--brand); font-size: 1rem; }
.bp-billed { flex-basis: 100%; font-size: .8rem; color: var(--muted); }
.bp-save { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.bp-save b { padding: 4px 10px; border-radius: 8px; background: #e6f7ee; color: #157347; font-size: .82rem; }
.bp-best { padding: 4px 10px; border-radius: 8px; background: var(--accent); color: var(--navy); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
/* Mostrar solo la modalidad elegida */
[data-billing-mode="mes"] .bp-annual, [data-billing-mode="anio"] .bp-monthly { display: none; }
.bp-anim .bp-monthly, .bp-anim .bp-annual { animation: bpIn .4s var(--bp-ease) both; }
@keyframes bpIn { from { opacity: 0; transform: translateY(8px); } }
.bp-card .feature-list { flex: 1; margin-bottom: 22px; }
.bp-card .feature-list li { font-size: .9rem; }
.bp-cta { margin-top: auto; }
/* Corporativo: más elegido */
.bp-card.is-highlight { background: linear-gradient(165deg, #001852, #0a49ba); border: 0; color: rgba(255, 255, 255, .85); box-shadow: 0 30px 60px -25px rgba(0, 24, 82, .7); }
@media (min-width: 1100px) { .bp-card.is-highlight { transform: translateY(-10px); } .bp-card.is-highlight:hover { transform: translateY(-14px); } }
.bp-card.is-highlight h3, .bp-card.is-highlight .bp-amount { color: #fff; }
.bp-card.is-highlight .plan-desc, .bp-card.is-highlight .bp-period, .bp-card.is-highlight .bp-tax, .bp-card.is-highlight .bp-billed { color: rgba(255, 255, 255, .72); }
.bp-card.is-highlight .bp-equiv { color: var(--accent); }
.bp-card.is-highlight .feature-list .ico { background: rgba(255, 255, 255, .15); color: var(--accent); }
.bp-card.is-highlight .btn-primary { background: var(--accent); color: var(--navy); box-shadow: none; }
/* Ilimitado: premium */
.bp-card.is-premium { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #f6c604, #b46cf0, #0a49ba) border-box; }
.plan-flag.flag-premium { background: linear-gradient(135deg, #b46cf0, #6a2bc9); color: #fff; }
.bp-card.is-premium .btn-outline { border-color: #b46cf0; color: #6a2bc9; }
.bp-card.is-premium .btn-outline:hover { background: #f6efff; }
/* Módulos */
.bp-modules { margin-top: 56px; text-align: center; }
.bp-modules h3 { font-size: 1.4rem; margin-bottom: 4px; }
.bp-modules > p { color: var(--muted); margin-bottom: 22px; }
.bp-modules ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .bp-modules ul { grid-template-columns: repeat(4, 1fr); } }
.bp-modules li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; color: var(--ink); text-align: left; font-size: .92rem; transition: transform .2s, box-shadow .2s; }
.bp-modules li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bp-mod-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-50); font-size: 1.3rem; }
.bp-legal { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: .82rem; color: var(--muted); }

/* Diseño web */
[data-tone="coral"] { --t1: #ff9a76; --t2: #e8553d; }
.cmp-table td, .cmp-table thead th { text-align: center; white-space: normal; min-width: 130px; }
.cmp-table tbody th { min-width: 180px; white-space: normal; font-weight: 700; }
.cmp-table thead th span { display: block; font-size: 1.2rem; letter-spacing: 0; text-transform: none; margin-top: 2px; }
.cmp-table thead th.is-hl { background: linear-gradient(165deg, #0a49ba, #2f6fe0); }
.cmp-table td.is-hl { background: rgba(10, 73, 186, .06); }
.cmp-table td { font-weight: 600; font-size: .9rem; }
.cmp-table tfoot td, .cmp-table tfoot th { border-bottom: 0; background: #fff; }
.cmp-yes .ico { color: #1f9a3a; width: 22px; height: 22px; }
.cmp-no .ico { color: #c3c6d4; width: 20px; height: 20px; }
.table-wrap.cmp-wrap { max-height: none; overflow-y: visible; }

/* Dominios */
.price-from { flex-basis: 100%; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan-card.is-highlight .price-from { color: rgba(255, 255, 255, .7); }
[data-tone="indigo"] { --t1: #8c9bff; --t2: #3f51d8; }
.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; }
.domain-search { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 760px; margin-top: 26px; padding: 8px; background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); }
.domain-search input, .domain-search select { min-height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: 600 1rem var(--font); color: var(--ink); background: #fff; min-width: 0; }
.domain-search input:focus, .domain-search select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.domain-search .dom-www { display: none; }
.domain-search .btn { min-height: 52px; }
@media (min-width: 720px) {
  .domain-search { grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 0; padding: 6px; }
  .domain-search .dom-op { border: 0; border-right: 1.5px solid var(--line); border-radius: 12px 0 0 12px; background: var(--bg-alt); }
  .domain-search .dom-www { display: block; padding: 0 2px 0 14px; color: var(--muted); font-weight: 600; }
  .domain-search input { border: 0; padding-left: 2px; }
  .domain-search input:focus, .domain-search select:focus { box-shadow: none; }
  .domain-search #dom-ext { border: 0; border-left: 1.5px solid var(--line); border-radius: 0; font-weight: 800; color: var(--brand); }
  .domain-search .btn { margin-left: 6px; }
}
.domain-result { max-width: 760px; }
.dom-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 18px 20px; background: #fff; border-radius: 16px; color: var(--text); box-shadow: var(--shadow); animation: fadeUp .3s ease both; }
.dom-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dom-op-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.dom-name { font-size: 1.35rem; color: var(--ink); word-break: break-all; }
.dom-price { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.dom-price small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.dom-hint { color: var(--muted); }
.dom-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dom-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff1f1; color: var(--danger); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.domain-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.domain-table th, .domain-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.domain-table thead th { position: sticky; top: 0; background: var(--navy); color: #fff; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.domain-table tbody th { color: var(--ink); font-weight: 800; }
.domain-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.domain-table tbody tr:hover { background: var(--brand-50); }
.domain-table td { font-weight: 700; color: var(--ink); }
.domain-table tbody tr:last-child th, .domain-table tbody tr:last-child td { border-bottom: 0; }
.table-wrap { max-height: 520px; overflow-y: auto; }
.table-note { margin-top: 10px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
