/* Reset básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables CSS */
:root {
    /* Colores principales */
    --primary: hsl(220, 85%, 57%);
    --primary-dark: hsl(220, 85%, 47%);
    --primary-light: hsl(220, 85%, 67%);

    /* Colores rojos */
    --red: hsl(0, 70%, 50%);
    --red-dark: hsl(0, 70%, 40%);
    --red-light: hsl(0, 70%, 60%);
    
    /* Colores de fondo */
    --background: hsl(0, 0%, 100%);
    --background-dark: hsl(220, 13%, 9%);
    --surface: hsl(220, 14%, 96%);
    --surface-dark: hsl(220, 13%, 14%);
    
    /* Texto */
    --text: hsl(220, 9%, 9%);
    --text-light: hsl(220, 5%, 65%);
    --text-white: hsl(0, 0%, 100%);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-red: linear-gradient(135deg, var(--red), var(--red-light));
    --gradient-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fuentes */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Bebas Neue', cursive;
}

/* Estilos globales */
body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-white);
    background: var(--background-dark);
    overflow-x: hidden;
}

/* Layout principal */
.main-container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/buses-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 2;
}

.content-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem;
}

/* Sección Hero */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.specialist-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.specialist-icon {
    width: 1rem;
    height: 1rem;
}

.main-title {
    font-family: var(--font-display);
    font-size: clamp(3.3rem, 8.8vw, 6.6rem);
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.title-highlight {
    color: var(--text-white);
    display: inline-block;
}

/* Sección de marcas */
.brands-section {
    margin: 4rem 0;
}

.brands-header {
    margin-bottom: 3rem;
}

.brands-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.brands-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.brand-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.brand-card:nth-child(1) { animation-delay: 0.1s; }
.brand-card:nth-child(2) { animation-delay: 0.2s; }
.brand-card:nth-child(3) { animation-delay: 0.3s; }
.brand-card:nth-child(4) { animation-delay: 0.4s; }
.brand-card:nth-child(5) { animation-delay: 0.5s; }

.brand-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-xl);
}

.brand-logo {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

/* Logos más grandes para FOTÓN y ZHONGTONG (card 2 y 3) */
.brand-card:nth-child(2) .brand-logo,
.brand-card:nth-child(3) .brand-logo {
    max-height: 72px; /* 60px + 20% = 72px */
    max-width: 120%; /* También aumenta el ancho permitido */
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-white);
    letter-spacing: 0.1em;
}

/* Botones CTA */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 200px;
}

.btn-hero {
    background: var(--gradient-red);
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.btn-minimal {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-minimal:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
/* AGREGAR ESTA REGLA DESPUÉS */
/* Ocultar botón "Llamar Ahora" en tablets y desktop */

@media (min-width: 768px) {
    .btn-minimal {
        display: none;
    }
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: var(--transition);
}

.btn-hero:hover .btn-icon.rotate {
    transform: rotate(12deg);
}

.btn-hero:hover .btn-icon.translate {
    transform: translateX(4px);
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--text-white);
}

.contact-icon {
    width: 1rem;
    height: 1rem;
}

.divider {
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.3);
    align-self: center;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .content-wrapper {
        padding: 3rem;
    }
    
    .cta-section {
        flex-direction: row;
        justify-content: center;
    }
    
    .contact-links {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
    }
    
    .brand-card:nth-child(4) {
        grid-column: 1;
    }
    
    .brand-card:nth-child(5) {
        grid-column: 3;
    }
}

@media (min-width: 1024px) {
    .content-wrapper {
        padding: 4rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 800px;
    }
    
    .brand-card:nth-child(4) {
        grid-column: auto;
    }
    
    .brand-card:nth-child(5) {
        grid-column: auto;
    }
}