* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f172a;
    color: white;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ========== NAVBAR ========== */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    transition: 0.3s;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: #38bdf8 !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('/img/banner.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 20px 80px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

/* ========== BOTONES ========== */
.primary-btn,
.secondary-btn {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
    text-align: center;
}

.primary-btn {
    background: #38bdf8;
    color: white;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: #0ea5e9;
    color: white;
}

.secondary-btn {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    background: rgba(255,255,255,0.08);
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* ========== BENEFICIOS ========== */
.benefits-section {
    padding: 100px 0;
}

.benefit-card {
    margin-bottom: 80px;
}

.benefit-card:last-child {
    margin-bottom: 0;
}

.benefit-img {
    width: 100%;
    border-radius: 24px;
    height: 380px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.benefit-text h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.benefit-text p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ========== CTA SECTIONS ========== */
.cta-section {
    padding: 80px 0;
}

.cta-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

/* ========== BUSINESS LOGOS SCROLL ========== */
.businesses-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.7rem;
    margin-bottom: 10px;
}

.section-header p {
    color: rgba(255,255,255,0.7);
}

.business-scroll-container {
    height: 450px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.business-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: verticalScroll 18s linear infinite;
}

.business-scroll-track:hover {
    animation-play-state: paused;
}

.business-logo {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    transition: 0.3s;
}

.business-logo:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.02);
}

.business-logo img {
    width: 220px;
    height: 120px;
    object-fit: contain;
}

@keyframes verticalScroll {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

/* ========== FOOTER ========== */
.footer {
    margin-top: 100px;
    background: #020617;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    padding: 70px 0;
}

.footer-brand img {
    width: 60px;
    margin-bottom: 10px;
}

.footer-brand h3 {
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-socials h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a,
.footer-contact p {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    line-height: 1.9;
    display: block;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.social-icons a:hover {
    background: #38bdf8;
    transform: translateY(-3px);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.5);
}

/* ========== RESPONSIVE (solo lo que Bootstrap no cubre) ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        width: 100%;
        max-width: 280px;
    }

    .benefit-img {
        height: auto;
        max-height: 260px;
    }

    .benefit-text {
        text-align: center;
    }

    .benefit-text h2 {
        font-size: 1.8rem;
    }

    .benefit-text p {
        font-size: 0.98rem;
    }

    .cta-img {
        height: auto;
        max-height: 260px;
    }

    .cta-content {
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .business-scroll-container {
        height: 320px;
    }

    .business-logo img {
        width: 140px;
        height: 80px;
    }

    .footer-container {
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 10px auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links a {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-content {
        padding: 100px 15px 60px;
    }

    .benefits-section {
        padding: 60px 0;
    }

    .benefit-card {
        margin-bottom: 50px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .businesses-section {
        padding: 60px 0;
    }

    .footer {
        margin-top: 60px;
    }
}

/* Hero Row - imagen y título en horizontal *//* Hero Row - imagen que ocupa su contenedor */
.hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    flex-shrink: 0;
    width: auto;
    max-width: 100px;
}

.hero-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 0;
    font-weight: bold;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-top: 25px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-row {
        gap: 15px;
    }
    
    .hero-image-wrapper {
        max-width: 120px;
    }
    
    .hero-logo {
        max-width: 120px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero-image-wrapper {
        max-width: 90px;
    }
    
    .hero-logo {
        max-width: 90px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}