/* ============================================================
   KAIZUNA — Sistema de Diseño Institucional
   CSS único. No hay otro archivo de estilos.
   ============================================================ */

/* 1. TOKENS ------------------------------------------------- */
:root {
    /* Paleta */
    --azul-kaizuna: #145890;
    --verde-suave: #5A8259;
    --blanco-hueso: #FAF9F6;
    --beige-calido: #FAF9F6;
    /* Alias de blanco-hueso */
    --blanco: #FFFFFF;
    --oscuro: #1F2A37;
    --gris-suave: #E5E7EB;

    /* Bordes */
    --radius-placa: 2rem;
    --radius-card: 1rem;
    --radius-pill: 100px;

    /* Sombras */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.03);

    /* Tipografía */
    --font-heading: 'Crimson Pro', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --section-pad-v: clamp(1.2rem, 3.5vw, 2.5rem);
    --section-pad-h: clamp(1.25rem, 5vw, 5rem);
    --max-w: 1100px;
}

/* Lógica de Alternancia Automática */
main section:nth-of-type(odd) h1,
main section:nth-of-type(odd) h2 {
    color: var(--azul-kaizuna);
}

main section:nth-of-type(odd) .section-label {
    color: var(--verde-suave);
}

main section:nth-of-type(even) h1,
main section:nth-of-type(even) h2 {
    color: var(--verde-suave);
}

main section:nth-of-type(even) .section-label {
    color: var(--azul-kaizuna);
}

/* Ajustes de tarjetas por bloque */
main section:nth-of-type(odd) {
    --card-1-bg: #F1F7F1;
    --card-2-bg: #F0F4F8;
    --card-1-accent: var(--verde-suave);
    --card-2-accent: var(--azul-kaizuna);
}

main section:nth-of-type(even) {
    --card-1-bg: #F0F4F8;
    --card-2-bg: #F1F7F1;
    --card-1-accent: var(--azul-kaizuna);
    --card-2-accent: var(--verde-suave);
}

/* 2. RESET + BASE ------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--beige-calido);
    font-family: var(--font-body);
    color: var(--oscuro);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
.heading {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 3. UTILIDADES -------------------------------------------- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: var(--section-pad-h);
    padding-right: var(--section-pad-h);
}

.section-pad {
    padding-top: var(--section-pad-v);
    padding-bottom: var(--section-pad-v);
}

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

.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 1rem;
    /* Reducido de 1.5rem */
}

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

.bg-bone {
    background-color: var(--beige-calido);
}

.bg-beige {
    background-color: var(--beige-calido);
}

.text-azul {
    color: var(--azul-kaizuna);
}

.text-verde {
    color: var(--verde-suave);
}

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

.font-serif {
    font-family: var(--font-heading);
}

.font-sans {
    font-family: var(--font-body);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

/* 4. ANIMACIONES ------------------------------------------- */
@keyframes float {

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

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up {
    animation: fadeIn 0.8s ease-out forwards;
}

/* 4. BOTONES ----------------------------------------------- */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary {
    background-color: var(--verde-suave);
    color: var(--blanco);
}

.btn-primary:hover {
    background-color: #4c6d4b;
    /* Un verde un poco más intenso y oscuro */
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(90, 130, 89, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--verde-suave);
    border: 1.5px solid var(--verde-suave);
}

.btn-secondary:hover {
    background-color: rgba(127, 183, 126, 0.05);
    transform: translateY(-2px);
}

/* 5. HEADER ------------------------------------------ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.8);
    /* White translucent */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--gris-suave);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo-k img {
    height: 60px;
    width: auto;
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--azul-kaizuna);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    background: rgba(47, 93, 140, 0.06);
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--azul-kaizuna);
    cursor: pointer;
}

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

    .hamburger-btn {
        display: block;
    }
}

/* Mobile overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--blanco);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--azul-kaizuna);
}

.mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
}

/* 6. HERO -------------------------------------------------- */
#inicio {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

#inicio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero/fondo_1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    /* Volviendo al 25% según preferencia visual */
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.hero-copy {
    max-width: 800px;
    text-align: left;
}

@media (max-width: 900px) {
    .hero-inner {
        padding: 3rem 0;
    }

    .hero-copy {
        text-align: left;
        /* Mantenemos la alineación a la izquierda como pedido */
    }
}

/* 7. ANIMACIONES / REVEAL ----------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out both;
}

.animate-up-2 {
    animation: fadeInUp 0.8s 0.2s ease-out both;
}

.animate-up-3 {
    animation: fadeInUp 0.8s 0.4s ease-out both;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* 8. FORMS ------------------------------------------------- */
.form-card {
    background: var(--blanco);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gris-suave);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--verde-suave);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--gris-suave);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--azul-kaizuna);
}

/* 9. RESPONSIVE ADJUSTMENTS --------------------------------- */
@media (max-width: 768px) {
    .que-hacemos-content {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .nosotros-main {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .nosotros-dupla {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .site-footer .container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .site-footer div {
        text-align: center !important;
    }

    .footer-tagline {
        margin: 0 auto !important;
    }

    .footer-copy {
        text-align: center !important;
    }

    .form-card {
        padding: 1.5rem !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .clientes-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* 10. PILLARS / CARDS -------------------------------------- */
.pillars-grid {
    display: flex;
    justify-content: center;
    /* Centrar placas si hay espacio (PC) */
    gap: 1rem;
    margin-top: 1.5rem;
    overflow-x: auto;
    padding: 1rem var(--section-pad-h) 2.5rem;
    /* Padding lateral para que no corte contra el borde */
    margin-left: calc(-1 * var(--section-pad-h));
    margin-right: calc(-1 * var(--section-pad-h));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.pillars-grid::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .pillars-grid {
        justify-content: flex-start;
    }
}

.pillar-card {
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: var(--blanco);
    padding: 2.5rem;
    border-radius: var(--radius-placa);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

/* Colores específicos para cada tarjeta (ahora usando variables alternas) */
.pillar-card:nth-child(1) {
    background-color: var(--card-1-bg);
}

.pillar-card:nth-child(2) {
    background-color: var(--card-2-bg);
}

.pillar-card:nth-child(3) {
    background-color: #F9F5F0;
}

/* Beige queda igual */

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.pillar-card h3 {
    color: var(--azul-kaizuna);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    /* Reducido de 1.25rem */
    font-weight: 600;
    line-height: 1.3;
}

.pillar-card p {
    color: var(--oscuro);
    opacity: 0.85;
    margin-bottom: 1.25rem;
    /* Reducido de 2rem */
    line-height: 1.6;
    font-size: 0.95rem;
}

.pillar-list {
    list-style: none;
    margin-top: 0.5rem;
    /* Removido margin-top: auto para subir la lista */
}

.pillar-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.pillar-list li span {
    color: var(--verde-suave);
    font-weight: 700;
    flex-shrink: 0;
}

/* Ajuste de color de checkmarks según el tema de la tarjeta */
.pillar-card:nth-child(1) .pillar-list li span {
    color: var(--card-1-accent);
}

.pillar-card:nth-child(2) .pillar-list li span {
    color: var(--card-2-accent);
}

@media (max-width: 768px) {
    .pillar-card {
        flex: 0 0 65vw;
        /* Ajustado para que la siguiente placa asome por la derecha */
        max-width: 320px;
    }
}

/* 11. BOTÓN WHATSAPP FLOTANTE -------------------------------- */
.float-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    overflow: hidden;
}

.float-wa:hover {
    transform: scale(1.1) rotate(5deg);
}

.float-wa img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .float-wa {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 54px;
        height: 54px;
    }
}

/* 12. TIMELINE --------------------------------------------- */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: var(--gris-suave);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    text-align: left;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--azul-kaizuna);
}

.timeline-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.timeline-num {
    font-size: 0.85rem;
    color: var(--verde-suave);
    font-weight: 600;
}

.timeline-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.timeline-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 0.4rem;
    padding-left: 1.9rem;
}

/* 14. RECURSO PREVIEW & MODAL ------------------------------- */
.recurso-preview-wrapper {
    margin: 1.5rem auto;
    max-width: 280px;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recurso-preview-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.recurso-preview-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.recurso-preview-wrapper::after {
    content: "🔍 Ver";
    position: absolute;
    inset: 0;
    background: rgba(20, 88, 144, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recurso-preview-wrapper:hover::after {
    opacity: 1;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--oscuro);
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.modal-close:hover {
    transform: scale(1.1);
}

/* 15. ICONOS DE CASO REAL ---------------------------------- */
.icon-list {
    list-style: none;
    margin-top: 2rem;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.icon-outer {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-inner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Estilo Error (Qué pasaba antes) */
.icon-error-outer {
    background-color: rgba(47, 93, 140, 0.08);
    /* Azul muy tenue y transparente */
}

.icon-error-inner {
    background-color: var(--azul-kaizuna);
    color: #FFFFFF;
    /* X en blanco puro para máximo contraste */
    font-size: 0.9rem;
    line-height: 1;
}

/* Estilo Success (La Solución) */
.icon-success-outer {
    background-color: rgba(127, 183, 126, 0.12);
    /* Verde muy tenue */
}

.icon-success-inner {
    background-color: var(--verde-suave);
    color: #FFFFFF;
}

/* ============================================================
   KAIZUNA — CASOS REALES (PÁGINAS HIJAS)
   ============================================================ */

.case-hero {
    padding: 8rem 0 4rem;
    /* Aumentado de 6rem para compensar el header fijo */
    background: var(--blanco);
}

.case-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Ajustado para mejor balance visual */
    gap: 4rem;
    align-items: center;
}

.case-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.case-label {
    color: var(--verde-suave);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.case-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--azul-kaizuna);
}

.case-description {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.section-split {
    padding: 2.5rem 0;
}

.section-split.alt {
    background: var(--blanco);
}

.results-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 1rem 0 2.5rem;
    margin-top: 3.5rem;
    /* Aumentado para que bajen respecto a la foto */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.results-grid::-webkit-scrollbar {
    display: none;
}

.result-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--blanco);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.result-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.cta-final {
    padding: 3rem 0;
    text-align: center;
    background: var(--blanco);
}

.cta-heart {
    font-size: 2.5rem;
    color: #EF4444;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 991px) {
    .case-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 850px) {
    .case-hero {
        padding: 9rem 0 3rem;
    }

    /* Diseño split global para todas las grillas de caso en móvil/tablet */
    .case-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
    }

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

    .case-hero .case-grid {
        grid-template-columns: 1fr 0.8fr;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1.1fr 0.9fr !important;
        gap: 1.5rem;
        align-items: center;
    }

    .case-title {
        font-size: 1.8rem !important;
    }

    .case-description, .case-footer-phrase {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .mockup-img {
        margin-top: 0 !important;
    }

    .results-grid {
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .result-card {
        flex: 0 0 75vw;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .case-hero {
        padding: 7rem 0 2rem;
    }

    /* Hero específica: Título arriba, luego split descripción e imagen */
    .case-hero .case-grid {
        display: grid;
        grid-template-areas:
            "title title"
            "desc img";
        grid-template-columns: 1.1fr 0.9fr;
        gap: 0.5rem 1rem;
    }

    .case-hero .case-title {
        grid-area: title;
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .case-hero .case-description {
        grid-area: desc;
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .case-hero .btn {
        grid-area: desc;
        align-self: flex-end;
        margin-top: 0.5rem;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        width: fit-content;
    }

    .case-hero .mockup-img {
        grid-area: img;
        margin-top: 2rem;
        /* Bajar la foto respecto al título */
    }

    /* Otras secciones split en móvil */
    .case-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 1rem;
        align-items: center;
    }

    .section-split .mockup-img {
        margin-top: 0.5rem;
    }

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

    .case-label {
        margin-bottom: 0.2rem !important;
    }

    .case-title {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }

    /* Layout específico del Resultado */
    .result-layout {
        display: grid !important;
        grid-template-areas:
            "titles image"
            "carousel image";
        grid-template-columns: 1.2fr 0.8fr;
        gap: 2rem 4rem;
        align-items: center;
    }

    .result-titles {
        grid-area: titles;
    }

    .result-image {
        grid-area: image;
        align-self: center;
    }

    .result-carousel-container {
        grid-area: carousel;
    }

    @media (max-width: 850px) {
        .result-layout {
            grid-template-areas:
                "titles image"
                "carousel carousel" !important;
            grid-template-columns: 1fr 1.1fr;
            /* Más espacio para la foto */
            gap: 0.5rem 1rem;
            /* Menos margen vertical entre filas */
            align-items: flex-start;
        }

        .result-image img {
            margin-top: 0.5rem;
            max-height: 280px !important;
            /* Permitir que crezca un poco más en móvil */
        }
    }

    /* PÁRRAFOS DE CIERRE EN CASO REAL */
    .case-footer-phrase {
        max-width: 520px;
        margin-top: 1.5rem !important;
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        opacity: 0.9;
        text-align: left;
    }

    @media (max-width: 768px) {
        .case-footer-phrase {
            max-width: 100%;
        }
    }

    /* Listas generales en Caso Real (móvil) */
    .section-split ul {
        margin-top: 0.5rem !important;
    }

    .section-split li {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* CARRUSEL DE RESULTADOS PREMIUM */
    .carousel-overlay-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 10;
        padding: 0 0.5rem;
    }

    .nav-btn-overlay {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid var(--gris-suave);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--azul-kaizuna);
        pointer-events: auto;
        cursor: pointer;
    }

    .results-grid {
        display: flex;
        flex-direction: row;
        gap: 1.2rem;
        margin-top: 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0.5rem 1rem 1.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        scrollbar-width: none;
    }

    .results-grid::-webkit-scrollbar {
        display: none;
    }

    .result-card {
        flex: 0 0 52vw;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.6rem;
        padding: 1.5rem 1.2rem;
        /* Menos padding vertical */
        background: var(--blanco);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--gris-suave);
        min-height: 155px;
        /* Menos alta */
    }

    .result-icon {
        margin-bottom: 0.5rem !important;
        flex-shrink: 0;
    }

    .result-icon svg {
        width: 32px;
        height: 32px;
    }

    .result-card p {
        font-size: 1.1rem;
        font-weight: 500;
        line-height: 1.3;
        color: var(--azul-kaizuna);
        margin: 0;
        white-space: normal;
    }
}

/* 15. NEGOCIOS PAGE ---------------------------------------- */
.negocios-page {
    background-color: var(--blanco);
}

.negocios-hero {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
    text-align: center;
}

.negocios-hero .badge {
    background: #EBE9F9;
    color: #6358DC;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.negocios-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--azul-kaizuna);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.negocios-hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.negocios-case {
    padding: 2rem 0;
}

.negocios-case.case-1 { background-color: #F1F0FB; }
.negocios-case.case-2 { background-color: #F9F3EE; }

.negocios-case-inner {
    background: var(--blanco);
    border-radius: var(--radius-placa);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    overflow: hidden; /* Evitar que el contenido se escape de la placa */
}

.case-copy {
    min-width: 0; /* Permitir que el contenedor se encoja para el carrusel */
}

.case-badge {
    display: inline-block;
    background: #E5E7EB;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.negocios-case h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.negocios-case .case-desc {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.negocios-features {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
    padding-right: 2rem; /* Espacio al final del carrusel */
    cursor: grab;
    width: 100%;
}

.negocios-features::-webkit-scrollbar {
    display: none;
}

.feature-item {
    flex: 0 0 280px; /* Ancho más generoso */
    scroll-snap-align: start;
    background: rgba(0,0,0,0.02);
    padding: 1.8rem;
    border-radius: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(0,0,0,0.04);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.feature-icon-container {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.feature-item p {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.4;
}

.negocios-quote {
    background: rgba(0, 0, 0, 0.03);
    padding: 1.5rem 2rem;
    border-radius: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.3;
}

.negocios-quote .heart {
    color: #6358DC;
    font-size: 1.5rem;
    font-style: normal;
}

.case-mockups {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-main {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.negocios-cta {
    padding: 4rem 0;
    text-align: center;
}

.negocios-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 991px) {
    :root {
        --section-pad-h: 1rem; /* 5% más ancho aproximadamente (de 1.25rem/5vw a 1rem) */
    }

    .negocios-case-inner {
        grid-template-columns: 1fr;
        padding: 1rem; /* Aún menos padding para aprovechar el ancho */
        gap: 1.5rem;
        overflow: hidden;
    }

    .case-copy {
        min-width: 0;
        width: 100%;
    }
    
    .negocios-case h2 { font-size: 1.8rem; }
    
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        flex: 0 0 65vw; /* Ajustado para que siempre se vea la siguiente placa */
        max-width: 280px;
    }
}