/* GENERADO: concatenación de style.css + article.css + v2-bridge.css + v2.css
   para una sola petición render-blocking en los artículos del blog.
   Si tocas cualquiera de los cuatro, regenera este archivo. */
/* Import Inter for Headings and Body */

/* Base Styles & Variables */
:root {
    --primary: #2563eb;
    /* Vera S2P Blue */
    --primary-dark: #1e40af;
    /* Vera S2P Blue Dark */
    --primary-light: #dbeafe;
    /* Vera S2P Blue Light */
    --secondary: #0f172a;
    /* Dark Slate Gray / Navy */
    --secondary-dark: #020617;
    /* Slate 950 */
    --background: #ffffff;
    /* White background */
    --background-alt: #f8fafc;
    /* pure white for cards and alt sections */
    --text-main: #334155;
    /* Slate 700 main text */
    --text-light: #64748b;
    /* Slate 500 secondary text */
    --success: #10b981;
    --border: #e2e8f0;
    /* Slate 200 border */
    --radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* Large soft shadow like Premium BPO */
    --shadow-md: rgba(0, 0, 0, 0.08) 0px 48px 128px -24px;
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--background);
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-success {
    color: var(--success);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 40px;
    /* Pill shape */
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary) !important;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white !important;
    transform: translateY(-2px);
}

.btn-white {
    background-color: white;
    color: var(--primary) !important;
}

.btn-white:hover {
    background-color: transparent;
    color: white !important;
    border: 1px solid white;
}

.btn-block {
    width: 100%;
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

/* Navbar */
header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

.top-bar {
    background-color: var(--secondary);
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

header:not(.scrolled) .nav-links a,
header:not(.scrolled) .mobile-menu-btn {
    color: white;
}

header.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary) !important;
}

header:not(.scrolled) .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

header.scrolled .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

header:not(.scrolled) .btn-primary {
    background-color: white;
    color: var(--primary) !important;
}

header:not(.scrolled) .btn-primary:hover {
    background-color: var(--primary);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid var(--border);
    padding: 1rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    background: url('https://images.unsplash.com/photo-1541888081622-df7a696fa19b?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    min-height: 90vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Vera S2P blue overlay */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(37, 99, 235, 0.75) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
    animation: float 3s ease-in-out infinite;
}

.icon-box {
    background-color: #ecfdf5;
    color: var(--success);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.card-1 h4 {
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.card-1 span {
    font-size: 0.875rem;
    color: var(--text-light);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--background-alt);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #eff6ff;
    color: var(--primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-light);
}

/* Why Us Section */
.why-us-section {
    padding: 6rem 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
}

.feature-list i {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-list h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.feature-list p {
    color: var(--text-light);
}

.why-us-image img {
    border-radius: 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--background-alt);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item .icon-box {
    width: 3rem;
    height: 3rem;
    background-color: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    font-size: 1.125rem;
    color: var(--secondary);
    font-weight: 500;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem;
    }
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    /* Make logo white */
    max-height: 40px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-image {
        order: -1;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Nuevas clases de utilidad para la reestructuraci�n */
.bg-alt {
    background-color: var(--background-alt);
}

.bg-dark {
    background-color: var(--secondary);
    color: white;
}

.text-white {
    color: white !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-danger {
    color: #ef4444;
}

.border-card {
    border: 1px solid var(--border);
    box-shadow: none;
    background: white;
}

.border-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.max-w-1000 {
    max-width: 1000px;
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-minimal {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card-minimal:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: transparent;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.check-list li i {
    color: var(--primary);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.check-list-sm li i {
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.large-list li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.large-list li i {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.text-sm {
    font-size: 0.875rem;
}

.text-gray {
    color: #6b7280;
}

.fw-bold {
    font-weight: 600;
}

.badge-top {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius);
}

.case-metric {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trust-block {
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.hover-underline:hover {
    text-decoration: underline;
}

.section-padding {
    padding: 3rem 0 3rem;
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .text-center-mobile {
        text-align: center;
    }

    .hidden-mobile {
        display: none !important;
    }

    .section-padding {
        padding: 2rem 0 2rem;
    }
}

@media (min-width: 992px) {
    .section-padding {
        padding: 4rem 0 4rem;
    }
}

/* Internal Page Header */
body.internal-page header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
}

body.internal-page header .nav-links a,
body.internal-page header .mobile-menu-btn {
    color: var(--text-main) !important;
}

body.internal-page header .nav-links a::after {
    background-color: var(--primary) !important;
}

body.internal-page header .btn-primary {
    background-color: var(--primary) !important;
    color: white !important;
}

/* White Outline Button (for dark backgrounds) */
.btn-outline.btn-white {
    border-color: white !important;
    color: white !important;
}

.btn-outline.btn-white:hover {
    background-color: white !important;
    color: var(--primary) !important;
}

/* White Solid Button (for dark backgrounds) */
.btn-white:not(.btn-outline) {
    background-color: white !important;
    color: var(--primary) !important;
    border: none;
}

.btn-white:not(.btn-outline):hover {
    background-color: var(--background) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
/* --- Mobile Responsiveness Fixes --- */
.page-header-padding {
    padding-top: 8rem;
}

.page-header-title {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .page-header-padding {
        padding-top: 6rem !important;
    }
    
    .page-header-title {
        font-size: 2.25rem !important;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }

    .trust-block, .case-card {
        padding: 1.5rem;
    }
    
    .card-minimal {
        padding: 1.5rem;
    }
}

/* ===================== */
/* Blog Page Styles      */
/* ===================== */

/* Blog Filter Bar */
.blog-filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-filter-tag {
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-filter-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.blog-filter-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.35);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.blog-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.08);
}

.blog-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.3rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.4);
}

.blog-card__content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.875rem;
    flex-wrap: wrap;
}

.blog-card__category {
    padding: 0.2rem 0.7rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card__category--ahorro {
    background: #ecfdf5;
    color: #059669;
}

.blog-card__category--estrategia {
    background: #eff6ff;
    color: #2563eb;
}

.blog-card__category--operaciones {
    background: #fef3c7;
    color: #d97706;
}

.blog-card__category--tendencias {
    background: #f3e8ff;
    color: #7c3aed;
}

.blog-card__date,
.blog-card__read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
    color: var(--primary);
}

.blog-card__excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-card__link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* Featured Blog Card */
.blog-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: row;
}

.blog-card--featured .blog-card__image {
    aspect-ratio: auto;
    min-height: 320px;
}

.blog-card--featured .blog-card__content {
    padding: 2.5rem;
    justify-content: center;
}

.blog-card--featured .blog-card__title {
    font-size: 1.75rem;
}

.blog-card--featured .blog-card__excerpt {
    font-size: 1.05rem;
}

/* Blog Newsletter CTA */
.blog-newsletter {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
    border-radius: 16px;
    padding: 3.5rem;
    overflow: hidden;
    position: relative;
}

.blog-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.blog-newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.blog-newsletter__text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-newsletter__text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.blog-newsletter__form {
    display: flex;
    gap: 0.75rem;
    min-width: 400px;
}

.blog-newsletter__form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-newsletter__form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.blog-newsletter__form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Blog Card Fade-In animation */
@keyframes blogFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Responsive */
@media (max-width: 992px) {
    .blog-card--featured {
        grid-template-columns: 1fr;
    }

    .blog-card--featured .blog-card__image {
        aspect-ratio: 16 / 9;
        min-height: auto;
    }

    .blog-newsletter__inner {
        flex-direction: column;
        text-align: center;
    }

    .blog-newsletter__form {
        min-width: auto;
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-newsletter {
        padding: 2rem;
    }

    .blog-newsletter__form {
        flex-direction: column;
    }

    .blog-newsletter__form input,
    .blog-newsletter__form .btn {
        width: 100%;
    }

    .blog-card--featured .blog-card__title {
        font-size: 1.35rem;
    }
}

/* ═══ Realineamiento S2P ═══════════════════════════════════ */

/* CTA secundario sobre fondo oscuro (hero) */
.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* Recorrido S2P en 4 etapas */
.stage-block {
    margin-bottom: 3rem;
}

.stage-head {
    max-width: 780px;
    margin-bottom: 1.25rem;
}

.stage-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.stage-head h3 {
    font-size: 1.35rem;
    color: var(--secondary);
    line-height: 1.35;
}

.stage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.stage-cards .service-card {
    position: relative;
    text-align: left;
}

.stage-cards .service-card h4 {
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.stage-cards .service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.badge-soon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.tech-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-top: 0.5rem;
}

.tech-strip i,
.tech-strip svg {
    color: var(--primary-light);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.tech-strip p {
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 640px) {
    .stage-cards {
        grid-template-columns: 1fr;
    }

    .tech-strip {
        flex-direction: column;
        text-align: center;
    }
}

/* Tabla comparativa */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
    padding: 0.9rem 1.1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.compare-table thead th {
    background: var(--background-alt);
    color: var(--secondary);
    font-weight: 700;
}

.compare-table .th-note {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-light);
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--secondary);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table .col-procure {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
}

/* Fix responsive: Lucide reemplaza <i> por <svg>, las reglas de i quedan sin efecto */
.check-list li svg,
.feature-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Guarda contra desbordamiento horizontal en móvil */
html,
body {
    overflow-x: hidden;
}

/* Utilidades de alineacion referenciadas por el HTML pero ausentes del CSS original */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* ── Ajustes de alineacion movil ──────────────────────── */

/* Las "palabras" largas con barras (administracion/operaciones/gerencia)
   no parten en "/" y desbordaban las tarjetas en 375px */
.card-minimal,
.service-card,
.check-list li,
.compare-table td {
    overflow-wrap: break-word;
    min-width: 0;
}

.grid-2 > *,
.grid-3 > *,
.services-grid > *,
.stage-cards > * {
    min-width: 0;
}

/* Icono centrado cuando la tarjeta vive en un contenedor centrado
   (antes: texto centrado con icono pegado a la izquierda) */
.text-center .icon-wrapper {
    margin-left: auto;
    margin-right: auto;
}

/* Titulares de seccion mas contenidos en pantallas pequenas */
@media (max-width: 640px) {
    .section-title {
        font-size: 1.9rem;
        line-height: 1.25;
    }

    .stage-head h3 {
        font-size: 1.2rem;
    }
}

/* Guarda definitiva: "anywhere" si cuenta para el ancho minimo en flex/grid */
.check-list li,
.compare-table td,
.compare-table th {
    overflow-wrap: anywhere;
}

/* Pista de scroll de la tabla comparativa (solo movil) */
.table-hint {
    display: none;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
    .table-hint {
        display: block;
    }
}

/* Franja de tecnologia con imagen del producto */
.tech-strip-media {
    display: grid;
    grid-template-columns: 1fr 340px;
    align-items: center;
    gap: 1.5rem;
}

.tech-strip-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-strip-media img {
    width: 100%;
    border-radius: calc(var(--radius) - 2px);
    display: block;
}

/* Foto de equipo en Por que Vera S2P */
.why-photo {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .tech-strip-media {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tech-strip-text {
        flex-direction: column;
    }
}

/* Enlace a la plataforma en la franja de tecnologia */
.tech-strip-link {
    display: inline-block;
    margin-left: 0.5rem;
    color: #93c5fd;
    font-weight: 600;
    text-decoration: none;
}

.tech-strip-link:hover {
    color: #ffffff;
    text-decoration: underline;
}
/* ========================== */
/* Blog Article Page Styles   */
/* ========================== */

.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Sidebar TOC */
.article-toc {
    position: sticky;
    top: 100px;
    padding: 1.75rem 0;
    border-right: 1px solid var(--border);
}

.article-toc__title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    padding-left: 1rem;
}

.article-toc__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.article-toc__link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
    line-height: 1.4;
}

.article-toc__link:hover,
.article-toc__link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: var(--primary-light);
}

/* Article Content */
.article-content {
    padding: 2rem 0 4rem;
    max-width: 780px;
}

.article-content__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-content__category {
    padding: 0.25rem 0.85rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #eff6ff;
    color: #2563eb;
}

.article-content__date,
.article-content__read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.article-content__intro {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.article-content h2 {
    font-size: 1.65rem;
    color: var(--secondary);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-weight: 700;
    line-height: 1.3;
}

.article-content h2:first-of-type {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.article-content h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.article-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-content strong {
    color: var(--secondary);
    font-weight: 600;
}

/* Callout / highlight box */
.article-callout {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}

.article-callout h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.article-callout p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.article-callout p:last-child {
    margin-bottom: 0;
}

/* CTA box inside article */
.article-cta-box {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.article-cta-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.article-cta-box h3 {
    color: white;
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.article-cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Sources box */
.article-sources {
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin-top: 3rem;
}

.article-sources h4 {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.article-sources ul {
    margin: 0;
    padding-left: 1.25rem;
}

.article-sources li {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile TOC */
.article-toc-mobile {
    display: none;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    overflow: hidden;
}

.article-toc-mobile__toggle {
    width: 100%;
    padding: 1rem 1.25rem;
    background: white;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-toc-mobile__list {
    display: none;
    padding: 0 1.25rem 1rem;
    flex-direction: column;
    gap: 0.4rem;
}

.article-toc-mobile__list.open {
    display: flex;
}

.article-toc-mobile__list a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.article-toc-mobile__list a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .article-toc {
        display: none;
    }

    .article-toc-mobile {
        display: block;
    }

    .article-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 1rem 0 3rem;
    }

    .article-content h1 {
        font-size: 1.75rem;
    }

    .article-content h2 {
        font-size: 1.35rem;
    }

    .article-content p {
        font-size: 1rem;
        text-align: left;
    }

    .article-callout,
    .article-cta-box {
        padding: 1.5rem;
    }
}

/* ── Relacionados del cluster ── */
.article-related {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    background: var(--background-alt, #F2EDE3);
    border-radius: 14px;
}
.article-related h4 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0 0 .75rem;
}
.article-related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.article-related a { color: var(--primary); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.article-related a:hover { text-decoration: underline; }

/* ── Autor ── */
.article-author {
    margin-top: 1.5rem;
    padding: 1.25rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.article-author img { width: 56px; height: 56px; border-radius: 99px; object-fit: cover; }
.article-author strong { display: block; font-size: 1rem; }
.article-author span { display: block; font-size: .82rem; color: var(--text-light); margin-top: 2px; }
.article-author a { font-size: .82rem; color: var(--primary); font-weight: 600; text-decoration: underline; }
/* Puente de tema: redefine las variables del CSS antiguo (style.css /
   article.css) con la paleta del Brand Book v2, para páginas interiores
   que conservan su maquetación de contenido. Cargar DESPUÉS de style.css
   y article.css, y ANTES de v2.css. */

:root {
    --primary: #337AFF;
    --primary-dark: #005EFF;
    --primary-light: #B8ECFB;
    --secondary: #0B2447;
    --secondary-dark: #0B2447;
    --background: #FAF6F1;
    --background-alt: #F2EDE3;
    --text-main: #1A3155;
    --text-light: #3A4D6E;
    --border: rgba(11, 36, 71, .12);
    --radius: 12px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --font-heading: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

body.internal-page {
    background: var(--background) !important;
    font-family: var(--font-sans);
}

/* El cuerpo del artículo va directamente sobre el fondo crema de la página;
   las cajas internas que usan var(--background) se integran solas. */

/* Héroes con degradado del diseño antiguo pasan al navy plano de marca */
.hero-section {
    background: var(--secondary) !important;
}

/* Índice del artículo: acompaña la lectura (scrollspy en js/v2.js).
   Si es más largo que la pantalla, se desplaza dentro de su propia caja. */
.article-toc {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.article-toc__link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: rgba(51, 122, 255, .08);
    font-weight: 700;
}

/* Titulares con el peso display de la marca */
h1, h2, h3, .article-content h1 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}
/* ═══════════════════════════════════════════════════════════════════
   Vera S2P — Design system v2 (Brand Book)
   Fuente de verdad: design_handoff_procure_home (sept 2026)
   ═══════════════════════════════════════════════════════════════════ */

:root {
    /* Marca */
    --ink: #0B2447;
    --ink-soft: #1A3155;
    --blue: #337AFF;
    --blue-deep: #005EFF;
    --cyan: #00C4FF;
    --cyan-soft: #B8ECFB;
    --lime: #8CE64A;

    /* Superficies */
    --cream: #FAF6F1;
    --cream-2: #F2EDE3;
    --paper: #FFFFFF;
    --mute: #3A4D6E;
    --line: rgba(11, 36, 71, .10);
    --line-2: rgba(11, 36, 71, .18);

    --bg: var(--cream);
    --fg: var(--ink);
    --accent: var(--blue);

    /* Tipografía */
    --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-size: 17px;
    line-height: 1.55;
    /* clip recorta sin crear un scroll container: hidden rompería position:sticky */
    overflow-x: hidden;
    overflow-x: clip;
}

html { overflow-x: hidden; overflow-x: clip; }

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em.brand { color: var(--blue); font-style: normal; }
blockquote, q, cite { font-style: normal; font-weight: 300; }
h1, h2, h3, h4 { font-family: var(--font-display); }
.tabular, .num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ── Tipografía ── */
.display {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -0.03em;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
}

.section { padding: 96px 0; position: relative; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.025em;
    max-width: 900px;
    margin: 12px 0 0;
}

.lede {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--mute);
    max-width: 60ch;
    line-height: 1.55;
    margin-top: 18px;
}

.tabular { font-variant-numeric: tabular-nums; }
.microlabel { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ── Botones ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .9; }
.btn-ghost:hover { background: rgba(11, 36, 71, .06); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: var(--blue); color: var(--paper); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ── Card y regla ── */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.rule { height: 1px; width: 100%; background: var(--line); }

/* ── Animaciones ── */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes flow-x { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.float { animation: float 7s ease-in-out infinite; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

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

/* ── Nav ── */
.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    background: color-mix(in oklab, var(--bg) 78%, transparent);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 400; opacity: .75; position: relative; }
.nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.024em; line-height: 1; }
.wordmark svg { height: 34px; width: auto; }
.wordmark .wm-s2p { font-weight: 600; font-size: .58em; letter-spacing: .03em; margin-left: .22em; }

/* Menú móvil */
.nav-burger { display: none; background: none; border: none; padding: 8px; color: inherit; }
.mobile-menu {
    display: none; position: fixed; inset: 0; z-index: 60;
    background: var(--cream); padding: 24px 32px;
    flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }
.mobile-menu-close { align-self: flex-end; background: none; border: none; font-size: 28px; color: inherit; padding: 8px; }

@media (max-width: 1080px) {
    .nav-links { display: none; }
    .nav-burger { display: block; }
    .nav-cta { display: none; }
}

/* ── Hero ── */
.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 76px); margin: 16px 0 0; }
.hero .lede strong { color: var(--fg); }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-photo { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-photo { max-width: 420px; margin: 0 auto; }
}

/* ── Franja de prueba ── */
.proof { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-row { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: center; }
.proof-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--mute); font-weight: 400; }
.dot-cyan { width: 6px; height: 6px; border-radius: 99px; background: var(--cyan); flex-shrink: 0; }

/* ── El modelo ── */
.modelo-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.modelo-head .lede { margin-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.pillar { border-left: 2px solid var(--cyan); padding-left: 16px; }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; margin: 0; }
.pillar p { font-size: 13.5px; color: var(--mute); margin: 4px 0 0; line-height: 1.5; }

@media (max-width: 900px) { .modelo-head { grid-template-columns: 1fr; gap: 20px; } }

/* Diagrama */
.diagram-video { width: 100%; height: auto; display: block; border-radius: 12px; }
.diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) {
    .diagram-scroll svg { min-width: 720px; }
}
.diagram-legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 12px; font-size: 13px; }
.diagram-legend .swatch { display: inline-block; width: 18px; height: 2px; }
.node-badge {
    background: var(--paper); color: var(--ink); border: 1px solid var(--line);
    border-radius: 16px; padding: 14px 18px; min-width: 150px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 1px 0 rgba(11, 27, 61, .04), 0 16px 40px -24px rgba(11, 27, 61, .25);
    font-family: var(--font-sans);
}
.node-badge.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.node-badge .nb-label { font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.node-badge .nb-sub { font-size: 11.5px; opacity: .65; margin-top: 2px; }
.node-note { font-size: 11.5px; color: var(--mute); padding-left: 4px; margin-top: 8px; font-family: var(--font-sans); }
.diagram-path { stroke-dashoffset: 200; }
.in .diagram-path-1 { animation: flow-x 1.4s ease-out forwards; }
.in .diagram-path-2 { animation: flow-x 1.4s ease-out .4s forwards; }
.in .diagram-path-3 { animation: flow-x 1.4s ease-out .8s forwards; }
.in .diagram-path-4 { animation: flow-x 1.4s ease-out 1.2s forwards; }

/* ── Tres maneras (tabs) ── */
.models-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: inline-flex; gap: 4px; background: var(--bg); border: 1px solid var(--line); padding: 4px; border-radius: 999px; margin-top: 36px; max-width: 100%; overflow-x: auto; }
.tab { padding: 10px 18px; border-radius: 999px; border: none; background: transparent; color: var(--fg); font-weight: 500; font-size: 14px; transition: all .2s ease; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.model-panel { margin-top: 24px; padding: 0; overflow: hidden; background: var(--bg); }
.model-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.model-left { padding: 36px; border-right: 1px solid var(--line); }
.model-left h3 { font-size: 38px; margin: 8px 0 16px; }
.model-left .desc { color: var(--mute); max-width: 480px; line-height: 1.55; margin: 0; }
.model-right { padding: 36px; display: flex; flex-direction: column; gap: 28px; }
.kpi-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.kpi-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; }
.flow-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.flow-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; }
.flow-chip.first { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.flow-arrow { color: var(--mute); font-size: 12px; }
.ideal { margin-top: 28px; }
.ideal-value { margin-top: 6px; font-weight: 400; }

@media (max-width: 900px) {
    .model-grid { grid-template-columns: 1fr; }
    .model-left { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ── Antes / Después ── */
.ba-table { margin-top: 48px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.ba-head, .ba-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); align-items: center; }
.ba-head { background: var(--bg); }
.ba-head > div { padding: 16px 28px; }
.ba-row { border-top: 1px solid var(--line); }
.ba-row:nth-child(odd) { background: var(--bg); }
.ba-row:nth-child(even) { background: var(--paper); }
.ba-before { padding: 20px 28px; color: var(--mute); text-decoration: line-through; text-decoration-color: rgba(11, 27, 61, .25); }
.ba-arrow { text-align: center; color: var(--blue); font-size: 20px; font-weight: 800; }
.ba-after { padding: 20px 28px; font-weight: 500; }

@media (max-width: 720px) {
    .ba-head { display: none; }
    .ba-row { grid-template-columns: 1fr; }
    .ba-before { padding: 18px 20px 4px; }
    .ba-before::before { content: "Hoy"; display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-decoration: none; margin-bottom: 4px; }
    .ba-arrow { transform: rotate(90deg); padding: 2px 0; }
    .ba-after { padding: 4px 20px 18px; }
    .ba-after::before { content: "Con Vera S2P"; display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
}

/* ── Servicios (4 tarjetas) ── */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 56px; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.svc-num { font-size: 13px; font-weight: 500; color: var(--mute); letter-spacing: .1em; }
.svc-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.svc-card p { color: var(--mute); font-size: 14.5px; margin-top: 10px; line-height: 1.55; }
.svc-bullets { list-style: none; padding: 16px 0 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); }
.svc-bullets li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; }
.dot-sm { width: 4px; height: 4px; background: var(--cyan); border-radius: 99px; flex-shrink: 0; }

/* ── Quiénes somos ── */
.founders-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.founders-grid .section-title { font-size: clamp(28px, 3.5vw, 44px); }
.founders-bio { font-size: 17px; line-height: 1.6; color: var(--mute); margin: 0; }
.founders-people { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.founder-photo { width: 72px; height: 72px; border-radius: 99px; object-fit: cover; border: 1px solid var(--line); }
.founder-name { margin-top: 14px; font-weight: 700; }
.founder-cred { font-size: 12.5px; color: var(--mute); margin-top: 5px; line-height: 1.5; }

@media (max-width: 860px) { .founders-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 540px) { .founders-people { grid-template-columns: 1fr; } }

/* ── Trayectoria (casos, navy) ── */
.tray-title { font-size: clamp(30px, 4.2vw, 56px); text-wrap: nowrap; }
@media (max-width: 720px) { .tray-title { text-wrap: wrap; } }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.case-card {
    display: flex; flex-direction: column;
    background: var(--ink); border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 22px; padding: 28px; color: var(--paper);
    transition: transform .24s ease, border-color .24s ease;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.case-head { display: flex; flex-direction: column; gap: 5px; border-bottom: 1px solid rgba(255, 255, 255, .14); padding-bottom: 14px; }
.case-head .eyebrow { color: var(--cyan); }
.case-city { font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.case-kpi { font-family: var(--font-display); font-size: clamp(32px, 2.9vw, 40px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.05; letter-spacing: -0.02em; margin-top: 22px; color: var(--lime); }
.case-kpi-label { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 8px; line-height: 1.45; }
.case-story { margin-top: 20px; font-size: 14.5px; color: rgba(255, 255, 255, .7); line-height: 1.6; flex: 1; }
.case-where { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: rgba(255, 255, 255, .58); line-height: 1.4; }

/* ── Vera S2P (navy) ── */
.tech-section { background: var(--ink); color: var(--paper); }
.tech-section .eyebrow { color: var(--cyan); }
.tech-section .section-title { color: var(--paper); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tech-card { border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 28px; background: rgba(255, 255, 255, .04); }
.tech-num { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 12px; letter-spacing: .12em; color: var(--cyan); }
.tech-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin: 18px 0 0; letter-spacing: -0.01em; line-height: 1.2; }
.tech-card p { font-size: 14.5px; color: rgba(255, 255, 255, .68); margin-top: 10px; line-height: 1.55; }
.tech-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tech-note { font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ── Conocimiento ── */
.insights-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.insights-head .section-title { font-size: clamp(30px, 4vw, 52px); }
.insights-list { margin-top: 44px; border-top: 1px solid var(--line); }
.insight-row {
    display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 32px;
    padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.insight-row .eyebrow { color: var(--blue); }
.insight-meta { font-size: 12.5px; color: var(--mute); margin-top: 8px; font-family: var(--font-sans); font-weight: 400; }
.insight-row h3 { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; margin: 0; letter-spacing: -0.015em; line-height: 1.25; transition: color .18s ease; }
.insight-row:hover h3 { color: var(--blue); }
.insight-hook { font-size: 14.5px; color: var(--mute); margin-top: 10px; line-height: 1.55; max-width: 62ch; }
.insight-arrow { font-size: 20px; color: var(--blue); font-weight: 800; }

@media (max-width: 820px) {
    .insight-row { grid-template-columns: 1fr; gap: 12px; }
    .insight-arrow { display: none; }
}

/* ── CTA grande ── */
.big-cta-wrap { padding: 72px 0; }
.big-cta {
    background: var(--ink); color: var(--paper);
    border-radius: 28px; padding: clamp(40px, 6vw, 72px);
    position: relative; overflow: hidden;
}
.big-cta .eyebrow { color: var(--cyan); }
.big-cta h2 { font-size: clamp(36px, 5vw, 64px); margin: 16px 0 0; color: var(--paper); }
.big-cta p { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .7); margin-top: 20px; max-width: 580px; }
.big-cta-inner { max-width: 720px; position: relative; }
.big-cta-mark { position: absolute; right: -60px; bottom: -80px; width: 380px; opacity: .85; }
.big-cta .btn-ghost { color: var(--paper); border-color: rgba(255, 255, 255, .3); }
.big-cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* ── Contacto ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; }
.contact-grid .section-title { font-size: clamp(32px, 4.5vw, 56px); }
.contact-rows { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 14px; }
.contact-row .value { font-weight: 400; font-size: 17px; margin-top: 4px; overflow-wrap: anywhere; }

.form-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; gap: 8px; }
.field-optional { color: var(--mute); font-weight: 500; }
.field-error { color: #D4453B; font-weight: 500; display: none; }
.field.invalid .field-error { display: inline; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D4453B; }

.form-card input, .form-card select, .form-card textarea {
    width: 100%; padding: 12px 14px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--bg);
    font: inherit; color: inherit; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
    border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51, 122, 255, .16);
}
.form-card textarea { resize: vertical; min-height: 90px; }
.form-submit { justify-content: center; margin-top: 8px; padding: 16px 22px; font-size: 15px; }
.form-note { font-size: 12px; color: var(--mute); text-align: center; margin: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-success { padding: 56px; text-align: center; max-width: 640px; margin: 0 auto; }
.form-success .check { width: 64px; height: 64px; border-radius: 99px; background: var(--cyan); margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--ink); }
.form-success h2 { font-size: 36px; margin: 24px 0 0; }
.form-success p { color: var(--mute); margin-top: 12px; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ── Footer ── */
.footer-v2 { padding: 72px 0 32px; border-top: 1px solid var(--line); }
.footer-grid-v2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-desc { margin-top: 18px; font-size: 14px; color: var(--mute); max-width: 320px; line-height: 1.6; }
.foot-col ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { font-size: 14px; opacity: .85; overflow-wrap: anywhere; }
.foot-col a:hover { opacity: 1; color: var(--blue); }
.footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--mute); }

@media (max-width: 860px) { .footer-grid-v2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid-v2 { grid-template-columns: 1fr; } }

/* ── Barra fija móvil ── */
.mobile-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
    background: color-mix(in oklab, var(--cream) 88%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
}
.mobile-bar .btn { flex: 1; padding: 12px 14px; font-size: 14px; }
@media (max-width: 720px) {
    .mobile-bar { display: flex; }
    body { padding-bottom: 68px; }
    .container { padding: 0 20px; }
    .section { padding: 64px 0; }
}
@media (max-width: 540px) { .form-card { padding: 24px 20px; } }

/* Datos necesarios para el diagnóstico (sección contacto) */
.data-req { margin-top: 32px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.data-req-intro { margin: 10px 0 0; font-size: 15px; color: var(--ink-soft); }
.data-req-group { margin-top: 16px; }
.data-req-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); }
.data-req-tag.must { background: var(--cyan); border-color: var(--cyan); }
.data-req ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.data-req li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.45; }
.data-req li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 99px; background: var(--cyan); }
.data-req-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--mute); border-top: 1px solid var(--line); padding-top: 12px; }
.form-note a { color: var(--ink); text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════════════
   Portafolio S2P (lote 1): navegación por etapas, recorrido, dos modos,
   ANS, FAQ, planes y modalidades de mandato. Mismos tokens de arriba.
   ═══════════════════════════════════════════════════════════════════ */

/* Accesibilidad: foco visible y área táctil ≥ 44 px */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.nav-links a, .foot-col a { display: inline-block; padding: 10px 0; line-height: 24px; }
.nav-links { gap: 24px; }
.foot-col ul { gap: 0; }
.nav-cta { background: var(--blue); }
.nav-cta:hover { background: var(--blue-deep); }

/* ── Desplegable "Servicios" (5 etapas) ── */
.nav-dd { position: relative; }
.nav-dd-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; padding: 10px 0; margin: 0;
    font: inherit; font-size: 14px; line-height: 24px; color: inherit; opacity: .75;
}
.nav-dd-btn svg { width: 12px; height: 12px; transition: transform .18s ease; }
.nav-dd:hover .nav-dd-btn, .nav-dd.open .nav-dd-btn { opacity: 1; }
.nav-dd:hover .nav-dd-btn svg, .nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu {
    display: none; position: absolute; top: 100%; left: -14px; z-index: 60;
    min-width: 360px; padding-top: 8px;
}
.nav-dd-menu::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { display: block; }
.nav-dd-panel {
    background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 8px;
    box-shadow: 0 24px 48px -24px rgba(11, 36, 71, .35);
}
.nav-dd-panel a {
    display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 10px;
    padding: 10px 12px; border-radius: 12px; line-height: 1.35; opacity: 1;
}
.nav-dd-panel a::after { display: none; }
.nav-dd-panel a:hover, .nav-dd-panel a:focus-visible { background: var(--cream); }
.nav-dd-num { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--blue-deep); font-variant-numeric: tabular-nums; padding-top: 3px; }
.nav-dd-panel strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.nav-dd-panel small { display: block; font-size: 12.5px; color: var(--mute); }
.nav-dd-all { grid-template-columns: 1fr !important; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px !important; color: var(--blue-deep); font-weight: 500; font-size: 13.5px; }

/* Menú móvil: grupo de etapas */
.mobile-menu { overflow-y: auto; }
.mobile-menu .mm-group { border-bottom: 1px solid var(--line); padding: 12px 0; }
.mobile-menu .mm-group > span { display: block; font-size: 22px; font-weight: 700; padding: 6px 0; }
.mobile-menu .mm-group a { display: block; font-size: 17px; font-weight: 500; border: none; padding: 10px 0 10px 18px; }
.mobile-menu .mm-group a small { display: block; font-size: 13px; font-weight: 400; color: var(--mute); }

/* ── Cabecera de página de etapa ── */
.stage-hero { padding: 36px 0 8px; }
.breadcrumb { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 13.5px; color: var(--mute); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 6px; opacity: .5; }
.breadcrumb a { display: inline-block; padding: 10px 0; line-height: 24px; }
.breadcrumb a:hover { color: var(--blue-deep); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.stage-kicker { margin-top: 18px; }
.stage-kicker .eyebrow { color: var(--blue-deep); }
.stage-hero h1 { font-size: clamp(36px, 5.2vw, 68px); margin: 12px 0 0; max-width: 18ch; }
.stage-hero .lede { max-width: 66ch; color: var(--ink-soft); }
.stage-section { padding: 56px 0; }
.stage-section h2, .h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 10px; }
.stage-section .sub { color: var(--mute); max-width: 64ch; margin: 0; line-height: 1.6; }

/* ── Recorrido de 5 etapas ── */
.journey { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.journey-step { position: relative; padding-right: 28px; display: flex; }
.journey-step:last-child { padding-right: 0; }
.journey-step::before { content: ""; position: absolute; right: 2px; top: 50%; width: 26px; height: 2px; background: var(--cyan); }
.journey-step::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: translateY(-50%) rotate(45deg); }
.journey-step:last-child::before, .journey-step:last-child::after { display: none; }
.journey-step a {
    display: flex; flex-direction: column; width: 100%;
    padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
    transition: transform .2s ease, border-color .2s ease;
}
.journey-step a:hover { transform: translateY(-4px); border-color: var(--blue); }
.journey-num { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .12em; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.journey-step h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 6px; }
.journey-step p { font-size: 14.5px; color: var(--mute); margin: 0 0 16px; line-height: 1.5; flex: 1; }
.journey-more { font-size: 13.5px; font-weight: 500; color: var(--blue-deep); }
.journey-step a:hover .journey-more { text-decoration: underline; }
@media (max-width: 1000px) {
    .journey { grid-template-columns: 1fr; }
    .journey-step { padding: 0 0 34px; }
    .journey-step:last-child { padding-bottom: 0; }
    .journey-step::before { right: auto; left: 34px; top: 100%; width: 2px; height: 34px; transform: translateY(-34px); }
    .journey-step::after { right: auto; left: 30px; top: calc(100% - 16px); transform: rotate(135deg); }
}

/* ── Dos formas de recorrerlo / Tú la operas · Nosotros la operamos ── */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.mode { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.mode.mode-vera { border-top-color: var(--cyan); }
.mode .eyebrow { color: var(--blue-deep); }
.mode.mode-vera .eyebrow { color: var(--ink); }
.mode h2, .mode h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 6px; line-height: 1.1; }
.mode-sub { color: var(--mute); font-size: 15px; margin: 0; line-height: 1.55; }
.mode ul { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mode li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; }
.mode li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 99px; background: var(--cyan); }
.mode.mode-vera li::before { background: var(--blue); }
.mode li strong { font-weight: 600; }
.mode-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); line-height: 1.55; }
.modes-note { margin: 18px 0 0; font-size: 15px; color: var(--ink-soft); }
.tag { display: inline-block; margin-left: 6px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--mute); vertical-align: middle; white-space: nowrap; }
.tag-plan { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
@media (max-width: 720px) { .modes { grid-template-columns: 1fr; } .mode { padding: 24px 20px; } }

/* ── Bloques de texto destacado ── */
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 18px; padding: 24px 28px; margin-top: 28px; }
.callout h2, .callout h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 8px; line-height: 1.25; }
.callout p { margin: 0; line-height: 1.6; font-size: 15.5px; }
.callout p + p { margin-top: 10px; }
.callout-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); border-left-color: var(--cyan); }
.callout-ink p { color: rgba(255, 255, 255, .82); }
.callout-ink .kpi { font-family: var(--font-display); font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; white-space: nowrap; }
.callout-quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
.deliverable { margin-top: 28px; background: var(--cream-2); border-radius: 18px; padding: 24px 28px; }
.deliverable h3 { font-size: 15px; font-weight: 700; letter-spacing: .02em; margin: 0 0 8px; }
.deliverable p { margin: 0; line-height: 1.6; font-size: 15.5px; }
.stage-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
@media (max-width: 720px) { .stage-cols { grid-template-columns: 1fr; } .callout, .deliverable { padding: 20px; } }

/* ── ANS ── */
.ans-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ans-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.ans-val { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ans-lab { display: block; font-size: 14px; color: var(--mute); line-height: 1.45; margin-top: 6px; }
.ans-note { font-size: 14px; color: var(--ink-soft); margin: 16px 0 0; line-height: 1.6; max-width: 70ch; }

/* ── FAQ (details nativo, sin JS) ── */
.faq { margin-top: 24px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 0; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--blue-deep); flex-shrink: 0; width: 28px; text-align: center; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 44px 20px 0; color: var(--ink-soft); line-height: 1.65; font-size: 15.5px; }
.faq .faq-a p { margin: 0; }

/* ── Siguiente etapa ── */
.next-stage { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--cream-2); border-radius: 22px; padding: 28px 32px; }
.next-stage p { margin: 6px 0 0; font-size: 18px; font-weight: 500; max-width: 48ch; }
@media (max-width: 720px) { .next-stage { padding: 22px 20px; } .next-stage .btn { width: 100%; } }

/* ── Tabla de planes (4 planes × 5 etapas) ──
   Escritorio: rejilla alineada por filas (como tabla). Móvil: tarjeta por plan. */
.plans { display: grid; grid-template-columns: 112px repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.plans-labels, .plan, .plan dl { display: contents; }
.plans-labels > div, .plan-head, .plan-row { padding: 16px 18px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.plans-labels > div { font-family: var(--font-display); font-weight: 800; font-size: 15px; background: var(--cream); }
.plans-labels > div:first-child, .plan-head { border-top: none; }
.plan-head { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.2; background: var(--cream); border-left: 1px solid var(--line); }
.plan-price { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--blue-deep); margin-top: 6px; }
.plan-row { border-left: 1px solid var(--line); margin: 0; }
.plan-row dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-row dd { margin: 0; }
.plan-row .none { color: var(--mute); }
.plan-row .hl { font-weight: 600; }
.plan-row .cupos { display: inline-block; background: var(--cyan); padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; margin-top: 4px; }
.plan-mid .plan-head { background: var(--ink); color: var(--paper); }
.plan-mid .plan-price { color: var(--cyan); }
.plans-notes { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--ink-soft); max-width: 78ch; }
.plans-notes p { margin: 0; line-height: 1.6; }
@media (max-width: 860px) {
    .plans { display: flex; flex-direction: column; gap: 14px; background: transparent; border: none; overflow: visible; }
    .plans-labels { display: none; }
    .plan { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
    .plan dl { display: block; margin: 0; }
    .plan-head { border-left: none; padding: 16px 18px; }
    .plan-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; border-left: none; padding: 12px 18px; }
    .plan-row dt { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink); }
}

/* ── Modalidades del mandato ── */
.mandate { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mandate li { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.mandate-num { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .12em; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.mandate h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0; line-height: 1.2; }
.mandate dl { margin: 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.mandate dt { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.mandate dd { margin: 2px 0 0; font-size: 15px; line-height: 1.5; }
.mandate dd.yes { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .mandate { grid-template-columns: 1fr; } }

/* ── Fuentes legales ── */
.sources { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sources li { padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; font-size: 15px; line-height: 1.55; }
.sources strong { font-weight: 600; display: block; margin-bottom: 2px; }

/* ── Cierre ── */
.scarcity { font-size: 14.5px; color: rgba(255, 255, 255, .7); margin-top: 14px; }

/* ── Lecturas de la etapa (servicios/<etapa>/) ── */
.lecturas { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px 32px; }
.lecturas li { border-top: 1px solid var(--line); padding-top: 14px; }
.lecturas a { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; line-height: 1.3; color: var(--fg); display: block; }
.lecturas a:hover { color: var(--blue); }
.lecturas p { font-size: 13.5px; color: var(--mute); line-height: 1.5; margin: 6px 0 0; }

/* ── Índice del blog: tarjetas ── */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filter-chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-weight: 600; font-size: 13.5px; transition: all .2s ease; }
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-grid--top { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .18s ease, border-color .18s ease; }
.post-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.post-card-meta .eyebrow { color: var(--blue); }
.post-card-meta span:last-child { font-size: 12px; color: var(--mute); }
.post-card h2, .post-card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; }
.post-card--top h2 { font-size: 21px; }
.post-card p { font-size: 13.5px; color: var(--mute); line-height: 1.55; margin: 0; }
.post-card:hover h2, .post-card:hover h3 { color: var(--blue); }

/* ── Tarjetas tipográficas del blog (sin bitmap; color por etapa) ── */
.post-tile { aspect-ratio: 16/9; display: grid; place-items: center; }
.post-tile span { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
.post-tile--analizar { background: var(--blue); color: #fff; }
.post-tile--abastecer { background: var(--cyan); color: var(--ink); }
.post-tile--homologar { background: var(--ink); color: #fff; }
.post-tile--ordenar { background: #1F5BD9; color: #fff; }
.post-tile--pagar { background: var(--cyan-soft); color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════════
   Rediseño sept 2026 — hub, etapas, /soluciones/ y /casos/
   ═══════════════════════════════════════════════════════════════════ */

/* ── Respuesta de entrada (bloque destacado del hero) ── */
.hero-answer { margin-top: 26px; max-width: 760px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 18px; padding: 22px 26px; }
.hero-answer p { margin: 0; font-size: 17.5px; line-height: 1.65; color: var(--ink-soft); }
.hero-ctas--stage { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 720px) { .hero-answer { padding: 18px 20px; } .hero-answer p { font-size: 16px; } }

/* ── Chips ── */
.chip { display: inline-block; font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.chip-navy { background: var(--cream); color: var(--ink); border: 1.5px solid var(--ink); }
.chip-soon { background: var(--cyan); color: var(--ink); }

/* ── Pasos numerados ── */
.pasos { list-style: none; counter-reset: paso; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.pasos li { counter-increment: paso; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px 22px 78px; }
.pasos li::before { content: counter(paso); position: absolute; left: 24px; top: 22px; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 36px; width: 36px; height: 36px; text-align: center; border-radius: 12px; background: var(--cream-2); color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.pasos li.paso-destacado { border-color: var(--blue); border-width: 2px; }
.pasos h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 6px; line-height: 1.3; }
.pasos p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.pasos p + p { margin-top: 8px; }
@media (max-width: 720px) { .pasos li { padding: 18px 18px 18px 62px; } .pasos li::before { left: 14px; top: 18px; } }

/* ── Tarjetas de reconocimiento (¿Te suena? / preguntas del CFO) ── */
.pain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.pain { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.pain h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 8px; line-height: 1.3; }
.pain p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 720px) { .pain-grid { grid-template-columns: 1fr; } .pain { padding: 20px; } }

/* ── Bloque destacado de sección (fondo distinto) ── */
.feature-block { margin-top: 28px; background: var(--cream-2); border-radius: 22px; padding: 34px 36px; }
.feature-block > h2, .feature-block > h3 { margin-top: 0; }
.feature-block .chip { margin-bottom: 14px; }
@media (max-width: 720px) { .feature-block { padding: 24px 20px; } }

/* ── Cifras ANS en navy (lima solo sobre tinta) ── */
.ans-list--ink li { background: var(--ink); border-color: var(--ink); }
.ans-list--ink .ans-val { color: var(--lime); }
.ans-list--ink .ans-lab { color: rgba(255, 255, 255, .78); }

/* ── Tarjetas de perfil (/soluciones/) ── */
.perfil-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.perfil { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 22px; padding: 28px; transition: transform .24s ease, border-color .24s ease; }
.perfil:hover { transform: translateY(-4px); border-color: var(--blue); }
.perfil h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.2; }
.perfil p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.perfil .frase { font-style: italic; color: var(--blue-deep); font-weight: 500; }
.perfil .perfil-go { margin-top: auto; padding-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--blue-deep); }
@media (max-width: 860px) { .perfil-grid { grid-template-columns: 1fr; } }

/* ── Casos (/casos/ y /servicios/abastecer/) ── */
.caso-bloque { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px; }
.caso-bloque .caso-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.caso-bloque .caso-head h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.caso-bloque h4 { font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--mute); margin: 18px 0 6px; }
.caso-bloque p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); }
.caso-resultado { display: inline-block; margin-top: 6px; background: var(--ink); color: var(--lime); font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; border-radius: 14px; padding: 10px 18px; }
.caso-resultado small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: 0; margin-top: 2px; }
@media (max-width: 720px) { .caso-bloque { padding: 22px 20px; } }

/* ── Lista de alivio (lo que no vas a tener que hacer) ── */
.alivio { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.alivio li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px 18px 52px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.alivio li::before { content: "✓"; position: absolute; left: 20px; top: 17px; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--blue-deep); }
.alivio strong { color: var(--ink); font-weight: 700; }

/* ── Rejilla de tres bloques cortos (por dónde se entra) ── */
.entra-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.entra { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; display: flex; flex-direction: column; }
.entra p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.entra strong { color: var(--ink); }
.entra a { margin-top: auto; padding-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--blue-deep); }
@media (max-width: 860px) { .entra-grid { grid-template-columns: 1fr; } }

/* ── Definiciones contractuales (/soluciones/cfo/ sección 4) ── */
.contrato { margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.contrato > div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.contrato dt { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; margin: 0 0 6px; }
.contrato dd { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); }

/* ── Tabla de planes del hub (3 planes × 7 filas) ── */
.plans--hub { grid-template-columns: minmax(120px, 200px) repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); }
.plans--hub .plan-row .si { font-weight: 600; }
