:root {
    --primary-color: #10B981; /* Verde Esmeralda */
    --primary-dark: #059669; /* Verde Esmeralda oscuro */
    --secondary-color: #25D366; /* Verde WhatsApp */
    --secondary-dark: #1DB954; /* Verde WhatsApp oscuro */
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar-landing {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-landing.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0.35rem 0;
}

/* Aire extra a la izquierda del logo (además del padding del .container) */
.navbar-landing .navbar-brand {
    padding-left: 0.85rem;
    margin-left: 0.25rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.navbar-brand-logo {
    /* Casi la altura útil del navbar (padding vertical reducido) */
    height: clamp(50px, 14vw, 68px);
    width: auto;
    max-width: min(440px, 82vw);
    display: block;
    object-fit: contain;
    object-position: left center;
}

.mobile-sidebar-brand-logo {
    height: clamp(50px, 18vw, 68px);
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

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

.btn-register-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-register-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

/* Botón menú móvil (hamburguesa) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.menu-toggle:hover {
    color: var(--primary-color);
    background: var(--light-color);
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* Overlay menú móvil */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    display: block;
}

/* Sidebar móvil */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-sidebar.active {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
}

.mobile-sidebar-header {
    padding: 0.85rem 0.65rem 0.85rem 1.15rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.mobile-sidebar-header-logo {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0.35rem;
}

.mobile-sidebar-header .close-menu {
    flex-shrink: 0;
    align-self: center;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.close-menu:hover {
    color: var(--primary-color);
}

.mobile-sidebar-body {
    padding: 1rem 0;
}

.mobile-sidebar-body a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 1.25rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.mobile-sidebar-body a:hover,
.mobile-sidebar-body a.active {
    background: var(--light-color);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-sidebar-body a i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.mobile-sidebar-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 1.25rem;
}

@media (max-width: 768px) {
    .navbar-collapse {
        display: none !important;
    }
    .menu-toggle {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    .mobile-sidebar,
    .menu-overlay {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 50px;
        text-align: center;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/background.png') center/cover;
    opacity: 0.05;
    z-index: 0;
}

/* Capa sutil para mejorar legibilidad del texto sobre el hero */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.15);
}

/* Primer slide: título más corto para que quede en 2 líneas */
.hero .hero-h1-compact {
    font-size: 2.65rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .hero-h1-compact {
        font-size: 1.95rem;
    }
}

.hero p,
.hero .lead.hero-lead {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.98);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero .lead.hero-lead {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1.1rem;
    }
}

.cta-primary {
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: var(--primary-color);
    text-decoration: none;
}

/* Botones del hero: centrado vertical del texto */
.hero .btn,
.hero .cta-primary,
.hero .btn-outline-light,
.hero .hero-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.hero .hero-btn-outline {
    border-radius: 8px;
    border-width: 2px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-feature-icon {
    color: #ffffff;
}

.hero-feature-item span {
    color: #ffffff;
}

.hero-feature-item {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Hero Card */
.hero-why-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-why-title {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.hero-why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-why-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1); /* Verde Esmeralda con transparencia */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero-why-content h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Hero Slider (Carousel) - altura fija igual en todos los slides */
.hero-slider-agentes {
    position: relative;
    height: 740px;
}

.hero-slider-agentes .carousel-inner {
    position: relative;
    height: 100%;
}

.hero-slider-agentes .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider-agentes .carousel-fade .carousel-item.active {
    position: relative;
    opacity: 1;
    z-index: 1;
    height: 100%;
}

.hero-slide {
    height: 100%;
}

.hero-slide .hero {
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    padding: 200px 0 120px;
}

.hero-slide .hero .container {
    flex: 1;
}

/* Escritorio: lista simple sin caja */
.hero-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.hero-benefits-list li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.98);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-benefits-list li i {
    color: rgba(255,255,255,0.98);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Indicadores del carousel en forma de línea */
.hero-carousel-indicators {
    bottom: 20px;
    z-index: 5;
    gap: 8px;
}

.hero-carousel-indicators button {
    width: 28px;
    height: 3px;
    min-width: 28px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 2px;
    background: rgba(255,255,255,0.5) !important;
    opacity: 1;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.hero-carousel-indicators button.active {
    background: rgba(255,255,255,1) !important;
}

.hero-carousel-control {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.3);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-carousel-control:hover {
    background: rgba(255,255,255,0.35);
    opacity: 1;
}

.hero-carousel-control.carousel-control-prev { left: 16px; }
.hero-carousel-control.carousel-control-next { right: 16px; }

@media (max-width: 768px) {
    .hero-slider-agentes {
        height: auto;
        min-height: 750px;
    }
    .hero-slider-agentes .carousel-inner {
        min-height: 750px;
    }
    .hero-slider-agentes .carousel-fade .carousel-item,
    .hero-slider-agentes .carousel-fade .carousel-item.active {
        height: auto;
        min-height: 750px;
    }
    .hero-slide .hero {
        padding: 130px 1rem 80px;
        min-height: 750px;
        height: auto;
    }
    .hero-slide .hero .row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-slide .hero .row > .col-lg-7 {
        order: 1;
    }
    .hero-slide .hero .row > .col-lg-5 {
        order: 2;
        margin-top: 0.5rem;
    }
    .hero-slide .hero .hero-content {
        text-align: center;
        margin-bottom: 0 !important;
    }
    .hero-slide .hero h1 {
        font-size: 1.75rem !important;
        line-height: 1.25;
        margin-bottom: 1rem;
    }
    .hero-slide .hero .hero-h1-compact {
        font-size: 1.6rem !important;
    }
    .hero-slide .hero .lead.hero-lead {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    .hero-slide .hero .hero-benefits-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 0.75rem;
        padding: 0.875rem 1rem;
        margin-bottom: 1.25rem !important;
        max-width: 100%;
        width: 100%;
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    }
    .hero-slide .hero .hero-benefits-list li {
        margin-bottom: 0;
        font-size: 0.8rem;
        gap: 0.4rem;
    }
    .hero-slide .hero .hero-benefits-list li i {
        margin-top: 0.1rem;
        font-size: 0.75rem;
    }
    @media (max-width: 400px) {
        .hero-slide .hero .hero-benefits-list {
            grid-template-columns: 1fr;
        }
    }
    .hero-slide .hero .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: stretch;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        gap: 0.5rem;
    }
    .hero-slide .hero .hero-buttons .cta-primary {
        flex: 1.4 1 0 !important;
        min-width: 0;
        width: auto !important;
        justify-content: center;
        padding: 14px 12px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .hero-slide .hero .hero-buttons .hero-btn-outline {
        flex: 0.6 1 0 !important;
        min-width: 0;
        width: auto !important;
        justify-content: center;
        padding: 14px 12px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .hero-slide .hero .hero-why-card {
        margin: 0 auto;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }
    .hero-slide .hero .hero-why-card .card-body {
        padding: 1.25rem !important;
    }
    .hero-slide .hero .hero-why-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    .hero-slide .hero .hero-why-card .text-muted {
        font-size: 0.9rem !important;
    }
    .hero-carousel-control { display: none !important; }
    .hero-carousel-indicators { display: none !important; }
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: #f1f3f5; /* Un poco más oscuro que --light-color para marcar la sección */
}

/* Los 4 planes en una sola línea (sin que baje ninguno) */
.pricing-row-single {
    flex-wrap: nowrap;
}
.pricing-row-single .pricing-col {
    min-width: 0;
    flex: 0 0 25%;
    max-width: 25%;
}
@media (max-width: 991.98px) {
    .pricing-row-single {
        flex-wrap: wrap;
    }
    .pricing-row-single .pricing-col {
        flex: none;
        max-width: 100%;
    }
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12), 0 16px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.06);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Centrar el badge en la card */
.pricing-card-content {
    text-align: center;
}
.pricing-card-content .pricing-features {
    text-align: left;
}
.pricing-card-content .pricing-fee {
    text-align: center;
}

.pricing-badge.starter {
    background: rgba(37, 211, 102, 0.1); /* Verde WhatsApp con transparencia */
    color: var(--secondary-color);
}

.pricing-badge.pro {
    background: rgba(16, 185, 129, 0.1); /* Verde Esmeralda con transparencia */
    color: var(--primary-color);
}

.pricing-badge.business {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(37, 211, 102, 0.1) 100%); /* Gradiente Verde Esmeralda a Verde WhatsApp */
    color: var(--primary-color);
}

.pricing-badge.enterprise {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #6366f1;
}

.pricing-price .pricing-custom {
    display: block;
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin: 0.15rem 0;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}
.pricing-price:has(.pricing-custom) {
    margin: 0.35rem 0;
    text-align: center;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 1rem 0;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 2.0rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-fee {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 2.5rem;
}

.pricing-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.pricing-btn.starter {
    background: var(--secondary-color); /* Verde WhatsApp */
    color: white;
}

.pricing-btn.starter:hover {
    background: var(--secondary-dark);
}

.pricing-btn.pro {
    background: var(--primary-color); /* Verde Esmeralda */
    color: white;
}

.pricing-btn.pro:hover {
    background: var(--primary-dark);
}

.pricing-btn.business {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Gradiente Verde Esmeralda a Verde WhatsApp */
    color: white;
}

.pricing-btn.enterprise {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.pricing-btn.enterprise:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

/* Features Section (padding vertical completo; antes solo 100px arriba y 0 abajo) */
.features-section {
    padding: 5.5rem 0 6rem;
    margin-top: 2rem;
    background: white;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
}

/* How It Works Section (sin utilidades Bootstrap py-*: chocan con este padding) */
.how-it-works {
    padding: 5.5rem 0 6rem;
    margin-bottom: 0;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

@media (max-width: 768px) {
    .step-card {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        padding: 1rem 1.25rem;
    }
    .step-number {
        margin-bottom: 1rem;
    }
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 140px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer-landing {
    background: var(--dark-color);
    color: white;
    padding: 30px 0 20px;
}

.footer-landing-logo-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.footer-landing-logo {
    height: clamp(52px, 12vw, 64px);
    width: auto;
    max-width: min(340px, 100%);
    display: block;
    object-fit: contain;
    object-position: left center;
    /* Misma marca en blanco sobre fondo oscuro (SVG a color → monocromo claro) */
    filter: brightness(0) saturate(100%) invert(1);
}

.footer-landing-tagline {
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.6;
}

/* Enlaces (izq.) | columna Legal+Soporte (dcha. en móvil); en escritorio columnas separadas */
.footer-landing-enlaces-col {
    padding-right: 0.75rem;
}

.footer-landing-legal-soporte-wrap {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 1rem;
}

@media (max-width: 991.98px) {
    .footer-landing-legal-soporte-wrap .footer-landing-soporte-col {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

@media (min-width: 992px) {
    /* Una sola fila: evita que "Enlaces" salte debajo y quede más bajo que Legal/Soporte */
    .footer-landing-main-row.row {
        flex-wrap: nowrap;
        align-items: flex-start;
        --bs-gutter-y: 0;
    }

    .footer-landing-legal-soporte-wrap {
        display: contents;
        border: none;
        padding: 0;
    }

    .footer-landing-enlaces-col {
        padding-right: 1.25rem;
        margin-left: 2rem;
    }

    .footer-landing-legal-soporte-wrap .footer-landing-legal-col {
        padding-left: 0;
    }

    .footer-landing-main-row > .footer-landing-brand-col,
    .footer-landing-main-row > .footer-landing-enlaces-col,
    .footer-landing-main-row > .footer-landing-legal-col,
    .footer-landing-main-row > .footer-landing-links-spacer,
    .footer-landing-main-row > .footer-landing-soporte-col {
        min-width: 0;
    }
}

/* Móvil/tablet (< lg): marca col-12 centrada; enlaces+legal+soporte debajo */
@media (max-width: 991.98px) {
    .footer-landing-brand-col {
        text-align: center;
    }

    .footer-landing-brand {
        display: flex;
        justify-content: center;
    }

    .footer-landing-logo {
        object-position: center center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .footer-landing-tagline {
        text-align: center;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-landing-main-row > .footer-landing-enlaces-col {
        /* padding (no margin): no resta ancho a la col Legal/Soporte en el 50% + 50% */
        padding-left: 2rem;
        padding-right: 1rem;
        text-align: start;
    }

    /* Más aire en la columna Legal + Soporte (derecha en móvil) */
    .footer-landing-main-row > .footer-landing-legal-soporte-wrap {
        text-align: start;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 992px) {
    .footer-landing-brand-col {
        text-align: start;
    }

    .footer-landing-brand {
        display: flex;
        justify-content: flex-start;
    }

    .footer-landing-logo {
        object-position: left center;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-landing-tagline {
        text-align: start;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

@media (min-width: 992px) {
    .footer-landing .footer-col-soporte {
        text-align: left;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
}

/* Testimonios - estilo WordPress con imágenes escalonadas */
.testimonials-section {
    padding: 10px 0;
    background: var(--light-color);
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-inner {
    min-height: 0px;
}

.testimonial-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.testimonial-avatar-wrap {
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--dark-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid var(--primary-color);
    opacity: 0.9;
}

.testimonial-control:hover {
    background: var(--primary-color);
    opacity: 1;
}

.testimonial-control .carousel-control-prev-icon,
.testimonial-control .carousel-control-next-icon {
    filter: none;
}

/* Imágenes escalonadas - arriba del testimonio */
.testimonials-images-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.testimonial-stack-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    margin: 0 -8px;
}

.testimonial-stack-img:nth-child(1) { z-index: 1; }
.testimonial-stack-img:nth-child(2) { z-index: 2; width: 65px; height: 65px; }
.testimonial-stack-img:nth-child(3) { z-index: 3; width: 85px; height: 85px; }
.testimonial-stack-img:nth-child(4) { z-index: 2; width: 65px; height: 65px; }
.testimonial-stack-img:nth-child(5) { z-index: 1; }

.testimonial-stack-img.active {
    width: 90px !important;
    height: 90px !important;
    z-index: 5 !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.testimonial-stack-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .testimonials-section { padding: 40px 0; }
    .testimonial-quote { font-size: 1rem; }
    .testimonial-stack-img { width: 40px !important; height: 40px !important; }
    .testimonial-stack-img:nth-child(2),
    .testimonial-stack-img:nth-child(4) { width: 50px !important; height: 50px !important; }
    .testimonial-stack-img:nth-child(3),
    .testimonial-stack-img.active { width: 65px !important; height: 65px !important; }
}

/* Empresas */
.companies-section {
    padding: 70px 0;
    background: white;
}

.company-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.company-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    transform: translateY(-4px);
}

.company-card-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.company-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-initial {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.company-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.company-card-products {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.company-card-cta {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: auto;
}

.company-card-cta i {
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

@media (max-width: 768px) {
    .companies-section { padding: 40px 0; }
}

/* Página empresas */
.companies-page .companies-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.companies-page .companies-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.companies-page .companies-hero .lead {
    font-size: 1rem;
    opacity: 0.95;
}

.companies-list {
    padding: 60px 0 80px;
}

.company-card-full {
    padding: 2rem !important;
}

.company-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Sections: padding 0 en móvil */
@media (max-width: 768px) {
    .testimonials-section,
    .companies-section {
        padding: 0 !important;
    }

    .pricing-section {
        padding: 2.75rem 0 3.25rem !important;
    }

    .features-section {
        padding: 2.75rem 0 3.25rem !important;
        margin-top: 1.5rem !important;
    }

    .how-it-works {
        padding: 2.75rem 0 3.25rem !important;
        margin-top: 1.75rem !important;
    }
    .cta-section {
        padding: 80px 1rem !important;
    }
    .features-section .container,
    .pricing-section .container,
    .how-it-works .container,
    .cta-section .container,
    .testimonials-section .container,
    .companies-section .container {
        margin-top: 1.5rem;
    }
}