/* ==========================================================================
   SEGUTECH — estilos del sitio
   Índice: 1 Tipografías · 2 Tokens · 3 Base · 4 Utilidades · 5 Botones
           6 Encabezado · 7 Portada · 8 Secciones · 9 Enfoque · 10 Áreas
           11 Proceso · 12 Perfil · 13 Colaboraciones · 14 Contacto/formulario
           15 Páginas internas · 16 Pie · 17 Animaciones · 18 Responsive
   ========================================================================== */

/* 1. Tipografías (autoalojadas, licencia SIL OFL) */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter Tight";
	src: url("../fonts/inter-tight-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* 2. Tokens */
:root {
	--black: #07090d;
	--graphite: #0d1117;
	--graphite-2: #131922;
	--graphite-3: #1a212c;
	--line-dark: rgba(255, 255, 255, 0.08);
	--line-dark-strong: rgba(255, 255, 255, 0.16);
	--text: #eef1f6;
	--text-muted: #9ba5b4;
	--text-dim: #6c7686;

	--paper: #f3f4f6;
	--paper-2: #ffffff;
	--ink: #0b0f15;
	--ink-muted: #4a5464;
	--line-light: rgba(11, 15, 21, 0.1);

	--accent: #4c8dff;
	--accent-strong: #2f6fe8;
	--accent-ink: #1f5bd0;
	--accent-soft: rgba(76, 141, 255, 0.12);

	--ok: #1f8a5b;
	--error: #c0392b;

	--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
	--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--radius: 14px;
	--radius-lg: 20px;
	--header-h: 76px;
	--section-y: clamp(88px, 11vw, 152px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
	margin: 0;
	background: var(--black);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-wrap: balance;
}
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 4. Utilidades */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; margin-top: clamp(48px, 6vw, 72px); }

.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: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--accent);
	color: #fff;
	border-radius: 8px;
	font-weight: 600;
	transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.eyebrow__num { color: var(--accent); }
.eyebrow__line { width: 28px; height: 1px; background: currentColor; opacity: 0.5; }

/* 5. Botones */
.btn {
	--btn-bg: transparent;
	--btn-fg: var(--text);
	--btn-border: var(--line-dark-strong);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--btn-border);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 0.9375rem;
	font-weight: 550;
	letter-spacing: -0.005em;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
	-webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary {
	--btn-bg: var(--accent-strong);
	--btn-fg: #fff;
	--btn-border: var(--accent-strong);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 24px -10px rgba(47, 111, 232, 0.7);
}
.btn--primary:hover { --btn-bg: var(--accent); --btn-border: var(--accent); }
.btn--ghost:hover { --btn-border: rgba(255, 255, 255, 0.4); --btn-bg: rgba(255, 255, 255, 0.04); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* 6. Encabezado */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header-h);
	transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.is-inner .site-header {
	background: rgba(7, 9, 13, 0.78);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
	border-bottom-color: var(--line-dark);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: 0.16em;
	color: #fff;
}
.brand__mark {
	position: relative;
	width: 22px; height: 22px;
	border-radius: 7px;
	background: linear-gradient(140deg, #6aa4ff, #1f5bd0);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 6px 18px -6px rgba(76, 141, 255, 0.8);
}
.brand__mark::after {
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: 2px;
	background: var(--black);
}
.brand__symbol {
	width: 34px;
	height: 34px;
	object-fit: contain;
	filter: drop-shadow(0 4px 14px rgba(47, 111, 232, 0.45));
}
.brand--image { height: 40px; }
.brand__img { height: 100%; width: auto; max-width: 200px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; list-style: none; }
.nav__list a {
	position: relative;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-muted);
	transition: color 0.2s;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -6px;
	height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-active { color: #fff; }
.nav__list a.is-active::after,
.nav__list a:hover::after { transform: scaleX(1); }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line-dark-strong);
	border-radius: 12px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* 7. Portada */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(var(--header-h) + clamp(40px, 7vh, 80px)) 0 clamp(36px, 5vh, 56px);
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(1100px 600px at 78% 30%, rgba(47, 111, 232, 0.13), transparent 60%),
		radial-gradient(800px 500px at 0% 100%, rgba(47, 111, 232, 0.06), transparent 60%),
		var(--black);
}
.hero__grid-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%);
	mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%);
}
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}
.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 28px;
	padding: 7px 14px 7px 12px;
	border: 1px solid var(--line-dark-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.02);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-muted);
}
.pulse-dot {
	position: relative;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--accent);
}
.pulse-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var(--accent);
	animation: pulse 2.6s var(--ease) infinite;
}
.hero__title {
	font-size: clamp(2.5rem, 5.4vw, 4.9rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: #fff;
	max-width: 18ch;
}
/* Pantallas anchas pero bajas (notebooks): el título y los botones entran en la primera vista. */
@media (min-width: 1081px) and (max-height: 860px) {
	.hero { padding-top: calc(var(--header-h) + 32px); }
	.hero__title { font-size: clamp(2.5rem, 4.3vw, 3.9rem); }
	.hero__lead { margin-top: 20px; }
	.hero__actions { margin-top: 28px; }
	.hero__meta { margin-top: 40px; }
	.topology { max-width: 470px; }
}
.hero__lead {
	max-width: 56ch;
	margin: 28px 0 0;
	font-size: clamp(1.0625rem, 1.35vw, 1.2rem);
	line-height: 1.6;
	color: var(--text-muted);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 40px;
}
.hero__visual { position: relative; }
.hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	margin-top: clamp(48px, 8vh, 88px);
	padding-top: 28px;
	border-top: 1px solid var(--line-dark);
}
.hero__audience { margin: 0; max-width: 46ch; font-size: 0.9375rem; color: var(--text); }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; }
.hero__points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--text-muted);
}
.hero__points .icon { width: 16px; height: 16px; color: var(--accent); }

/* Ilustración de topología */
.topology { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }
.topology__dot { fill: rgba(255, 255, 255, 0.12); }
.topology__rings { transform-origin: 280px 280px; animation: spin 140s linear infinite; }
.topology__ring { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-dasharray: 2 7; }
.topology__ring--outer { stroke: rgba(255, 255, 255, 0.07); stroke-dasharray: 1 9; }
.topology__link { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.topology__trace {
	fill: none;
	stroke: var(--accent);
	stroke-width: 1.2;
	stroke-dasharray: 36 600;
	stroke-dashoffset: 636;
	opacity: 0.8;
	animation: trace 6s linear infinite;
}
.topology__packet { fill: #9cc0ff; filter: drop-shadow(0 0 4px rgba(76, 141, 255, 0.9)); }
.topology__node rect { fill: #0f141c; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.topology__node-dot { fill: var(--accent); opacity: 0.85; }
.topology__node text {
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	fill: var(--text-dim);
}
.topology__core-box { fill: #101826; stroke: var(--accent); stroke-width: 1.2; }
.topology__core-halo { fill: none; stroke: rgba(76, 141, 255, 0.25); stroke-width: 1; animation: halo 3.4s var(--ease) infinite; transform-origin: 0 0; }
.topology__core-icon path { fill: none; stroke: #cfe0ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* 8. Secciones */
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(64px, 8vw, 104px); }
.section--dark { background: var(--black); }
.section--graphite { background: var(--graphite); }
.section--graphite::before,
.section--dark::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--line-dark-strong), transparent);
}
.section--light {
	background: var(--paper);
	color: var(--ink);
}
.section--light .eyebrow { color: var(--ink-muted); }
.section--light .eyebrow__num { color: var(--accent-ink); }

.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__title {
	font-size: clamp(2rem, 3.8vw, 3.25rem);
	line-height: 1.06;
	letter-spacing: -0.035em;
}
.section__title--sm { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 32px; }
.section--dark .section__title,
.section--graphite .section__title { color: #fff; }
.section__intro {
	margin: 24px 0 0;
	max-width: 60ch;
	font-size: 1.125rem;
	color: var(--text-muted);
}

.prose-lg p {
	font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
	line-height: 1.7;
	color: var(--ink-muted);
}
.prose-lg p:last-child { margin-bottom: 0; }

/* 9. Enfoque */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.split__body { padding-top: 46px; }

.principles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: clamp(64px, 8vw, 104px);
	list-style: none;
	border-top: 1px solid var(--line-light);
}
.principle {
	padding: 36px 32px 8px 0;
}
.principle + .principle { padding-left: 32px; border-left: 1px solid var(--line-light); }
.principle__num {
	display: block;
	margin-bottom: 20px;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	color: var(--accent-ink);
}
.principle__title { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.principle__text { margin: 0; color: var(--ink-muted); font-size: 0.98rem; }

/* 10. Áreas */
.areas {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}
.area-card {
	--mx: 50%;
	--my: 0%;
	position: relative;
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(420px circle at var(--mx) var(--my), rgba(76, 141, 255, 0.09), transparent 45%),
		linear-gradient(180deg, var(--graphite-2), rgba(19, 25, 34, 0.6));
	transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.area-card:nth-child(1),
.area-card:nth-child(2) { grid-column: span 3; }
.area-card:hover { border-color: rgba(76, 141, 255, 0.4); transform: translateY(-2px); }
.area-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 48px;
}
.area-card__icon {
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border: 1px solid var(--line-dark-strong);
	border-radius: 14px;
	background: rgba(76, 141, 255, 0.06);
	color: var(--accent);
}
.area-card__icon .icon { width: 24px; height: 24px; }
.area-card__num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--text-dim); }
.area-card__title { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.area-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.area-card__text { margin: 14px 0 0; color: var(--text-muted); font-size: 0.975rem; }
.area-card__points {
	margin: 22px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line-dark);
	list-style: none;
	display: grid;
	gap: 8px;
}
.area-card__points li {
	position: relative;
	padding-left: 18px;
	font-size: 0.9rem;
	color: var(--text);
}
.area-card__points li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.68em;
	width: 7px; height: 1px;
	background: var(--accent);
}
.area-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 28px;
	font-size: 0.875rem;
	font-weight: 550;
	color: var(--accent);
}
.area-card__more .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.area-card:hover .area-card__more .icon { transform: translate(2px, -2px); }

/* 11. Proceso */
.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--count, 4), minmax(0, 1fr));
	gap: 32px;
	list-style: none;
}
.steps::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 23px;
	height: 1px;
	background: linear-gradient(90deg, var(--accent), var(--line-dark-strong) 40%, var(--line-dark));
}
.step { position: relative; }
.step__marker {
	position: relative;
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	margin-bottom: 28px;
	border: 1px solid var(--line-dark-strong);
	border-radius: 50%;
	background: var(--black);
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: #fff;
}
.step:first-child .step__marker { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 6px rgba(76, 141, 255, 0.08); }
.step__title { font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; margin-bottom: 12px; }
.step__text { margin: 0; color: var(--text-muted); font-size: 0.975rem; }

.callout {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-top: clamp(56px, 7vw, 88px);
	padding: 28px 32px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-lg);
	background: var(--graphite);
}
.callout__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
}
.callout p { margin: 0; font-size: 1.0625rem; color: var(--text); max-width: 80ch; }

/* 12. Perfil */
.profile {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(40px, 7vw, 112px);
	align-items: start;
}
.profile__media {
	position: sticky;
	top: calc(var(--header-h) + 32px);
	margin: 0;
}
.profile__photo,
.profile__placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	object-fit: cover;
}
.profile__photo { filter: grayscale(0.15) contrast(1.02); box-shadow: 0 40px 80px -40px rgba(11, 15, 21, 0.45); }
.profile__placeholder {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		radial-gradient(500px circle at 80% 10%, rgba(76, 141, 255, 0.35), transparent 50%),
		linear-gradient(160deg, #141b26, #07090d);
}
.profile__placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
}
.profile__monogram {
	position: relative;
	font-family: var(--font-display);
	font-size: clamp(7rem, 14vw, 11rem);
	font-weight: 600;
	letter-spacing: -0.06em;
	color: rgba(255, 255, 255, 0.92);
}
.profile__caption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 20px;
	padding-left: 16px;
	border-left: 2px solid var(--accent-ink);
}
.profile__caption strong { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -0.01em; }
.profile__caption span { font-size: 0.9rem; color: var(--ink-muted); }
.profile__body .section__title { margin-bottom: 32px; }
.skills {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--line-light);
	list-style: none;
}
.skills li { display: flex; gap: 10px; font-size: 0.95rem; line-height: 1.45; }
.skills .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-ink); }
.profile__location {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 32px 0 0;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: var(--paper-2);
	border: 1px solid var(--line-light);
	font-size: 0.95rem;
	color: var(--ink-muted);
}
.profile__location strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.profile__location .icon { color: var(--accent-ink); margin-top: 2px; }

/* 13. Colaboraciones */
.challenges {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 48px;
	list-style: none;
	border-top: 1px solid var(--line-dark);
}
.challenge {
	display: flex;
	gap: 20px;
	padding: 32px 0;
	border-bottom: 1px solid var(--line-dark);
}
.challenge__arrow {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px; height: 36px;
	border: 1px solid var(--line-dark-strong);
	border-radius: 50%;
	color: var(--accent);
	transition: background 0.3s, border-color 0.3s;
}
.challenge__arrow .icon { width: 16px; height: 16px; }
.challenge:hover .challenge__arrow { background: var(--accent-soft); border-color: rgba(76, 141, 255, 0.5); }
.challenge__title { font-size: 1.1875rem; letter-spacing: -0.015em; color: #fff; margin-bottom: 8px; }
.challenge__text { margin: 0; font-size: 0.975rem; color: var(--text-muted); }

.modes {
	margin-top: clamp(64px, 8vw, 104px);
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, var(--graphite-2), var(--graphite));
}
.modes__title {
	margin-bottom: 32px;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.modes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.mode { padding-top: 20px; border-top: 1px solid var(--accent); }
.mode__title { font-size: 1.125rem; color: #fff; margin-bottom: 8px; letter-spacing: -0.015em; }
.mode__text { margin: 0; font-size: 0.925rem; color: var(--text-muted); }

/* 14. Contacto y formulario */
.contact {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}
.contact__text { margin: 28px 0 0; font-size: 1.125rem; color: var(--ink-muted); max-width: 46ch; }
.contact__channels { display: grid; gap: 12px; margin-top: 40px; list-style: none; }
.channel {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid var(--line-light);
	border-radius: var(--radius);
	background: var(--paper-2);
	transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.channel:hover { border-color: rgba(31, 91, 208, 0.45); transform: translateY(-1px); box-shadow: 0 12px 30px -18px rgba(11, 15, 21, 0.35); }
.channel__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px; height: 42px;
	border-radius: 12px;
	background: rgba(31, 91, 208, 0.08);
	color: var(--accent-ink);
}
.channel--wa .channel__icon { background: rgba(31, 138, 91, 0.1); color: #1f8a5b; }
.channel__body { display: flex; flex-direction: column; min-width: 0; }
.channel__label { font-size: 0.8125rem; color: var(--ink-muted); }
.channel__value { font-weight: 550; overflow-wrap: anywhere; }
.channel__arrow { margin-left: auto; width: 18px; height: 18px; color: var(--ink-muted); }

.assurance { display: grid; gap: 18px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.assurance__item { display: flex; gap: 14px; align-items: flex-start; }
.assurance__item .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-ink); }
.assurance__item p { margin: 0; font-size: 0.95rem; color: var(--ink-muted); }
.assurance__item strong { color: var(--ink); font-weight: 600; }

.contact__form {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--line-light);
	border-radius: var(--radius-lg);
	background: var(--paper-2);
	box-shadow: 0 50px 100px -60px rgba(11, 15, 21, 0.35);
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 0.875rem; font-weight: 550; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--ink-muted); }
.field__input {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid rgba(11, 15, 21, 0.16);
	border-radius: 10px;
	background: #fbfbfc;
	color: var(--ink);
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
textarea.field__input { resize: vertical; min-height: 150px; }
.field__input::placeholder { color: #8a93a2; }
.field__input:hover { border-color: rgba(11, 15, 21, 0.28); }
.field__input:focus { outline: none; border-color: var(--accent-ink); background: #fff; box-shadow: 0 0 0 4px rgba(31, 91, 208, 0.12); }
.field.has-error .field__input { border-color: var(--error); }
.field__select { position: relative; }
.field__select::after {
	content: "";
	position: absolute;
	right: 16px; top: 50%;
	width: 8px; height: 8px;
	border-right: 1.5px solid var(--ink-muted);
	border-bottom: 1.5px solid var(--ink-muted);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.field__select select { padding-right: 40px; cursor: pointer; }
.field__error { margin: 0; min-height: 0; font-size: 0.8125rem; color: var(--error); }
.field__error:empty { display: none; }
.field--check {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 4px 12px;
	margin-top: 24px;
}
.field--check input {
	width: 20px; height: 20px;
	margin: 2px 0 0;
	accent-color: var(--accent-ink);
	cursor: pointer;
}
.field--check label { font-size: 0.9rem; color: var(--ink-muted); cursor: pointer; }
.field--check label a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.field--check .field__error { grid-column: 2; }
.cf-turnstile { margin-top: 20px; }
.form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin-top: 28px;
}
.form__note { margin: 0; flex: 1 1 220px; font-size: 0.8125rem; color: var(--ink-muted); }
.form__status { margin-top: 20px; }
.notice {
	margin: 0;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1.5;
}
.notice--ok { background: rgba(31, 138, 91, 0.1); color: #136943; border: 1px solid rgba(31, 138, 91, 0.25); }
.notice--error { background: rgba(192, 57, 43, 0.08); color: #9d2c20; border: 1px solid rgba(192, 57, 43, 0.25); }
.form.is-sent .form__grid,
.form.is-sent .field--check,
.form.is-sent .form__footer,
.form.is-sent .cf-turnstile { display: none; }
.form.is-sent .form__status { margin-top: 0; }
.form.is-sent .notice--ok { padding: 28px; font-size: 1.0625rem; }

/* 15. Páginas internas */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 clamp(56px, 7vw, 96px);
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(900px 500px at 85% 0%, rgba(47, 111, 232, 0.14), transparent 60%),
		var(--black);
}
.page-hero--compact { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero--full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.page-hero__inner > * { max-width: 920px; }
.page-hero__title { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.05; letter-spacing: -0.035em; color: #fff; }
.page-hero__lead { margin: 24px 0 0; max-width: 62ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--text-muted); }
.page-hero__icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin: 32px 0 28px;
	border: 1px solid var(--line-dark-strong);
	border-radius: 16px;
	background: rgba(76, 141, 255, 0.07);
	color: var(--accent);
}
.page-hero__icon .icon { width: 28px; height: 28px; }
.page-hero__meta { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.page-hero .hero__actions { margin-top: 36px; }
.breadcrumb { display: flex; gap: 10px; font-size: 0.875rem; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}
.prose { max-width: 720px; color: var(--ink-muted); font-size: 1.0625rem; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 2em 0 0.6em; font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: var(--ink); }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.25rem; color: var(--ink); }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 0.6em; }
.prose ul li::before {
	content: "";
	position: absolute;
	left: 2px; top: 0.78em;
	width: 10px; height: 1px;
	background: var(--accent-ink);
}
.prose ol { counter-reset: li; }
.prose ol li::before {
	counter-increment: li;
	content: counter(li) ".";
	position: absolute;
	left: 0;
	font-weight: 600;
	color: var(--accent-ink);
}
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent-ink); color: var(--ink); font-size: 1.15rem; }
.prose img { border-radius: var(--radius); }
.prose__cover { margin: 0 0 2em; }
.prose strong { color: var(--ink); }

.aside-cta { position: sticky; top: calc(var(--header-h) + 32px); }
.aside-cta__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 32px;
	border-radius: var(--radius-lg);
	background: var(--ink);
	color: var(--text);
	box-shadow: 0 40px 80px -50px rgba(11, 15, 21, 0.6);
}
.aside-cta__kicker { margin: 0 0 12px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.aside-cta__title { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.aside-cta__text { margin: 0 0 24px; font-size: 0.95rem; color: var(--text-muted); }
.aside-cta__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.aside-cta__wa:hover { color: #fff; }

.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.related__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	background: var(--graphite-2);
	transition: border-color 0.25s;
}
.related__item:hover { border-color: rgba(76, 141, 255, 0.45); }
.related__icon { color: var(--accent); }
.related__title { font-weight: 550; color: #fff; }
.related__arrow { margin-left: auto; width: 18px; height: 18px; color: var(--text-muted); }

.post-list { list-style: none; }
.post-list__item { padding: 32px 0; border-bottom: 1px solid var(--line-light); }
.post-list__date { margin: 0 0 8px; font-size: 0.85rem; color: var(--ink-muted); }
.post-list__title { font-size: 1.5rem; }
.post-list__title a:hover { color: var(--accent-ink); }
.post-list__excerpt { margin: 10px 0 0; color: var(--ink-muted); }
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--line-light); border-radius: 8px; }
.pagination .current { background: var(--ink); color: #fff; }
.back-link { margin-top: 48px; }
.back-link a { color: var(--accent-ink); font-weight: 550; }

/* 16. Pie */
.site-footer {
	padding: clamp(64px, 8vw, 96px) 0 88px;
	background: var(--black);
	border-top: 1px solid var(--line-dark);
	color: var(--text-muted);
	font-size: 0.925rem;
}
.site-footer__top {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--line-dark);
}
.site-footer__tagline { margin: 20px 0 0; max-width: 36ch; }
.site-footer__nav .nav__list,
.site-footer__list { display: grid; gap: 10px; list-style: none; }
.site-footer__nav a { color: var(--text-muted); transition: color 0.2s; }
.site-footer__nav a::after { display: none; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__contact { display: grid; gap: 12px; align-content: start; }
.site-footer__contact a,
.site-footer__contact span { display: inline-flex; align-items: center; gap: 10px; transition: color 0.2s; overflow-wrap: anywhere; }
.site-footer__contact a:hover { color: #fff; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--accent); }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 28px;
	font-size: 0.8125rem;
	color: var(--text-dim);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a:hover { color: #fff; }

.wa-float {
	position: fixed;
	right: 20px; bottom: 20px;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 18px 0 16px;
	border: 1px solid var(--line-dark-strong);
	border-radius: 999px;
	background: rgba(13, 17, 23, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 550;
	box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.2s;
}
.wa-float .icon { width: 22px; height: 22px; color: #3ccf82; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { border-color: rgba(60, 207, 130, 0.5); }

/* 17. Animaciones */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes pulse {
	0% { transform: scale(0.6); opacity: 0.9; }
	100% { transform: scale(2.2); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes halo {
	0%, 100% { opacity: 0.25; transform: scale(1); }
	50% { opacity: 0.8; transform: scale(1.06); }
}

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

/* 18. Responsive */
@media (max-width: 1080px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { max-width: 460px; width: 100%; margin: 8px auto 0; }
	.hero__title { max-width: 16ch; }
	.areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.area-card,
	.area-card:nth-child(1),
	.area-card:nth-child(2) { grid-column: span 1; }
	.area-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
	.steps::before { display: none; }
	.modes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-layout { grid-template-columns: 1fr; }
	.aside-cta { position: static; max-width: 560px; }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		width: 100%;
		height: calc(100vh - var(--header-h));
		height: calc(100dvh - var(--header-h));
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 24px;
		overflow-y: auto;
		padding: 24px var(--gutter) 32px;
		background: var(--black);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
	}
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 14px 0; font-size: 1.125rem; color: var(--text); border-bottom: 1px solid var(--line-dark); }
	.nav__list a::after { display: none; }
	.nav__cta { align-self: flex-start; }
	.site-header:has(.nav.is-open) { background: var(--black); -webkit-backdrop-filter: none; backdrop-filter: none; }
	html.nav-open { overflow: hidden; }

	.split,
	.profile,
	.contact { grid-template-columns: 1fr; }
	.split__body { padding-top: 0; }
	.principles { grid-template-columns: 1fr; }
	.principle,
	.principle + .principle { padding: 28px 0; border-left: 0; }
	.principle + .principle { border-top: 1px solid var(--line-light); }
	.profile__media { position: static; max-width: 420px; }
	.challenges { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

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

/* Bajo 600 px la barra de administración de WordPress deja de ser fija. */
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.hero { min-height: auto; }
	.hero__actions .btn { width: 100%; }
	.hero__eyebrow { border-radius: 14px; font-size: 0.75rem; align-items: flex-start; }
	.hero__eyebrow .pulse-dot { margin-top: 6px; flex: none; }
	.hero__meta { flex-direction: column; align-items: flex-start; }
	.hero__points { flex-direction: column; gap: 10px; }
	.areas,
	.steps,
	.modes__grid,
	.form__grid,
	.skills,
	.related { grid-template-columns: 1fr; }
	.area-card { padding: 26px; }
	.area-card__top { margin-bottom: 32px; }
	.callout { flex-direction: column; padding: 24px; }
	.form__footer .btn { width: 100%; }
	.site-footer__top { grid-template-columns: 1fr; gap: 36px; }
	.wa-float { right: 16px; bottom: 16px; width: 52px; padding: 0; justify-content: center; }
	.wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}

@media print {
	.site-header, .wa-float, .hero__visual, .contact__form { display: none !important; }
	body, .section--graphite, .section--dark, .hero { background: #fff !important; color: #000 !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
}
