/* ==========================================================================
   ID Conexión Digital — estilos del tema
   Dos estilos visuales sobre el mismo marcado: .style-dark y .style-light
   ========================================================================== */

/* Tipografía (alojada en el tema, sin Google Fonts) ------------------------ */
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

/* Tokens -------------------------------------------------------------------- */
:root {
	--c-primary: #0B57D0;
	--c-primary-strong: #0046CC;
	--c-primary-bright: #2D7BFF;
	--c-primary-soft: #E8F0FE;
	--c-accent: #FF6B00;
	--c-accent-strong: #E85D00;
	--c-accent-soft: #FFF1E6;
	--c-navy: #0A192F;
	--c-navy-2: #0F2342;
	--c-navy-3: #16305A;
	--c-navy-deep: #071426;
	--c-bg: #FFFFFF;
	--c-surface: #F8FAFC;
	--c-surface-2: #F1F5F9;
	--c-border: #E2E8F0;
	--c-border-strong: #CBD5E1;
	--c-text: #0F172A;
	--c-text-2: #334155;
	--c-muted: #64748B;
	--c-success: #16A34A;
	--c-danger: #DC2626;
	--c-whatsapp: #18A957;

	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
	--shadow: 0 18px 40px -20px rgba(15, 23, 42, .25);
	--shadow-lg: 0 30px 70px -28px rgba(10, 25, 47, .45);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--hero-duration: 7s;

	/* Acento de interfaz: naranja en la propuesta oscura, azul en la clara. */
	--ui-accent: #FF6B00;
	--ui-accent-text: #E85D00;
	--ui-accent-soft: rgba(255, 107, 0, .13);
	--ui-accent-grad: linear-gradient(135deg, #FF7A00, #EF5B00);
	--ui-accent-glow: rgba(255, 107, 0, .7);
}

/* Los botones del cotizador y las llamadas finales siempre son naranjas. */
.eq-add, .qd, .catalog__empty, .cta-band, .aside-card--cta, .mega__aside, .product__buy {
	--ui-accent-grad: linear-gradient(135deg, #FF7A00, #EF5B00);
	--ui-accent-glow: rgba(255, 107, 0, .7);
}

/* Propuesta 1 — Oscura tecnológica */
.style-dark {
	--header-bg: rgba(10, 25, 47, .94);
	--header-fg: #CBD5E1;
	--header-fg-strong: #FFFFFF;
	--header-border: rgba(148, 163, 184, .16);
	--nav-hover-bg: rgba(255, 255, 255, .06);
	--nav-current: #FF8A3D;
	--brand-name: #FFFFFF;
	--brand-sub: #8FB4FF;
	--mega-bg: #0F2342;
	--mega-fg: #E2E8F0;
	--mega-muted: #94A3B8;
	--mega-border: rgba(148, 163, 184, .16);
	--mega-hover: rgba(255, 255, 255, .05);
	--mega-icon-bg: rgba(45, 123, 255, .16);
	--mega-icon-fg: #7FAEFF;
	--mega-aside-bg: rgba(255, 255, 255, .04);
	--hero-bg: #0A192F;
	--hero-fg: #FFFFFF;
	--hero-muted: #A8B8D0;
	--hero-line: rgba(148, 163, 184, .18);
	--hero-grid: rgba(143, 180, 255, .07);
	--hero-glow-a: rgba(11, 87, 208, .55);
	--hero-glow-b: rgba(255, 107, 0, .22);
	--kicker: #FF8A3D;
	--glass-bg: rgba(255, 255, 255, .06);
	--glass-solid: #11284B;
	--glass-border: rgba(255, 255, 255, .12);
	--glass-fg: #E2E8F0;
	--glass-muted: #94A3B8;
	--glass-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
	--chip-bg: rgba(15, 35, 66, .88);
	--viz-line: rgba(143, 180, 255, .3);
	--contrast-bg: #0A192F;
	--contrast-fg: #FFFFFF;
	--contrast-muted: #A8B8D0;
	--contrast-card: rgba(255, 255, 255, .04);
	--contrast-border: rgba(148, 163, 184, .16);
	--pagehero-bg: #0A192F;
	--pagehero-fg: #FFFFFF;
	--pagehero-muted: #A8B8D0;
	--metrics-bg: #0A192F;
	--metrics-fg: #FFFFFF;
	--metrics-muted: #A8B8D0;
	--metrics-line: rgba(148, 163, 184, .16);
}

/* Propuesta 2 — Clara corporativa */
.style-light {
	--header-bg: rgba(255, 255, 255, .96);
	--header-fg: #334155;
	--header-fg-strong: #0F172A;
	--header-border: #E2E8F0;
	--nav-hover-bg: #F1F5F9;
	--nav-current: #0B57D0;
	--brand-name: #0B57D0;
	--brand-sub: #0A192F;
	--mega-bg: #FFFFFF;
	--mega-fg: #0F172A;
	--mega-muted: #64748B;
	--mega-border: #E2E8F0;
	--mega-hover: #F5F8FF;
	--mega-icon-bg: #E8F0FE;
	--mega-icon-fg: #0B57D0;
	--mega-aside-bg: #F8FAFC;
	--hero-bg: linear-gradient(180deg, #EEF4FF 0%, #F8FAFF 60%, #FFFFFF 100%);
	--hero-fg: #0A192F;
	--hero-muted: #475569;
	--hero-line: #D7E2F3;
	--hero-grid: rgba(11, 87, 208, .06);
	--hero-glow-a: rgba(45, 123, 255, .22);
	--hero-glow-b: rgba(45, 123, 255, .14);
	--kicker: #0B57D0;
	--glass-bg: #FFFFFF;
	--glass-solid: #FFFFFF;
	--glass-border: #E2E8F0;
	--glass-fg: #0F172A;
	--glass-muted: #64748B;
	--glass-shadow: 0 30px 60px -30px rgba(11, 87, 208, .4);
	--chip-bg: #FFFFFF;
	--viz-line: rgba(11, 87, 208, .22);
	--contrast-bg: #F1F6FF;
	--contrast-fg: #0A192F;
	--contrast-muted: #475569;
	--contrast-card: #FFFFFF;
	--contrast-border: #DCE5F3;
	--pagehero-bg: linear-gradient(180deg, #EEF4FF, #FFFFFF);
	--pagehero-fg: #0A192F;
	--pagehero-muted: #475569;
	--metrics-bg: #FFFFFF;
	--metrics-fg: #0B57D0;
	--metrics-muted: #64748B;
	--metrics-line: #E2E8F0;
	--ui-accent: #0B57D0;
	--ui-accent-text: #0B57D0;
	--ui-accent-soft: #E8F0FE;
	--ui-accent-grad: linear-gradient(135deg, #2D7BFF, #0046CC);
	--ui-accent-glow: rgba(11, 87, 208, .55);
}

.style-light .hero__grid {
	background-image: radial-gradient(rgba(11, 87, 208, .2) 1.2px, transparent 1.4px);
	background-size: 22px 22px;
}

/* Base ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--c-text-2);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

html.nav-open, html.has-drawer { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: var(--c-text);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
	text-wrap: balance;
}

p { margin: 0; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-strong); }
button { font: inherit; }

:focus-visible {
	outline: 3px solid #FF8A3D;
	outline-offset: 2px;
	border-radius: 4px;
}

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 200;
	padding: 12px 18px;
	background: var(--c-accent);
	color: #fff;
	font-weight: 700;
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; color: #fff; }

.site-main:focus { outline: none; }

/* Botones y enlaces -------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 20px;
	border: 1.5px solid transparent;
	border-radius: 12px;
	font: 700 .95rem/1.2 var(--font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .15s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--lg { padding: 15px 26px; font-size: 1rem; border-radius: 14px; }
.btn--sm { padding: 9px 14px; font-size: .85rem; border-radius: 10px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-strong); color: #fff; box-shadow: 0 12px 24px -12px rgba(11, 87, 208, .7); }

.btn--accent {
	background: var(--ui-accent-grad);
	color: #fff;
	box-shadow: 0 12px 26px -12px var(--ui-accent-glow);
}
.btn--accent:hover { color: #fff; filter: brightness(1.07); box-shadow: 0 16px 30px -12px var(--ui-accent-glow); }

.btn--ghost {
	background: transparent;
	color: var(--ghost-fg, var(--c-primary));
	border-color: var(--ghost-border, rgba(11, 87, 208, .3));
}
.btn--ghost:hover { color: var(--ghost-fg, var(--c-primary)); background: var(--ghost-hover, rgba(11, 87, 208, .06)); border-color: var(--ghost-fg, var(--c-primary)); }

.btn--whatsapp { background: var(--c-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #12924A; color: #fff; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: .92rem;
	color: var(--link-color, var(--c-primary));
	text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--link-color, var(--c-primary-strong)); }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--eyebrow, var(--c-primary));
}
.eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--ui-accent);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--chip-border, var(--c-border));
	border-radius: 999px;
	background: var(--chip-fill, #fff);
	color: var(--chip-fg, var(--c-text-2));
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover { border-color: var(--c-primary); color: var(--chip-hover, var(--c-primary)); }
.chip.is-active { background: var(--chip-active-bg, var(--c-navy)); border-color: var(--chip-active-bg, var(--c-navy)); color: #fff; }
.chip__count { font-size: .75rem; opacity: .65; }
.chip--solid { background: var(--c-accent); border-color: var(--c-accent); color: #fff; font-size: .78rem; padding: 6px 12px; }
.chip--solid:hover { color: #fff; border-color: var(--c-accent-strong); }

.steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.steps li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px 7px 7px;
	border: 1px solid var(--steps-border, var(--c-border));
	border-radius: 999px;
	background: var(--steps-bg, #fff);
	font-size: .9rem;
	color: var(--steps-fg, var(--c-text-2));
}
.steps strong { color: var(--steps-strong, var(--c-text)); }
.steps__num {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--c-accent);
	color: #fff;
	font-size: .8rem;
	font-weight: 800;
}

.checklist { display: grid; gap: 14px; margin: 28px 0 32px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--checklist-fg, var(--c-text)); }
.checklist .icon {
	width: 26px;
	height: 26px;
	padding: 5px;
	border-radius: 50%;
	background: var(--ui-accent-soft);
	color: var(--ui-accent);
	stroke-width: 3;
}

/* Barra superior ------------------------------------------------------------ */
.topbar {
	position: relative;
	z-index: 51;
	background: var(--c-navy-deep);
	color: #A8B8D0;
	font-size: .82rem;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 8px; }
.topbar__list .icon { width: 15px; height: 15px; color: var(--c-accent); }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__sep { opacity: .35; }
.topbar__label { color: #64748B; }
.topbar__actions { display: flex; align-items: center; gap: 16px; }
.topbar .social { gap: 4px; margin: 0; }
.topbar .social a { width: 30px; height: 30px; border: 0; }
.topbar__wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--c-whatsapp);
	color: #fff !important;
	font-weight: 700;
}
.topbar__wa .icon { width: 16px; height: 16px; }
.topbar__wa:hover { background: #12924A; }

/* Cabecera ------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--header-bg);
	border-bottom: 1px solid var(--header-border);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(2, 8, 23, .45); }

@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }


/* Barra superior y cabecera más anchas que el contenido: el menú tiene 10 secciones. */
.topbar .container, .site-header .container { --container: 1400px; }
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.header-quote__label { white-space: nowrap; }

.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand__logo { width: auto; height: 42px; }
.brand__img { max-height: 52px; width: auto; }
.site-footer .brand__logo { height: 52px; }

.nav__list { margin: 0; padding: 0; list-style: none; }
.nav__row { display: flex; align-items: center; border-radius: 10px; transition: background-color .2s; }
.nav__link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 9px 10px;
	border-radius: 10px;
	color: var(--header-fg);
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}
.nav__link:hover { color: var(--header-fg-strong); }
.nav__item--home .nav__link .icon { width: 20px; height: 20px; }
.nav__item.is-current > .nav__row .nav__link { color: var(--nav-current); }
.nav__toggle {
	display: grid;
	place-items: center;
	width: 22px;
	height: 32px;
	margin-right: 4px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--header-fg);
	cursor: pointer;
}
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__item.is-open > .nav__row .nav__toggle .icon { transform: rotate(180deg); }
.nav__item.has-children > .nav__row .nav__link { padding-right: 2px; }

.mega, .dropdown { color: var(--mega-fg); }

.mega__intro .mega__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--c-primary), var(--c-primary-bright));
	color: #fff;
}
.mega__intro .mega__icon .icon { width: 26px; height: 26px; }
.mega__title { margin-bottom: 8px; font-size: 1.15rem; font-weight: 800; color: var(--mega-fg); line-height: 1.25; }
.mega__desc { margin-bottom: 16px; font-size: .88rem; color: var(--mega-muted); line-height: 1.55; }
.mega .link-arrow { --link-color: var(--mega-icon-fg); }

.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; margin: 0; padding: 0; list-style: none; align-content: start; }
.mega__link {
	display: flex;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	color: var(--mega-fg);
	text-decoration: none;
	transition: background-color .2s;
}
.mega__link:hover, .mega__link.is-current { background: var(--mega-hover); color: var(--mega-fg); }
.mega__link-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--mega-icon-bg);
	color: var(--mega-icon-fg);
	transition: background-color .2s, color .2s;
}
.mega__link:hover .mega__link-icon { background: var(--c-primary); color: #fff; }
.mega__link-icon .icon { width: 20px; height: 20px; }
.mega__link-text strong { display: block; font-size: .92rem; font-weight: 700; line-height: 1.35; }
.mega__badge { display: inline-block; margin: 4px 0 2px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 107, 0, .16); color: #FF8A3D; font-size: .68rem; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.style-light .mega__badge { color: #C2410C; background: #FFF1E6; }
.mega__link-text small { display: block; margin-top: 3px; font-size: .8rem; color: var(--mega-muted); line-height: 1.45; }

.mega__aside {
	align-self: start;
	padding: 22px;
	border-radius: var(--radius);
	background: var(--mega-aside-bg);
	border: 1px solid var(--mega-border);
	font-size: .88rem;
	color: var(--mega-muted);
}
.mega__aside p { margin-bottom: 14px; }
.mega__aside-title { margin-bottom: 8px !important; font-size: 1rem; font-weight: 800; color: var(--mega-fg); }
.mega__phone { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--mega-fg); text-decoration: none; }
.mega__phone .icon { width: 16px; height: 16px; color: var(--c-accent); }
.mega__steps { margin: 6px 0 18px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.mega__steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; }
.mega__steps li::before {
	content: counter(step);
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--c-accent);
	color: #fff;
	font-size: .78rem;
	font-weight: 800;
}
.mega__steps strong { color: var(--mega-fg); font-size: .9rem; }
.mega__steps span { font-size: .8rem; }

.dropdown__list { margin: 0; padding: 0; list-style: none; }
.dropdown__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 10px;
	color: var(--mega-fg);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
}
.dropdown__link .icon { width: 18px; height: 18px; color: var(--mega-icon-fg); }
.dropdown__link:hover, .dropdown__link.is-current { background: var(--mega-hover); color: var(--mega-fg); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-quote {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--header-border);
	border-radius: 12px;
	background: transparent;
	color: var(--header-fg-strong);
	font-size: .88rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.header-quote:hover { border-color: var(--c-accent); background: var(--nav-hover-bg); }
.header-quote .icon { width: 20px; height: 20px; color: var(--c-accent); }
.header-quote__count {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	place-items: center;
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--c-accent);
	color: #fff;
	font-size: .72rem;
	font-weight: 800;
	box-shadow: 0 0 0 2px var(--c-bg);
}
.header-quote__count[hidden] { display: none; }

.menu-toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--header-border);
	border-radius: 12px;
	background: transparent;
	color: var(--header-fg-strong);
	cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

.nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 75;
	background: rgba(2, 8, 23, .55);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility 0s linear .3s;
}
html.nav-open .nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
/* Con el menú o el cajón abiertos, la cabecera queda sobre la barra superior y se ocultan los flotantes. */
html.nav-open .site-header { z-index: 95; }
html.nav-open .wa-float, html.nav-open .style-switch, html.has-drawer .wa-float, html.has-drawer .style-switch { display: none; }

/* Escritorio: menú horizontal con mega menú */
@media (min-width: 1360px) {
	.nav { height: 100%; margin-left: auto; }
	.nav__list { display: flex; height: 100%; gap: 0; }
	.nav__item { display: flex; align-items: center; position: relative; }
	.nav__item.has-mega { position: static; }
	.nav__home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.nav__mobile-head, .nav__mobile-foot { display: none; }
	.header__actions { margin-left: 8px; }
	.menu-toggle { display: none; }

	.mega {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--mega-bg);
		border-top: 1px solid var(--mega-border);
		border-bottom: 1px solid var(--mega-border);
		box-shadow: 0 40px 60px -30px rgba(2, 8, 23, .45);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
	}
	.mega__inner { display: grid; grid-template-columns: 250px minmax(0, 1fr) 250px; gap: 36px; padding-block: 32px 36px; }

	.dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 320px;
		padding: 10px;
		background: var(--mega-bg);
		border: 1px solid var(--mega-border);
		border-top: 0;
		border-radius: 0 0 16px 16px;
		box-shadow: 0 30px 50px -24px rgba(2, 8, 23, .45);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
	}

	.nav__item.is-open > .mega,
	.nav__item.is-open > .dropdown {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
	.nav__item.is-open > .nav__row,
	.nav__item:hover > .nav__row { background: var(--nav-hover-bg); }
}

@media (min-width: 1360px) and (hover: hover) {
	.nav__item:hover > .mega,
	.nav__item:hover > .dropdown {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: .06s;
	}
	.nav__item:hover > .nav__row .nav__toggle .icon { transform: rotate(180deg); }
}

@media (min-width: 1360px) and (max-width: 1499px) {
	.nav__link { padding-inline: 7px; font-size: .86rem; }
	.nav__toggle { width: 18px; }
}

@media (min-width: 1360px) {
	.header-quote__label { display: none; }
	.header-quote { width: 44px; padding: 0; justify-content: center; }
}

/* Móvil y tablet: panel lateral */
@media (max-width: 1359px) {
	/* backdrop-filter convertiría la cabecera en el contenedor del panel fijo */
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
	.style-dark .site-header { background: #0A192F; }
	.style-light .site-header { background: #FFFFFF; }
	.nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 80;
		display: flex;
		flex-direction: column;
		width: min(400px, 100%);
		background: var(--mega-bg);
		color: var(--mega-fg);
		box-shadow: -30px 0 60px -30px rgba(2, 8, 23, .5);
		overflow-y: auto;
		overscroll-behavior: contain;
		/* Cerrado: recortado en su sitio (no genera scroll horizontal). */
		clip-path: inset(0 0 0 100%);
		visibility: hidden;
		transition: clip-path .32s var(--ease), visibility 0s linear .32s;
	}
	html.nav-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
	.nav__mobile-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 16px 14px 24px;
		border-bottom: 1px solid var(--mega-border);
	}
	.nav__mobile-title { font-weight: 800; color: var(--mega-fg); }
	.nav__close {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 0;
		border-radius: 12px;
		background: var(--mega-hover);
		color: var(--mega-fg);
		cursor: pointer;
	}
	.nav__list { padding: 8px 12px; }
	.nav__item { border-bottom: 1px solid var(--mega-border); }
	.nav__row { justify-content: space-between; }
	.nav__link { flex: 1; padding: 14px 12px; color: var(--mega-fg); font-size: 1rem; }
	.nav__link:hover { color: var(--mega-fg); }
	.nav__toggle { width: 44px; height: 44px; color: var(--mega-fg); }
	.nav__toggle .icon { width: 20px; height: 20px; }
	.mega, .dropdown { display: none; padding: 0 0 12px; }
	.nav__item.is-open > .mega, .nav__item.is-open > .dropdown { display: block; }
	.mega .container { width: 100%; }
	.mega__intro, .mega__aside { display: none; }
	.mega__grid { grid-template-columns: 1fr; }
	.mega__link { padding: 10px 12px; }
	.mega__link-icon { width: 34px; height: 34px; }
	.mega__link-text small { display: none; }
	.mega__link-text { align-self: center; }
	.nav__mobile-foot { display: grid; gap: 10px; margin-top: auto; padding: 20px 24px 28px; }
	.nav__mobile-foot .btn--ghost { --ghost-fg: var(--mega-fg); --ghost-border: var(--mega-border); }
}

@media (max-width: 639px) {
	.header-quote__label { display: none; }
	.header-quote { width: 44px; padding: 0; justify-content: center; }
	.brand__logo { height: 40px; }
}

/* Banner principal ---------------------------------------------------------- */
.hero {
	--eyebrow: var(--kicker);
	--ghost-fg: var(--hero-fg);
	--ghost-border: color-mix(in srgb, var(--hero-fg) 30%, transparent);
	--ghost-hover: color-mix(in srgb, var(--hero-fg) 8%, transparent);
	position: relative;
	overflow: hidden;
	background: var(--hero-bg);
	color: var(--hero-fg);
	isolation: isolate;
}

.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--hero-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero__glow--a { width: 620px; height: 620px; top: -220px; right: -120px; background: var(--hero-glow-a); }
.hero__glow--b { width: 460px; height: 460px; bottom: -260px; left: -160px; background: var(--hero-glow-b); }

.hero__inner { padding-top: clamp(40px, 6vw, 76px); }

/* Franja de imagen a todo lo ancho (imagen destacada de cada slide) */
/* Franja alineada con el texto (mismo ancho que el contenido), en proporción 1920×606.
   Todas las imágenes ocupan exactamente ese ancho; el alto se limita para que el título
   del slide se vea sin bajar. */
.hero__banners {
	position: relative;
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
	aspect-ratio: 1920 / 606;
	max-height: calc(100vh - 285px);
	min-height: 90px;
	overflow: hidden;
	border-radius: 0 0 18px 18px;
	background: var(--c-navy);
}
.admin-bar .hero__banners { max-height: calc(100vh - 317px); }
/* Celular: imagen de extremo a extremo, separada del menú. */
@media (max-width: 767px) {
	.hero__banners { width: 100%; margin-top: 14px; border-radius: 0; }
}
.hero__banner { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .8s var(--ease); }
.hero__banner.is-active { opacity: 1; }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__banners::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 18%;
	background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--c-navy) 45%, transparent));
	pointer-events: none;
}
.style-light .hero__banners::after { background: linear-gradient(to bottom, transparent, rgba(10, 25, 47, .25)); }
.hero--banner .hero__inner { padding-top: 12px; }
.hero--banner .hero__slide { align-items: start; }
.hero--banner .hero__kicker { margin-bottom: 10px; }
.hero--banner .hero__title { font-size: clamp(2rem, 1rem + 2.3vw, 3rem); }
.hero--banner .hero__title--long { font-size: clamp(1.7rem, 1rem + 1.4vw, 2.25rem); }
.hero--banner .hero__lead { margin-top: 14px; }
.hero--banner .hero__actions { margin-top: 24px; }
.hero--banner .hero__visual { min-height: 0; }
.hero--banner .viz { max-width: 470px; }
.hero--banner .hero__nav { margin-top: clamp(24px, 3vw, 40px); }
/* En pantallas anchas: título en 2 líneas y texto en 2 líneas, para dar más altura a la imagen. */
@media (min-width: 1200px) {
	.hero--banner .hero__title { max-width: 22ch; }
	.hero--banner .hero__title--long { max-width: 30ch; }
	.hero--banner .hero__lead { max-width: 64ch; }
	.hero--banner .hero__slide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}
.hero__slides { display: grid; }
.hero__slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.hero__slide.is-active { visibility: visible; opacity: 1; transition-delay: 0s; }

.hero__copy > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero__slide.is-active .hero__copy > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__copy > :nth-child(2) { transition-delay: .08s; }
.hero__slide.is-active .hero__copy > :nth-child(3) { transition-delay: .16s; }
.hero__slide.is-active .hero__copy > :nth-child(4) { transition-delay: .24s; }

.hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
	padding: 7px 14px 7px 10px;
	border: 1px solid var(--hero-line);
	border-radius: 999px;
	background: color-mix(in srgb, var(--hero-fg) 4%, transparent);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--kicker);
}
.hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ui-accent);
	box-shadow: 0 0 0 4px var(--ui-accent-soft);
	animation: idc-pulse 2.4s ease-in-out infinite;
}
.hero__title {
	max-width: 15ch;
	color: var(--hero-fg);
	font-size: clamp(2.2rem, 1.25rem + 3vw, 3.5rem);
	line-height: 1.06;
	letter-spacing: -.03em;
}
.hero__title--long { max-width: 21ch; font-size: clamp(1.9rem, 1.15rem + 2.2vw, 2.75rem); line-height: 1.1; }
.hero__lead { max-width: 54ch; margin-top: 22px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.7; color: var(--hero-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .domain-search--hero {
	--domain-bg: color-mix(in srgb, var(--hero-fg) 6%, transparent);
	--domain-border: var(--hero-line);
	--domain-fg: var(--hero-fg);
	--domain-label: var(--hero-muted);
	--domain-placeholder: var(--hero-muted);
	margin-top: 22px;
}
.hero .domain-search--hero .domain-search__row { box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero .domain-search--hero .btn { background: var(--c-primary); box-shadow: none; }

.hero__visual { position: relative; min-height: 440px; display: grid; place-items: center; }

.hero__nav { display: flex; align-items: stretch; margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--hero-line); }
.hero__tabs { flex: 1; display: grid; grid-template-columns: repeat(var(--tabs, 4), minmax(0, 1fr)); }
.hero__tab {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 20px 20px 24px 0;
	border: 0;
	background: none;
	color: var(--hero-muted);
	font-size: .92rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: color .2s;
}
.hero__tab:hover { color: var(--hero-fg); }
.hero__tab.is-active { color: var(--hero-fg); }
.hero__tab-num { font-size: .75rem; font-weight: 800; font-variant-numeric: tabular-nums; opacity: .7; }
.hero__tab.is-active .hero__tab-num { color: var(--ui-accent); opacity: 1; }
.hero__progress { position: absolute; top: -1px; left: 0; right: 16px; height: 2px; overflow: hidden; }
.hero__progress::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ui-accent);
	transform: scaleX(0);
	transform-origin: left;
}
.hero__tab.is-active .hero__progress::after { animation: idc-progress var(--hero-duration) linear forwards; }
.hero.is-paused .hero__tab.is-active .hero__progress::after { animation-play-state: paused; }
.hero.is-stopped .hero__tab.is-active .hero__progress::after { animation: none; transform: scaleX(1); }

.hero__pause {
	display: grid;
	place-items: center;
	width: 56px;
	border: 0;
	border-left: 1px solid var(--hero-line);
	background: none;
	color: var(--hero-muted);
	cursor: pointer;
}
.hero__pause:hover { color: var(--hero-fg); }
.hero__pause .icon { width: 16px; height: 16px; }
.hero__pause-icon--play, .hero__pause[aria-pressed="true"] .hero__pause-icon--pause { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-icon--play { display: block; }

@keyframes idc-progress { to { transform: scaleX(1); } }
@keyframes idc-pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); } }
@keyframes idc-float { 50% { transform: translateY(-8px); } }
@keyframes idc-dash { to { stroke-dashoffset: -40; } }
@keyframes idc-spin { to { transform: rotate(360deg); } }
@keyframes idc-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* Ilustraciones del banner -------------------------------------------------- */
.viz { position: relative; width: 100%; max-width: 560px; aspect-ratio: 5 / 4.3; color: var(--glass-fg); }
.viz-card {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: 18px;
	box-shadow: var(--glass-shadow);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.viz-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 16px 11px 11px;
	border: 1px solid var(--glass-border);
	border-radius: 14px;
	background: var(--chip-bg);
	box-shadow: var(--glass-shadow);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	animation: idc-float 6s ease-in-out infinite;
	white-space: nowrap;
}
.viz-chip > .icon {
	width: 36px;
	height: 36px;
	padding: 8px;
	border-radius: 10px;
	background: var(--ui-accent-grad);
	color: #fff;
	stroke-width: 2.2;
}
.viz-chip strong { display: block; font-size: .84rem; color: var(--glass-fg); }
.viz-chip small { display: block; font-size: .72rem; color: var(--glass-muted); }
.viz-chip--b { animation-delay: -2s; }
.viz-chip--c { animation-delay: -4s; }

/* ERP */
.viz-window { position: absolute; top: 9%; left: 5%; right: 5%; overflow: hidden; }
.viz-window__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--glass-border); font-size: .74rem; color: var(--glass-muted); }
.viz-window__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--glass-border); }
.viz-window__bar i:first-child { background: #FF6B00; }
.viz-window__bar span { margin-left: 8px; }
.viz-window__body { padding: 16px; }
.viz-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.viz-kpi { padding: 10px 12px; border: 1px solid var(--glass-border); border-radius: 12px; }
.viz-kpi small { display: block; font-size: .66rem; color: var(--glass-muted); }
.viz-kpi strong { display: block; margin-top: 2px; font-size: .98rem; color: var(--glass-fg); letter-spacing: -.01em; }
.viz-kpi em { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--glass-muted); }
.viz-kpi em.is-up, .viz-kpi em.is-ok { color: #22C55E; }
.viz-chart { display: flex; align-items: flex-end; gap: 6px; height: 96px; margin: 16px 0 12px; padding: 0 2px; border-bottom: 1px solid var(--glass-border); }
.viz-chart span {
	flex: 1;
	height: var(--h);
	border-radius: 4px 4px 0 0;
	background: linear-gradient(to top, rgba(45, 123, 255, .35), #2D7BFF);
	transform: scaleY(.15);
	transform-origin: bottom;
	transition: transform .9s var(--ease);
}
.viz-chart span:last-child { background: linear-gradient(to top, rgba(255, 107, 0, .4), #FF7A00); }
.hero__slide.is-active .viz-chart span { transform: none; }
.viz-chart span:nth-child(2n) { transition-delay: .05s; }
.viz-chart span:nth-child(3n) { transition-delay: .1s; }
.viz-rows { margin: 0; padding: 0; list-style: none; font-size: .74rem; }
.viz-rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 0; color: var(--glass-muted); }
.viz-rows li + li { border-top: 1px solid var(--glass-border); }
.viz-rows b { color: var(--glass-fg); font-weight: 700; }
.viz-pill { padding: 2px 8px; border-radius: 999px; font-size: .64rem; font-weight: 800; }
.viz-pill.is-ok { background: rgba(34, 197, 94, .15); color: #22C55E; }
.viz-pill.is-wait { background: rgba(255, 107, 0, .15); color: #FF8A3D; }
.viz--erp .viz-chip--a { left: -4%; bottom: 2%; }
.viz--erp .viz-chip--b { right: -3%; top: 0; }

/* Infraestructura */
.viz--infra { aspect-ratio: 520 / 420; }
.viz-topology { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.viz-topology__links path { stroke: var(--viz-line); stroke-width: 2; }
.viz-topology__flow path { stroke: #FF7A00; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 4 16; animation: idc-dash 1.6s linear infinite; }
.viz-topology__nodes circle { fill: var(--glass-solid); stroke: var(--c-primary-bright); stroke-width: 3; }
.viz-topology__hub .ring { fill: none; stroke: var(--viz-line); stroke-width: 2; stroke-dasharray: 6 8; transform-origin: 260px 210px; animation: idc-spin 30s linear infinite; }
.viz-topology__hub .core { fill: var(--c-primary); }
.viz-topology__hub rect { fill: rgba(255, 255, 255, .92); }
.viz-topology__hub .led { fill: #FF7A00; }
.viz-tag {
	position: absolute;
	transform: translate(-50%, 0);
	padding: 4px 10px;
	border-radius: 8px;
	border: 1px solid var(--glass-border);
	background: var(--chip-bg);
	font-size: .72rem;
	font-weight: 700;
	color: var(--glass-fg);
	white-space: nowrap;
}
.viz-tag--hub { left: 50%; top: 68%; }
.viz-tag--n1 { left: 21%; top: 28%; }
.viz-tag--n2 { left: 80%; top: 25%; }
.viz-tag--n3 { left: 85%; top: 80%; }
.viz-tag--n4 { left: 18%; top: 83%; }
.viz--infra .viz-chip--a { left: -2%; top: 42%; }
.viz--infra .viz-chip--b { right: -4%; top: 47%; }

/* Ciberseguridad */
.viz--security { display: grid; place-items: center; }
.viz-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.viz-rings span { grid-area: 1 / 1; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--viz-line); animation: idc-ring 4.5s ease-out infinite; }
.viz-rings span:nth-child(2) { animation-delay: -1.5s; }
.viz-rings span:nth-child(3) { animation-delay: -3s; }
.viz-shield { position: relative; width: 40%; filter: drop-shadow(0 30px 40px rgba(11, 87, 208, .45)); }
.viz--security .viz-chip--a { left: 0; top: 10%; }
.viz--security .viz-chip--b { right: -2%; top: 46%; }
.viz--security .viz-chip--c { left: 4%; bottom: 6%; }

/* Catálogo */
.viz-product { position: absolute; display: flex; align-items: center; gap: 14px; width: 74%; padding: 14px 16px; }
.viz-product__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(45, 123, 255, .16); color: var(--c-primary-bright); flex-shrink: 0; }
.viz-product__icon .icon { width: 24px; height: 24px; }
.viz-product__text { flex: 1; min-width: 0; }
.viz-product__text strong { display: block; font-size: .9rem; color: var(--glass-fg); }
.viz-product__text small { display: block; font-size: .74rem; color: var(--glass-muted); }
.viz-product__add { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--c-accent); color: #fff; }
.viz-product__add .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.viz-product--1 .viz-product__add, .viz-product--3 .viz-product__add { background: #22C55E; }
.viz-product--1 { top: 6%; left: 0; }
.viz-product--2 { top: 29%; left: 22%; }
.viz-product--3 { top: 52%; left: 6%; }
.viz-product--4 { top: 75%; left: 26%; }
.viz-cart {
	position: absolute;
	right: 0;
	top: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px 10px 14px;
	border-radius: 14px;
	background: var(--c-navy);
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	box-shadow: var(--glass-shadow);
	animation: idc-float 6s ease-in-out infinite;
}
.style-dark .viz-cart { background: #fff; color: var(--c-navy); }
.viz-cart .icon { width: 18px; height: 18px; color: var(--c-accent); }
.viz-cart b { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: .74rem; }

/* Web & hosting */
.viz-browser { position: absolute; top: 8%; left: 6%; right: 6%; overflow: hidden; }
.viz-url { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--glass-fg) 7%, transparent); }
.viz-url .icon { width: 12px; height: 12px; color: #22C55E; }
.viz-site { display: grid; gap: 14px; padding: 16px; }
.viz-site span, .viz-site b, .viz-site em, .viz-site i { display: block; border-radius: 6px; }
.viz-site__nav { display: flex; align-items: center; gap: 10px; }
.viz-site__nav b { width: 46px; height: 12px; background: var(--c-primary-bright); }
.viz-site__nav span { width: 34px; height: 8px; background: var(--glass-border); }
.viz-site__nav em { width: 56px; height: 18px; margin-left: auto; background: var(--ui-accent); }
.viz-site__hero { display: grid; gap: 8px; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, rgba(45, 123, 255, .35), rgba(11, 87, 208, .12)); }
.viz-site__hero span { height: 12px; width: 72%; background: color-mix(in srgb, var(--glass-fg) 55%, transparent); }
.viz-site__hero span.is-short { width: 46%; height: 8px; background: color-mix(in srgb, var(--glass-fg) 25%, transparent); }
.viz-site__hero i { width: 90px; height: 22px; margin-top: 6px; background: var(--ui-accent); }
.viz-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.viz-site__cards > div { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--glass-border); border-radius: 10px; }
.viz-site__img { height: 46px; background: linear-gradient(160deg, rgba(45, 123, 255, .25), rgba(45, 123, 255, .08)); }
.viz-site__cards span:not(.viz-site__img) { height: 7px; background: var(--glass-border); }
.viz-site__cards span.is-short { width: 60%; }
.viz-site__cards em { display: grid !important; place-items: center; width: 24px; height: 24px; margin-left: auto; background: var(--c-accent); color: #fff; }
.viz-site__cards em .icon { width: 13px; height: 13px; }
.viz--web .viz-chip--a { right: -3%; top: 0; }
.viz--web .viz-chip--b { right: -4%; top: 46%; }
.viz--web .viz-chip--c { left: 2%; bottom: 2%; }

/* Banda de métricas --------------------------------------------------------- */
.metrics-band {
	--metric-color: var(--metrics-fg);
	--metric-label: var(--metrics-muted);
	background: var(--metrics-bg);
	color: var(--metrics-fg);
	border-top: 1px solid var(--metrics-line);
	border-bottom: 1px solid var(--metrics-line);
}
.metrics-band__inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0; }
.metrics-band__since { display: grid; padding: 28px 40px 28px 0; border-right: 1px solid var(--metrics-line); }
.metrics-band__since-label { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ui-accent); }
.metrics-band__since strong { font-size: 2.6rem; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: var(--metrics-fg); }
.metrics-band__since span:last-child { font-size: .85rem; color: var(--metrics-muted); }
.metrics-band .metrics { grid-template-columns: repeat(3, 1fr); gap: 0; }
.metrics-band .metric { padding: 28px 32px; }
.metrics-band .metric + .metric { border-left: 1px solid var(--metrics-line); }
.style-light .metrics-band { box-shadow: 0 20px 40px -32px rgba(11, 87, 208, .35); }

/* Secciones ----------------------------------------------------------------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--surface { background: var(--c-surface); }
.section--contrast {
	--eyebrow: var(--kicker);
	--checklist-fg: var(--contrast-fg);
	background: var(--contrast-bg);
	color: var(--contrast-muted);
	position: relative;
	overflow: hidden;
}
.section--contrast .section-title { color: var(--contrast-fg); }
.section--contrast .section-text { color: var(--contrast-muted); }
.style-dark .section--contrast::before {
	content: "";
	position: absolute;
	width: 700px;
	height: 700px;
	right: -260px;
	top: -300px;
	border-radius: 50%;
	background: rgba(11, 87, 208, .35);
	filter: blur(100px);
	pointer-events: none;
}

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; max-width: none; }
.section-head--split > div { max-width: 680px; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); }
.section-title--sm { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: 20px; }
.section-text { margin-top: 16px; font-size: 1.06rem; color: var(--c-muted); }
.section-cta { margin-top: 40px; text-align: center; }

/* Soluciones */
.solutions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.solution-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 26px;
	border: 1px solid var(--c-border);
	border-radius: 20px;
	background: #fff;
	transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
	overflow: hidden;
}
.solution-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D3E0F7; }
.solution-card:hover::before { transform: scaleX(1); }
.solution-card__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 15px;
	background: var(--c-primary-soft);
	color: var(--c-primary);
}
.solution-card__icon .icon { width: 27px; height: 27px; }
.solution-card__title { font-size: 1.18rem; line-height: 1.3; }
.solution-card__title a { color: var(--c-text); text-decoration: none; }
.solution-card__title a:hover { color: var(--c-primary); }
.solution-card__text { font-size: .93rem; color: var(--c-muted); }
.solution-card__links { display: grid; gap: 8px; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--c-border); list-style: none; font-size: .9rem; }
.solution-card__links a { display: flex; gap: 8px; color: var(--c-text-2); text-decoration: none; }
.solution-card__links a::before { content: "›"; color: var(--ui-accent); font-weight: 800; }
.solution-card__links li > span { display: flex; gap: 8px; color: var(--c-text-2); }
.solution-card__links li > span::before { content: "›"; color: var(--ui-accent); font-weight: 800; }
.solution-card__links a:hover { color: var(--c-primary); }
.solution-card__more { margin-top: auto; padding-top: 6px; }

/* Planes Web & Hosting */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 28px 28px;
	border: 1px solid var(--c-border);
	border-radius: 22px;
	background: #fff;
	transition: transform .25s var(--ease), box-shadow .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.is-featured {
	border: 2px solid var(--c-accent);
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 107, 0, .22), transparent 45%),
		linear-gradient(160deg, #0F2342, #0A192F 70%);
	color: #CBD5E1;
	box-shadow: 0 30px 60px -30px rgba(10, 25, 47, .7);
}
.plan__badge { position: absolute; top: -14px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 15px; background: var(--c-primary-soft); color: var(--c-primary); }
.plan.is-featured .plan__icon { background: rgba(255, 107, 0, .16); color: #FF8A3D; }
.plan__icon .icon { width: 27px; height: 27px; }
.plan__title { font-size: 1.25rem; line-height: 1.3; }
.plan.is-featured .plan__title { color: #fff; }
.plan__text { margin-top: 10px; font-size: .95rem; color: var(--c-muted); }
.plan.is-featured .plan__text { color: #A8B8D0; }
.plan__includes-label { margin-top: 22px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.plan.is-featured .plan__includes-label { color: #FFB27A; }
.plan__includes { display: grid; gap: 10px; margin: 12px 0 26px; padding: 0; list-style: none; font-size: .95rem; font-weight: 600; color: var(--c-text); }
.plan.is-featured .plan__includes { color: #fff; }
.plan__includes li { display: flex; gap: 10px; align-items: flex-start; }
.plan__includes .icon { width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); stroke-width: 3; }
.plan.is-featured .plan__includes .icon { background: rgba(34, 197, 94, .18); color: #4ADE80; }
.plan__cta { margin-top: auto; }
.plans__domain {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	margin-top: 40px;
	padding: 24px 28px;
	border: 1px solid var(--c-border);
	border-radius: 22px;
	background: #fff;
}
.plans__domain-copy { display: flex; align-items: center; gap: 16px; }
.plans__domain-icon { display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; background: var(--c-navy); color: #fff; }
.plans__domain-icon .icon { width: 24px; height: 24px; }
.plans__domain-title { font-size: 1.1rem; font-weight: 800; color: var(--c-text); }
.plans__domain-text { font-size: .92rem; color: var(--c-muted); }
.plans__domain .domain-search { flex: 1 1 420px; }
.plans__domain .domain-search__row { box-shadow: none; background: var(--c-surface); }

/* ¿Por qué nosotros? */
.why__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.why__lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.line-tile {
	padding: 22px;
	border: 1px solid var(--contrast-border);
	border-radius: 18px;
	background: var(--contrast-card);
	transition: border-color .25s, transform .25s var(--ease);
}
.line-tile:hover { border-color: var(--ui-accent); transform: translateY(-3px); }
.line-tile__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 13px; background: var(--ui-accent-soft); color: var(--ui-accent); }
.line-tile__icon .icon { width: 24px; height: 24px; }
.line-tile__title { font-size: 1.02rem; color: var(--contrast-fg); }
.line-tile__title a { color: inherit; text-decoration: none; }
.line-tile__title a:hover { color: var(--ui-accent); }
.line-tile__text { margin-top: 6px; font-size: .88rem; color: var(--contrast-muted); line-height: 1.55; }

/* Cotizador (Inicio) */
.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.cat-tile {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	padding: 16px 18px;
	border: 1px solid var(--c-border);
	border-radius: 16px;
	background: #fff;
	text-decoration: none;
	transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.cat-tile:hover { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-tile__icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--c-navy); color: #fff; }
.cat-tile__icon .icon { width: 22px; height: 22px; }
.cat-tile__name { font-weight: 700; color: var(--c-text); font-size: .95rem; line-height: 1.3; }
.cat-tile__count { font-size: .8rem; color: var(--c-muted); }

/* Clientes */
.clients-section { overflow: hidden; }
.clients-section .section-head { margin-bottom: 40px; }
.clients-section__label {
	display: flex;
	align-items: center;
	gap: 16px;
	width: min(100% - 2 * var(--gutter), 520px);
	margin: 36px auto 18px;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--c-muted);
}
.clients-section__label::before, .clients-section__label::after { content: ""; flex: 1; height: 1px; background: var(--c-border); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--c-border);
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
	transition: transform .25s var(--ease), box-shadow .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	background:
		radial-gradient(circle at 80% 20%, rgba(255, 107, 0, .35), transparent 45%),
		linear-gradient(135deg, #0B57D0, #0A192F 75%);
	color: rgba(255, 255, 255, .85);
}
.post-card__placeholder .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; color: var(--c-muted); }
.post-card__cat { font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ui-accent-text); text-decoration: none; }
.post-card__title { font-size: 1.15rem; line-height: 1.35; }
.post-card__title a { color: var(--c-text); text-decoration: none; }
.post-card__title a:hover { color: var(--c-primary); }
.post-card__excerpt { font-size: .93rem; color: var(--c-muted); }
.post-card .link-arrow { margin-top: auto; padding-top: 6px; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 320px; }
.post-card--featured .post-card__body { justify-content: center; padding: clamp(24px, 4vw, 48px); }
.post-card--featured .post-card__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.empty-note { color: var(--c-muted); }

/* Llamada final */
.cta-band {
	--eyebrow: #FFB27A;
	position: relative;
	overflow: hidden;
	padding-block: clamp(56px, 7vw, 88px);
	background:
		radial-gradient(circle at 88% 10%, rgba(255, 107, 0, .4), transparent 40%),
		radial-gradient(circle at 10% 110%, rgba(45, 123, 255, .45), transparent 45%),
		linear-gradient(120deg, #0B57D0 0%, #0A2A66 45%, #0A192F 100%);
	color: #CBD5E1;
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-band__copy { max-width: 640px; }
.cta-band__title { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); }
.cta-band__text { margin-top: 12px; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Cabecera de páginas ------------------------------------------------------- */
.page-hero {
	--eyebrow: var(--kicker);
	--chip-fill: color-mix(in srgb, var(--pagehero-fg) 6%, transparent);
	--chip-border: color-mix(in srgb, var(--pagehero-fg) 16%, transparent);
	--chip-fg: var(--pagehero-fg);
	--chip-hover: var(--pagehero-fg);
	--chip-active-bg: var(--ui-accent);
	--steps-bg: color-mix(in srgb, var(--pagehero-fg) 6%, transparent);
	--steps-border: color-mix(in srgb, var(--pagehero-fg) 14%, transparent);
	--steps-fg: var(--pagehero-muted);
	--steps-strong: var(--pagehero-fg);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: clamp(36px, 5vw, 64px) clamp(44px, 5vw, 72px);
	background: var(--pagehero-bg);
	color: var(--pagehero-fg);
}
.style-light .page-hero { border-bottom: 1px solid var(--c-border); --steps-bg: #fff; --chip-fill: #fff; }
.page-hero__inner { position: relative; }
.page-hero__head { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.page-hero__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: var(--ui-accent-grad);
	color: #fff;
	box-shadow: 0 14px 30px -14px var(--ui-accent-glow);
}
.page-hero__icon .icon { width: 30px; height: 30px; }
.page-hero__title { color: var(--pagehero-fg); font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); letter-spacing: -.03em; }
.page-hero__lead { max-width: 760px; margin-top: 16px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--pagehero-muted); }
.page-hero .chips, .page-hero .steps, .page-hero .article-meta { margin-top: 26px; }
.page-hero--compact { padding-block: 20px; }
.page-hero--compact .breadcrumbs { margin: 0; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .84rem; color: var(--pagehero-muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: .45; }
.breadcrumbs a { color: var(--pagehero-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pagehero-fg); }
.breadcrumbs [aria-current] { color: var(--pagehero-fg); font-weight: 600; }

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: .88rem; color: var(--pagehero-muted); }
.article-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--ui-accent); }

/* Páginas de servicio */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 24px; border: 1px solid var(--c-border); border-radius: 20px; background: #fff; }
.aside-card__title { margin-bottom: 10px; font-size: 1.08rem; font-weight: 800; color: var(--c-text); }
.aside-card__title a { color: var(--c-primary); text-decoration: none; }
.aside-card--cta {
	display: grid;
	gap: 12px;
	border: 0;
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 107, 0, .35), transparent 50%),
		linear-gradient(150deg, #0B57D0, #0A192F 80%);
	color: #CBD5E1;
	font-size: .93rem;
}
.aside-card--cta .aside-card__title { margin: 0; color: #fff; font-size: 1.25rem; }
.aside-card__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; color: #fff; font-weight: 700; text-decoration: none; }
.aside-card__phone .icon { width: 16px; height: 16px; color: #FFB27A; }
.aside-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.aside-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--c-text-2); font-size: .92rem; font-weight: 600; text-decoration: none; }
.aside-nav a .icon { width: 18px; height: 18px; color: var(--c-muted); }
.aside-nav a:hover { background: var(--c-surface); color: var(--c-primary); }
.aside-nav a.is-current { background: var(--c-primary-soft); color: var(--c-primary); }
.aside-nav a.is-current .icon { color: var(--c-primary); }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.service-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	border: 1px solid var(--c-border);
	border-radius: 20px;
	background: #fff;
	text-decoration: none;
	transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D3E0F7; }
.service-card__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 4px; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary); transition: background-color .25s, color .25s; }
.service-card:hover .service-card__icon { background: var(--c-primary); color: #fff; }
.service-card__icon .icon { width: 25px; height: 25px; }
.service-card__title { font-size: 1.08rem; font-weight: 800; color: var(--c-text); line-height: 1.3; }
.service-card__text { font-size: .92rem; color: var(--c-muted); }
.service-card .link-arrow { margin-top: auto; padding-top: 6px; }

/* Contenido del editor ------------------------------------------------------ */
.entry-content { font-size: 1.05rem; line-height: 1.75; color: var(--c-text-2); }
.entry-content > * { margin-block: 0; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content > h2 { margin-top: 1.9em; font-size: clamp(1.45rem, 1.2rem + .9vw, 1.95rem); }
.entry-content > h3 { margin-top: 1.6em; font-size: 1.25rem; }
.entry-content > h2 + *, .entry-content > h3 + * { margin-top: .7em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content a { color: var(--c-primary); }
.entry-content strong { color: var(--c-text); }
/* Solo listas escritas en el editor; los componentes (tarjetas, logos) manejan su propio espaciado. */
.entry-content :is(ul, ol):not([class]), .entry-content .wp-block-list { padding-left: 1.3em; }
.entry-content :is(ul, ol):not([class]) > li + li, .entry-content .wp-block-list > li + li { margin-top: .45em; }
.entry-content img { border-radius: 16px; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--c-accent); font-size: 1.15rem; color: var(--c-text); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--c-border); text-align: left; }
.entry-content hr { border: 0; border-top: 1px solid var(--c-border); margin-block: 2.5em; }
.entry-content--wide > :is(p, ul:not(.is-style-idc-checks), ol, h2, h3, h4, blockquote) { max-width: 820px; }
.entry-content .wp-block-columns { gap: 20px; }
.entry-content .wp-block-shortcode { margin-block: 0; }

.is-style-idc-lead, .entry-content .is-style-idc-lead { font-size: clamp(1.12rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--c-text); font-weight: 500; }

.entry-content .is-style-idc-checks,
.is-style-idc-checks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px 28px;
	padding: 0;
	list-style: none;
}
.is-style-idc-checks li { position: relative; margin: 0 !important; padding-left: 36px; }
.is-style-idc-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B57D0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.page-layout .is-style-idc-checks { grid-template-columns: 1fr; }

.entry-content .is-style-idc-steps,
.is-style-idc-steps { padding: 0; list-style: none; counter-reset: idcstep; display: grid; gap: 0; }
.is-style-idc-steps li { position: relative; margin: 0 !important; padding: 0 0 22px 56px; counter-increment: idcstep; }
.is-style-idc-steps li::before {
	content: counter(idcstep);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--c-navy);
	color: #fff;
	font-size: .9rem;
	font-weight: 800;
	z-index: 1;
}
.is-style-idc-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 34px; bottom: 0; width: 2px; background: var(--c-border); }

.is-style-idc-card { padding: 28px; border: 1px solid var(--c-border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.is-style-idc-card > * + * { margin-top: .7em; }
.is-style-idc-card h3 { font-size: 1.1rem; }
.is-style-idc-card p { font-size: .95rem; }
.is-style-idc-highlight { padding: 24px 28px; border-left: 4px solid var(--c-primary); border-radius: 0 16px 16px 0; background: var(--c-primary-soft); color: var(--c-text); }

/* Perfil (Nosotros) y etiqueta superior */
.entry-content .is-style-idc-eyebrow, .is-style-idc-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-strong); }
.entry-content .is-style-idc-eyebrow + h3 { margin-top: .3em; }
.idc-profile { align-items: flex-start !important; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--c-border); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.entry-content .idc-profile { margin-bottom: 1.4em; }
.idc-profile > .wp-block-column:first-child { flex: 0 0 min(300px, 34%) !important; }
.idc-profile__photo { margin: 0; }
.idc-profile__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.idc-profile h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.idc-profile .is-style-idc-highlight { padding: 14px 18px; font-size: .95rem; }
.idc-profile .is-style-idc-checks { grid-template-columns: 1fr; }
@media (max-width: 781px) {
	.idc-profile > .wp-block-column:first-child { flex-basis: 100% !important; max-width: 280px; }
}

/* Artículo ------------------------------------------------------------------ */
.article__container { max-width: 820px; }
.article__cover { margin: 0 0 40px; border-radius: 22px; overflow: hidden; }
.article__cover img { width: 100%; }
.article__footer { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.article__share-label { font-weight: 800; color: var(--c-text); }
.share { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.share a, .share button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--c-border);
	border-radius: 50%;
	background: #fff;
	color: var(--c-text-2);
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.share a:hover, .share button:hover, .share button.is-copied { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.share .icon { width: 18px; height: 18px; }

/* Ficha de equipo ----------------------------------------------------------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.product__media {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	padding: 32px;
	border: 1px solid var(--c-border);
	border-radius: 24px;
	background: linear-gradient(160deg, #F3F7FF, #E3ECFB);
	color: var(--c-primary);
}
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.product__media .eq-placeholder { width: 56%; opacity: .6; }
.product__media .eq-card__badge { top: 18px; left: 18px; }
.product__title { margin: 8px 0 14px; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.product__lead { font-size: 1.05rem; color: var(--c-muted); }
.spec-table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 11px 0; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; padding-right: 16px; font-weight: 600; color: var(--c-muted); }
.spec-table td { font-weight: 600; color: var(--c-text); }
.product__buy { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--c-border); border-radius: 20px; background: var(--c-surface); }
.product__price { font-size: 1.3rem; font-weight: 800; color: var(--c-text); }
.product__buy .eq-add { display: flex; gap: 12px; }
.product__buy .eq-add__btn { flex: 1; }
.product__notes { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--c-muted); }
.product__notes li { display: flex; align-items: center; gap: 10px; }
.product__notes .icon { width: 20px; height: 20px; color: var(--c-primary); }
.product__desc { max-width: 820px; margin-top: 56px; }

/* Pie de página ------------------------------------------------------------- */
.site-footer {
	--brand-name: #FFFFFF;
	--brand-sub: #8FB4FF;
	background: var(--c-navy-deep);
	color: #94A3B8;
	font-size: .93rem;
}
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 40px 48px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.footer__slogan { margin-top: 20px; font-weight: 700; color: #fff; }
.footer__legal { margin-top: 10px; font-size: .85rem; line-height: 1.6; }
.footer__handle { margin-top: 10px; font-weight: 600; color: #CBD5E1; }
.footer__title { margin-bottom: 18px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer__menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__menu a, .footer__contact a { color: #CBD5E1; text-decoration: none; }
.footer__menu a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-accent); }
.footer__note { display: inline-block; margin-top: 6px; font-weight: 600; color: #FFB27A; }
.social { display: flex; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(148, 163, 184, .25);
	border-radius: 50%;
	color: #CBD5E1;
	transition: background-color .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.social .icon { width: 17px; height: 17px; }
.footer__bottom { border-top: 1px solid rgba(148, 163, 184, .14); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 22px; font-size: .84rem; }
.footer__reclamos {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid rgba(148, 163, 184, .25);
	border-radius: 12px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.footer__reclamos .icon { width: 20px; height: 20px; color: var(--c-accent); }
.footer__reclamos:hover { border-color: var(--c-accent); color: #fff; }

.wa-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 60;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	box-shadow: 0 14px 30px -10px rgba(18, 140, 70, .7);
	transition: transform .2s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: idc-ring 2.8s ease-out infinite; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

.style-switch {
	position: fixed;
	left: 50%;
	bottom: 20px;
	z-index: 70;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px;
	border-radius: 999px;
	background: rgba(10, 25, 47, .92);
	box-shadow: 0 16px 30px -12px rgba(2, 8, 23, .6);
	transform: translateX(-50%);
	font-size: .82rem;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.style-switch__label { padding: 0 10px; color: #94A3B8; font-weight: 700; }
.style-switch a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; color: #E2E8F0; font-weight: 700; text-decoration: none; }
.style-switch a.is-active { background: var(--c-accent); color: #fff; }

/* Paginación, búsqueda, estados vacíos ------------------------------------- */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--c-border);
	border-radius: 12px;
	color: var(--c-text-2);
	font-weight: 700;
	text-decoration: none;
}
.pagination .page-numbers.current { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--c-primary); color: var(--c-primary); }

.search-form { display: flex; gap: 10px; max-width: 520px; margin: 20px auto; }
.search-form .search-field { flex: 1; }

.empty-state { max-width: 620px; margin-inline: auto; text-align: center; }
.empty-state p + p { margin-top: 8px; }
.empty-state__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px !important; }

/* Animaciones al hacer scroll ---------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero__tab.is-active .hero__progress::after { transform: scaleX(1); }
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1199px) {
	.solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.mega__inner { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
	.topbar .topbar__hide-md { display: none; }
	.plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
	.plan.is-featured { order: -1; }
	.hero__slide { grid-template-columns: 1fr; }
	.hero__visual { min-height: 0; max-width: 520px; width: 100%; margin-inline: auto; }
	.hero__title { max-width: 18ch; }
	.why__grid { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-card--featured { grid-template-columns: 1fr; }
	.post-card--featured .post-card__media { min-height: 0; aspect-ratio: 16 / 9; }
	.page-layout { grid-template-columns: 1fr; }
	.page-aside { position: static; }
	.product { grid-template-columns: 1fr; }
	.product__media { position: static; }
	.metrics-band__inner { grid-template-columns: 1fr; }
	.metrics-band__since { padding: 24px 0 0; border-right: 0; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 10px; }
	.metrics-band .metric { padding: 20px 20px 24px 0; }
	.metrics-band .metric + .metric { padding-left: 20px; }
}

@media (max-width: 767px) {
	.hero__visual { display: none; }
	.hero__slide { align-items: start; align-content: start; }
	.hero__inner { padding-top: 36px; }
	.hero__nav { margin-top: 32px; }
	.hero__tabs { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.hero__tabs::-webkit-scrollbar { display: none; }
	.hero__tab { flex: 0 0 auto; padding-right: 26px; }
	.hero__pause { width: 48px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.metrics-band .metrics { grid-template-columns: 1fr; }
	.metrics-band .metric, .metrics-band .metric + .metric { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 16px 0; border-left: 0; border-top: 1px solid var(--metrics-line); }
	.metrics-band .metric__label { margin-top: 0; }
	.solutions, .post-grid, .why__lines, .footer__grid { grid-template-columns: 1fr; }
	.cat-tiles { grid-template-columns: 1fr 1fr; }
	.cat-tile { grid-template-columns: 1fr; padding: 14px; }
	.cat-tile__icon { grid-row: auto; margin-bottom: 10px; width: 40px; height: 40px; }
	.section-head--split { align-items: flex-start; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
	.page-hero__icon { width: 48px; height: 48px; border-radius: 13px; }
	.page-hero__icon .icon { width: 24px; height: 24px; }
	.footer__bottom-inner { justify-content: center; text-align: center; }
	.wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
	.style-switch { bottom: 82px; }
}

@media (max-width: 639px) {
	.topbar .topbar__hide-sm { display: none; }
	.topbar__list { gap: 12px; }
	.topbar__sep { display: none; }
	.topbar .social { display: none; }
}
