/* ==========================================================================
   Hostea — Estilos principales (mobile-first, modo claro/oscuro)
   ========================================================================== */
:root {
  /* Marca */
  --brand: #1d4ed8;
  --brand-2: #2563eb;
  --navy: #0a1f5c;
  --navy-2: #0d2b80;
  --accent: #ff6b5f;
  --accent-dark: #f0544a;
  --ok: #10b981;
  --err: #ef4444;
  --grad: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  --grad-accent: linear-gradient(135deg, #ff7a6b 0%, #f0544a 100%);

  /* Superficies (modo claro) */
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --card: #ffffff;
  --text: #1c2340;
  --heading: #0a1638;
  --muted: #5b6584;
  --border: #e3e7f1;
  --soft: #eef2ff;
  --nav-bg: rgba(255, 255, 255, .92);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 12px 30px -12px rgba(15, 30, 90, .2);
  --shadow-lg: 0 28px 60px -18px rgba(15, 30, 90, .35);

  --radius: 16px;
  --container: 1200px;
  --header-h: 70px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

/* Modo oscuro: por preferencia del sistema o elegido por el usuario */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020; --bg-alt: #0f1630; --card: #131b36; --text: #d6dbef; --heading: #ffffff;
    --muted: #98a2c4; --border: #243056; --soft: #1a2448; --nav-bg: rgba(11, 16, 32, .92);
    --shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 28px 60px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1020; --bg-alt: #0f1630; --card: #131b36; --text: #d6dbef; --heading: #ffffff;
  --muted: #98a2c4; --border: #243056; --soft: #1a2448; --nav-bg: rgba(11, 16, 32, .92);
  --shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 28px 60px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .25s, color .25s;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; color: var(--heading); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { background: var(--bg-alt); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.18rem); color: var(--muted); }
.hl { color: #ffb4ad; }
.hl-text { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .55); outline-offset: 2px; }
.note { text-align: center; color: var(--muted); font-weight: 600; margin-top: 28px; }
.link-arrow { font-weight: 700; color: var(--brand-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .7); }
.btn--primary:hover { color: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--grad-accent); color: #fff; box-shadow: 0 10px 22px -10px rgba(240, 84, 74, .8); }
.btn--accent:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(240, 84, 74, .9); }
.btn--outline { border-color: var(--border); color: var(--heading); background: var(--card); }
.btn--outline:hover { border-color: var(--brand-2); color: var(--brand-2); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Etiquetas ---------- */
.tag {
  display: inline-block; font-style: normal; font-size: .68rem; font-weight: 700; line-height: 1.5;
  padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--brand-2);
  vertical-align: middle; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em;
}
.tag--hot { background: rgba(255, 107, 95, .14); color: var(--accent-dark); }
.tag--ok { background: rgba(16, 185, 129, .14); color: #059669; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #c9d3f5; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: center; align-items: center; min-height: 40px; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar__promo { color: #fff; text-align: center; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.topbar__promo:hover { color: #ffd2cd; }
.topbar__tag { background: var(--accent); color: #fff; font-weight: 800; font-size: .66rem; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.topbar__links { display: none; gap: 18px; }
.topbar__links a { color: #c9d3f5; }
.topbar__links a:hover { color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .25s; }
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 26px; width: auto; }
.logo__img--dark { display: none; }
:root[data-theme="dark"] .logo__img--light { display: none; }
:root[data-theme="dark"] .logo__img--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo__img--light { display: none; }
  :root:not([data-theme="light"]) .logo__img--dark { display: block; }
}

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { display: none; }
.theme-toggle, .nav__toggle {
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--card);
  display: inline-grid; place-items: center; cursor: pointer; color: var(--heading);
}
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.nav__toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.nav__toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil (panel) */
.nav__menu {
  position: fixed; top: var(--menu-top, calc(var(--header-h) + 40px)); left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--bg); padding: 12px 16px 32px; display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; overflow-y: auto;
}
.nav-open .nav__menu { transform: none; visibility: visible; }
body.nav-open { overflow: hidden; }
.nav__item { border-bottom: 1px solid var(--border); }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: 0; font: inherit; font-weight: 700; font-size: 1.08rem; color: var(--heading);
  padding: 15px 6px; cursor: pointer; text-align: left;
}
.nav__link--plain { border-bottom: 1px solid var(--border); }
.nav__link.active, .nav__link:hover { color: var(--brand-2); }
.chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav__item.open .chev { transform: rotate(180deg); }
.nav__cta-mobile { margin-top: 20px; }

/* Mega menú (móvil: acordeón) */
.mega { display: none; padding: 0 0 14px; }
.nav__item.open .mega { display: block; }
.mega__grid { display: grid; gap: 14px; }
.mega__col--alt { background: var(--bg-alt); border-radius: 14px; padding: 14px 16px; }
.mega__title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 4px 0 8px; }
.mega__link {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 12px; color: var(--text);
  transition: background .15s;
}
.mega__link:hover { background: var(--bg-alt); color: var(--text); }
.mega__name { font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mega__desc { grid-column: 1; font-size: .85rem; color: var(--muted); }
.mega__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 800; color: var(--accent-dark); white-space: nowrap; font-size: .95rem; }
.mega__price small { font-weight: 500; color: var(--muted); }
.mega__more { display: inline-block; margin: 8px 12px 0; font-weight: 700; font-size: .9rem; }
.mega__simple { display: block; padding: 8px 0; font-weight: 600; color: var(--heading); }
.mega__simple:hover { color: var(--brand-2); }
.mega__tlds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mega__tlds span { background: var(--bg-alt); border-radius: 10px; padding: 6px 10px; font-size: .85rem; color: var(--muted); }
.mega__tlds strong { color: var(--heading); margin-right: 6px; }

.mini-search { display: flex; gap: 6px; padding: 5px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--card); }
.mini-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 0 10px; color: var(--text); }
.mini-search--lg { padding: 6px; margin-bottom: 16px; }

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 16px; }
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 10px; font-weight: 600; border: 1px solid; }
.flash--ok { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.flash--error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 52px 0 64px; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(37, 99, 235, .55), transparent 65%),
    radial-gradient(600px 420px at 0% 100%, rgba(255, 107, 95, .22), transparent 60%),
    linear-gradient(160deg, #0a1f5c 0%, #0b1a4a 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 7.4vw, 3.3rem); overflow-wrap: break-word; }
.hero .lead { color: #c9d3f5; max-width: 580px; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .84rem; font-weight: 600; color: #e1e7fb;
}
.hero__checks { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero__checks li { position: relative; padding-left: 24px; font-weight: 600; color: #e1e7fb; font-size: .95rem; }
.hero__checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(16,185,129,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.hero__checks--center { justify-content: center; margin-top: 22px; margin-bottom: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas--center { justify-content: center; margin-top: 26px; }
.hero__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; max-width: 520px; }
.hero__metrics div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; }
.hero__metrics strong { font-size: 1.1rem; color: #fff; }
.hero__metrics span { font-size: .78rem; color: #aab6e0; }

/* Tarjeta del hero con pestañas */
.hero__card { background: var(--card); color: var(--text); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); width: 100%; max-width: 460px; justify-self: center; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-alt); border-radius: 12px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 1; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .9rem; color: var(--muted);
  padding: 9px 12px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s;
}
.tabs button[aria-selected="true"] { background: var(--card); color: var(--heading); box-shadow: var(--shadow-sm); }
.tabs--center { max-width: 460px; margin: 0 auto 32px; }
.tabpanel[hidden] { display: none; }
.offer__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.offer__head h3 { margin: 0; font-size: 1.3rem; }
.offer__foot { text-align: center; font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.hero__card .checklist { margin: 14px 0 20px; }
.hero__card .specs { margin-bottom: 18px; }
.tld-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tld-mini div { background: var(--bg-alt); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.tld-mini strong { color: var(--heading); font-size: 1.1rem; }
.tld-mini span { font-size: .82rem; color: var(--muted); }

/* ---------- Strip de confianza ---------- */
.strip { background: var(--card); border-bottom: 1px solid var(--border); }
.strip__grid { display: grid; grid-template-columns: 1fr 1fr; }
.strip__grid > div { display: flex; gap: 12px; align-items: center; padding: 18px 10px; }
.strip svg { width: 28px; height: 28px; flex-shrink: 0; fill: var(--brand-2); }
.strip span { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.strip strong { font-size: .92rem; color: var(--heading); }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 64px; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 740px; margin: 0 auto 40px; }
.section__head--left { text-align: left; margin-left: 0; }
.section__head p { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); margin-bottom: 10px; }
.eyebrow--light { color: #ffb4ad; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; text-align: center; padding: 56px 0 104px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 320px at 50% 0%, rgba(37, 99, 235, .55), transparent 70%),
              radial-gradient(500px 300px at 90% 100%, rgba(255, 107, 95, .2), transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 860px; margin-left: auto; margin-right: auto; }
.page-hero .lead { color: #c9d3f5; max-width: 660px; margin: 0 auto; }
.page-hero--sm { padding: 48px 0; }
.pricing--overlap { margin-top: -104px; position: relative; z-index: 2; }

/* ---------- Infraestructura ---------- */
.infra { display: grid; gap: 12px; }
.infra__item { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.infra__item p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.infra__item strong { color: var(--heading); }
.infra__dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--grad); flex-shrink: 0; box-shadow: 0 0 0 4px var(--soft); }

/* ---------- Precios ---------- */
.pricing { display: grid; gap: 22px; margin-bottom: 20px; }
.price-card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card--featured { border: 2px solid var(--accent); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-accent); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 1.3rem; }
.price-card__desc { color: var(--muted); font-size: .95rem; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.price__amount { font-size: 2.3rem; font-weight: 800; color: var(--heading); letter-spacing: -.03em; line-height: 1.1; }
.price__amount--sm { font-size: 1.6rem; }
.price__period { color: var(--muted); font-weight: 600; }
.price__note { font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.price-card .btn { margin: 8px 0 22px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; font-size: .95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(16, 185, 129, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.checklist strong { color: var(--heading); }
.checklist--lg { margin: 18px 0 28px; }
.checklist--lg li { font-size: 1rem; }
.checklist--sm { gap: 7px; }
.checklist--sm li { font-size: .88rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 4px; }
.specs div { background: var(--bg-alt); border-radius: 12px; padding: 10px 12px; }
.specs small { display: block; color: var(--muted); font-size: .74rem; }
.specs strong { font-size: .92rem; color: var(--heading); }

/* ---------- Garantías ---------- */
.guarantees { display: grid; gap: 16px; }
.guarantee { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; position: relative; overflow: hidden; }
.guarantee::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-accent); }
.guarantee p { color: var(--muted); margin: 0; font-size: .95rem; }
.guarantee__icon, .feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; flex-shrink: 0; background: var(--soft); }
.guarantee__icon svg, .feature__icon svg { width: 24px; height: 24px; fill: var(--brand-2); }

/* ---------- Features ---------- */
.features { display: grid; gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; transition: box-shadow .2s, border-color .2s; }
.feature:hover { box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Split + mockups ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__visual { display: flex; justify-content: center; }
.mock { width: 100%; max-width: 460px; border-radius: 20px; overflow: hidden; background: #0d1838; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-lg); color: #d6dbef; }
.mock__top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.mock__top i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.mock__top i:nth-child(2) { background: #f59e0b; }
.mock__top i:nth-child(3) { background: #10b981; }
.mock__top span { margin-left: 10px; font-size: .8rem; color: #98a2c4; }
.mock__body { padding: 20px; display: grid; gap: 14px; }
.mock__row { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 10px; font-size: .85rem; }
.mock__row span { color: #98a2c4; }
.mock__row em { font-style: normal; font-weight: 700; color: #fff; font-size: .82rem; }
.meter, .progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter b, .progress b { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #3b82f6, #60a5fa); animation: fill 1.4s ease both; }
.progress { height: 12px; }
.progress b { background: var(--grad-accent); }
@keyframes fill { from { width: 0; } }
.mock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock__grid div { background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.mock__grid small { color: #98a2c4; font-size: .74rem; }
.mock__grid strong { color: #fff; font-size: .92rem; }
.mock .ok, .term .ok { color: #34d399; }
.mock__status { text-align: center; font-size: .8rem; font-weight: 700; color: #34d399; background: rgba(16,185,129,.1); border-radius: 10px; padding: 8px; }
.term { margin: 0; background: #070d22; border-radius: 12px; padding: 14px; font: 500 .8rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; color: #c9d3f5; white-space: pre-wrap; }
.progress__label { margin: -4px 0 0; font-size: .82rem; font-weight: 700; color: #fff; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps-list li { position: relative; padding: 10px 12px 10px 38px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: .88rem; color: #98a2c4; }
.steps-list li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid #3a4670; }
.steps-list .done { color: #fff; }
.steps-list .done::before { border-color: #10b981; background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.steps-list .doing { color: #fff; }
.steps-list .doing::before { border-color: var(--accent); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 16px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step p { color: var(--muted); margin: 0; }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; }

/* ---------- Soporte ---------- */
.channels { display: grid; gap: 16px; }
.channel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.channel:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.channel p { color: var(--muted); margin-bottom: 10px; word-break: break-word; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-bottom: 24px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 700; position: relative; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 64px; }
.section--alt + .cta, .cta--after-alt { padding-top: 64px; }
.cta__inner {
  background: var(--navy); border-radius: 24px; padding: 40px 24px; color: #fff;
  display: grid; gap: 24px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(37,99,235,.6), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(255,107,95,.3), transparent 70%); }
.cta__inner > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); margin: 0; }
.cta__badges { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cta__badges li { font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta__actions--center { justify-content: center; margin-top: 24px; }

/* ---------- Tabla comparativa ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .94rem; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th { background: var(--navy); color: #fff; font-weight: 800; }
.compare th small { display: block; font-weight: 500; color: #aab6e0; font-size: .78rem; }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; position: sticky; left: 0; z-index: 1; }
.compare td:first-child { background: var(--card); color: var(--heading); }
.compare th:first-child { background: var(--navy); }
.compare tr.group td { background: var(--bg-alt); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 16px; }
.compare tr.group td:first-child { background: var(--bg-alt); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 800; }
.compare .no { color: var(--muted); opacity: .6; }
.table-hint { margin-top: 12px; }

/* ---------- Dominios ---------- */
.domain-search { display: flex; gap: 8px; margin-top: 28px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 580px; }
.domain-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 0 12px; color: #1c2340; background: transparent; }
.domain-search--hero { margin-left: auto; margin-right: auto; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .9rem; color: #aab6e0; }
.domain-tags--center { justify-content: center; }
.domain-tags strong { color: #fff; }
.tld-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tld { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px 14px 18px; text-align: center; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow-sm); }
.tld .tag { position: absolute; top: 8px; right: 8px; }
.tld strong { font-size: 1.4rem; font-weight: 800; color: var(--heading); }
.tld span { color: var(--muted); font-weight: 600; }
.tld small { font-weight: 400; }
.tld--popular { border-color: var(--accent); }
.domain-results { display: grid; gap: 10px; }
.domain-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.domain-row__name { font-size: 1.1rem; word-break: break-all; color: var(--heading); }
.domain-row__name span { color: var(--brand-2); font-weight: 700; }
.domain-row__name .tag { margin-left: 8px; }
.domain-row__price { font-weight: 800; color: var(--heading); }
.domain-row__price small { font-weight: 500; color: var(--muted); }
.domain-row .btn { grid-column: 1 / -1; }

/* ---------- Nosotros ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; gap: 4px; }
.value strong { color: var(--heading); font-size: 1.05rem; }
.value span { color: var(--muted); font-size: .9rem; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 28px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--heading); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.field textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; }
.contact__info { display: grid; gap: 12px; align-content: start; }
.info-item { display: flex; gap: 14px; align-items: center; background: var(--bg-alt); border-radius: 14px; padding: 16px; }
.info-item .feature__icon { margin: 0; }
.info-item small { display: block; color: var(--muted); font-size: .8rem; }
.info-item a, .info-item span { font-weight: 700; color: var(--heading); word-break: break-word; }

/* ---------- Legal / 404 ---------- */
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.notfound { padding: 96px 0; }
.notfound__code { font-size: clamp(5rem, 22vw, 9rem); font-weight: 800; line-height: 1; margin-bottom: 10px; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #07133a; color: #aab6e0; padding: 56px 0 0; font-size: .95rem; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand .logo__img { height: 30px; }
.footer__brand p { margin: 16px 0; max-width: 380px; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact svg { width: 18px; height: 18px; fill: #ffb4ad; flex-shrink: 0; }
.footer__contact a, .footer__contact span { color: #d6dbef; word-break: break-word; }
.footer__contact a:hover { color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.footer__col a { color: #aab6e0; }
.footer__col a:hover { color: #fff; }
.footer__pay { display: grid; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #7d8bbd; margin: 0 0 10px; }
.paylist { display: flex; flex-wrap: wrap; gap: 8px; }
.paylist span { font-size: .78rem; font-weight: 800; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); padding: 6px 10px; border-radius: 8px; letter-spacing: .02em; }
.paylist--tech span { font-weight: 600; color: #aab6e0; }
.footer__bottom { margin-top: 28px; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 10px; text-align: center; font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer__legal a { color: #aab6e0; }
.footer__legal a:hover { color: #fff; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Animación de aparición */
.reveal { transition: opacity .6s ease, transform .6s ease, box-shadow .2s, border-color .2s; }
.reveal:not(.in) { opacity: 0; transform: translateY(18px); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .strip__grid { grid-template-columns: repeat(4, 1fr); }
  .strip__grid > div { padding: 22px 10px; }
  .tld-grid { grid-template-columns: repeat(4, 1fr); }
  .cta__actions { flex-direction: row; justify-content: center; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .domain-row { grid-template-columns: 1fr auto auto; }
  .domain-row .btn { grid-column: auto; }
  .card { padding: 32px; }
  .features, .guarantees, .infra { grid-template-columns: repeat(2, 1fr); }
  .channels { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__pay { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .topbar__inner { justify-content: space-between; }
  .topbar__links { display: flex; }
  .section { padding: 88px 0; }
  .pricing { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .cta__inner { padding: 56px 48px; }
  .page-hero { padding: 80px 0 136px; }
  .pricing--overlap { margin-top: -120px; }
  .table-hint { display: none; }
}

@media (min-width: 1024px) {
  .nav__toggle, .nav__cta-mobile { display: none; }
  .nav__cta { display: inline-flex; }
  .logo__img { height: 30px; }
  .site-header { background: var(--nav-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }

  .nav__menu { position: static; transform: none; visibility: visible; background: none; padding: 0; flex-direction: row; align-items: center; gap: 2px; overflow: visible; }
  .nav__item { position: relative; border: 0; }
  .nav__link, .nav__link--plain { width: auto; font-size: .95rem; padding: 10px 12px; border: 0; border-radius: 10px; gap: 4px; }
  .nav__link:hover, .nav__item.open > .nav__link { background: var(--bg-alt); }
  .chev { width: 15px; height: 15px; }

  .mega {
    display: block; position: absolute; top: calc(100% + 10px); left: 50%; width: 640px; padding: 16px;
    background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s, visibility .18s;
  }
  .mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .mega--sm { width: 340px; }
  .nav__item:hover .mega, .nav__item:focus-within .mega, .nav__item.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .mega__grid { grid-template-columns: 1.35fr 1fr; gap: 16px; }

  .hero { padding: 80px 0 96px; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero__card { justify-self: end; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__copy { order: 2; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .features--4, .guarantees, .infra, .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .features--2 { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr auto; text-align: left; }
  .cta__badges { justify-content: flex-start; }
  .cta__actions { flex-direction: column; justify-content: center; }
  .contact { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .price-card--featured { transform: translateY(-8px); }
}

@media (max-width: 1023px) {
  .contact .pricing--overlap { margin-top: -104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal:not(.in) { opacity: 1; transform: none; }
}
