/* Solution Web México · V5 (capa de diseño editorial, claro y cálido)
 * Se carga después de style.css y solo redefine tokens y componentes.
 * Quitar el <link> de v5.css en includes/head.php vuelve al diseño V4.
 */

:root {
  /* Tinta y superficies cálidas */
  --ink: #0f0e12;
  --ink-2: #2b2a30;
  --sand: #f7f6f3;
  --sand-2: #efede8;
  --paper: #ffffff;
  --stone: #6b6964;
  --hair: #e6e3dc;

  /* Pasteles de apoyo (la marca sigue siendo el morado) */
  --lilac: #efe7ff;
  --pink: #fbe9e6;
  --sun: #fbf1c9;

  --black: var(--ink);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --t-display: clamp(44px, 7.2vw, 96px);
  --t-h2: clamp(34px, 4.6vw, 60px);
  --t-h3: clamp(19px, 1.5vw, 22px);

  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-1: 0 1px 2px rgba(15, 14, 18, .04), 0 1px 1px rgba(15, 14, 18, .03);
  --shadow-2: 0 24px 48px -28px rgba(15, 14, 18, .25);
  --shadow-purple: none;
}

/* Temas: todo es claro; "t-dark" queda como bloque tinta (CTA y pie) */
.t-light {
  --bg: var(--sand); --fg: var(--ink); --fg-2: #47454c; --muted: var(--stone);
  --line: var(--hair); --card: var(--paper); --card-line: var(--hair); --card-shadow: var(--shadow-1);
  --accent-text: var(--purple); --chip-bg: var(--paper); --chip-fg: var(--ink); --ghost-line: #d6d2c9;
}
.t-soft {
  --bg: var(--paper); --fg: var(--ink); --fg-2: #47454c; --muted: var(--stone);
  --line: var(--hair); --card: var(--sand); --card-line: var(--hair); --card-shadow: none;
  --accent-text: var(--purple); --chip-bg: var(--sand); --chip-fg: var(--ink); --ghost-line: #d6d2c9;
}
.t-dark {
  --bg: var(--ink); --fg: #fff; --fg-2: rgba(255, 255, 255, .74); --muted: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .12); --card: #1a191f; --card-line: rgba(255, 255, 255, .08);
  --accent-text: #b98cff; --chip-bg: rgba(255, 255, 255, .08); --chip-fg: #fff; --ghost-line: rgba(255, 255, 255, .28);
}

body { background: var(--sand); color: var(--ink); font-family: var(--font); font-size: 17px; letter-spacing: -.005em; }
h1, h2, h3, .plan__amount, .design__price, .stats dd, .v5-stats dd, .ssl__price, .cta h2 { font-family: var(--font-display); }
h1, h2 { font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
h3 { font-weight: 600; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
::selection { background: var(--purple); color: #fff; }

/* Etiquetas de sección: pastilla con punto */
.eyebrow, .v5-tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--chip-bg); color: var(--fg);
  font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.eyebrow::before, .v5-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.section__head--center .v5-tag { margin-left: auto; margin-right: auto; }
.pill { background: var(--lilac); color: var(--purple-dark); font-weight: 500; }
.cta .pill, .footer .pill { background: rgba(255, 255, 255, .1); color: #fff; }
.accent { color: var(--purple); }
.cta .accent, .footer .accent { color: #b98cff; }

/* Botones: pastilla tinta, suave y morado */
.btn { font: 600 16px/1 var(--font); letter-spacing: -.01em; min-height: 50px; padding: 0 24px; gap: 8px; }
.btn .i { width: 1em; height: 1em; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16.5px; }
.btn--ink, .btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.btn--soft { background: var(--paper); color: var(--ink); border-color: var(--hair); }
.t-soft .btn--soft { background: var(--sand); }
.btn--outline { color: var(--ink); border-color: #cfcac0; border-width: 1px; }
.btn--ghost { border-width: 1px; }
.btn--white { background: #fff; color: var(--ink); }
.plan--featured .btn--primary, .search__form .btn--primary { background: var(--purple); border-color: var(--purple); }
.link-arrow { color: var(--ink); font-weight: 600; }
.t-dark .link-arrow { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover, .btn--primary:hover { background: var(--purple); border-color: var(--purple); }
  .plan--featured .btn--primary:hover, .search__form .btn--primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
  .btn--soft:hover, .btn--outline:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
  .link-arrow:hover::after { transform: translateX(4px); }
}

/* Barra promocional discreta */
.promo { background: var(--ink); font-weight: 500; font-size: 13.5px; }
.promo__list li::after { color: #b98cff; opacity: 1; }

/* Encabezado flotante en pastilla */
.header, .header.t-light { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; padding-top: 12px; }
.header.is-scrolled { box-shadow: none; border: 0; }
.header__inner {
  height: 68px; margin-top: 0; padding: 0 10px 0 18px; max-width: calc(var(--max) + 20px);
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(15, 14, 18, .07); border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(15, 14, 18, .25);
  transition: box-shadow var(--dur-hover) ease, background-color var(--dur-hover) ease;
}
.header.is-scrolled .header__inner { background: rgba(255, 255, 255, .9); box-shadow: 0 16px 40px -20px rgba(15, 14, 18, .35); }
@media (min-width: 1141px) { .header > .wrap.header__inner { width: calc(100% - 2 * var(--gutter)); } }
.brand__logo { width: 46px; height: 46px; }
.header .nav__trigger { color: var(--ink-2); font-weight: 500; border-radius: 999px; }
.header .nav__trigger.is-current { box-shadow: none; color: var(--ink); font-weight: 600; }
.header .nav__trigger[aria-expanded="true"] { background: var(--sand-2); color: var(--ink); }
.nav__ico .i { fill: var(--ink-2); }
.header .btn--ghost { color: var(--ink); border-color: var(--hair); }
.header .nav__actions .btn--primary { background: var(--ink); border-color: var(--ink); }
.mega__inner { border-radius: var(--r-lg); border: 1px solid var(--hair) !important; box-shadow: 0 30px 60px -30px rgba(15, 14, 18, .35); }
.mega__link { border-radius: 16px; }
.mega__promo { border-radius: 22px; }
@media (hover: hover) and (pointer: fine) {
  .header .nav__trigger:hover { background: var(--sand-2); color: var(--ink); }
  .mega__link:hover { background: var(--sand); }
  .header .btn--ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--ink); }
  .header .nav__actions .btn--primary:hover { background: var(--purple); border-color: var(--purple); }
}
@media (max-width: 1140px) {
  .header, .header.t-light { padding: 10px 12px 0; background: transparent; }
  .header > .wrap.header__inner { padding: 0 6px 0 14px; height: 62px; }
  /* El panel fijo necesita que su contenedor no tenga backdrop-filter */
  .header__inner { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .96); }
  .brand__logo { width: 42px; height: 42px; }
  .header .menu-btn { border-radius: 999px; border-color: var(--hair); }
  .nav { border-radius: 0; }
}
@media (prefers-reduced-transparency: reduce) { .header__inner { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ===== Hero V5 ===== */
.v5-hero { position: relative; padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.v5-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(36% 46% at 22% 30%, rgba(114, 0, 255, .10), transparent 70%),
    radial-gradient(30% 40% at 80% 18%, rgba(241, 30, 31, .06), transparent 70%),
    radial-gradient(34% 40% at 60% 60%, rgba(251, 213, 120, .16), transparent 70%);
}
.v5-hero > .wrap { position: relative; z-index: 1; }
.v5-hero__copy { max-width: 980px; margin: 0 auto; text-align: center; }
.v5-status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 16px 7px 12px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--hair); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.v5-status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.v5-status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(22, 163, 74, .35); animation: v5-ping 2.4s var(--ease) infinite; }
@keyframes v5-ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.v5-hero h1 { font-size: var(--t-display); line-height: .98; letter-spacing: -.055em; margin: 0 auto 26px; max-width: 13ch; }
.v5-mark { position: relative; display: inline-block; color: var(--purple); white-space: nowrap; }
.v5-mark::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .12em; border-radius: 99px; background: var(--purple); opacity: .16; }
.v5-hero .lead { max-width: 56ch; margin: 0 auto 34px; color: #47454c; }
.v5-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.v5-hero__fine { margin: 20px 0 0; font-size: 14.5px; color: var(--stone); }

/* Fila de cifras */
.v5-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1040px; }
.v5-stats div { padding: 4px 24px; text-align: center; border-left: 1px solid var(--hair); }
.v5-stats div:first-child { border-left: 0; }
.v5-stats dt { order: 2; font-size: 14.5px; color: var(--stone); }
.v5-stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.v5-stats dd { margin: 0; font-size: clamp(36px, 4vw, 54px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.v5-stats dd small { font-size: .5em; color: var(--stone); letter-spacing: -.02em; margin-left: 2px; }

/* Foto ancha con tarjetas flotantes */
.v5-hero__visual { padding: 0; margin-top: clamp(48px, 6vw, 72px); }
.v5-hero .hero-photo > img { aspect-ratio: 16 / 8; border-radius: var(--r-xl); object-position: center 40%; box-shadow: 0 50px 100px -50px rgba(15, 14, 18, .45); }
.float-card { background: rgba(255, 255, 255, .9); color: var(--ink); border: 1px solid rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(15, 14, 18, .35); }
.float-card__label, .float-card--ssl span { color: var(--stone); }
.float-card--ssl strong { color: var(--ink); }
.spark i { background: var(--purple); }
.v5-hero .hero-photo .float-card--uptime { left: 28px; top: 28px; }
.v5-hero .hero-photo .float-card--ssl { right: 28px; top: 28px; bottom: auto; }
.v5-hero .hero-photo .bubble { left: auto; right: 28px; bottom: 28px; box-shadow: 0 20px 40px -20px rgba(15, 14, 18, .45); }
.bubble__avatar, .avatar { background: var(--ink); }
.bubble strong { color: var(--purple); }

/* Buscador de dominios como tarjeta blanca */
.search { margin-top: 20px; background: var(--paper); border: 1px solid var(--hair); color: var(--ink); border-radius: var(--r-xl); box-shadow: var(--shadow-1); }
.search__title { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.03em; font-weight: 600; }
.search__form { background: var(--sand); border: 1px solid var(--hair); }
.search__form select { border-left-color: var(--hair); }
.search__chips li { background: var(--sand); color: var(--stone); border: 1px solid var(--hair); }
.search__chips b { color: var(--ink); }

/* Marquesina de tecnologías */
.v5-logos { padding: 8px 0 clamp(40px, 5vw, 64px); text-align: center; }
.v5-logos__title { margin: 0 0 22px; font-size: 14.5px; color: var(--stone); }
.v5-logos__viewport { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.v5-logos__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.v5-logos ul { display: flex; gap: 56px; padding-right: 56px; }
.v5-logos li { display: flex; align-items: center; gap: 10px; color: #8a877f; font-weight: 600; font-size: 17px; white-space: nowrap; }
.v5-logos svg { width: 28px; height: 28px; }
@media (hover: hover) { .v5-logos:hover .v5-logos__track { animation-play-state: paused; } }

/* ===== Secciones ===== */
.section__head h2 { margin-bottom: 18px; }
.section__head--center .lead { max-width: 56ch; margin-left: auto; margin-right: auto; }
.card { border-radius: var(--r-lg); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento__tile { display: flex; flex-direction: column; gap: 10px; min-height: 260px; padding: 30px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); }
.bento__tile h3 { font-size: 23px; }
.bento__tile p { margin: 0; color: #4f4d54; font-size: 16px; }
.bento__tile--wide { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 32px; }
.bento__copy { display: flex; flex-direction: column; gap: 10px; flex: 1 1 46%; }
.bento__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: auto; border-radius: 14px; background: var(--paper); border: 1px solid rgba(15, 14, 18, .06); }
.bento__icon .i { width: 20px; height: 20px; fill: var(--ink); }
.bento__tile .bento__icon { margin-bottom: 28px; }
.bento--lilac { background: var(--lilac); border-color: transparent; }
.bento--pink { background: var(--pink); border-color: transparent; }
.bento--sun { background: var(--sun); border-color: transparent; }
.bento__tile--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.bento__tile--ink p { color: rgba(255, 255, 255, .72); }
.bento__tile--ink .bento__icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .1); }
.bento__tile--ink .bento__icon .i { fill: #fff; }
.bento__chart { flex: 1 1 54%; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 22px; background: var(--paper); border-radius: 20px; box-shadow: 0 20px 40px -28px rgba(76, 0, 170, .45); }
.bento__kpis { display: flex; gap: 28px; }
.bento__kpis span { display: flex; flex-direction: column; }
.bento__kpis small { font-size: 13px; color: var(--stone); }
.bento__kpis b { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.bento__bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bento__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--purple-light), var(--purple)); transform-origin: bottom; }
.bento__bars i:nth-child(-n+6) { background: #e1d3ff; }
.js .reveal.is-in .bento__bars i { animation: grow .9s var(--ease) both; }
.js .reveal.is-in .bento__bars i:nth-child(2n) { animation-delay: 60ms; }
.bento__lock { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto !important; padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14px !important; font-weight: 500; color: var(--ink) !important; }
.bento__lock .i { fill: #16a34a; width: 14px; height: 14px; }

/* Planes */
.plans { gap: 16px; }
.plan { background: var(--paper); border-color: var(--hair); border-radius: var(--r-lg); box-shadow: none; padding: 32px 30px; }
.plan--featured { background: var(--ink); color: #fff; border: 1px solid var(--ink); padding-top: 32px; box-shadow: 0 40px 80px -40px rgba(76, 0, 170, .55); }
.plan__ribbon { position: static; align-self: flex-start; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: var(--purple); font-size: 12px; letter-spacing: .04em; }
.plan__name { font-size: 22px; font-weight: 600; }
.plan__desc { color: var(--stone); }
.plan__price { color: inherit; }
.plan__amount { font-weight: 600; font-size: 64px; letter-spacing: -.055em; }
.plan__cur { font-weight: 500; }
.plan__unit { color: var(--stone); font-weight: 500; }
.plan__billing, .plan__guarantee { color: var(--stone); }
.plan__features { border-top-color: var(--hair); }
.plan__features li::before { color: var(--purple); }
.plan--featured .plan__desc, .plan--featured .plan__unit, .plan--featured .plan__billing, .plan--featured .plan__guarantee { color: rgba(255, 255, 255, .66); }
.plan--featured .plan__features { border-top-color: rgba(255, 255, 255, .12); }
.plan--featured .plan__features li::before { color: #b98cff; }
.plan .btn--outline { border-color: var(--hair); background: var(--sand); }
@media (min-width: 921px) { .plan--featured { transform: none; } }
@media (min-width: 921px) and (hover: hover) and (pointer: fine) { .plan--featured:hover { transform: translateY(-4px); } }
.plans__note, .plans__rating { color: var(--stone); }

/* Pasos */
.v5-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.v5-steps li { position: relative; display: flex; flex-direction: column; min-height: 240px; padding: 28px; border-radius: var(--r-lg); background: var(--sand); border: 1px solid var(--hair); }
.v5-steps__n { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--purple); margin-bottom: auto; }
.v5-steps h3 { margin: 40px 0 8px; font-size: 22px; }
.v5-steps p { margin: 0; color: #4f4d54; font-size: 16px; }
.v5-steps li:last-child { background: var(--purple); border-color: var(--purple); color: #fff; }
.v5-steps li:last-child .v5-steps__n { color: rgba(255, 255, 255, .8); }
.v5-steps li:last-child p { color: rgba(255, 255, 255, .85); }

/* Tabla de dominios, SSL y diseño */
.table-card { box-shadow: none; }
.prices tbody th { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.ssl-grid { gap: 16px; }
.ssl { background: var(--sand); }
.ssl__price { font-weight: 600; letter-spacing: -.04em; }
.design-grid { gap: 16px; }
.design { box-shadow: none; }
.design h3 { font-weight: 600; letter-spacing: -.03em; }
.design__price { font-weight: 600; letter-spacing: -.05em; }
.design--accent { background: var(--purple); background-image: radial-gradient(80% 70% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%); box-shadow: 0 40px 80px -40px rgba(114, 0, 255, .6); }
.design__more a, .faq__head a, .address a, .accordion details p a { color: var(--purple); }
.photo-wide img, .page-hero__media img { border-radius: var(--r-xl); }

/* Nosotros */
.stats { gap: 12px; }
.stats div { background: var(--sand); border-color: var(--hair); }
.stats div:first-child { background: var(--ink); color: #fff; }
.stats div:first-child dt { color: rgba(255, 255, 255, .7); }
.stats dd { font-weight: 600; letter-spacing: -.055em; }

/* Blog */
.post__media { border-radius: var(--r-lg); background: var(--sand-2); }
.post__title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }

/* Testimonios */
.quotes { gap: 16px; }
.quote { background: var(--sand); }
.quote blockquote { font-size: 19px; letter-spacing: -.01em; color: var(--ink); }
.quote::before { content: "★★★★★"; color: #f5a623; letter-spacing: 3px; font-size: 15px; }
.quote { justify-content: flex-start; }
.quote figcaption { margin-top: auto; }

/* FAQ */
.accordion { gap: 10px; }
.accordion details { background: var(--paper); border-color: var(--hair); border-radius: 20px; }
.accordion details[open] { border-color: var(--hair); box-shadow: var(--shadow-2); }
.accordion summary { font-weight: 600; letter-spacing: -.01em; }
.accordion summary::after { background: var(--sand-2); color: var(--ink); }
.accordion details[open] summary::after { background: var(--ink); color: #fff; }

/* CTA: bloque tinta redondeado dentro de la página */
.cta, .cta.t-dark { background: var(--sand); background-image: none; padding: clamp(24px, 4vw, 56px) 0; }
.cta__box {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 8vw, 112px) clamp(24px, 5vw, 64px); border-radius: var(--r-xl);
  background: var(--ink); color: #fff;
}
.cta__box::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(114, 0, 255, .55), transparent 70%);
}
@media (min-width: 701px) { .cta > .wrap.cta__box { width: calc(100% - 2 * var(--gutter)); } }
.cta h2 { font-weight: 600; letter-spacing: -.055em; color: #fff; }
.cta p { color: rgba(255, 255, 255, .74); }
.cta .btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
@media (hover: hover) and (pointer: fine) {
  .cta .btn--primary:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
  .cta .btn--ghost:hover { background: rgba(255, 255, 255, .08); }
}

/* Contacto */
.contact-grid { gap: 12px; }
.contact { box-shadow: none; }
.contact__value { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }

/* Pie de página en tinta */
.footer { background: var(--ink); }
.footer h3 { font-family: var(--font); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .5); letter-spacing: .08em; }

/* ===== Páginas internas: encabezado claro y editorial ===== */
.page-hero, .page-hero.t-dark {
  --bg: var(--sand); --fg: var(--ink); --fg-2: #47454c; --muted: var(--stone); --line: var(--hair);
  --chip-bg: var(--paper); --chip-fg: var(--ink); --accent-text: var(--purple);
  background: var(--sand); color: var(--ink);
}
.page-hero::before { width: 720px; height: 720px; right: -240px; top: -320px; background: radial-gradient(closest-side, rgba(114, 0, 255, .12), transparent); }
.page-hero h1 { font-weight: 600; letter-spacing: -.05em; }
.page-hero .pill { background: var(--paper); color: var(--ink); border: 1px solid var(--hair); font-weight: 500; }
.crumbs a { color: var(--stone); }
.steps li { background: var(--card); }
.section--bg::before { background: var(--sand); }
.tech-strip svg, .t-light .tech-strip svg { color: var(--ink); }
.logos li { border-color: var(--hair); }
.cat-filter a { border-color: var(--hair); }
.cat-filter a[aria-current="page"], .pagination [aria-current="page"] { background: var(--ink); border-color: var(--ink); }
.member img { background: var(--sand-2); }

/* Revelado más sutil */
.js .reveal { transform: translateY(16px); }

/* ===== Responsive ===== */
@media (max-width: 1040px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__tile--wide { grid-column: span 2; }
  .v5-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .v5-stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .v5-stats div:nth-child(3) { border-left: 0; }
  .v5-hero .hero-photo > img { aspect-ratio: 4 / 3.2; }
  .v5-hero .hero-photo .float-card--ssl { display: none; }
}
@media (max-width: 700px) {
  .bento, .v5-steps { grid-template-columns: 1fr; }
  .bento__tile--wide { grid-column: auto; flex-direction: column; }
  .bento__tile { min-height: 0; }
  .v5-hero { text-align: left; }
  .v5-hero__copy { text-align: left; }
  .v5-hero h1 { margin-left: 0; }
  .v5-hero .lead { margin-left: 0; }
  .v5-hero__cta { justify-content: flex-start; }
  .v5-hero__cta .btn { width: 100%; }
  .v5-status { font-size: 13px; }
  .v5-stats div { padding: 0 12px; text-align: left; }
  .v5-hero .hero-photo .float-card--uptime { left: 12px; top: 12px; }
  .v5-hero .hero-photo .bubble { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .cta__box { border-radius: var(--r-lg); }
  .v5-steps li { min-height: 0; }
  .v5-steps h3 { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .v5-logos__track { animation: none; }
  .v5-status__dot::after { animation: none; }
  .js .reveal.is-in .bento__bars i { animation: none; }
}

/* Ajustes tras revisión visual */
.bento__tile--ink { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.4fr; align-items: center; gap: 12px 28px; min-height: 0; }
.bento__tile--ink .bento__icon { margin: 0; }
.plan__ribbon { position: absolute; top: 28px; right: 28px; left: auto; display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.plan__ribbon .i { margin: 0; }
.ssl .ssl__price { font-size: 28px; }
.footer .linklike { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 701px) { .cta > .wrap.cta__box { width: calc(100% - 2 * var(--gutter)); max-width: var(--max); } }
@media (max-width: 1040px) { .bento__tile--ink { grid-template-columns: auto 1fr; } .bento__tile--ink p { grid-column: 1 / -1; } }
@media (max-width: 700px) { .bento__tile--ink { grid-template-columns: 1fr; } .bento__tile--ink .bento__icon { margin-bottom: 16px; } }

/* Páginas internas: las secciones que eran oscuras pasan a blanco */
.section.t-dark, .hero.t-dark, .error-page.t-dark, .article-hero.t-dark {
  --bg: var(--paper); --fg: var(--ink); --fg-2: #47454c; --muted: var(--stone);
  --line: var(--hair); --card: var(--sand); --card-line: var(--hair); --card-shadow: none;
  --accent-text: var(--purple); --chip-bg: var(--sand); --chip-fg: var(--ink); --ghost-line: #d6d2c9;
  background: var(--paper); color: var(--ink);
}
.hero.t-dark, .article-hero.t-dark { background: var(--sand); --chip-bg: var(--paper); }
.hero::before { background: radial-gradient(closest-side, rgba(114, 0, 255, .12), transparent); }
.hero::after { background: radial-gradient(closest-side, rgba(251, 213, 120, .18), transparent); }
.hero h1 { font-weight: 600; letter-spacing: -.055em; }
.section.t-dark .accent, .hero.t-dark .accent { color: var(--purple); }
.section--bg::before { background: var(--paper) !important; }
.section.t-dark .tech-strip svg { color: var(--ink); }
.section.t-dark .stats div:first-child { background: var(--ink); }
.crumbs ol { align-items: baseline; }
.hero .pill, .page-hero .pill { background: var(--paper); color: var(--ink); border: 1px solid var(--hair); }
.error-page .pill { background: var(--sand); color: var(--ink); }
.feature__icon, .contact .feature__icon { display: grid; place-items: center; margin-bottom: 22px; width: 46px; height: 46px; border-radius: 14px; background: var(--paper); border: 1px solid var(--hair); box-shadow: none; }
.t-light .feature__icon { background: var(--sand); }
.feature__icon svg, .feature__icon .i, .contact .feature__icon svg { width: 20px; height: 20px; fill: var(--ink); color: var(--ink); }
.section.t-dark .brand-logos img { filter: brightness(0); opacity: .7; }

/* ===== V5.1 · Hero en dos columnas ===== */
.v5-hero { padding-top: clamp(40px, 6vw, 88px); }
.v5-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.v5-hero__copy { max-width: none; margin: 0; text-align: left; }
.v5-hero h1 { font-size: clamp(42px, 5.6vw, 80px); max-width: 12ch; margin: 0 0 24px; }
.v5-hero .lead { margin: 0 0 32px; max-width: 48ch; }
.v5-hero__cta { justify-content: flex-start; }
.v5-hero__visual { margin-top: 0; }
.v5-hero .hero-photo > img { aspect-ratio: 4 / 4.4; object-position: 42% center; border-radius: var(--r-xl); }
.v5-hero .hero-photo .float-card--uptime { left: -28px; top: 32px; }
.v5-hero .hero-photo .float-card--ssl { right: -20px; top: auto; bottom: 34%; display: flex; }
.v5-hero .hero-photo .bubble { left: -28px; right: auto; bottom: 28px; max-width: 300px; }
.v5-stats { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--hair); max-width: none; }
.v5-stats div { text-align: left; padding: 0 28px; }
.v5-stats div:first-child { padding-left: 0; }
@media (max-width: 1140px) {
  .v5-hero .hero-photo .float-card--uptime, .v5-hero .hero-photo .bubble { left: 16px; }
  .v5-hero .hero-photo .float-card--ssl { right: 16px; }
}
@media (max-width: 920px) {
  .v5-hero__grid { grid-template-columns: 1fr; }
  .v5-hero .hero-photo > img { aspect-ratio: 4 / 3.4; }
  .v5-hero .hero-photo .float-card--ssl { display: none; }
  .v5-stats div:nth-child(3) { padding-left: 0; }
}
@media (max-width: 700px) {
  .v5-hero .hero-photo .float-card--uptime { left: 12px; top: 12px; }
  .v5-hero .hero-photo .bubble { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .v5-stats div { padding: 0 12px; }
  .v5-stats div:nth-child(odd) { padding-left: 0; }
}

/* ===== V5.1 · Mega menú sobrio ===== */
.mega__inner { background: #fff; gap: 8px; padding: 12px; grid-template-columns: 1fr 280px; }
.mega__link { gap: 14px; padding: 14px; align-items: center; }
.mega__icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 12px; background: var(--sand); border: 1px solid var(--hair); }
.mega__icon .i { width: 18px; height: 18px; fill: var(--ink); }
.mega__link strong { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; color: var(--ink); }
.mega__link small { color: var(--stone); font-size: 13.5px; }
.mega__promo, .header .mega__promo {
  justify-content: flex-start; gap: 8px; padding: 24px; border-radius: 18px;
  background: var(--sand); background-image: none; color: var(--ink); border: 1px solid var(--hair);
}
.mega__promo::before { content: ""; width: 8px; height: 8px; margin-bottom: 8px; border-radius: 50%; background: var(--purple); }
.mega__promo strong { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.mega__promo span, .header .mega__promo span { color: var(--stone); font-size: 14.5px; }
.mega__promo .mega__promo-cta { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--purple) !important; }
.mega__promo-cta .i { fill: var(--purple); }
.mega__art { display: none; }
.nav__ico .i { fill: var(--stone); }
.header .nav__trigger[aria-expanded="true"] .nav__ico .i, .header .nav__trigger.is-current .nav__ico .i { fill: var(--purple); }
@media (hover: hover) and (pointer: fine) {
  .mega__link:hover { background: var(--sand); }
  .mega__link:hover strong { color: var(--ink); }
  .mega__link:hover .mega__icon { background: var(--paper); border-color: var(--purple); }
  .mega__link:hover .mega__icon .i { fill: var(--purple); }
  .mega__promo:hover { border-color: #cfcac0; }
}
@media (max-width: 1140px) {
  .mega__inner { grid-template-columns: 1fr; padding: 0 14px 16px; border: 0 !important; box-shadow: none; }
  .mega__link { padding: 10px 8px; }
  .mega__promo { padding: 18px; }
}
.mega__promo .mega__promo-cta { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mega__promo-cta .i { margin: 0; }

/* Tarjetas del blog: cuadro redondeado translúcido, autor con avatar y fecha */
.posts { align-items: stretch; }
.posts > li { display: flex; }
.post { flex: 1; padding: 12px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .55); border: 1px solid rgba(15, 14, 18, .07); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms ease, background-color 240ms ease; }
.post__media { border-radius: calc(var(--r-lg) - 10px); }
.post__body { flex: 1; padding: 18px 8px 6px; }
.post__title { hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; font-size: 20px; line-height: 1.28; }
.post__meta { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: auto; padding-top: 18px; color: var(--stone); letter-spacing: 0; }
.post__body .post__title { margin-bottom: 4px; }
.post__avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--lilac); box-shadow: 0 0 0 2px #fff; }
.post__avatar--ini { display: inline-grid; place-items: center; color: var(--purple-dark); font: 600 12px/1 var(--font); letter-spacing: .02em; }
.post__by { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.post__author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ink); }
.post__by time { font-size: 13px; color: var(--stone); font-variant-numeric: tabular-nums; }
.t-dark .post { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.t-dark .post__author { color: #fff; }
.t-dark .post__by time, .t-dark .post__meta { color: rgba(255, 255, 255, .66); }
@media (hover: hover) and (pointer: fine) {
  .post:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .78); border-color: rgba(15, 14, 18, .1); box-shadow: 0 24px 48px -28px rgba(15, 14, 18, .25); }
  .t-dark .post:hover { background: rgba(255, 255, 255, .1); }
}
@media (prefers-reduced-motion: reduce) { .post, .post:hover { transform: none; transition: none; } }

/* Cabecera del artículo: autor con avatar */
.article-meta__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.article-meta__author .post__avatar { width: 36px; height: 36px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
