/* Softlond — estilos del tema. Todo cuelga de clases sl-*; el color de acento se cambia en la paleta del tema. */

:root {
	--sl-black: #0B0B0C;
	--sl-white: #FFFFFF;
	--sl-gray: #F5F5F7;
	--sl-panel: #161617;
	--sl-line: #D2D2D7;
	--sl-line-soft: #E8E8ED;
	--sl-ink-2: #3A3A3C;
	--sl-ink-3: #5E5E63;
	--sl-on-dark-2: #C7C7CC;
	--sl-on-dark-3: #A1A1A6;
	--sl-error: #B3261E;
	--sl-accent: var(--wp--preset--color--acento, #19D3C5);
	--sl-wrap: 1120px;
}

body { -webkit-font-smoothing: antialiased; }
a { text-underline-offset: 3px; }
:where(.wp-site-blocks) :focus-visible { outline: 2px solid var(--sl-black); outline-offset: 3px; }
.sl-dark :focus-visible, .sl-footer :focus-visible { outline-color: var(--sl-white); }

/* ---------- Contenedores ---------- */
.sl-wrap { max-width: var(--sl-wrap); margin-inline: auto; width: 100%; box-sizing: border-box; }
.sl-section { padding: 72px 24px; box-sizing: border-box; }
.sl-gray { background: var(--sl-gray); }
.sl-dark { background: var(--sl-black); color: var(--sl-gray); }
.sl-dark a { color: var(--sl-white); }

/* Dentro de las secciones el espaciado lo ponen flex y gap, no los márgenes del editor */
/* Especificidad (0,1,1): gana a los márgenes de flujo del editor y pierde contra cualquier regla de dos clases */
html .sl-section > *,
html :is(.sl-section, .sl-header, .sl-footer) :where(.wp-block-group, .wp-block-buttons) > *,
html :is(.sl-ficha, .sl-ficha-item, .sl-contact-cols, .sl-contact-main, .sl-contact-aside, .sl-block, .sl-steps, .sl-nap, .sl-form-card, .sl-cta-card, .sl-page-intro, .sl-resumen, .sl-clave, .sl-article-aside) > * { margin-block-start: 0; margin-block-end: 0; }
.sl-section p, .sl-section h1, .sl-section h2, .sl-section h3, .sl-footer p { margin: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main { margin-block-start: 0; }
main > .wp-block-post-content > .alignfull { margin-block-start: 0; }
.entry-content.sl-flush > * + *, .sl-flush > .alignfull + .alignfull { margin-block-start: 0; }

.sl-stack { display: flex; flex-direction: column; gap: 16px; }
.sl-center { align-items: center; text-align: center; }

/* ---------- Tipografía de marca ---------- */
.sl-eyebrow { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--sl-ink-3); }
.sl-dark .sl-eyebrow { color: var(--sl-accent); }
.sl-display { font-size: clamp(44px, 6.2vw, 84px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.sl-h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.sl-h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.sl-h2-sm { font-size: clamp(28px, 3.1vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.sl-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--sl-ink-2); text-wrap: pretty; max-width: 680px; }
.sl-dark .sl-lead { color: var(--sl-on-dark-2); }
.sl-dark .sl-h2, .sl-dark .sl-h2-sm, .sl-dark h3 { color: var(--sl-white); }
.sl-muted { color: var(--sl-ink-3); }
.sl-small { font-size: 14px; line-height: 1.5; }

/* ---------- Botones ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; box-sizing: border-box; text-decoration: none; }
.wp-block-button__link:hover { opacity: .88; }
.sl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.sl-center .sl-actions, .sl-actions.sl-center { justify-content: center; }
.wp-block-button.sl-btn-accent .wp-block-button__link { background: var(--sl-accent); color: var(--sl-black); font-weight: 700; }
.wp-block-button.sl-btn-outline .wp-block-button__link { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.wp-block-button.sl-btn-link .wp-block-button__link { background: none; color: inherit; padding: 0; min-height: 44px; border-radius: 0; }
.wp-block-button.sl-btn-link .wp-block-button__link::after { content: ""; width: 7px; height: 7px; margin-left: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.wp-block-button.sl-btn-link .wp-block-button__link:hover { text-decoration: underline; opacity: 1; }

/* ---------- Encabezado ---------- */
.sl-header { background: var(--sl-white); border-bottom: 1px solid var(--sl-line-soft); padding: 14px 24px; }
.sl-header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; }
.sl-header-right { display: flex; align-items: center; gap: 12px 28px; }
.sl-logo { margin: 0; flex: none; }
.sl-logo img { display: block; height: 45px; width: auto; }
.sl-nav { font-size: 14px; font-weight: 500; }
.sl-nav .wp-block-navigation__container { gap: 28px; }
.sl-nav a { color: #1D1D1F; text-decoration: none; }
.sl-nav a:hover { text-decoration: underline; }
.sl-header-cta .wp-block-button__link { min-height: 40px; padding: 0 20px; font-size: 14px; }
.sl-nav .wp-block-navigation__responsive-container-open,
.sl-nav .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--sl-gray); color: var(--sl-black); }
.sl-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.sl-nav .is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.sl-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-top: 1px solid var(--sl-line-soft); }
.sl-nav .sl-nav-cta { display: none; }
.sl-nav .is-menu-open .sl-nav-cta { display: flex; border-top: 0; margin-top: 20px; }
.sl-nav .is-menu-open .sl-nav-cta .wp-block-navigation-item__content { justify-content: center; min-height: 52px; border-radius: 999px; background: var(--sl-black); color: var(--sl-white); font-size: 16px; }
.sl-nav .is-menu-open .wp-block-navigation-item__content { display: flex; align-items: center; min-height: 56px; width: 100%; font-size: 20px; font-weight: 600; color: var(--sl-black); }
@media (max-width: 859px) {
	.sl-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.sl-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sl-header-right { gap: 12px; }
}
@media (max-width: 479px) {
	.sl-logo img { height: 36px; }
	.sl-header-cta .wp-block-button__link { padding: 0 14px; }
}

/* ---------- Pie ---------- */
.sl-footer { background: var(--sl-black); color: var(--sl-on-dark-2); padding: 40px 24px 36px; font-size: 14px; line-height: 1.5; }
.sl-footer a { color: var(--sl-gray); text-decoration: none; }
.sl-footer a:hover { text-decoration: underline; }
.sl-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 48px; }
.sl-footer-brand, .sl-footer-contact { display: flex; flex-direction: column; gap: 8px; }
.sl-footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: 560px; }
.sl-footer .sl-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #2C2C2E; font-size: 13px; color: var(--sl-on-dark-3); }
.sl-footer-legal a { color: var(--sl-on-dark-3); }
.sl-logo-footer img { height: 40px; }

/* ---------- Hero ---------- */
.sl-hero { padding: 80px 24px 72px; }
.sl-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sl-hero .sl-eyebrow { font-size: 17px; margin-bottom: 18px; }
.sl-hero .sl-display { max-width: 880px; }
.sl-hero .sl-lead { margin-top: 28px; max-width: 660px; }
.sl-hero .sl-actions { margin-top: 36px; justify-content: center; }
.sl-hero .sl-demo { margin-top: 64px; width: 100%; max-width: 760px; box-sizing: border-box; padding: 28px; border-radius: 28px; background: var(--sl-gray); text-align: left; display: flex; flex-direction: column; gap: 16px; }
.sl-demo-meta { font-size: 13px; font-weight: 500; color: var(--sl-ink-3); }
.sl-demo-q { align-self: flex-end; max-width: 78%; padding: 16px 20px; border-radius: 20px 20px 6px 20px; background: var(--sl-black); color: var(--sl-white); font-size: 17px; line-height: 1.45; font-weight: 500; }
.sl-demo-a { align-self: flex-start; width: 86%; box-sizing: border-box; padding: 20px 22px 8px; border-radius: 20px 20px 0 0; background: var(--sl-white); font-size: 17px; line-height: 1.5; }
.sl-demo-src { align-self: flex-start; width: 86%; margin-top: -16px !important; padding: 6px 22px 20px 52px; border-radius: 0 0 20px 6px; background: var(--sl-white); font-size: 13px; line-height: 1.4; color: var(--sl-ink-3); position: relative; box-sizing: border-box; }
.sl-demo-src::before { content: ""; position: absolute; left: 22px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--sl-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230B0B0C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* ---------- Franja de confianza ---------- */
.sl-trust { padding: 56px 24px; text-align: center; }
.sl-trust-title { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--sl-ink-3); }
.sl-trust .sl-logos { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; }
.sl-logos .wp-block-image { margin: 0; }
.sl-logos img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); }
.sl-logo-chip { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 12px; background: var(--sl-white); font-size: 15px; font-weight: 600; color: var(--sl-ink-2); }
.sl-trust .sl-stats { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.sl-stat { display: flex; flex-direction: column; gap: 8px; }
.sl-stat-n { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.sl-stat-l { font-size: 15px; line-height: 1.45; color: var(--sl-ink-2); }

/* ---------- Rejillas y fichas ---------- */
.sl-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.sl-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.sl-head { display: flex; flex-direction: column; gap: 14px; }
.sl-head .sl-lead { margin-top: 6px; }
.sl-head + .sl-grid-3, .sl-head + .sl-grid-2, .sl-head + .sl-cols { margin-top: 48px !important; }
.sl-tile { box-sizing: border-box; padding: 32px; border-radius: 28px; background: var(--sl-gray); display: flex; flex-direction: column; gap: 14px; }
.sl-gray .sl-tile { background: var(--sl-white); }
.sl-tile-lg { padding: 40px; }
.sl-tile h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.sl-tile-lg h3 { font-size: 26px; }
.sl-tile p { font-size: 16px; line-height: 1.55; color: var(--sl-ink-2); }
.sl-tile .sl-proof { font-size: 14px; line-height: 1.5; color: var(--sl-ink-3); }
.sl-tile .sl-proof strong { color: var(--sl-black); }
.sl-icon { line-height: 0; }
.sl-icon svg { width: 36px; height: 36px; }
.sl-after-grid { margin-top: 40px !important; }

/* ---------- De la servilleta al MVP ---------- */
.sl-mvp { padding: 88px 24px; text-align: center; }
.sl-mvp-inner { display: flex; flex-direction: column; align-items: center; }
.mvp-intro { display: flex; flex-direction: column; align-items: center; gap: 0; }
.sl-mvp-title { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; color: var(--sl-white); margin-top: 16px !important; }
.mvp-intro .sl-lead { margin-top: 24px !important; max-width: 620px; }
.mvp-intro .sl-actions { margin-top: 36px !important; justify-content: center; }
.mvp-track { width: 100%; }
.mvp-grid { margin-top: 72px !important; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; text-align: left; }
.mvp-step { display: flex; flex-direction: column; gap: 6px; }
.mvp-art { box-sizing: border-box; padding: 20px; border-radius: 24px; background: var(--sl-panel); margin-bottom: 12px !important; line-height: 0; }
.mvp-art svg { display: block; width: 100%; height: auto; }
.mvp-art .sl-fill-accent { fill: var(--sl-accent); }
.mvp-day { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--sl-accent); }
.mvp-step h3 { font-size: 19px; line-height: 1.3; color: var(--sl-white); }
.mvp-step .mvp-text { font-size: 15px; line-height: 1.5; color: var(--sl-on-dark-2); }
.sl-mvp-note { margin-top: 40px !important; font-size: 14px; line-height: 1.5; color: var(--sl-on-dark-3); }

@keyframes mvp-focus { from { opacity: 0; transform: scale(1.22); filter: blur(14px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes mvp-zoom { from { transform: scale(.6); } to { transform: scale(1.18); } }
@keyframes mvp-s1 { 0%, 21% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes mvp-s2 { 0%, 21% { opacity: 0; } 27%, 46% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes mvp-s3 { 0%, 46% { opacity: 0; } 52%, 71% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes mvp-s4 { 0%, 71% { opacity: 0; } 77%, 100% { opacity: 1; } }

/* El zoom progresivo solo corre en el sitio público (body.sl-front), nunca dentro del editor */
@media (prefers-reduced-motion: no-preference) and (max-height: 1400px) {
	@supports (animation-timeline: view()) {
		.sl-front .mvp-intro { animation: mvp-focus linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
		.sl-front .mvp-track { height: 340vh; margin-top: 24px !important; view-timeline-name: --mvp; view-timeline-axis: block; }
		.sl-front .mvp-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
		.sl-front .mvp-grid { grid-template-columns: minmax(0, 1fr); max-width: min(560px, 58vh); margin-top: 0 !important; text-align: center; }
		.sl-front .mvp-step { grid-area: 1 / 1; align-items: center; animation: linear both; animation-timeline: --mvp; animation-range: contain 0% contain 100%; }
		.sl-front .mvp-step-1 { animation-name: mvp-s1; }
		.sl-front .mvp-step-2 { animation-name: mvp-s2; }
		.sl-front .mvp-step-3 { animation-name: mvp-s3; }
		.sl-front .mvp-step-4 { animation-name: mvp-s4; }
		.sl-front .mvp-art { width: 100%; transform-origin: 50% 100%; animation: mvp-zoom linear both; animation-timeline: --mvp; animation-range: contain 0% contain 100%; }
		.sl-front .mvp-step h3 { font-size: 28px; }
		.sl-front .mvp-step .mvp-text { font-size: 17px; }
	}
}

/* ---------- Producto propio (thurni) ---------- */
.sl-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: center; }
.sl-split-text { display: flex; flex-direction: column; gap: 20px; }
.sl-split-text .sl-body { font-size: 18px; line-height: 1.55; color: var(--sl-ink-2); text-wrap: pretty; }
.sl-stats-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 24px; margin-top: 12px !important; }
.sl-stats-sm .sl-stat-n { font-size: 32px; line-height: 1.15; }
.sl-stats-sm .sl-stat-l { font-size: 14px; line-height: 1.4; }
.sl-placeholder { box-sizing: border-box; min-height: 420px; padding: 32px; border-radius: 28px; background: var(--sl-white); border: 1.5px dashed #C7C7CC; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; font-size: 15px; font-weight: 600; color: var(--sl-ink-3); }
.sl-split .wp-block-image { margin: 0; }
.sl-split .wp-block-image img { display: block; width: 100%; height: auto; border-radius: 28px; }

/* ---------- Casos ---------- */
.sl-h2 .sl-soft, .sl-soft { color: var(--sl-ink-3); }
.sl-case { box-sizing: border-box; padding: 28px; border-radius: 28px; border: 1px solid var(--sl-line); display: flex; flex-direction: column; gap: 12px; }
.sl-case-tag { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--sl-ink-3); }
.sl-case h3 { font-size: 20px; line-height: 1.3; }
.sl-case-text { font-size: 15px; line-height: 1.55; color: var(--sl-ink-2); }
.sl-case-n { margin-top: 12px !important; font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.sl-case-l { font-size: 14px; line-height: 1.4; color: var(--sl-ink-2); }

/* ---------- Cómo se contrata ---------- */
.sl-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px; }
.sl-col { border-top: 2px solid var(--sl-black); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.sl-col h3 { font-size: 21px; line-height: 1.3; }
.sl-col p { font-size: 16px; line-height: 1.55; color: var(--sl-ink-2); }
.sl-col .sl-desde { margin-top: 10px !important; font-size: 17px; font-weight: 600; color: var(--sl-black); }

/* ---------- Preguntas ---------- */
.sl-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; margin-top: 48px !important; }
.sl-faq-item { display: flex; flex-direction: column; gap: 10px; }
.sl-faq-item h3 { font-size: 18px; line-height: 1.35; letter-spacing: 0; }
.sl-faq-item p { font-size: 16px; line-height: 1.55; color: var(--sl-ink-2); }

/* ---------- Cierre y formulario ---------- */
.sl-cierre { padding: 88px 24px; }
.sl-cierre-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: start; }
.sl-cierre-text { display: flex; flex-direction: column; gap: 24px; }
.sl-cierre-text .sl-actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px !important; }
.sl-form-card { box-sizing: border-box; padding: 32px; border-radius: 28px; background: var(--sl-white); color: var(--sl-black); }
.sl-gray-card { background: var(--sl-gray); padding: 36px; }
.sl-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.sl-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; }
.sl-field { display: flex; flex-direction: column; gap: 6px; }
.sl-field label, .sl-field .sl-label { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--sl-black); }
.sl-form input[type="text"], .sl-form input[type="email"], .sl-form input[type="tel"], .sl-form select, .sl-form textarea { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #8E8E93; background: var(--sl-white); font: inherit; font-size: 16px; line-height: 1.5; color: var(--sl-black); }
.sl-form textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.sl-form [aria-invalid="true"] { border-color: var(--sl-error); }
.sl-file { box-sizing: border-box; padding: 14px; border-radius: 12px; border: 1.5px dashed #8E8E93; background: var(--sl-white); display: flex; flex-direction: column; gap: 8px; }
.sl-file input { font: inherit; font-size: 14px; color: var(--sl-ink-2); min-height: 44px; max-width: 100%; }
.sl-hint { font-size: 13px; line-height: 1.4; color: var(--sl-ink-3); }
.sl-check { display: flex; align-items: flex-start; gap: 12px; }
.sl-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sl-black); }
.sl-check label { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--sl-ink-2); }
.sl-check label a { color: var(--sl-black); text-decoration: underline; }
.sl-error { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--sl-error); }
.sl-form-alert { padding: 14px 16px; border-radius: 12px; background: #FDECEA; color: #8C1D18; font-size: 15px; line-height: 1.45; font-weight: 500; }
.sl-form-alert a { color: #8C1D18; text-decoration: underline; }
.sl-form button[type="submit"] { align-self: flex-start; min-height: 52px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--sl-black); color: var(--sl-white); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.sl-form button[type="submit"][disabled] { opacity: .6; cursor: progress; }
.sl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sl-form-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.sl-form-ok[hidden], .sl-form[hidden], .sl-form-alert[hidden], .sl-error[hidden] { display: none; }
.sl-form-ok::before { content: ""; width: 48px; height: 48px; border-radius: 50%; background: var(--sl-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230B0B0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 24.5l7 7 13.5-14.5'/%3E%3C/svg%3E") center / 48px no-repeat; }
.sl-form-ok h3 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; color: var(--sl-black); }
.sl-form-ok p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--sl-ink-2); }

/* ---------- Banda de cierre ---------- */
.sl-band { text-align: center; }
.sl-band-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sl-band .sl-h2-sm { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
.sl-band .sl-actions { margin-top: 16px !important; justify-content: center; }

/* ---------- Página estándar ---------- */
.sl-page-head { padding: 56px 24px 40px; }
.sl-page-head-inner { display: flex; flex-direction: column; gap: 16px; }
.sl-page-head .wp-block-post-title, .sl-page-head h1 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.sl-content-pad { padding: 0 24px 72px; }
.sl-content-pad .wp-block-post-content > h2 { margin-top: 48px; }
.sl-content-pad .wp-block-post-content > h3 { margin-top: 32px; }
.sl-page-intro { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.sl-page-intro + * { margin-top: 40px; }
.sl-ruta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.4; color: var(--sl-ink-3); }
.sl-ruta a { color: var(--sl-ink-3); text-decoration: none; }
.sl-ruta a:hover { text-decoration: underline; }
.sl-ruta li + li::before { content: "/"; margin-right: 8px; }
.sl-ruta [aria-current] { color: var(--sl-black); }

.sl-ficha { box-sizing: border-box; padding: 32px; border-radius: 28px; background: var(--sl-gray); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 28px; }
.sl-ficha-item { display: flex; flex-direction: column; gap: 6px; }
.sl-ficha-k { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--sl-ink-3); }
.sl-ficha-v { font-size: 17px; font-weight: 600; line-height: 1.4; }

.sl-resumen { padding: 24px 28px; border-radius: 20px; background: var(--sl-gray); display: flex; flex-direction: column; gap: 10px; }
.sl-resumen h2, .sl-clave .sl-clave-k { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--sl-ink-2); }
.sl-resumen p { margin: 0; font-size: 18px; line-height: 1.55; }
.sl-clave { padding: 24px 28px; border-radius: 20px; border: 1.5px solid var(--sl-black); display: flex; flex-direction: column; gap: 8px; }
.sl-clave .sl-clave-v { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.4; }
.sl-actualizado { padding-top: 20px; border-top: 1px solid var(--sl-line); font-size: 13px; line-height: 1.5; color: var(--sl-ink-3); }

/* ---------- Entrada de blog ---------- */
.sl-article-head { padding: 48px 24px 40px; }
.sl-article-head-inner { display: flex; flex-direction: column; gap: 18px; }
.sl-article-head .wp-block-post-title { margin: 0; max-width: 920px; text-wrap: balance; letter-spacing: -0.03em; }
.sl-article-head .wp-block-post-excerpt { margin: 0; max-width: 720px; }
.sl-article-head .wp-block-post-excerpt__excerpt { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--sl-ink-2); }
.sl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--sl-ink-3); }
.sl-meta a { color: var(--sl-black); font-weight: 600; }
.sl-meta-autor { display: flex; align-items: center; gap: 10px; }
.sl-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sl-black); color: var(--sl-white); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.sl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sl-avatar-lg { width: 64px; height: 64px; font-size: 20px; }
.sl-featured { padding: 0 24px; }
.sl-featured .wp-block-post-featured-image { max-width: var(--sl-wrap); margin: 0 auto; }
.sl-featured img { display: block; width: 100%; height: auto; border-radius: 28px; }
.sl-article-body { padding: 56px 24px 72px; }
.sl-article-cols { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.sl-article-main { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.sl-article-aside { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1000px) { .sl-article-aside { position: sticky; top: 24px; } }
.sl-article-main h2 { margin-top: 48px; }
.sl-article-main h3 { margin-top: 32px; }
.sl-article-main img { border-radius: 16px; }
.sl-article-main .wp-block-table { overflow-x: auto; }
.wp-block-table table { border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { padding: 14px 16px; border: 0; border-top: 1px solid var(--sl-line); text-align: left; }
.wp-block-table thead th { background: var(--sl-gray); border-top: 0; font-weight: 700; }
.wp-block-table thead { border-bottom: 0; }
.sl-toc { padding: 24px; border-radius: 20px; border: 1px solid var(--sl-line); display: flex; flex-direction: column; gap: 12px; }
.sl-toc-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.sl-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sl-toc a { font-size: 15px; line-height: 1.45; color: var(--sl-ink-2); text-decoration: none; }
.sl-toc a:hover { text-decoration: underline; color: var(--sl-black); }
.sl-cta-card { padding: 28px 24px; border-radius: 20px; background: var(--sl-black); color: var(--sl-gray); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sl-cta-card-title { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--sl-white); }
.sl-cta-card-text { font-size: 15px; line-height: 1.5; color: var(--sl-on-dark-2); }
.sl-cta-card .wp-block-button__link { min-height: 48px; padding: 0 22px; font-size: 15px; }
.sl-author { margin-top: 48px; padding: 28px; border-radius: 20px; background: var(--sl-gray); display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.sl-author-body { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.sl-author-k { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--sl-ink-3); }
.sl-author-name { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.sl-author-bio { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--sl-ink-2); }
.sl-author a { font-size: 15px; font-weight: 600; }
.sl-related { padding: 64px 24px 72px; background: var(--sl-gray); }
.sl-related-title { margin: 0 0 32px; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.sl-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.sl-related-card { box-sizing: border-box; padding: 24px; border-radius: 20px; background: var(--sl-white); display: flex; flex-direction: column; gap: 10px; }
.sl-related-card p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--sl-ink-3); }
.sl-related-card .sl-related-cat { font-weight: 600; }
.sl-related-card h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: 0; }
.sl-related-card h3 a { text-decoration: none; }
.sl-related-card h3 a:hover { text-decoration: underline; }

/* ---------- Blog (listado, archivo, búsqueda) ---------- */
.sl-blog-head { padding: 56px 24px 32px; }
.sl-blog-head-inner { display: flex; flex-direction: column; gap: 16px; }
.sl-blog-head h1 { margin: 0; }
.sl-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.sl-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--sl-gray); color: var(--sl-black); font-size: 14px; font-weight: 600; text-decoration: none; }
.sl-chips a[aria-current], .sl-chips a:hover { background: var(--sl-black); color: var(--sl-white); }
.sl-posts { padding: 0 24px 72px; }
.sl-posts > .wp-block-query, .sl-posts-inner { max-width: var(--sl-wrap); margin-inline: auto; }
ul.wp-block-post-template.sl-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.sl-post-grid > li { display: flex; flex-direction: column; gap: 10px; margin: 0; }
body .sl-post-grid > li > * { margin-block: 0; }
.sl-post-grid .wp-block-post-featured-image { margin-bottom: 6px; }
.sl-post-grid .wp-block-post-featured-image img { display: block; width: 100%; height: 190px; object-fit: cover; border-radius: 20px; }
.sl-post-grid .wp-block-post-terms { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--sl-ink-3); }
.sl-post-grid .wp-block-post-terms a { color: var(--sl-ink-3); text-decoration: none; }
.sl-post-grid .wp-block-post-title { font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.sl-post-grid .wp-block-post-title a { text-decoration: none; }
.sl-post-grid .wp-block-post-title a:hover { text-decoration: underline; }
.sl-post-grid .wp-block-post-excerpt__excerpt { margin: 0; font-size: 15px; line-height: 1.55; color: var(--sl-ink-2); }
.sl-post-grid .wp-block-post-excerpt__more-text { display: none; }
.sl-post-grid .wp-block-post-date { font-size: 13px; line-height: 1.4; color: var(--sl-ink-3); }
.wp-block-query-pagination { margin-top: 56px; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; box-sizing: border-box; border-radius: 999px; text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--sl-black); color: var(--sl-white); }
.wp-block-query-pagination a.page-numbers { background: var(--sl-gray); }
.sl-search .wp-block-search__input { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #8E8E93; font: inherit; font-size: 16px; }
.sl-404 { padding: 96px 24px; text-align: center; }
.sl-404-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* ---------- Contacto ---------- */
.sl-contact { padding: 0 24px 88px; }
.sl-contact-cols { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.sl-contact-main { flex: 999 1 520px; min-width: 0; }
.sl-contact-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.sl-contact-aside .sl-block { display: flex; flex-direction: column; gap: 12px; }
.sl-contact-aside h2 { font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.sl-contact-aside .sl-actions { flex-direction: column; align-items: stretch; gap: 12px; }
.sl-contact-aside .sl-actions .wp-block-button, .sl-contact-aside .sl-actions .wp-block-button__link { width: 100%; }
.sl-steps { display: flex; flex-direction: column; gap: 14px; counter-reset: sl-step; }
.sl-steps p { position: relative; padding-left: 42px; min-height: 28px; font-size: 15.5px; line-height: 1.5; color: var(--sl-ink-2); counter-increment: sl-step; }
.sl-steps p::before { content: counter(sl-step); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--sl-black); color: var(--sl-white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sl-nap { padding-top: 24px; border-top: 1px solid var(--sl-line); font-size: 15px; line-height: 1.55; color: var(--sl-ink-2); display: flex; flex-direction: column; gap: 4px; }
.sl-nap strong { color: var(--sl-black); }
