/* =================================================================
 * WIOPI — Estilos (mobile first)
 * Los estilos base son para celular; los @media (min-width) agregan
 * para pantallas más grandes. Reemplaza a style.css + responsive.css.
 * Breakpoints alineados con Bootstrap 5: 576 / 768 / 992 / 1200 / 1400
 * ================================================================= */

:root {
	--wp-primary: #6637ed;
	--wp-primary-light: #885eff;
	--wp-primary-soft: #b6a0f2;
	--wp-green: #54fa80;
	--wp-green-dark: #42d66a;
	--wp-dark: #220041;
	--wp-dark-2: #391a55;
	--wp-dark-hover: #480e7d;
	--wp-gray: #f1f1f1;
	--wp-text: #000;
	--wp-muted: #444;
	--wp-border: #e3e3e3;
	--wp-radius: 20px;
	--wp-radius-sm: 12px;
	--header-h: 128px; /* lo recalcula default.js */
	--section-y: 72px;
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	color: var(--wp-text);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a, a:link, a:visited { color: var(--wp-primary); text-decoration: none; transition: color .3s, background .3s, border-color .3s; }
a:hover, a:active { color: var(--wp-primary-light); }
a:focus-visible, button:focus-visible, summary:focus-visible, .form-control:focus-visible {
	outline: 3px solid var(--wp-green);
	outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

.skip-link {
	background: var(--wp-dark); color: #fff !important; border-radius: 0 0 12px 12px;
	padding: 10px 18px; position: absolute; top: -60px; left: 16px; z-index: 100;
}
.skip-link:focus { top: 0; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { padding-right: 20px; padding-left: 20px; }

/* ---------- Botones ---------- */

.btn { border-radius: var(--wp-radius-sm); font-weight: 700; line-height: 1; }
.btn.btn-primary,
.btn.btn-ghost,
.btn.btn-outline {
	border: 2px solid transparent;
	font-size: 16px;
	padding: 18px 28px;
	transition: all .3s;
}
.btn.btn-primary { background: var(--wp-primary); color: #fff; }
.btn.btn-primary:hover, .btn.btn-primary:focus-visible { background: var(--wp-primary-light); color: #fff; }
.btn.btn-ghost { background: #fff; color: var(--wp-dark); }
.btn.btn-ghost:hover { background: var(--wp-dark); color: #fff; }
.btn.btn-outline { border-color: var(--wp-primary); color: var(--wp-primary); background: transparent; }
.btn.btn-outline:hover { background: var(--wp-primary); color: #fff; }
.btn.btn-sm { font-size: 15px; padding: 12px 22px; }

.btn-light-pill {
	background: #fff; border-radius: 50px; color: var(--wp-dark) !important;
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 15px; font-weight: 700; padding: 12px 20px; margin-top: auto;
}
.btn-light-pill:hover { background: var(--wp-green); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { flex: 1 1 100%; }

/* ---------- Etiqueta (pill) ---------- */

.tag {
	background: var(--wp-primary); border-radius: 50px; color: #fff;
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .02em;
	line-height: 1; padding: 9px 16px; margin: 0 0 14px; text-transform: uppercase;
}
.badge-soon {
	background: var(--wp-green); border-radius: 50px; color: #000;
	display: inline-block; font-size: 11px; font-weight: 700; line-height: 1;
	padding: 5px 10px; margin-left: 6px; text-transform: uppercase; vertical-align: middle;
}

/* =================================================================
 * HEADER
 * ================================================================= */

#header { padding: 10px 0 0; position: relative; z-index: 50; }
#header > .container { padding-left: 10px; padding-right: 10px; }

/* Barra superior */
#header .navbar.alt {
	background: var(--wp-primary);
	border-radius: 16px 16px 0 0;
	padding: 0;
}
#header .navbar.alt .container-fluid { padding: 9px 16px 8px; gap: 10px; }
#header .navbar.alt .justify-content-end { margin-left: auto; gap: 16px; }
#header .navbar.alt a { color: #fff; font-size: 13px; font-weight: 500; line-height: 1; padding: 1px 0; }
#header .navbar.alt a:hover { color: var(--wp-green); }
#header .navbar.alt i { font-size: 16px; margin-right: 4px; vertical-align: -2px; }
#header .navbar.alt .launch strong { font-weight: 700; }
#header .navbar.alt .navbar-nav { margin: 0; }
#header .navbar.alt .nav-item + .nav-item { border-left: 1px solid rgba(255,255,255,.6); margin-left: 10px; padding-left: 10px; }
#header .navbar.alt .nav-link.active { color: var(--wp-green); font-weight: 700; }

/* Barra principal */
#header .navbar:not(.alt) { background: #000; border-radius: 0 0 16px 16px; padding: 10px 16px; }
#header .navbar .navbar-brand img { display: block; width: auto; height: 36px; }

#header .navbar .navbar-toggler { border: 0; padding: 4px; box-shadow: none; }
#header .navbar .navbar-toggler i { color: #fff; font-size: 30px; line-height: 30px; }

#header .navbar:not(.alt) .nav-link,
#header .navbar:not(.alt) .dropdown-item { color: #fff; font-weight: 500; }
#header .navbar:not(.alt) .nav-link:hover,
#header .navbar:not(.alt) .nav-link.active,
#header .navbar:not(.alt) .dropdown-item:hover,
#header .navbar:not(.alt) .dropdown-item.active { color: var(--wp-green); background: transparent; }

/* Menú móvil a pantalla completa (solo < 992px) */
@media (max-width: 991.98px) {
	#header #navbar {
		background: #000;
		justify-content: flex-start !important;
		padding: 80px 28px 40px;
		opacity: 0;
		overflow: auto;
		width: 100%; height: 100%;
		position: fixed; top: 0; right: 0;
		z-index: 60;
		transition: opacity .25s, visibility .25s;
	}
	#header #navbar.collapsing { height: 100% !important; transition: none; }
	#header #navbar.show { opacity: 1; visibility: visible; }
	#header #navbar.collapse:not(.show) { display: flex !important; visibility: hidden; pointer-events: none; }

	#header #navbar .close {
		color: #fff; display: block; text-align: center;
		width: 44px; height: 44px; position: absolute; top: 18px; right: 18px;
	}
	#header #navbar .close i { font-size: 32px; line-height: 44px; }

	#header #navbar .navbar-nav { width: 100%; }
	#header #navbar .nav-link { font-size: 22px; font-weight: 700; padding: 12px 0; }
	#header #navbar .dropdown-toggle::after { display: none; }
	#header #navbar .dropdown-menu {
		background: transparent; border: 0; box-shadow: none;
		display: block; padding: 0 0 8px 14px; position: static;
	}
	#header #navbar .dropdown-item { font-size: 18px; padding: 8px 0; }
	#header #navbar .nav-cta { margin-top: 28px; width: 100%; }
	#header #navbar .nav-cta .btn { width: 100%; font-size: 17px; padding: 18px; }

	html.menu-open { overflow: hidden; }
}

#header.fixed { width: 100%; position: fixed; top: 0; left: 0; }
#header.fixed + main { padding-top: var(--header-h); }

/* =================================================================
 * HERO
 * ================================================================= */

#hero {
	background: linear-gradient(0deg, rgba(0,0,0,.1), rgba(0,0,0,.1)), #56f982 url('../img/bg_hero.svg') no-repeat right 0;
	background-size: cover;
	margin-top: calc(var(--header-h) * -1);
	padding: calc(var(--header-h) + 40px) 0 56px;
}
#hero .tag, #hero p.tag { background: #fff; color: #000; font-size: 13px; line-height: 1; margin: 0 0 14px; max-width: none; }
#hero h1 { font-size: 38px; font-weight: 900; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
#hero p { font-size: 18px; line-height: 1.6; margin: 18px 0 0; max-width: 640px; }
#hero p.hero-sub { font-size: 16px; font-weight: 500; }
#hero .col-lg-5 { margin-top: 36px; }

#hero.alt { padding-bottom: 56px; }
#hero.alt h1 { font-size: 34px; }
#hero.alt p { max-width: 720px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: #000; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* =================================================================
 * FORMULARIOS
 * ================================================================= */

.wp-form {
	background: #fff;
	border-radius: var(--wp-radius);
	box-shadow: rgba(0,0,0,.35) 0 20px 40px;
	padding: 24px 20px;
}
.wp-form .form-title { font-size: 28px; font-weight: 900; line-height: 1.1; margin: 0 0 8px; }
#hero .wp-form p, .wp-form p { font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.wp-form .form-control,
.wp-form .form-select {
	background-color: #fafafa; border: 1px solid #ccc; border-radius: var(--wp-radius-sm); font-size: 16px; /* 16px evita el zoom en iOS */
}
.wp-form .form-control:hover, .wp-form .form-select:hover { border-color: #999; }
.wp-form .form-control:focus, .wp-form .form-select:focus { border-color: var(--wp-green); box-shadow: rgba(86,249,130,.3) 0 0 0 .25rem; }
.wp-form .form-floating > label { color: #555; }
.wp-form .form-floating > label::after { display: none; }
.wp-form .form-floating > label span { color: #c00; }
.wp-form .form-check { padding-left: 1.9em; }
.wp-form .form-check-input { border: 1px solid #aaa; width: 1.2em; height: 1.2em; margin-left: -1.9em; cursor: pointer; }
.wp-form .form-check-input:checked { background-color: var(--wp-green-dark); border-color: var(--wp-green-dark); }
.wp-form .form-check-label { font-size: 14px; line-height: 1.5; cursor: pointer; }
.wp-form .btn.btn-primary { background: var(--wp-dark); margin-top: 6px; padding: 20px 24px; }
.wp-form .btn.btn-primary:hover { background: var(--wp-dark-hover); }
.wp-form .btn[disabled] { opacity: .7; }
.wp-form .form-note { color: var(--wp-muted); font-size: 13px !important; margin: 14px 0 0 !important; text-align: center; }
.wp-form .form-alert { border-radius: var(--wp-radius-sm); font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.wp-form .invalid-feedback:empty { display: none !important; }

/* =================================================================
 * SECCIONES GENERALES
 * ================================================================= */

.section { padding: var(--section-y) 0; position: relative; }
.section-gray { background: var(--wp-gray); }
.section-dark { background: var(--wp-dark); color: #fff; }
.section-dark .section-head h2, .section-dark .section-head .lead { color: #fff; }
.section-dark .tag { background: var(--wp-green); color: #000; }

.section-head { text-align: center; margin: 0 auto 40px; max-width: 880px; }
.section-head h2, .h2-section { font-size: 30px; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.h2-section { margin-bottom: 24px; }
.section-head .lead { color: var(--wp-muted); font-size: 17px; line-height: 1.6; margin: 16px auto 0; max-width: 720px; }
.section-head.text-lg-start { text-align: left; margin-left: 0; }

.section-link { margin: 32px 0 0; text-align: center; }
.section-link a { font-weight: 700; }
.section-dark .section-link a { color: var(--wp-green); }

.narrow { max-width: 860px; }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

/* Prosa (textos largos SEO) */
.prose h2 { font-size: 28px; font-weight: 900; line-height: 1.2; margin: 0 0 18px; }
.prose h2:not(:first-child) { margin-top: 40px; }
.prose p { color: var(--wp-muted); font-size: 17px; line-height: 1.75; margin: 0 0 16px; }

/* ---------- Tarjeta de funcionalidad ---------- */

.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature figure { margin: 0; flex: 0 0 auto; }
.feature figure i {
	background: var(--wp-green);
	border: 1px solid #7e8f83;
	outline: 6px solid var(--wp-green);
	border-radius: 50%;
	color: #000;
	display: flex; align-items: center; justify-content: center;
	font-size: 32px;
	width: 64px; height: 64px;
	margin: 6px;
}
.feature h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin: 4px 0 0; }
.feature p { color: var(--wp-muted); font-size: 16px; line-height: 1.6; margin: 8px 0 0; }
.feature > div { border-bottom: 3px solid #e6e6e6; padding-bottom: 22px; }
.section-gray .feature > div { border-color: #ddd; }

/* ---------- Lista con tildes ---------- */

.checks { list-style: none; margin: 20px 0 0; padding: 0; }
.checks li { font-size: 16px; line-height: 1.55; padding: 0 0 0 30px; position: relative; }
.checks li + li { margin-top: 10px; }
.checks li i { color: var(--wp-green-dark); font-size: 20px; line-height: 1; position: absolute; top: 1px; left: 0; }

/* ---------- Pasos ---------- */

.steps { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.step {
	background: #fff; border-radius: var(--wp-radius); text-align: center;
	padding: 40px 22px 30px; position: relative;
}
.step .num {
	background: var(--wp-green); border-radius: 50%; color: #000;
	display: flex; align-items: center; justify-content: center;
	font-size: 18px; font-weight: 700; width: 38px; height: 38px;
	position: absolute; top: 12px; left: 12px;
}
.step i { display: block; font-size: 64px; line-height: 1; }
.step h3 { font-size: 19px; font-weight: 700; margin: 12px 0 0; }
.step p { color: var(--wp-muted); font-size: 17px; font-weight: 700; line-height: 1.4; margin: 12px 0 0; }
.step h3 + p { font-weight: 400; font-size: 16px; }
.step-2 { background: var(--wp-primary); }
.step-3 { background: var(--wp-dark); }
.step-2 i, .step-2 p, .step-2 h3, .step-3 i, .step-3 p, .step-3 h3 { color: #fff; }

/* ---------- Tarjetas divididas (portal / intranet) ---------- */

.split-card {
	border-radius: var(--wp-radius); color: #fff;
	display: flex; flex-direction: column; align-items: flex-start;
	padding: 30px 24px;
}
.split-card.is-purple { background: var(--wp-primary); }
.split-card.is-dark { background: var(--wp-dark); }
.split-card .split-icon { color: var(--wp-green); font-size: 48px; line-height: 1; }
.split-card h3, .split-card .h3 { font-size: 26px; font-weight: 900; margin: 14px 0 0; }
.split-card p { font-size: 16px; line-height: 1.6; margin: 12px 0 0; opacity: .95; }
.split-card .checks { margin-bottom: 28px; }
.split-card .checks li i { color: var(--wp-green); }

/* ---------- Ticker de profesiones (slick) ---------- */

.ticker { position: relative; overflow: hidden; display: flex; }
.ticker:not(.slick-initialized) { gap: 14px; flex-wrap: nowrap; padding: 0 20px; }
.ticker::before, .ticker::after {
	content: ""; display: block; width: 40px; height: 100%;
	position: absolute; top: 0; z-index: 10; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--wp-dark), rgba(34,0,65,0)); }
.ticker::after { right: 0; background: linear-gradient(90deg, rgba(34,0,65,0), var(--wp-dark)); }
.ticker .slick-track { display: flex !important; }
.ticker-item {
	background: var(--wp-dark-2); border-radius: 50px; color: #fff;
	font-size: 16px; font-weight: 700; padding: 14px 22px; margin-right: 14px;
	white-space: nowrap; flex: 0 0 auto;
}
.ticker-item i { color: var(--wp-green); font-size: 20px; vertical-align: -3px; margin-right: 4px; }

/* ---------- Tarjetas enlace ---------- */

.link-card {
	background: var(--wp-dark-2); border-radius: var(--wp-radius);
	color: #fff !important; display: block; padding: 26px 22px; height: 100%;
	outline: 6px solid transparent;
}
.link-card:hover { background: var(--wp-green); color: #000 !important; outline-color: var(--wp-green); }
.link-card i { color: var(--wp-green); font-size: 40px; line-height: 1; }
.link-card:hover i { color: #000; }
.link-card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin: 14px 0 0; }
.link-card p { font-size: 15px; line-height: 1.6; margin: 10px 0 0; opacity: .9; }

/* ---------- Chips (índice de anclas) ---------- */

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; margin: 0 0 32px; scrollbar-width: thin; }
.chips a {
	background: var(--wp-gray); border-radius: 50px; color: #000;
	flex: 0 0 auto; font-size: 14px; font-weight: 500; padding: 10px 16px; white-space: nowrap;
}
.chips a:hover { background: var(--wp-green); color: #000; }
.chips i { color: var(--wp-primary); }

/* ---------- Bloques de detalle ---------- */

.detail {
	border: 1px solid var(--wp-border); border-radius: var(--wp-radius);
	padding: 28px 22px; scroll-margin-top: calc(var(--header-h) + 16px);
}
.detail:target { border-color: var(--wp-green); box-shadow: 0 0 0 4px rgba(84,250,128,.35); }
.detail figure { margin: 0 0 16px; }
.detail figure i {
	background: var(--wp-green); border-radius: 16px; color: #000;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 30px; width: 58px; height: 58px;
}
.detail h2 { font-size: 22px; font-weight: 900; line-height: 1.25; margin: 0; }
.detail p { color: var(--wp-muted); font-size: 16px; line-height: 1.65; margin: 12px 0 0; }

/* ---------- Tabla comparativa ---------- */

.compare { border: 1px solid var(--wp-border); border-radius: var(--wp-radius); }
.compare .table { margin: 0; min-width: 520px; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; vertical-align: top; }
.compare thead th { background: var(--wp-dark); color: #fff; font-weight: 700; border: 0; }
.compare thead th:last-child { background: var(--wp-primary); }
.compare tbody th { font-weight: 700; }
.compare td:last-child { font-weight: 500; }
.compare td i { color: var(--wp-green-dark); }

/* ---------- FAQ (details) ---------- */

#faqs .accordion, .accordion {
	border: 1px solid #ddd; border-radius: var(--wp-radius);
	margin: 0 auto; padding: 6px 20px; max-width: 820px; background: #fff;
}
.accordion details { border-bottom: 1px solid #ddd; }
.accordion details[open] { border-bottom-color: var(--wp-green); padding-bottom: 14px; }
.accordion details:last-of-type { border: 0; }
.accordion summary {
	cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; }
.accordion summary .icon { display: block; width: 0; height: 0; position: absolute; top: 50%; right: 12px; }
.accordion summary .icon::before,
.accordion summary .icon::after {
	background: #000; content: ""; width: 18px; height: 2px;
	position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
	transition: width .3s, height .3s;
}
.accordion summary .icon::after { width: 2px; height: 18px; }
.accordion details[open] summary .icon::after { height: 0; }
.accordion details p { color: var(--wp-muted); font-size: 16px; line-height: 1.65; margin: 0 0 6px; }

/* ---------- Contacto ---------- */

.section-contact .wp-form { box-shadow: rgba(0,0,0,.12) 0 12px 40px; }
.contact-aside .h3 { font-size: 24px; font-weight: 900; }
.contact-aside .h5 { font-weight: 700; }
.aside-card { background: var(--wp-green); border-radius: var(--wp-radius); margin-top: 32px; padding: 24px; }
.aside-card p { margin: 8px 0 16px; }

/* =================================================================
 * FOOTER
 * ================================================================= */

#footer {
	background: linear-gradient(0deg, rgba(0,0,0,.1), rgba(0,0,0,.1)), #6a4cbf url('../img/bg_footer.png') no-repeat;
	background-size: cover;
	color: #fff;
	padding: 64px 0 28px;
}
#footer .h4 { font-size: 32px; font-weight: 900; line-height: 1.15; margin: 0; }
#footer p { font-size: 16px; line-height: 1.6; margin: 16px 0 0; }
#footer .footer-cta { padding-bottom: 48px; }
#footer .footer-cta .btn { margin-top: 24px; width: 100%; }
#footer .btn.btn-primary { background: var(--wp-dark); font-size: 17px; padding: 20px 32px; }
#footer .btn.btn-primary:hover { background: var(--wp-dark-hover); }
#footer .footer-cols > div { margin-bottom: 40px; }
#footer .navbar-brand img { height: 42px; width: auto; }
#footer .h5 { font-size: 20px; font-weight: 700; line-height: 1; margin: 0 0 18px; }
#footer .nav-item + .nav-item { margin-top: 14px; }
#footer .nav-link { color: #fff; display: inline-block; font-weight: 500; padding: 0; }
#footer .nav-link:hover, #footer .nav-link:hover i { color: var(--wp-green); }
#footer .nav-link i { color: var(--wp-primary-soft); margin-right: 4px; transition: color .3s; }
#footer .social .nav-item + .nav-item { margin: 0 0 0 18px; }
#footer .social .nav-link i { color: #fff; font-size: 26px; margin: 0; }
#footer .contact .nav-item { font-size: 16px; }
#footer .contact a { color: #fff; word-break: break-word; }
#footer .contact .nav-item i {
	border: 1px solid #fff; border-radius: 50%; color: #fff;
	font-size: 20px; margin: 0 14px 0 0; width: 46px; height: 46px;
}
#footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; }
#footer .footer-bottom p { font-size: 14px; margin: 0; }
/* Footer: créditos (marca registrada y "Desarrollado por VOUSYS") */
#footer .footer-bottom p + p { margin-top: 6px; }
#footer .footer-bottom .dev-by { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
#footer .footer-bottom .dev-by img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
#footer .footer-bottom .dev-by a { color: #fff; font-weight: 700; text-decoration: none; }
#footer .footer-bottom .dev-by a:hover { text-decoration: underline; }
#footer .footer-bottom .dev-by .mdi-heart { color: #ff5a7a; }
#footer .footer-bottom .aaip img { height: 80px; width: auto; }

/* Modal video (se conserva del theme) */
#modal-video { background: #000; width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 80; }
#modal-video iframe { width: 92%; height: 60%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
#modal-video .close { color: #fff; display: block; text-align: center; width: 44px; height: 44px; position: absolute; top: 20px; right: 20px; z-index: 10; }
#modal-video .close i { font-size: 30px; line-height: 44px; }

/* =================================================================
 * ≥ 576px
 * ================================================================= */
@media (min-width: 576px) {
	.hero-actions .btn { flex: 0 0 auto; }
	#hero h1 { font-size: 46px; }
	#hero.alt h1 { font-size: 42px; }
	.wp-form { padding: 32px; }
	.wp-form .form-title { font-size: 34px; }
	.section-head h2, .h2-section { font-size: 36px; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.steps .step-3 { grid-column: 1 / -1; }
	.steps.steps-4 .step-3 { grid-column: auto; }
	#footer .footer-cta .btn { width: auto; }
	.ticker::before, .ticker::after { width: 90px; }
}

/* =================================================================
 * ≥ 768px
 * ================================================================= */
@media (min-width: 768px) {
	:root { --section-y: 96px; }
	.container { padding-right: 24px; padding-left: 24px; }
	#header .navbar .navbar-brand img { height: 42px; }
	#hero h1 { font-size: 54px; }
	#hero p { font-size: 20px; }
	.grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
	.split-card { padding: 40px 36px; }
	.detail { padding: 34px 30px; }
	.accordion { padding: 12px 36px; }
	.accordion summary h3 { font-size: 21px; }
	#footer .h4 { font-size: 44px; }
	.prose h2 { font-size: 32px; }
}

/* =================================================================
 * ≥ 992px  (escritorio)
 * ================================================================= */
@media (min-width: 992px) {
	:root { --section-y: 120px; }

	#header { padding-top: 15px; }
	#header .navbar.alt { border-radius: 20px 20px 0 0; }
	#header .navbar.alt .container-fluid { padding: 12px 20px 10px; }
	#header .navbar.alt a { font-size: 14px; }
	#header .navbar:not(.alt) { border-radius: 0 0 20px 20px; padding: 12px 20px; }
	#header .navbar .navbar-brand img { height: 44px; margin-top: 3px; }

	#navbar { width: 100%; }
	#header .navbar:not(.alt) .navbar-nav { margin: 0 auto; }
	#header .navbar:not(.alt) .nav-item + .nav-item { margin-left: 32px; }
	#header .navbar:not(.alt) .nav-link { font-size: 16px; padding: 3px 0; }

	#header .navbar .dropdown-toggle::after { vertical-align: middle; }
	#header .navbar .dropdown-menu {
		background: var(--wp-primary-light); border: 0; border-radius: 20px;
		box-shadow: rgba(0,0,0,.1) 0 5px 10px; margin: 0; padding: 15px 0;
		top: 46px; left: -20px;
	}
	#header .navbar .dropdown-menu::before {
		background: var(--wp-primary-light); border-radius: 3px; content: "";
		width: 26px; height: 26px; position: absolute; top: -10px; left: 34px; transform: rotate(45deg);
	}
	#header .navbar .dropdown-menu::after { content: ""; width: 100%; height: 25px; position: absolute; top: -25px; left: 0; }
	#header .navbar .dropdown-menu .dropdown-item { font-size: 16px; padding: 10px 30px 10px 20px; position: relative; z-index: 1; }

	.nav-cta { position: relative; z-index: 1; }

	#hero { padding: calc(var(--header-h) + 80px) 0 100px; }
	#hero h1 { font-size: 60px; }
	#hero .col-lg-5 { margin-top: 0; }
	#hero.alt { text-align: center; padding-bottom: 110px; }
	#hero.alt h1 { font-size: 56px; max-width: 900px; margin-left: auto; margin-right: auto; }
	#hero.alt p { margin-left: auto; margin-right: auto; }
	#hero.alt .crumbs ol, #hero.alt .hero-actions { justify-content: center; }

	.wp-form { padding: 36px; }
	.section-head h2, .h2-section { font-size: 46px; }
	.section-head { margin-bottom: 56px; }

	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
	.grid { gap: 32px; }

	.feature figure i { font-size: 44px; width: 90px; height: 90px; }

	.steps { grid-template-columns: repeat(3, 1fr); }
	.steps .step-3 { grid-column: auto; margin-top: 48px; }
	.steps .step-2 { margin-top: 24px; }
	.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
	.steps.steps-4 .step { margin-top: 0; }
	.step i { font-size: 76px; }

	.chips { flex-wrap: wrap; justify-content: center; overflow: visible; }

	#footer { padding: 110px 0 36px; }
	#footer .footer-cta { padding-bottom: 72px; }
	#footer .footer-cta .btn { margin-top: 0; }
	#footer .h4 { font-size: 50px; }

	.ticker::before, .ticker::after { width: 220px; }
}

/* =================================================================
 * ≥ 1200px
 * ================================================================= */
@media (min-width: 1200px) {
	#header .navbar .navbar-brand img { height: 50px; }
	#header .navbar:not(.alt) .nav-item + .nav-item { margin-left: 40px; }
	#header .navbar:not(.alt) .nav-link { font-size: 17px; }
	#hero h1 { font-size: 70px; }
	#hero.alt h1 { font-size: 62px; }
	.wp-form { padding: 40px; }
	.wp-form .form-title { font-size: 40px; }
	.section-head h2 { font-size: 54px; }
	.feature figure i { font-size: 56px; width: 110px; height: 110px; outline-width: 8px; }
	.feature h3 { font-size: 24px; }
	#footer .h4 { font-size: 58px; }
}

/* =================================================================
 * Accesibilidad: menos movimiento
 * ================================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.ticker { flex-wrap: wrap !important; justify-content: center; gap: 10px; }
	.ticker::before, .ticker::after { display: none; }
}

/* =================================================================
 * v2 — Sectores, API, usuarios
 * ================================================================= */

.split-label {
	color: var(--wp-green); font-size: 14px !important; font-weight: 700; letter-spacing: .03em;
	text-transform: uppercase; margin: 0 !important; opacity: 1 !important;
}
.split-label i { font-size: 22px; vertical-align: -4px; margin-right: 4px; }
.split-card .split-label + .checks { margin-top: 18px; }

.link-card { display: flex; flex-direction: column; }
.link-card .more { color: var(--wp-green); font-size: 14px; font-weight: 700; margin-top: auto; padding-top: 16px; }
.link-card:hover .more { color: #000; }
.cards-light .link-card { background: #fff; border: 1px solid var(--wp-border); color: #000 !important; }
.cards-light .link-card i { color: var(--wp-primary); }
.cards-light .link-card .more { color: var(--wp-primary); }
.cards-light .link-card p { color: var(--wp-muted); opacity: 1; }
.cards-light .link-card:hover { background: var(--wp-green); border-color: var(--wp-green); }
.cards-light .link-card:hover i, .cards-light .link-card:hover .more, .cards-light .link-card:hover p { color: #000; }

.api-card { background: var(--wp-dark); border-radius: var(--wp-radius); color: #fff; padding: 30px 24px; }
.api-card .api-icon { color: var(--wp-green); font-size: 54px; line-height: 1; display: block; }
.api-card .h3 { font-size: 24px; font-weight: 900; margin: 12px 0 0; }
.api-card .checks li i { color: var(--wp-green); }
.api-card .btn.btn-primary { background: var(--wp-green); color: #000; }
.api-card .btn.btn-primary:hover { background: #fff; color: #000; }
.api-note { color: rgba(255,255,255,.75); font-size: 14px; margin: 22px 0 0; }

.user-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.user-chips li {
	background: var(--wp-gray); border-radius: 50px; font-size: 15px; font-weight: 500; padding: 12px 18px;
}
.user-chips i { color: var(--wp-primary); font-size: 20px; vertical-align: -3px; margin-right: 4px; }

.turnstile-wrap { min-height: 65px; }

@media (min-width: 768px) {
	.api-card { padding: 40px 36px; }
}
.link-card .more i { font-size: 1em; color: inherit !important; vertical-align: -1px; }
.api-note-light { color: var(--wp-muted); font-size: 15px; margin: 28px auto 0; max-width: 720px; text-align: center; }

/* Legales */
.legal-intro { color: var(--wp-muted); font-size: 17px; line-height: 1.7; }
.legal-toc { background: var(--wp-gray); border-radius: var(--wp-radius); margin: 32px 0 48px; padding: 24px 28px; }
.legal-toc .h5 { font-weight: 700; margin: 0 0 12px; }
.legal-toc ol { columns: 1; margin: 0; padding-left: 20px; }
.legal-toc li { margin: 6px 0; break-inside: avoid; }
.legal-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-section ul { color: var(--wp-muted); font-size: 17px; line-height: 1.7; margin: 0 0 16px; padding-left: 22px; }
.legal-section .compare { margin: 8px 0 20px; }
.legal-section .compare .table { min-width: 0; }
.legal-sub { margin-top: 18px; }
.legal-sub h3 { font-size: 19px; margin: 0 0 8px; }
@media (min-width: 768px) { .legal-toc ol { columns: 2; column-gap: 40px; } }
.detail .h4 { font-size: 22px; font-weight: 900; margin: 0; }
