/* ==========================================================================
   ESTILOS.CSS - VERSIÓN MAESTRA (Con Blog Integrado)
   ========================================================================== */

/* 1. VARIABLES */
:root {
    --t-blue: #2d68c4;
    --t-orange: #ff6740;
    --t-yellow: #ffaa0e;
    --t-pink: #f28dd2;
    --t-cream: #fcf5f5;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Libre Baskerville', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: #333; background: white; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; transition: 0.3s; color: inherit; }
img { max-width: 100%; display: block; }

/* 2. NAVEGACIÓN */
nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px; 
    z-index: 2000 !important;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid #f3f4f6; display: flex; align-items: center;
}
.nav-container {
    max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-img { height: 36px; width: auto; }
.nav-links { display: none; gap: 30px; align-items: center; } 
.nav-links a { font-weight: 700; font-size: 13px; color: #555; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover, .nav-links a.active { color: var(--t-blue); } /* Agregado .active */

.btn-nav {
    background: var(--t-blue); color: white !important; padding: 10px 28px;
    border-radius: 50px; font-weight: 800; font-size: 12px; text-transform: uppercase;
}
.btn-nav:hover { background: var(--t-orange); transform: translateY(-2px); }

.mobile-btn { display: block; background: none; border: none; color: var(--t-blue); cursor: pointer; }

/* 3. LAYOUT GENERAL */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
.pt-hero { padding-top: 140px; padding-bottom: 80px; }

/* Grillas Base (Móvil) */
.grid-12 { display: grid; grid-template-columns: 1fr; gap: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 30px; } /* Agregada grid-3 base */

/* 4. COMPONENTES */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; border-radius: 50px; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 1px;
    cursor: pointer; width: 100%; max-width: 300px;
}
.btn-primary { background: var(--t-blue); color: white; border: none; }
.btn-primary:hover { background: var(--t-orange); transform: translateY(-3px); }
.btn-outline { background: white; border: 2px solid #eee; color: var(--t-blue); }
.btn-outline:hover { border-color: var(--t-pink); color: var(--t-pink); }

.badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: white; border: 1px solid #eee; border-radius: 50px;
    font-size: 10px; font-weight: 800; text-transform: uppercase; color: #666; margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; background: var(--t-yellow); border-radius: 50%; }

/* TARJETAS */
.card {
    background: white; border-radius: 30px; padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f0f0f0;
    transition: 0.3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-10px); }

/* Tarjeta Vertical (Soluciones) */
.card-vertical .card-icon {
    width: 60px; height: 60px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; background: var(--t-cream); color: var(--t-blue); flex-shrink: 0;
}
.card-vertical p {
    font-family: var(--font-serif); color: #666; font-size: 1.05rem; font-weight: 500;
    margin-bottom: 30px; line-height: 1.6;
}
.card-vertical ul {
    list-style: none; padding: 0; margin-bottom: 30px; font-size: 14px; color: #666;
}
.card-vertical ul li { margin-bottom: 12px; }

/* Utlidades de negrita para listas */
.bold-blue { color: var(--t-blue); font-weight: 700; }
.bold-orange { color: var(--t-orange); font-weight: 700; }

/* Tarjeta Horizontal (Nosotros y Empresas) */
.card-horizontal {
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    gap: 20px; 
    padding: 25px; 
    text-align: left;
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    transition: 0.3s;
}

.card-horizontal:hover {
    border-color: var(--t-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-horizontal .card-icon {
    width: 50px; 
    height: 50px; 
    border-radius: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: white; 
    color: var(--t-blue); 
    flex-shrink: 0; 
    margin-bottom: 0;
}

/* Tipografía específica para tarjeta horizontal */
.horizontal-eyebrow {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 2px;
}

.horizontal-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

/* Compatibilidad con títulos viejos (h4, p) por si acaso */
.card-horizontal h4 { margin: 0 0 5px 0; font-size: 1.1rem; line-height: 1.2; }
.card-horizontal p { margin: 0; font-size: 0.9rem; line-height: 1.4; }

.border-top-blue { border-top: 5px solid var(--t-blue); }
.border-top-orange { border-top: 5px solid var(--t-orange); }

/* 5. SECCIONES (HERO, MARQUEE, STEPS, FORM) */
/* Hero */
.hero-talentio-editorial {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    background-color: var(--t-cream); 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* 120px de padding top para que tu Nav fijo de 80px no tape el texto */
    padding: 120px 24px 2rem 24px; 
    box-sizing: border-box;
    overflow: hidden;
}

/* --- TÍTULO GIGANTE Y MÁSCARA --- */
.content-editorial { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    flex-grow: 1; 
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.title-editorial { 
    margin: 0; 
    padding: 0; 
    display: flex; 
    flex-direction: column; 
}

.mask-editorial { 
    overflow: hidden; 
    display: block; 
    line-height: 0.95; 
}

.text-up {
    display: inline-block;
    font-size: clamp(2.5rem, 6.5vw, 6.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: var(--t-blue);
    transform: translateY(110%);
    animation: riseUpEditorial 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Retrasos para el efecto "escalera" */
.d-1 { animation-delay: 0.1s; }
.d-2 { animation-delay: 0.2s; }
.d-3 { animation-delay: 0.3s; }
.d-4 { animation-delay: 0.4s; }
.d-5 { animation-delay: 0.5s; }

/* Micro-interacciones (Hover) */
.hover-word-orange, .hover-word-pink { 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    display: inline-block; 
    cursor: default; 
}
.title-editorial:hover .hover-word-orange { color: var(--t-orange); transform: skewX(-10deg); }
.title-editorial:hover .hover-word-pink { color: var(--t-pink); transform: skewX(-10deg); }

/* --- BARRA INFERIOR --- */
.bottom-bar-editorial {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0; 
    animation: fadeInEditorial 1s ease forwards 1.2s;
    border-top: 2px solid rgba(45, 104, 196, 0.1); 
    padding-top: 1rem;
}

.bottom-col p { 
    margin: 0; 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: #666; 
}
.bottom-col.right { text-align: right; }

.btn-text-editorial { 
    display: block; 
    font-size: 1.2rem; 
    font-weight: 800; 
    color: var(--t-orange); 
    text-decoration: none; 
    margin-bottom: 5px; 
    transition: 0.3s; 
}
.btn-text-editorial:hover { color: var(--t-blue); }

.scroll-indicator-editorial { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #999; 
    font-weight: 700; 
}

/* --- ANIMACIONES --- */
@keyframes riseUpEditorial { 0% { transform: translateY(110%); } 100% { transform: translateY(0); } }
@keyframes fadeInEditorial { 0% { opacity: 0; } 100% { opacity: 1; } }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero-talentio-editorial { 
        padding: 120px 24px 1.5rem 24px; 
        justify-content: center; 
        gap: 40px;
    }
    .bottom-bar-editorial { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px;
    }
    .bottom-col.right { text-align: left; }
    .text-up { letter-spacing: -1px; }
}

/* Banner */
.marquee { 
    background: var(--t-blue); padding: 15px 0; overflow: hidden; white-space: nowrap; 
    position: relative; z-index: 1; 
}
.marquee-content { display: inline-block; animation: scroll 30s linear infinite; color: white; font-weight: 700; letter-spacing: 2px; }
.marquee-content span { margin: 0 30px; color: var(--t-yellow); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Metodología */
.bg-blue { background: var(--t-blue); color: white; }
.step-item {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 30px; border-radius: 20px; display: flex; gap: 20px; margin-bottom: 20px;
}
.step-number {
    width: 50px; height: 50px; background: var(--t-blue); border: 2px solid rgba(255,255,255,0.2);
    color: var(--t-yellow); font-weight: 900; font-size: 24px; display: flex; align-items: center; justify-content: center; border-radius: 15px; flex-shrink: 0;
}

/* Formulario General */
.bg-cream { background: var(--t-cream); }
.form-box { background: white; padding: 40px; border-radius: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.input-field {
    width: 100%; padding: 16px; border: 1px solid #eee; background: var(--t-cream);
    border-radius: 12px; margin-bottom: 16px; outline: none; font-family: inherit;
}
.input-field:focus { border-color: var(--t-blue); background: white; }

/* Menú Móvil */
#mobile-menu { 
    display: none; position: fixed; top: 80px; left: 0; width: 100%; 
    background: white; border-bottom: 1px solid #eee; padding: 20px; 
    text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    z-index: 1999 !important;
}
#mobile-menu a { display: block; padding: 15px; border-bottom: 1px solid #f9f9f9; font-weight: 700; color: #555; }

/* 6. UTILIDADES BASE */
.text-center { text-align: center; }
.text-blue { color: var(--t-blue); }
.text-orange { color: var(--t-orange); }
.text-gray { color: #666; }
.text-white { color: white !important; } /* Esto arregla el texto negro sobre azul */
.text-yellow { color: var(--t-yellow); }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-20 { gap: 20px; }
.h-full { height: 100%; }
.items-stretch { align-items: stretch !important; }
/* Nuevas utilidades */
.text-pink { color: var(--t-pink) !important; }
.text-2xl { font-size: 1.5rem; }
.resize-none { resize: none; }

/* 7. MODAL Y UTILIDADES JS */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
    z-index: 3000; /* Aumentado para estar sobre el nav */
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: white; padding: 40px; border-radius: 30px;
    max-width: 400px; width: 90%; text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95); transition: transform 0.3s ease; position: relative;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-icon-circle {
    width: 80px; height: 80px; background-color: #dcfce7;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto;
}
.modal-icon-svg { width: 40px; height: 40px; color: #22c55e; }
.hidden { display: none !important; }
.block { display: block !important; }
button:disabled { opacity: 0.7; cursor: not-allowed; }

/* 8. PÁGINA: NOSOTROS */
.hero-history { background: white; position: relative; padding-top: 140px; padding-bottom: 80px; z-index: 10; }
.hero-history-title { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.1; font-weight: 900; color: var(--t-blue); margin-bottom: 30px; }
.prose p { font-family: var(--font-serif); color: #666; font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }
.bg-blue-pattern {
    background-color: var(--t-blue);
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px; color: white;
}
.quote-box {
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px; border-radius: 30px; font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 1.4;
}
.team-card {
    background: white; border: 1px solid #eee; padding: 40px; border-radius: 30px; text-align: center; transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.team-img {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--t-cream); margin: 0 auto 20px;
}
.team-role {
    color: var(--t-orange); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; display: block;
}
.culture-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .culture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .culture-grid { grid-template-columns: repeat(3, 1fr); } }
.culture-card {
    background: white; padding: 30px; border-radius: 20px; border: 1px solid #f0f0f0; text-align: center; transition: 0.3s;
}
.culture-card:hover { border-color: var(--t-blue); transform: translateY(-3px); }
.cta-section { padding: 100px 0; text-align: center; border-top: 1px solid #eee; }

/* 9. PÁGINA: EMPRESAS */
.hero-corporate { background: white; position: relative; padding-top: 140px; padding-bottom: 80px; }
.corporate-card {
    background: white; border-radius: 30px; padding: 40px; border: 1px solid #f0f0f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: all 0.3s ease;
    position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column;
}
.corporate-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.corporate-card-border { position: absolute; top: 0; left: 0; width: 100%; height: 6px; }

.bg-blue { background-color: var(--t-blue); }
.bg-orange { background-color: var(--t-orange); }
.bg-dark { background-color: #334155; }
.bg-pink { background-color: var(--t-pink); }
.bg-green { background-color: #22c55e; }
.bg-yellow { background-color: var(--t-yellow); }

.corporate-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.icon-blue { background: #eff6ff; color: var(--t-blue); }
.icon-orange { background: #fff7ed; color: var(--t-orange); }
.icon-dark { background: #f1f5f9; color: #334155; }
.icon-pink { background: #fdf2f8; color: var(--t-pink); }
.icon-green { background: #f0fdf4; color: #22c55e; }
.icon-yellow { background: #fefce8; color: var(--t-yellow); }

.corporate-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--t-blue); margin-bottom: 15px; }
.corporate-card p { font-family: var(--font-serif); font-size: 0.95rem; color: #666; line-height: 1.5; }
.card-tag {
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    padding: 4px 10px; border-radius: 20px; background: #f3f4f6; color: #666;
    align-self: flex-start; margin-bottom: 15px; display: inline-block;
}
.tag-green { background: #dcfce7; color: #166534; }

/* 10. UTILIDADES EMPRESAS (NUEVO) */
.flex-between { display: flex; justify-content: space-between; align-items: flex-start; }
.section-eyebrow { display: block; font-size: 12px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; color: var(--t-blue); margin-bottom: 10px; }
.section-headline { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 900; color: var(--t-blue); line-height: 1.2; }

/* 11. PÁGINA: TALENTOS */
.talent-card-list { margin-top: auto; padding-top: 20px; border-top: 1px solid #f3f4f6; list-style: none; padding-left: 0; }
.talent-card-list li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #64748b; margin-bottom: 8px; }
.talent-card-list li svg { width: 16px; height: 16px; flex-shrink: 0; }
.icon-green-text { color: #22c55e; }
.manifesto-section { padding: 100px 0; text-align: center; background: white; }
.manifesto-quote {
    margin: 40px auto; padding: 30px; background: #fdf2f8;
    border-left: 4px solid var(--t-pink); border-radius: 0 15px 15px 0;
    font-family: var(--font-serif); font-style: italic; color: #444; max-width: 700px; text-align: center;
}

/* 12. LIMPIEZA FINAL Y UTILIDADES */
.bg-dot-pink { background-color: var(--t-pink); }
.bg-dot-blue { background-color: var(--t-blue); }
.bg-dot-orange { background-color: var(--t-orange); }
.highlight-text-orange {
    font-family: var(--font-serif); font-style: italic; color: var(--t-orange);
    border-bottom: 3px solid #ffaa0e;
}
.section-py-100 { padding: 100px 0; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-60 { margin-bottom: 60px; }
.mt-10 { margin-top: 10px; }
.mt-40 { margin-top: 40px; }
.text-container-centered {
    max-width: 700px; margin: 0 auto; color: #666;
    font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.8;
}
.grid-auto-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.col-centered { grid-column: span 12; max-width: 600px; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .col-centered { grid-column: 3 / span 8; } }
.bg-gray-light { background-color: #f9fafb; }
.border-top-light { border-top: 1px solid #eee; }
.btn-orange { background: var(--t-orange); color: white; border: none; }
.btn-orange:hover { background: var(--t-blue); }

/* 13. PÁGINA: CONTACTO (UNIFICADO) */
.hero-contact { padding-top: 160px; padding-bottom: 60px; text-align: center; background: white; }
.hero-contact h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: var(--t-blue);
    margin-bottom: 20px; line-height: 1.1;
}

/* Grilla de Tarjetas (4 elementos: 2x2 en desktop) */
.grid-contact-cards {
    display: grid; gap: 30px; max-width: 900px; margin: 0 auto 80px auto;
    grid-template-columns: 1fr; /* Mobile First: 1 col */
}

.contact-card {
    background: white; border: 1px solid #eee; border-radius: 30px;
    padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center;
    transition: 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%; justify-content: space-between;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--t-blue); }

/* Estilo de Iconos Contacto */
.icon-box-soft {
    width: 70px; height: 70px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.icon-box-soft svg { width: 34px; height: 34px; display: block; overflow: visible; }

/* Colores Pastel */
.soft-orange { background: #fff7ed; color: var(--t-orange); }
.soft-blue   { background: #eff6ff; color: var(--t-blue); }
.soft-pink   { background: #fdf2f8; color: var(--t-pink); }
.soft-yellow { background: #fefce8; color: var(--t-yellow); }

/* Tipografía Contacto */
.contact-card h3 {
    font-size: 1.25rem; font-weight: 800; color: var(--t-blue) !important; margin-bottom: 10px;
}
.contact-card p {
    font-family: var(--font-serif); color: #666; font-size: 0.95rem; margin-bottom: 20px;
}

/* Formulario Contacto */
.contact-form-section { background-color: var(--t-cream); padding: 100px 0; border-top: 1px solid #eee; }
.form-box-contact {
    background: white; padding: 40px; border-radius: 40px;
    box-shadow: 0 20px 50px rgba(45, 104, 196, 0.15); position: relative; overflow: hidden;
}
.form-gradient-border {
    position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(to right, var(--t-blue), var(--t-pink), var(--t-orange));
}
.form-label {
    font-size: 11px; font-weight: 800; text-transform: uppercase; color: #999; display: block; margin-bottom: 5px;
}

/* Mapa */
.section-map { background-color: white; padding: 80px 0; }
.map-wrapper {
    width: 100%; height: 450px; background: #f0f0f0; border-radius: 30px;
    overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Media Queries Contacto */
@media (min-width: 700px) {
    .grid-contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .map-wrapper { height: 300px; }
    .grid-contact-cards { gap: 15px; margin-bottom: 40px; }
    .contact-card { padding: 25px 20px; border-radius: 20px; }
    .icon-box-soft { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 15px; }
    .icon-box-soft svg { width: 24px; height: 24px; }
    .contact-card h3 { font-size: 1.1rem; margin-bottom: 5px; }
    .contact-card p { font-size: 0.9rem; margin-bottom: 15px; }
    .contact-card .btn-outline { padding: 10px 20px; font-size: 11px; width: 100%; }
}

/* 14. MEDIA QUERIES GLOBALES (DESKTOP) */
@media (min-width: 1024px) {
    .nav-links { display: flex; }
    .mobile-btn { display: none; }
    /* 👇 LÍNEA AGREGADA: Oculta el menú móvil en PC siempre 👇 */
    #mobile-menu { display: none !important; }
    .hero-img { margin-top: 0; max-width: 100%; }
    .grid-12 { grid-template-columns: repeat(12, 1fr); gap: 60px; }
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .col-span-5 { grid-column: span 5; }
    .col-span-6 { grid-column: span 6; }
    .col-span-7 { grid-column: span 7; }
    .text-left-lg { text-align: left; }
    .justify-start-lg { justify-content: flex-start; }
    .hero-buttons { flex-direction: row; justify-content: flex-start; }
    .btn { width: auto; }
    .sticky-col { position: sticky; top: 120px; align-self: start; }
}

/* ==========================================================================
   15. PÁGINA: BLOG Y ARTÍCULOS (NUEVO)
   ========================================================================== */

/* Encabezado del Blog */
.blog-header {
    background-color: var(--t-blue);
    padding: 100px 0;
    text-align: center;
    color: white;
}

/* Tarjeta de Blog */
.blog-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--t-blue);
}
.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #f0f0f0;
}
.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Etiquetas */
.blog-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}
.tag-empresas { color: var(--t-blue); }
.tag-talentos { color: var(--t-orange); }

/* ==========================================================================
   TARJETAS DE BLOG (VERSIÓN MINIMALISTA - SIN FOTOS)
   ========================================================================== */

.blog-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px; /* Más espacio interno para que respire */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

/* Línea de color superior (Barra decorativa) */
.blog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: #ccc; /* Color por defecto */
    transition: 0.3s;
}

/* Colores según categoría */
.card-talentos::before { background: var(--t-orange); }
.card-empresas::before { background: var(--t-blue); }

/* Efecto Hover: Sube y la sombra crece */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--t-blue);
}

.blog-content {
    padding: 0; /* Ya no necesitamos padding extra porque lo tiene la card */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.tag-empresas { color: var(--t-blue); }
.tag-talentos { color: var(--t-orange); }

.blog-title {
    font-size: 1.4rem; /* Título más grande para compensar falta de foto */
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
    text-decoration: none;
    display: block;
}

.blog-title:hover { color: var(--t-blue); }

.blog-excerpt {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Página de Artículo Individual */
.article-container {
    max-width: 800px;
    margin: 0 auto;
}
.article-meta {
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cuerpo del texto del artículo */
.article-body {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}
.article-body h2 {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--t-blue);
    margin-top: 50px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.article-body h3 {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-top: 40px;
    margin-bottom: 15px;
}
.article-body p { margin-bottom: 25px; }
.article-body ul {
    margin-bottom: 30px;
    padding-left: 20px;
    list-style-type: disc;
}
.article-body li { margin-bottom: 10px; }

/* Caja Destacada dentro del artículo */
.highlight-box {
    background-color: var(--t-cream);
    border-left: 4px solid var(--t-orange);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 15px 15px 0;
}

/* ==========================================================================
   FIX IMAGEN NOSOTROS (Móvil) - LIMPIO
   ========================================================================== */

/* 1. MÓVIL: Forzamos que sea pequeña (280px) */
.hero-history img {
    width: 100%;
    max-width: 280px !important;
    height: auto;
    display: block;
    margin: 30px auto; 
    border-radius: 40px;
    border: 6px solid white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: rotate(-2deg); 
}

/* 2. ESCRITORIO: Permitimos que crezca de nuevo */
@media (min-width: 1024px) {
    .hero-history img {
        max-width: 100% !important; 
        margin: 0;
        transform: rotate(2deg); 
    }
}

/* ==========================================================================
   PÁGINA ERROR 404
   ========================================================================== */

.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--t-cream);
    text-align: center;
    padding: 20px;
}

.title-404 {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900;
    color: var(--t-blue);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.subtitle-404 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.desc-404 {
    font-family: var(--font-serif);
    color: #666;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px auto;
}

.icon-404-wrapper {
    margin-bottom: 20px;
    color: var(--t-orange);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.buttons-404 {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   LIMPIEZA FINAL (Artículos y Footer)
   ========================================================================== */

/* Botón pequeño "Volver" */
.btn-sm {
    padding: 8px 20px;
    font-size: 11px;
}

/* Título específico de artículo (más chico que el de la Home) */
.article-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 0;
}

/* Textos dentro de la Caja Destacada */
.highlight-title {
    margin-top: 0;
    color: var(--t-orange);
    font-size: 1.2rem;
    font-weight: 800;
}

.highlight-text {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   SECCIÓN NEWSLETTER
   ========================================================================== */
.newsletter-section {
    background-color: white;
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
}

/* Checkbox de Términos */
.terms-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    margin-top: 10px;
}

.terms-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
}

.terms-text {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

.terms-text a {
    color: var(--t-blue);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .newsletter-input-group {
        flex-direction: column;
    }
    .newsletter-input-group .btn {
        max-width: 100%;
    }
}

/* ==========================================================================
   CIERRE DE ARTÍCULO (CTA FINAL)
   ========================================================================== */
.article-footer-cta {
    max-width: 700px;
    margin: 60px auto 0 auto;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.article-footer-cta h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--t-blue);
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-footer-cta p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Contenedor para centrar el botón sin que se estire */
.cta-button-container {
    display: flex;
    justify-content: center;
}

/* Utilidad para textos legales o micro-copy */
.text-xs { font-size: 11px; letter-spacing: 2px; }

/* Ajuste Maestro para la Cinta de Logos */
.marquee {
    width: 100%;
    overflow: hidden;
    background: white;
    padding: 40px 0;
    display: flex;
}

.marquee-content {
    display: flex;
    gap: 80px; /* Espacio generoso entre logos */
    animation: scroll 30s linear infinite;
    align-items: center; /* Centra los logos verticalmente */
}

.client-logo {
    height: 45px; /* Altura fija para todos */
    width: auto;   /* El ancho se ajusta solo para no deformarse */
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
    flex-shrink: 0; /* Evita que el navegador los aplaste */
}

/* Contenedor para el movimiento sutil */
.marquee-wrapper {
    display: flex;
    width: 100%;
}

.logo-grid-item {
    height: 70px; /* Tamaño mucho más visible */
    width: auto;
    margin: 0 60px; /* Espaciado equilibrado */
    filter: brightness(0) invert(1); /* Convierte cualquier logo a BLANCO puro para que resalte en el azul */
    opacity: 0.9;
    transition: 0.3s ease;
}

.logo-grid-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Animación fluida */
.marquee-content {
    display: flex;
    animation: scrollLogos 25s linear infinite;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   20. TESTIMONIOS EDITORIAL (SIN COMILLAS)
   ========================================================================== */

.testimonial-editorial {
    padding: 30px 30px 30px 25px; /* Padding izquierdo ajustado */
    border-radius: 0 20px 20px 0; /* Bordes redondeados solo a la derecha */
    border-left: 5px solid var(--t-pink); /* La línea elegante */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-editorial:hover {
    background: white; /* Efecto sutil al pasar el mouse */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateX(5px); /* Se mueve un poquito a la derecha */
}

/* Reutilizamos las clases de texto que ya creamos antes, 
   pero asegurate de que estén definidas así: */

.testimonial-text {
    font-family: var(--font-serif);
    font-style: italic;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 800;
    color: var(--t-blue);
    font-size: 1rem;
}

.testimonial-role {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-top: 2px;
}

/* ==========================================================================
   17. BOTONES Y ENLACES DEL BLOG
   ========================================================================== */

.blog-link {
    color: var(--t-orange);
    font-weight: 700;           /* Reemplaza a font-bold */
    text-transform: uppercase;  /* Reemplaza a uppercase */
    font-size: 11px;            /* Estaba en style inline */
    letter-spacing: 1px;        /* Estaba en style inline */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;      /* Necesario para la animación de movimiento */
}

.blog-link:hover {
    color: var(--t-blue);       /* Cambio de color al pasar el mouse */
    transform: translateX(5px); /* Pequeño desplazamiento a la derecha */
}

/* ==========================================================================
   19. SECCIÓN LOGOS (LIMPIEZA)
   ========================================================================== */

.section-clients {
    background-color: var(--t-blue); /* Reemplaza bg-blue */
    padding: 60px 0;                 /* Reemplaza el style="padding..." */
    overflow: hidden;                /* Reemplaza el style="overflow..." */
}

.clients-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.7); /* Reemplaza opacity-70 y text-white */
    font-size: 11px;                 /* Reemplaza text-xs */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    display: block;
}

/* ==========================================================================
   21. CALCULADORA DE VACACIONES (ESTILOS LIMPIOS)
   ========================================================================== */

/* Ajustes de Sección */
.section-calc {
    padding-top: 40px;
}

/* Formulario */
.calc-box {
    box-shadow: 0 20px 50px rgba(45, 104, 196, 0.15);
}

.calc-box-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.calc-help-text {
    font-size: 0.75rem;
    color: #666;
    margin-top: 10px;
}

.btn-full {
    width: 100%;
}

/* Placeholder (Estado vacío) */
.calc-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    min-height: 300px;
}

.calc-placeholder-content {
    opacity: 0.5;
}

.calc-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}

.calc-placeholder-text {
    font-weight: 700;
    color: #666;
}

/* Tarjetas de Resultados (Días y Dinero) */
.stat-card {
    padding: 30px;
    border-radius: 20px;
    text-align: left;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-number-sm {
    font-size: 2rem; /* Un poco más chico para que entre el precio */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Detalle de Liquidación */
.calc-detail-card {
    border: 1px solid #f3f4f6;
}

.calc-detail-title {
    font-weight: 700;
    color: var(--t-blue);
    margin-bottom: 20px;
}

.detail-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #666;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.text-green {
    color: #16a34a;
    font-weight: 700;
}

.calc-legal-note {
    margin-top: 30px;
    background-color: var(--t-cream);
    padding: 20px;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

/* Animación de Entrada */
#resultBox {
    animation: fadeInCalc 0.5s ease-out;
}

@keyframes fadeInCalc {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utilidades específicas para Mobile */
@media (max-width: 768px) {
    .stat-number { font-size: 2rem; }
    .stat-number-sm { font-size: 1.5rem; }
    .section-calc { padding-bottom: 40px; }
}

/* ==========================================================================
   22. AUDITORÍA IPC (ESTILOS LIMPIOS)
   ========================================================================== */

/* Navegación específica de herramientas */
.nav-separator {
    border-left: 1px solid #ddd;
    height: 20px;
    margin: 0 10px;
}

.nav-link-sm {
    font-size: 11px;
}

/* Ajustes de Tarjetas */
.stat-card-lg {
    padding: 40px;
    text-align: center;
}

.my-15 {
    margin: 15px 0;
}

/* Resultados de Auditoría (Colores dinámicos por clase) */
.result-win {
    background-color: #16a34a; /* Verde éxito */
    color: white;
}

.result-loss {
    background-color: var(--t-orange); /* Naranja alerta */
    color: white;
}

/* Fila de resumen en detalle */
.calc-summary-row {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   23. FOOTER PRINCIPAL
   ========================================================================== */

.main-footer {
    background-color: #f9fafb; /* Gris muy suave */
    border-top: 1px solid #eee;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr; /* Móvil: 1 columna */
    gap: 40px;
}

/* Marca */
.footer-logo {
    height: 35px;
    width: auto;
    margin-bottom: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.footer-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.85rem;
    max-width: 300px;
}

/* Títulos de Columna */
.footer-title {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--t-blue);
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

/* Listas de Enlaces */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--t-orange);
    padding-left: 5px; /* Pequeño movimiento al pasar el mouse */
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: 0.3s;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--t-blue);
    color: white;
    border-color: var(--t-blue);
    transform: translateY(-3px);
}

/* Textos Legales */
.copyright-text {
    font-size: 11px;
    color: #999;
}

.footer-legal {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

.legal-link {
    color: #999;
    text-decoration: underline;
}

.legal-link:hover {
    color: var(--t-blue);
}

/* Media Queries para Footer */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columnas */
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        /* Desktop: 4 columnas (La primera un poco más ancha) */
        grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    }
}

/* ==========================================================================
   FIX FOOTER MÓVIL (ACTUALIZADO)
   ========================================================================== */

@media (max-width: 767px) {
    .main-footer {
        padding: 40px 0;
        text-align: center;
    }

    .footer-grid {
        gap: 30px;
    }

    /* ACHICAMOS EL LOGO AQUÍ */
    .footer-logo {
        height: 25px; /* Era 35px en desktop */
        margin: 0 auto 20px auto;
    }

    .footer-desc {
        font-size: 0.8rem; /* Un pelín más chico el texto también */
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }
}

/* ==========================================================================
   24. PÁGINA LEGALES (MODO DOCUMENTO)
   ========================================================================== */

/* Fondo gris para la página legal */
.doc-mode {
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* La "Hoja" de papel */
.doc-card {
    background: white;
    max-width: 800px;
    width: 100%;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Tipografía específica para lectura legal */
.legal-content p {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.7;
}

.legal-content h3 {
    margin-top: 30px;
}

.legal-list {
    padding-left: 20px;
    margin-bottom: 20px;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: #555;
}

.legal-list li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Caja destacada para avisos importantes */
.legal-alert-box {
    background-color: var(--t-cream);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid var(--t-blue);
}

.legal-alert-box p {
    margin-bottom: 0;
    text-align: left; /* A veces el justify queda raro en cajas chicas */
}

/* Separadores */
.doc-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

/* Logo específico del documento */
.doc-logo {
    height: 40px;
    margin: 0 auto 20px auto;
    opacity: 0.8;
}

/* Ajustes Móviles */
@media (max-width: 768px) {
    .doc-mode {
        display: block; /* Quita el centrado vertical */
        padding: 0;
        background: white; /* En móvil se ve mejor full white */
    }
    .doc-card {
        box-shadow: none;
        border: none;
        padding: 30px 20px;
        border-radius: 0;
    }
}

/* ==========================================================================
   25. SECCIÓN CTA TIENDA (NUEVO)
   ========================================================================== */

.shop-cta-box {
    background-color: var(--t-blue);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(45, 104, 196, 0.2);
}

/* Decoraciones de fondo (Círculos abstractos) */
.shop-cta-decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 1; /* Fondo */
}

.decor-1 {
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--t-pink);
}

.decor-2 {
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: var(--t-orange);
}

/* Contenido del Banner */
.shop-cta-content {
    position: relative;
    z-index: 10; /* Frente */
}

.shop-cta-label {
    font-size: 12px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
    color: var(--t-yellow);
}

.shop-cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    color: white;
    margin-bottom: 20px;
}

.shop-cta-desc {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    color: white;
}

/* Ajuste específico para el botón dentro del banner */
.btn-cta-shop {
    max-width: 300px;
    margin: 0 auto;
    background-color: var(--t-orange);
    color: white;
    border: none;
    font-size: 13px;
}
.btn-cta-shop:hover {
    background-color: white;
    color: var(--t-orange);
}
/* ==========================================================================
   26. TIENDA ONLINE NIVEL DIOS (SHOP PRO)
   ========================================================================== */

/* 1. Fondo Dinámico y Estructura */
.shop-bg-pattern {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 47% 33%, hsl(216.09, 94%, 96%) 0, transparent 59%), 
        radial-gradient(at 82% 65%, hsl(21.79, 100%, 94%) 0, transparent 55%);
    background-attachment: fixed; /* Efecto parallax sutil */
}

.grid-gap-xl { gap: 40px; } /* Más aire entre tarjetas */
.align-center { align-items: center; } /* Centra verticalmente la tarjeta destacada */

/* 2. Tarjeta Base Pro (Hereda de corporate-card pero mejora) */
.shop-card {
    border: none; /* Sacamos el borde gris aburrido */
    padding: 0; /* Reseteamos padding para controlar header */
    overflow: visible; /* Permitimos que elementos salgan (como el badge) */
    box-shadow: 
        0 10px 30px -5px rgba(0,0,0,0.05),
        0 5px 15px -3px rgba(0,0,0,0.02); /* Sombra base suave */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transición con rebote premium */
    height: auto; /* Dejamos que crezcan según contenido */
    min-height: 550px; /* Altura mínima para uniformidad */
    background: rgba(255, 255, 255, 0.95); /* Casi blanco puro */
    backdrop-filter: blur(10px); /* Efecto cristal sutil */
}

/* Efecto Hover de Levitación */
.shop-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px -12px rgba(45, 104, 196, 0.15), /* Sombra azulada */
        0 10px 20px -5px rgba(45, 104, 196, 0.05);
}

/* 3. Header de Tarjeta (Color y Título) */
.shop-card-header {
    padding: 30px 30px 20px;
    border-radius: 30px 30px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Colores suaves de fondo para headers */
.bg-pink-soft { background: #fff0f7; }
.bg-blue-soft { background: #f0f7ff; }
.bg-green-soft { background: #f0fdf4; }
.bg-yellow-soft { background: #fffbeb; }
.text-yellow-dark { color: #b45309; }

.shop-card h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

/* 4. Precios */
.shop-price-box {
    padding: 10px 30px 20px;
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}
.currency { font-size: 1.5rem; font-weight: 600; color: #333; }
.amount { font-size: 3.5rem; font-weight: 900; color: #111; letter-spacing: -1px; line-height: 1; }
.period { color: #999; font-size: 1rem; margin-left: 5px; }

/* 5. Contenido Interno */
.shop-card > p, .shop-card > ul, .shop-card > div.mt-auto {
    padding-left: 30px;
    padding-right: 30px;
}
.shop-card > div.mt-auto { padding-bottom: 30px; }

.text-sm { font-size: 0.9rem; color: #666; line-height: 1.5; }
.font-medium { font-weight: 500; color: #444; }
.flex-grow { flex-grow: 1; }

/* Iconos de lista más gruesos */
.talent-card-list li svg { stroke-width: 3px; }

/* ==========================================================================
   LA JOYA DE LA CORONA: TARJETA DESTACADA (FEATURED)
   ========================================================================== */

/* Hacemos que la tarjeta destacada sea físicamente más grande */
@media (min-width: 1024px) {
    .shop-card-featured {
        transform: scale(1.08); /* 8% más grande por defecto */
        z-index: 10; /* Por encima de las otras */
        border: 2px solid var(--t-blue); /* Borde azul premium */
        box-shadow: 0 25px 50px -12px rgba(45, 104, 196, 0.2);
    }
    /* En hover crece aún más */
    .shop-card-featured:hover {
        transform: scale(1.12) translateY(-10px);
    }
}

/* Badge de "Más Elegido" */
.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--t-orange);
    color: white;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 8px 15px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 103, 64, 0.3);
    z-index: 20;
}

/* Lista de ítems destacados */
.featured-item {
    color: #333 !important; /* Texto más oscuro */
    font-weight: 600;
}
.icon-blue-text { color: var(--t-blue); }
.icon-orange-text { color: var(--t-orange); }

/* Ítem Bonus resaltado */
.highlight-li {
    background: #fff7ed;
    padding: 8px 12px;
    border-radius: 10px;
    margin: 10px -12px !important; /* Compensar padding */
    color: var(--t-orange) !important;
}

/* Botón con resplandor */
.btn-glow {
    box-shadow: 0 10px 25px rgba(255, 103, 64, 0.4);
    transition: 0.3s;
}
.btn-glow:hover {
    box-shadow: 0 15px 35px rgba(45, 104, 196, 0.5);
    transform: translateY(-3px) scale(1.02);
}

/* ==========================================================================
   28. CINTA DE TESTIMONIOS INFINITA
   ========================================================================== */

.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden; /* Oculta lo que sale de la pantalla */
}

.testimonial-track {
    display: flex;
    width: max-content; /* ESTE ES EL SECRETO: Permite que la cinta sea infinita */
    gap: 30px; /* Espacio entre tarjetas */
    padding: 20px 15px 40px 15px; /* Padding extra abajo para la sombra */
    animation: scrollTestimonios 40s linear infinite; /* Animación propia */
}

/* Frena la cinta cuando el usuario pone el mouse encima para leer */
.testimonial-track:hover {
    animation-play-state: paused;
}

/* Bloquea el tamaño de la tarjeta para que no se deforme */
.testimonial-item {
    width: 380px; 
    flex-shrink: 0; /* Prohíbe que el navegador las aplaste */
    white-space: normal; /* Permite que el texto baje de renglón */
}

/* El motor del movimiento (Animación propia para no pisar la de los logos) */
@keyframes scrollTestimonios {
    0% { transform: translateX(0); }
    /* -50% hace que se desplace exactamente hasta la mitad (donde empieza la copia) */
    /* El -15px compensa matemáticamente la mitad del 'gap' (30px/2) para que el loop no pegue tirones */
    100% { transform: translateX(calc(-50% - 15px)); } 
}

/* Ajuste automático para celulares */
@media (max-width: 768px) {
    .testimonial-item {
        width: 300px;
    }
}

/* Trampa para bots: invisible para humanos */
.hp-field {
    position: absolute;
    left: -5000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ==========================================================================
   SECCIÓN NOSOTROS: COMPRESIÓN TOTAL Y ESTILO EDITORIAL
   ========================================================================== */

.nosotros-iconos-wooow {
    background-color: #ffffff;
    padding: 60px 0; /* Aún más comprimido */
    font-family: var(--font-sans, 'Montserrat', sans-serif);
}

.iconos-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 24px;
}

.iconos-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; 
    gap: 40px; 
    align-items: center;
}

/* --- ESTILOS DE TEXTO (LO QUE FALTABA) --- */
.sobrio-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--t-orange);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.sobrio-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--t-blue);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.text-blue-italic {
    font-family: var(--font-serif, 'Libre Baskerville', serif);
    font-style: italic;
    font-weight: 400;
    color: var(--t-blue);
}

.sobrio-lead {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 25px;
    max-width: 440px;
}

.sobrio-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
    transition: 0.3s;
}

.sobrio-link:hover {
    color: var(--t-blue);
    border-bottom-color: var(--t-blue);
}

/* --- TARJETAS DERECHAS --- */
.iconos-right {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Super compacto */
}

.h-card-wooow {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background-color: #ffffff;
    padding: 22px 25px; /* Más chata */
    border-radius: 8px;
    border: 1px solid rgba(45, 104, 196, 0.08); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.02); 
    transition: all 0.3s ease;
}

.h-card-wooow:hover {
    transform: translateX(5px);
    border-color: rgba(45, 104, 196, 0.2);
}

.h-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: rgba(45, 104, 196, 0.05);
}

.h-card-title {
    font-family: var(--font-serif, 'Libre Baskerville', serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--t-blue);
    margin: 0 0 5px 0;
}

.h-card-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #666;
    margin: 0;
}

/* --- MOBILE --- */
@media (max-width: 992px) {
    .iconos-grid { grid-template-columns: 1fr; gap: 30px; }
    .nosotros-iconos-wooow { padding: 50px 0; }
}

/* ==========================================================================
   SECCIÓN SERVICIOS: DOSSIER COMPRIMIDO (-wooow)
   ========================================================================== */

.servicios-dossier-wooow .dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1000px; /* Centra las dos columnas y las mantiene compactas */
    margin: 0 auto;
}

.dossier-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- ENCABEZADO ASIMÉTRICO --- */
.dossier-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
    text-align: left;
}

.d-header-left { flex: 1; }
.d-header-right { flex: 1; max-width: 450px; }

.d-header-lead {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
    border-left: 2px solid var(--t-blue);
    padding-left: 20px;
}

/* --- GRILLA Y TARJETAS --- */
.dossier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dossier-col {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(45, 104, 196, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.dossier-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.d-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--t-blue);
    margin: 10px 0;
}

.d-tag {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--t-blue);
    background: rgba(45, 104, 196, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

.tag-naranja { color: var(--t-orange); background: rgba(255, 103, 64, 0.05); }

.d-desc { font-size: 0.85rem; color: #666; margin-bottom: 0; }

.d-divider {
    height: 1px;
    background: rgba(45, 104, 196, 0.1);
    margin: 20px 0;
}

.divider-naranja { background: rgba(255, 103, 64, 0.1); }

/* --- LISTAS --- */
.d-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1;
}

.d-list li {
    font-size: 0.88rem;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px dashed #f0f0f0;
    display: flex;
    align-items: center;
}

.d-list li::before {
    content: '+';
    margin-right: 10px;
    color: var(--t-blue);
    font-weight: 800;
}

.list-naranja li::before { color: var(--t-orange); }

.d-item-destacado { font-weight: 700; color: var(--t-blue) !important; }

/* --- BOTONES --- */
.d-btn {
    display: block;
    text-align: center;
    background: rgba(45, 104, 196, 0.05);
    color: var(--t-blue);
    padding: 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.d-btn:hover { background: var(--t-blue); color: white; }

.btn-naranja { color: var(--t-orange); background: rgba(255, 103, 64, 0.05); }
.btn-naranja:hover { background: var(--t-orange); color: white; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .dossier-header-inline { flex-direction: column; text-align: left; }
    .d-header-lead { border-left: none; padding-left: 0; }
    .dossier-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   LOOP Y CONTROL DE LÍNEAS - AJUSTE DE ESCALA MÓVIL
   ========================================================================== */

/* Fuerza que "define la + loop" no se separe en PC */
.inline-group {
    white-space: nowrap;
}

.pc-only { display: none; }

/* Contenedor del Loop Tipográfico */
.word-loop-container {
    display: inline-flex;
    flex-direction: column;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
    border-bottom: 2px solid var(--t-orange); /* Subrayado un poco más fino */
    margin-left: 8px;
}

.word-loop-inner {
    animation: slideWords 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}

.word-loop-inner span {
    display: flex;
    align-items: center;
    height: 1.2em;
    color: var(--t-orange);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Headline: Escala ajustada para no competir con el Hero */
.loop-headline {
    /* En PC se mantiene imponente pero controlado (max 3rem) */
    /* En móvil baja a 1.8rem para que sea un 'subtítulo' del Hero */
    font-size: clamp(1.8rem, 3.5vw, 3rem); 
    line-height: 1.1;
    margin-top: 15px;
    letter-spacing: -1px;
}

/* Animación de 5 palabras */
@keyframes slideWords {
    0%, 15% { transform: translateY(0); }
    20%, 35% { transform: translateY(-1.2em); }
    40%, 55% { transform: translateY(-2.4em); }
    60%, 75% { transform: translateY(-3.6em); }
    80%, 95% { transform: translateY(-4.8em); }
    100% { transform: translateY(-6.0em); }
}

/* Ajustes Desktop */
@media (min-width: 1024px) {
    .pc-only { display: block; }
    .nosotros-texto-wrapper { padding-top: 40px; } 
}

/* Ajustes Tablet/Móvil */
@media (max-width: 992px) {
    .inline-group { white-space: normal; }
    .loop-headline { 
        font-size: 1.8rem; /* Tamaño fijo para móvil para garantizar jerarquía */
        max-width: 90%; /* Evita que el texto toque los bordes */
    }
    .word-loop-container { 
        margin-left: 5px;
        border-bottom-width: 2px; /* Más fino en móvil */
    }
}

/* Estilo del link (Mantenemos tu base) */
.sobrio-link svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.sobrio-link:hover svg {
    transform: translateX(5px);
}

/* AJUSTES ESPECÍFICOS SECCIÓN EXPERTISE */

/* Asegura que las columnas de servicios no se peguen en desktop */
@media (min-width: 1024px) {
    #expertise .grid-2 {
        gap: 100px; /* Más aire entre el título sticky y los servicios */
    }
}

/* Estilo para los artículos dentro de la grilla de servicios */
#expertise .dossier-col {
    margin-bottom: 20px;
    height: 100%;
}

/* Testimonios: Asegura que el texto rote bien en la grilla-3 base */
.testimonial-editorial {
    transition: all 0.3s ease;
}

.testimonial-editorial:hover {
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(45, 104, 196, 0.08);
    transform: translateY(-5px);
}

.hero-talentio-editorial {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--t-blue);
    background-image: linear-gradient(rgba(10, 25, 47, 0.75), rgba(10, 25, 47, 0.75)), 
                      url('../portada-talentio-3.jpg');
    background-size: cover;
    background-position: center;
}

/* El título ya no necesita el style en línea */
.title-editorial {
    font-size: clamp(3rem, 7vw, 4.8rem);
    line-height: 0.85;
    letter-spacing: -2px;
    font-weight: 900;
}

/* SOLUCIÓN 2: Centrado perfecto solo para móviles */
@media (max-width: 768px) {
    /* Forzamos a la caja que contiene el texto a centrarse en el espacio libre */
    #portada .grid-12.flex-grow {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
