/* ==========================================================================
   Intelectta — design tokens
   ========================================================================== */
:root {
	--navy: #1C297C;
	--navy-deep: #141E5E;
	--navy-hover: #222F88;
	--teal: #1CB1AE;
	--teal-ink: #13807E;
	--teal-light: #5FD3D0;
	--teal-tint: #E3F5F5;
	--teal-wash: #EEF7F7;
	--ink-body: #4A5490;
	--ink-article: #3A4486;
	--ink-quote: #2A3580;
	--on-navy: #C9CEEA;
	--cta-ink: #0B2B3A;
	--bg: #F7F8FB;
	--surface: #FFFFFF;
	--placeholder: #E9ECF5;
	--note: #EEF1FA;
	--line: #E3E6F0;
	--line-soft: #EEF0F6;
	--border-subtle: rgba(28,41,124,0.08);
	--border-subtle-2: rgba(28,41,124,0.2);
	--border-input: rgba(28,41,124,0.16);

	--shadow-card-hover: 0 24px 48px rgba(28,41,124,0.12);
	--shadow-hero-card: 0 24px 50px rgba(28,41,124,0.16);
	--shadow-form: 0 24px 60px rgba(28,41,124,0.08);
	--shadow-dropdown: 0 18px 40px rgba(28,41,124,0.14);
	--shadow-wa: 0 14px 30px rgba(28,41,124,0.25);

	--radius-xs: 8px;
	--radius-sm: 12px;
	--radius-md: 18px;
	--radius-card: 24px;
	--radius-hero: 28px;
	--radius-band: 32px;
	--radius-pill: 999px;

	--site-max: 1240px;
	--section-pad-y: 112px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink-body);
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; color: var(--navy); text-wrap: balance; }
p { text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; }

.container { max-width: var(--site-max); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-pad-y) 0; }
.section.bg-surface { background: var(--surface); }
.section.bg-navy { background: var(--navy); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--teal-ink); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.eyebrow.on-navy { color: var(--teal-light); }
.eyebrow.on-navy::before { background: var(--teal-light); }

h1.h1-home, h1.h1-internal { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -0.025em; }
h1.h1-internal { font-size: clamp(38px, 4.8vw, 60px); line-height: 1.06; }
h1.h1-article { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
h2.h2-section { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
h2.h2-cta { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.lead { font-size: 18px; line-height: 1.65; color: var(--ink-body); }
.accent { color: var(--teal); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--radius-pill); padding: 16px 28px; font-size: 15px; font-weight: 600; transition: background-color 200ms, color 200ms, border-color 200ms; white-space: nowrap; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--teal); color: #fff; }
.btn-navy-on-teal:hover { background: #fff; color: var(--navy); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--border-subtle-2); padding: 15px 26px; font-weight: 500; }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   PreHeader
   ========================================================================== */
.pre-header { background: var(--navy-deep); color: var(--on-navy); font-size: 13px; }
.pre-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.pre-header-contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pre-header a:hover { color: var(--teal-light); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247,248,251,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-subtle); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.site-logo img { height: 40px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav > ul { display: flex; align-items: center; gap: 32px; }
.primary-nav a.nav-link { font-size: 15px; font-weight: 500; color: var(--navy); }
.primary-nav a.nav-link.is-active { color: var(--teal); }
.primary-nav .btn { padding: 11px 22px; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--navy); background: none; border: 0; padding: 0; }
.nav-dropdown-toggle .caret { font-size: 10px; transition: transform 200ms; }
.nav-dropdown.is-open .nav-dropdown-toggle .caret,
.nav-dropdown:hover .nav-dropdown-toggle .caret,
.nav-dropdown:focus-within .nav-dropdown-toggle .caret { transform: rotate(180deg); }
.nav-dropdown.is-current-group > .nav-dropdown-toggle { color: var(--teal); }

.nav-dropdown-panel { position: absolute; top: calc(100% + 14px); left: 0; min-width: 240px; background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--shadow-dropdown); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 180ms, transform 180ms, visibility 180ms; }
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-panel a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 15px; color: var(--navy); }
.nav-dropdown-panel a:hover { background: var(--teal-wash); }
.nav-dropdown-panel a.is-current { background: var(--teal-wash); color: var(--teal-ink); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.nav-toggle span { margin: 5px 0; }

.mobile-drawer { position: fixed; inset: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column; padding: 24px 32px; transform: translateX(100%); transition: transform 240ms ease; }
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-drawer nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a.nav-link, .mobile-drawer .nav-dropdown-toggle { display: block; width: 100%; text-align: left; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-drawer .nav-dropdown-panel { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 14px; }
.mobile-drawer .nav-dropdown.is-open .nav-dropdown-panel { display: block; }
.mobile-drawer .btn { margin-top: 20px; text-align: center; justify-content: center; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb { font-size: 13px; color: var(--ink-body); margin-bottom: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--navy); font-weight: 500; }

/* ==========================================================================
   Hero split
   ========================================================================== */
.hero-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.hero-split .hero-copy .eyebrow { margin-bottom: 20px; }
.hero-split h1 { margin-bottom: 20px; }
.hero-split h1 .accent { color: var(--teal); }
.hero-split .lead { margin-bottom: 32px; }
.hero-visual { position: relative; aspect-ratio: 5 / 4.4; }
.hero-visual .image-slot { position: absolute; inset: 0 0 40px 48px; border-radius: var(--radius-hero); }
.hero-floating-card { position: absolute; left: 0; bottom: 0; max-width: 280px; background: #fff; border-radius: var(--radius-card); padding: 22px 24px; box-shadow: var(--shadow-hero-card); }
.hero-floating-card .label { display: block; font-size: 13px; font-weight: 600; color: var(--teal-ink); margin-bottom: 6px; }
.hero-floating-card .text { font-size: 15px; font-weight: 500; color: var(--navy); }
.section-hero { padding-top: 40px; padding-bottom: 96px; }
.section-hero.is-home { padding-top: 72px; }

/* Image placeholders (design handoff ships no real photography yet) */
.image-slot { background: var(--placeholder); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ink-body); font-size: 13px; font-weight: 500; padding: 16px; overflow: hidden; }
.image-slot img { width: 100%; height: 100%; object-fit: cover; }
.image-slot:has(> img) { padding: 0; }

/* ==========================================================================
   Service cards
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: var(--bg); border-radius: var(--radius-card); overflow: hidden; transition: transform 250ms, box-shadow 250ms; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.service-card .image-slot { height: 180px; }
.service-card-body { padding: 28px 26px 30px; }
.service-card .num { display: block; font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 10px; }
.service-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--ink-body); margin-bottom: 16px; }
.service-card .more { font-size: 14px; font-weight: 600; color: var(--teal-ink); }

/* ==========================================================================
   Navy grid section ("Por qué elegirnos" / "Beneficios")
   ========================================================================== */
.navy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.navy-grid-copy .eyebrow { margin-bottom: 20px; }
.navy-grid-copy h2 { color: #fff; margin-bottom: 20px; }
.navy-grid-copy p { color: var(--on-navy); font-size: 17px; }
.navy-grid-copy .image-slot { aspect-ratio: 16 / 10; border-radius: var(--radius-card); }
.navy-cells { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.14); border-radius: var(--radius-card); overflow: hidden; }
.navy-cell { background: var(--navy); padding: 32px 28px; transition: background-color 200ms; }
.navy-cell:hover { background: var(--navy-hover); }
.navy-cell .icon-box { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.navy-cell h3 { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.navy-cell p { color: var(--on-navy); font-size: 15px; }

/* ==========================================================================
   Steps section
   ========================================================================== */
.steps-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.steps-head .eyebrow { justify-content: center; margin-bottom: 20px; }
.steps-head p { margin-top: 16px; font-size: 17px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step-card { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 30px 26px; }
.step-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.step-card p { font-size: 15px; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.reviews-rating { display: flex; align-items: center; gap: 16px; background: var(--bg); border-radius: 20px; padding: 16px 24px; }
.reviews-rating .score { font-size: 30px; font-weight: 700; color: var(--navy); }
.reviews-rating .stars { color: var(--teal); letter-spacing: 2px; }
.reviews-rating .meta { font-size: 13px; color: var(--ink-body); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.review-card { background: var(--bg); border-radius: var(--radius-card); padding: 28px 26px; }
.review-card .stars { color: var(--teal); letter-spacing: 2px; margin-bottom: 16px; display: block; }
.review-card blockquote { margin: 0 0 20px; font-size: 16px; color: var(--ink-body); }
.review-card .reviewer { display: flex; align-items: center; gap: 12px; }
.review-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.review-card .name { font-size: 15px; font-weight: 600; color: var(--navy); }
.review-card .role { font-size: 13px; color: var(--ink-body); }
.client-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
.client-logos .image-slot { height: 64px; border-radius: var(--radius-sm); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--teal); border-radius: var(--radius-band); padding: 72px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; align-items: center; }
.cta-band p { color: var(--cta-ink); font-size: 17px; margin-top: 16px; }
.cta-band .btn-row { justify-content: flex-start; }
@media (min-width: 768px) { .cta-band .btn-row { justify-content: flex-end; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17px; font-weight: 600; color: var(--navy); }
.faq-sign { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; flex: none; display: flex; align-items: center; justify-content: center; }
.faq-sign span { display: block; transition: transform 200ms; font-size: 18px; line-height: 1; }
.faq-item[open] .faq-sign span { transform: rotate(45deg); }
.faq-answer { padding: 0 26px 24px; font-size: 15px; color: var(--ink-body); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: start; }
.contact-panel { background: var(--navy); border-radius: var(--radius-band); padding: 56px 48px; color: var(--on-navy); display: flex; flex-direction: column; min-height: 100%; font-style: normal; }
.contact-panel h1, .contact-panel h2 { color: #fff; }
.contact-panel .intro { margin-top: 16px; font-size: 17px; }
.contact-block { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.contact-block:first-of-type { margin-top: 32px; }
.contact-block h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.contact-block a:hover, .contact-block p { color: var(--on-navy); }
.contact-block a:hover { color: var(--teal-light); }
.social-pills { display: flex; gap: 12px; margin-top: auto; padding-top: 32px; }
.social-pills a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.social-pills a:hover { background: var(--teal); color: #fff; }

.contact-copy .contact-block h4 { color: var(--navy); }
.contact-copy .contact-block p,
.contact-copy .contact-block a { color: var(--ink-body); }
.contact-copy .contact-block a:hover { color: var(--teal-ink); }
.contact-copy .contact-block { border-top-color: var(--line) !important; }
.contact-copy .social-pills a { background: var(--bg); color: var(--navy); }
.contact-copy .social-pills a:hover { background: var(--teal); color: #fff; }

.contact-form-card { background: #fff; border-radius: var(--radius-hero); padding: 40px; box-shadow: var(--shadow-form); }
.contact-form-card h2 { font-size: 24px; }
.contact-form-card .subcopy { margin-top: 8px; margin-bottom: 28px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea { height: 52px; border-radius: var(--radius-sm); border: 1px solid var(--border-input); background: var(--bg); padding: 0 16px; color: var(--navy); }
.form-field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-field .field-error { font-size: 13px; color: #C0392B; min-height: 16px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { height: 56px; border: 0; border-radius: var(--radius-pill); background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; padding: 0 32px; transition: background-color 200ms; }
.form-submit:hover { background: var(--teal); }
.form-submit:disabled { opacity: 0.7; cursor: default; }
.form-status { margin-top: 12px; font-size: 14px; }
.form-status.is-error { color: #C0392B; }
.form-status.is-success { color: var(--teal-ink); font-weight: 600; }

/* ==========================================================================
   Finanzas en orden (home checklist section)
   ========================================================================== */
.finanzas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.finanzas-grid .image-slot { aspect-ratio: 1 / 1; border-radius: var(--radius-hero); }
.finanzas-copy p { margin-top: 16px; font-size: 16px; }
.benefit-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.benefit-chip { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; color: var(--navy); }
.benefit-chip .check { color: var(--teal); font-weight: 700; flex: none; }

/* ==========================================================================
   Blog listing
   ========================================================================== */
.blog-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; margin-bottom: 40px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.category-tab { padding: 10px 20px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; background: #fff; border: 1px solid var(--border-subtle-2); color: var(--navy); }
.category-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.featured-post { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; background: #fff; border-radius: var(--radius-card); overflow: hidden; margin-bottom: 40px; transition: transform 250ms, box-shadow 250ms; }
.featured-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.featured-post .image-slot { min-height: 300px; }
.featured-post-body { padding: 32px 32px 32px 0; }
.featured-post .post-cat { display: inline-block; background: var(--teal-tint); color: var(--teal-ink); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.featured-post .post-date { font-size: 13px; color: var(--ink-body); margin-left: 10px; }
.featured-post h2 { font-size: 26px; margin-bottom: 12px; }
.featured-post p.excerpt { font-size: 15px; margin-bottom: 16px; }
.post-read-more { font-size: 14px; font-weight: 600; color: var(--teal-ink); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.post-card { background: #fff; border-radius: var(--radius-card); overflow: hidden; transition: transform 250ms, box-shadow 250ms; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.post-card .image-slot { height: 200px; }
.post-card-body { padding: 24px 22px 26px; }
.post-card .post-cat { display: inline-block; background: var(--teal-tint); color: var(--teal-ink); font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.post-card .post-date { font-size: 13px; color: var(--ink-body); margin-left: 8px; }
.post-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.post-card p.excerpt { font-size: 14.5px; margin-bottom: 14px; }
.post-card p.excerpt,
.featured-post p.excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.blog-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.blog-more .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--border-subtle-2); color: var(--navy); font-size: 15px; font-weight: 500; transition: border-color 200ms, color 200ms, background-color 200ms; }
.blog-more a.page-numbers:hover { border-color: var(--teal); color: var(--teal-ink); }
.blog-more .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-more .page-numbers.dots { border-color: transparent; min-width: auto; padding: 0 4px; }
.blog-more .page-numbers.prev,
.blog-more .page-numbers.next { padding: 0 26px; }
.blog-more .page-numbers.next { margin-left: 8px; }
.blog-more .page-numbers.prev { margin-right: 8px; }

.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-map { flex: 1 1 auto; min-height: 260px; border-radius: var(--radius-card); overflow: hidden; background: var(--placeholder); box-shadow: var(--shadow-form); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }

.section-compact { padding: 72px 0; }
.service-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 48px; align-items: center; background: var(--teal-wash); border-radius: var(--radius-card); padding: 40px 44px; }
.service-links-heading { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.service-links p { margin-top: 8px; font-size: 15.5px; }
.service-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.service-links a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border-subtle); color: var(--navy); font-size: 15px; font-weight: 500; transition: border-color 200ms, color 200ms; }
.service-links a:hover { border-color: var(--teal); color: var(--teal-ink); }

.newsletter-band { background: var(--navy); border-radius: var(--radius-band); padding: 64px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; align-items: center; }
.newsletter-band h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.newsletter-band p { color: var(--on-navy); margin-top: 12px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form input { height: 54px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; padding: 0 22px; font-size: 15px; flex: 1 1 180px; min-width: 0; outline: none; transition: border-color 200ms; }
.newsletter-form input:focus { border-color: var(--teal-light); }
.newsletter-form input::placeholder { color: var(--on-navy); }
.newsletter-form .btn { flex: 1 1 140px; height: 54px; padding: 0 28px; }
.newsletter-form .btn:hover { background: #fff; color: var(--navy); }

/* ==========================================================================
   Single article
   ========================================================================== */
.article-header { max-width: 960px; margin: 0 auto 40px; }
.article-badge { display: inline-block; background: var(--teal-tint); color: var(--teal-ink); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 20px; }
.article-header h1 { margin-bottom: 20px; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-body); }
.article-meta .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; object-fit: cover; flex: none; }
.article-meta a { color: var(--navy); font-weight: 600; }
.article-meta { flex-wrap: wrap; }
.article-meta .dot { opacity: 0.5; }
.article-featured-image { max-width: var(--site-max); margin: 0 auto 56px; aspect-ratio: 16 / 7.5; border-radius: var(--radius-hero); overflow: hidden; }
.article-body-wrap { max-width: var(--site-max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.article-toc { flex: 0 0 260px; background: #fff; border-radius: 22px; padding: 24px; position: sticky; top: 100px; }
.article-toc h2 { font-size: 15px; margin-bottom: 16px; }
.article-toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 10px; }
.article-toc li { counter-increment: toc; font-size: 14px; }
.article-toc li a { color: var(--ink-body); }
.article-toc li a:hover { color: var(--teal-ink); }
.article-toc li a::before { content: counter(toc) ". "; color: var(--teal-ink); font-weight: 600; }

.article-content { flex: 1 1 480px; max-width: 760px; font-size: 16.5px; line-height: 1.8; color: var(--ink-article); }
.article-content .summary-box { background: var(--teal-tint); border-radius: var(--radius-md); padding: 22px 26px; font-size: 17px; font-weight: 500; color: var(--navy); margin-bottom: 32px; }
.article-content p { margin: 0 0 20px; }
.article-content h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.01em; margin: 48px 0 20px; }
.article-content h2:first-child { margin-top: 0; }
.article-content ul, .article-content ol { margin: 0 0 20px; padding-left: 22px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--teal-ink); text-decoration: underline; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); margin-bottom: 24px; }
.article-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.article-content thead { background: var(--navy); color: #fff; }
.article-content th, .article-content td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.article-content tbody tr:last-child td { border-bottom: 0; }
.article-content aside.note { background: var(--note); border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 24px; }
.article-content aside.note .note-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.article-content aside.note p { margin-bottom: 0; font-size: 15px; }

/* Native Gutenberg core blocks (Table, Quote, Image, List, Button) written
   directly in the post editor — same look as the hand-built markup above. */
.article-content .wp-block-table { margin: 0 0 24px; overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); }
.article-content .wp-block-table table { margin: 0; }
.article-content .wp-block-table.is-style-stripes { border-collapse: collapse; }
.article-content .wp-block-quote,
.article-content blockquote { border: 0; border-left: 4px solid var(--teal); padding-left: 20px; margin: 0 0 24px; font-style: italic; color: var(--ink-article); }
.article-content .wp-block-quote p,
.article-content blockquote p { margin-bottom: 10px; }
.article-content .wp-block-quote cite,
.article-content blockquote cite { display: block; font-style: normal; font-size: 13px; color: var(--ink-body); }
.article-content .wp-block-image { margin: 0 0 24px; }
.article-content .wp-block-image img { border-radius: var(--radius-md); }
.article-content .wp-block-image figcaption { font-size: 13px; color: var(--ink-body); margin-top: 8px; text-align: center; }
.article-content .wp-block-button__link { display: inline-flex; border-radius: var(--radius-pill); padding: 16px 28px; font-size: 15px; font-weight: 600; text-decoration: none; background: var(--navy); color: #fff; }
.article-content .wp-block-button__link:hover { background: var(--teal); color: #fff; }
.article-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1.5px solid var(--border-subtle-2); color: var(--navy); }
.article-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.article-content .wp-block-group { margin-bottom: 24px; }

.article-faq { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }
.article-faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.article-faq-item p { font-size: 15px; }

.article-cta { background: var(--navy); border-radius: var(--radius-hero); padding: 40px; margin: 40px 0; }
.article-cta h2 { color: #fff; font-size: 26px; margin-bottom: 14px; }
.article-cta p { color: var(--on-navy); margin-bottom: 20px; }
.article-cta strong { color: #fff; }

.article-footer-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.article-share { display: flex; align-items: center; gap: 12px; }
.article-share a, .article-share .share-copy { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: background-color 200ms, color 200ms, transform 200ms; }
.article-share a:hover, .article-share .share-copy:hover { background: var(--teal); color: #fff; }

.related-posts { max-width: var(--site-max); margin: 72px auto 0; }
.related-posts-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ==========================================================================
   404 ("Asiento de ajuste" ledger card)
   ========================================================================== */
.notfound-section { max-width: var(--site-max); margin: 0 auto; padding: 88px 32px 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.notfound-copy { display: flex; flex-direction: column; gap: 24px; }
.notfound-copy h1 { font-size: clamp(38px, 4.8vw, 60px); line-height: 1.06; letter-spacing: -0.025em; }
.notfound-copy .lead { max-width: 520px; }
.notfound-suggestions { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.notfound-suggestions .label { font-size: 13px; font-weight: 600; color: var(--ink-body); }
.notfound-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.notfound-chips a { padding: 9px 16px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border-subtle); font-size: 14px; font-weight: 500; }
.notfound-chips a:hover { border-color: var(--teal); }

.notfound-card-wrap { display: flex; justify-content: center; }
.notfound-card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius-hero); padding: 36px 34px; box-shadow: var(--shadow-form); display: flex; flex-direction: column; gap: 6px; }
.notfound-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; }
.notfound-card-head .eyebrow-label { font-size: 13px; font-weight: 600; color: var(--teal-ink); }
.notfound-card-head .sub-label { font-size: 13px; color: var(--ink-body); }
.notfound-card-head .big-404 { font-size: 72px; font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; color: var(--navy); }
.notfound-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px 72px; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-article); }
.notfound-row.is-head { border-top: 0; padding-top: 10px; padding-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--ink-body); }
.notfound-row span:not(:first-child) { text-align: right; }
.notfound-note { margin-top: 16px; background: var(--teal-tint); border-radius: var(--radius-md); padding: 16px 18px; font-size: 14px; line-height: 1.55; color: var(--navy); font-weight: 500; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 72px 32px 32px; }
.footer-grid { max-width: var(--site-max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 72px; width: auto; margin-bottom: 24px; }
@media (max-width: 768px) { .footer-logo img { height: 60px; } }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col a:hover { color: var(--teal-light); }
.footer-col a.is-active { color: var(--teal-light); }
.footer-meta p { font-size: 13px; margin-bottom: 6px; }
.footer-bottom { max-width: var(--site-max); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 25; background: var(--teal); color: #fff; padding: 14px 22px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-wa); display: flex; align-items: center; gap: 8px; }
.whatsapp-float:hover { background: var(--navy); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
	.primary-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.steps-grid { grid-template-columns: repeat(2, 1fr); }
	.reviews-grid { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; }
	.navy-cells { grid-template-columns: 1fr; }
	.article-toc { position: static; flex: 1 1 100%; order: -1; }
	.footer-grid { grid-template-columns: 1fr; }
	.related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.service-grid, .steps-grid { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.contact-panel, .contact-form-card { padding: 32px 24px; }
	.cta-band, .newsletter-band { padding: 40px 28px; }
	.section-compact { padding: 48px 0; }
	.service-links { padding: 28px 24px; }
	.benefit-chips { grid-template-columns: 1fr; }
}

/* Author box (single post) */
.article-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; padding: 24px 26px; border-radius: var(--radius-md); background: var(--teal-tint); }
.article-author-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: 0 0 80px; }
.article-author-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-article); }
.article-content .article-author-name { margin: 4px 0 0; font-size: 18px; font-weight: 600; color: var(--navy); }
.article-content .article-author-role { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-article); }
.article-content .article-author-bio { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
@media (max-width: 560px) { .article-author { flex-direction: column; } }

/* ==========================================================================
   Motion & interaction (assets/js/motion.js)
   Everything that moves sits behind prefers-reduced-motion: no-preference;
   reveal states only apply once JS adds html.js-motion, so without JS the
   page renders complete.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

/* --- Static parts (any motion preference) ------------------------------ */
.site-header { transition: box-shadow 250ms, background-color 250ms; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(28,41,124,0.08); background: rgba(247,248,251,0.94); }
.article-content h2[id] { scroll-margin-top: 110px; }

/* Reading progress (single post) */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-light)); transform: scaleX(0); transform-origin: 0 50%; }
.article-toc li a.is-active { color: var(--navy); font-weight: 600; }
.toc-time { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--teal-ink); font-weight: 500; }

/* Copy link button (share row) */
.article-share .share-copy { position: relative; border: 0; cursor: pointer; }
.share-copy-done { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--radius-pill); opacity: 0; pointer-events: none; transition: opacity 200ms; }
.share-copy.is-copied .share-copy-done { opacity: 1; }

/* Hero chart card (motion graphic) */
.hero-chart { position: absolute; bottom: 0; right: -14px; width: 200px; background: #fff; border-radius: 20px; padding: 14px 16px 12px; box-shadow: var(--shadow-hero-card); z-index: 2; }
.hero-chart-label { display: block; font-size: 12px; font-weight: 600; color: var(--teal-ink); margin-bottom: 8px; }
.hero-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-chart .bar { fill: var(--teal-tint); }
.hero-chart .bar:last-of-type { fill: #C9EDEC; }
.hero-chart .line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-chart .dot { fill: var(--teal); }
@media (max-width: 640px) { .hero-chart { display: none; } }

/* Decorative soft shapes in the CTA and newsletter bands */
.cta-band, .newsletter-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before, .cta-band::after,
.newsletter-band::before, .newsletter-band::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 70%); }
.cta-band::after { width: 300px; height: 300px; left: 30%; bottom: -200px; background: radial-gradient(circle, rgba(28,41,124,0.16), transparent 70%); }
.newsletter-band::before { width: 460px; height: 460px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(28,177,174,0.28), transparent 70%); }
.newsletter-band::after { width: 320px; height: 320px; left: -120px; bottom: -180px; background: radial-gradient(circle, rgba(95,211,208,0.14), transparent 70%); }

/* Brand illustrations (intelectta_illustration()) */
.split-illus { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.illus { position: relative; margin: 0; display: flex; justify-content: center; align-items: center; isolation: isolate; }
.illus img { position: relative; z-index: 1; display: block; width: 100%; max-width: 520px; height: auto; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 600ms var(--ease-out); }
.illus-orbit { position: absolute; inset: 4% 2%; z-index: 0; pointer-events: none; }
.illus-orbit::before { content: ""; position: absolute; top: 0; right: 4%; width: 76px; height: 76px; border: 2px dashed rgba(28,177,174,0.5); border-radius: 50%; }
.illus-orbit::after { content: ""; position: absolute; bottom: 6%; left: 2%; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-light); box-shadow: 46px -34px 0 -4px rgba(28,41,124,0.22); }
.finanzas-grid .illus img { max-width: 560px; }
.cta-band.has-illus { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); padding-top: 56px; padding-bottom: 56px; }
.cta-band.has-illus .btn-row { justify-content: flex-start; margin-top: 28px; }
.illus-cta img { max-width: 380px; }
.illus-cta .illus-orbit::before { border-color: rgba(255,255,255,0.6); }
.illus-cta .illus-orbit::after { background: #fff; box-shadow: 46px -34px 0 -4px rgba(28,41,124,0.3); }
@media (max-width: 900px) {
	.split-illus, .cta-band.has-illus { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.illus img { max-width: 420px; }
	.illus-cta img { max-width: 300px; }
}

/* --- Motion (only when the user hasn't asked to reduce it) -------------- */
@media (prefers-reduced-motion: no-preference) {

	/* Scroll reveal */
	.js-motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
	.js-motion [data-reveal].is-revealed { opacity: 1; transform: none; }
	/* Cards keep their own hover lift once revealed */
	.js-motion .post-card.is-revealed,
	.js-motion .service-card.is-revealed,
	.js-motion .featured-post.is-revealed { transition: opacity 700ms var(--ease-out), transform 250ms var(--ease-out), box-shadow 250ms; transition-delay: var(--reveal-delay, 0ms), 0ms, 0ms; }

	/* Arrow nudge + press feedback */
	.arrow { display: inline-block; transition: transform 250ms var(--ease-out); }
	a:hover > .arrow, .post-card:hover .arrow, .service-card:hover .arrow, .featured-post:hover .arrow { transform: translateX(4px); }
	.btn { transition: background-color 200ms, color 200ms, border-color 200ms, transform 150ms var(--ease-out); }
	.btn:active { transform: scale(0.97); }

	/* Compact header */
	.site-header .container { transition: padding 250ms var(--ease-out); }
	.site-header.is-scrolled .container { padding-top: 10px; padding-bottom: 10px; }

	/* Hero: accent sweep + floating cards */
	.hero-split h1 .accent { background: linear-gradient(transparent 82%, rgba(28,177,174,0.22) 82%) no-repeat 0 0 / 0% 100%; animation: accent-sweep 900ms var(--ease-out) 300ms forwards; }
	.hero-floating-card { animation: float-y 7s ease-in-out 1.2s infinite; }
	.hero-chart { animation: chart-in 700ms var(--ease-out) 250ms both, float-y 8s ease-in-out 1.6s infinite; }
	.hero-chart .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: bar-grow 700ms var(--ease-out) both; }
	.hero-chart .bar:nth-of-type(1) { animation-delay: 450ms; }
	.hero-chart .bar:nth-of-type(2) { animation-delay: 550ms; }
	.hero-chart .bar:nth-of-type(3) { animation-delay: 650ms; }
	.hero-chart .bar:nth-of-type(4) { animation-delay: 750ms; }
	.hero-chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: line-draw 900ms var(--ease-out) 900ms forwards; }
	.hero-chart .dot { transform-box: fill-box; transform-origin: center; opacity: 0; animation: dot-in 400ms var(--ease-out) 1.7s forwards, dot-pulse 2.4s ease-in-out 2.2s infinite; }

	/* Eyebrow dot pulse */
	.eyebrow::before { animation: dot-pulse 2.8s ease-in-out infinite; }

	/* Process: connector line between ordered steps (4-column layout) */
	@media (min-width: 1001px) {
		ol.steps-grid .step-card { position: relative; }
		ol.steps-grid .step-card:not(:last-child)::after { content: ""; position: absolute; top: 54px; left: 86px; width: calc(100% - 52px); height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px); transform: scaleX(0); transform-origin: 0 50%; transition: transform 700ms var(--ease-out); }
		.js-motion ol.steps-grid.is-revealed .step-card::after { transform: scaleX(1); }
		.js-motion ol.steps-grid.is-revealed .step-card:nth-child(1)::after { transition-delay: 300ms; }
		.js-motion ol.steps-grid.is-revealed .step-card:nth-child(2)::after { transition-delay: 600ms; }
		.js-motion ol.steps-grid.is-revealed .step-card:nth-child(3)::after { transition-delay: 900ms; }
		html:not(.js-motion) ol.steps-grid .step-card::after { transform: scaleX(1); }
	}
	.js-motion .step-card[data-reveal] .step-circle { transform: scale(0.6); transition: transform 500ms var(--ease-out); transition-delay: calc(var(--reveal-delay, 0ms) + 200ms); }
	.js-motion .step-card.is-revealed .step-circle { transform: none; }

	/* Bands: slow drifting shapes */
	.cta-band::before, .newsletter-band::before { animation: drift 16s ease-in-out infinite alternate; }
	.cta-band::after, .newsletter-band::after { animation: drift 20s ease-in-out infinite alternate-reverse; }

	/* Illustrations: reveal with scale, gentle float, orbiting accents */
	.js-motion .illus[data-reveal] { transform: translateY(24px) scale(0.95); }
	.js-motion .illus[data-reveal].is-revealed { transform: none; }
	.illus img { animation: float-y 7s ease-in-out infinite; }
	.illus:nth-of-type(even) img { animation-duration: 8s; animation-delay: -2s; }
	.illus-orbit::before { animation: spin 26s linear infinite; }
	.illus-orbit::after { animation: float-y 5s ease-in-out -1s infinite; }
	@keyframes spin { to { transform: rotate(360deg); } }

	@keyframes accent-sweep { to { background-size: 100% 100%; } }
	@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
	@keyframes chart-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
	@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
	@keyframes line-draw { to { stroke-dashoffset: 0; } }
	@keyframes dot-in { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
	@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
	@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	ol.steps-grid .step-card::after { display: none; }
}

/* ==========================================================================
   Conversion & AEO blocks (v1.4): hero checks, "¿Qué es?", comparison,
   process timeline, ask-an-AI, light button on teal
   ========================================================================== */

/* Hero trust points */
.hero-checks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-body); }
.hero-checks li::before { content: "✓"; color: var(--teal-ink); font-weight: 700; }

/* "¿Qué es Intelectta?" summary card */
.que-es-section { background: var(--bg); padding-top: 0; }
.que-es { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: center; background: var(--navy); border-radius: var(--radius-card); padding: 36px 40px; }
.que-es::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(28,177,174,0.32), transparent 70%); pointer-events: none; }
.que-es-dots { display: inline-flex; gap: 6px; }
.que-es-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-light); }
.que-es-dots i:nth-child(2) { background: var(--teal); }
.que-es-dots i:nth-child(3) { background: #fff; }
.que-es-title { margin: 14px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-light); }
.que-es p { color: var(--on-navy); font-size: 16px; line-height: 1.65; }
.que-es p strong { color: #fff; }
.que-es-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.que-es-fact { flex: 1 1 auto; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 16px; }
.que-es-fact dd { margin: 0; font-size: 18px; font-weight: 700; color: #fff; white-space: nowrap; }
.que-es-fact dt { font-size: 12px; color: var(--on-navy); }

/* Comparison table */
.compare-head { max-width: 760px; margin-bottom: 40px; }
.compare-head .lead { margin-top: 16px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-soft); }
.compare-table thead th { font-size: 15px; font-weight: 600; color: var(--ink-body); border-bottom-color: var(--line); }
.compare-table thead th.is-ours { background: var(--navy); color: #fff; border-radius: var(--radius-md) var(--radius-md) 0 0; border-bottom-color: var(--navy); }
.compare-table thead td { border-bottom-color: var(--line); }
.compare-table tbody th { font-weight: 600; color: var(--navy); width: 22%; }
.compare-table td { color: var(--ink-body); }
.compare-table td.is-ours { background: var(--teal-wash); color: var(--navy); font-weight: 600; border-bottom-color: rgba(28,177,174,0.16); }
.compare-table tbody tr:last-child td.is-ours { border-radius: 0 0 var(--radius-md) var(--radius-md); border-bottom: 0; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .check { color: var(--teal-ink); font-weight: 700; margin-right: 8px; }
@media (max-width: 760px) {
	.compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto; }
	.compare-table thead { display: none; }
	.compare-table tr { background: var(--bg); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 12px; }
	.compare-table tbody th { width: auto; padding: 0 0 10px; border: 0; font-size: 16px; }
	.compare-table td { padding: 8px 0; border: 0; }
	.compare-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 500; color: var(--ink-body); opacity: 0.8; }
	.compare-table td.is-ours { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 4px; }
	.compare-table td.is-ours::before { color: var(--teal-ink); opacity: 1; font-weight: 600; }
	.compare-table tbody tr:last-child td.is-ours { border-radius: var(--radius-sm); }
}

/* Process timeline (ordered steps with "when") */
.steps-grid.is-timeline { position: relative; gap: 28px; }
.steps-grid.is-timeline .step-card { background: transparent; border: 0; border-radius: 0; padding: 0; position: relative; }
ol.steps-grid.is-timeline .step-card:not(:last-child)::after { display: none; }
.steps-grid.is-timeline .step-circle { position: relative; z-index: 1; background: #fff; border: 2px solid var(--teal); box-shadow: 0 0 0 6px var(--surface); margin-bottom: 22px; }
.step-when { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-ink); }
@media (min-width: 1001px) {
	.steps-grid.is-timeline::before { content: ""; position: absolute; top: 23px; left: 24px; right: 0; height: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-light) 45%, var(--navy)); border-radius: 2px; transform-origin: 0 50%; }
}

/* Ask an AI (GEO) */
.ask-ai { text-align: center; margin-bottom: 40px; }
.ask-ai p { font-size: 14px; color: var(--ink-body); margin-bottom: 14px; }
.ask-ai-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ask-ai-links a { padding: 9px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--border-subtle-2); font-size: 14px; font-weight: 600; color: var(--navy); background: #fff; transition: border-color 200ms, color 200ms, transform 200ms; }
.ask-ai-links a:hover { border-color: var(--teal); color: var(--teal-ink); }

/* Light secondary button on the teal band */
.btn-light-on-teal { background: rgba(255,255,255,0.94); color: var(--navy); }
.btn-light-on-teal:hover { background: #fff; color: var(--teal-ink); }

@media (max-width: 900px) {
	.que-es { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; gap: 24px; }
}
@media (max-width: 560px) {
}

@media (prefers-reduced-motion: no-preference) {
	.js-motion .steps-grid.is-timeline::before { transform: scaleX(0); transition: transform 1200ms var(--ease-out) 200ms; }
	.js-motion .steps-grid.is-timeline.is-revealed::before { transform: scaleX(1); }
	.ask-ai-links a:hover { transform: translateY(-2px); }
	.que-es::after { animation: drift 18s ease-in-out infinite alternate; }
}

/* Hero with a brand illustration instead of a photo */
.hero-illus-slot { background: radial-gradient(120% 90% at 70% 30%, var(--teal-tint), var(--note) 70%); padding: 120px 28px 64px 20px; overflow: visible; align-items: flex-end; }
@media (max-width: 640px) { .hero-illus-slot { padding: 24px 16px 72px; align-items: center; } }
.hero-illus-slot .illus { width: 100%; }
.hero-illus-slot .illus img { max-width: 100%; }
.hero-illus-slot .illus-orbit::before { top: 4%; right: 16%; }

.split-illus.no-illus { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
