:root {
    --bg-main: #0a0a0a;
    --bg-card: #141414;
    --primary: #ff001e;
    --primary-glow: rgba(255, 0, 30, 0.4);
    --text-light: #ffffff;
    --text-dim: #b3b3b3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 6px var(--primary-glow));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background: radial-gradient(circle, rgba(255,0,30,0.15) 0%, rgba(10,10,10,1) 70%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-secondary {
    border: 1px solid var(--primary);
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Secciones y Cards */
.section {
    padding: 5rem 10%;
}

.bg-alt {
    background-color: #0f0f0f;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--primary);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card, .service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.card:hover, .service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(255, 0, 30, 0.15);
}

.icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.check-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.check-list i {
    color: var(--primary);
    margin-right: 10px;
}

/* --- ESTILOS PARA EL CARRUSEL DE MARCAS --- */
.brands-section {
    padding: 3rem 0;
    background-color: var(--bg-card);
    border-top: 1px solid #222;
    overflow: hidden;
    position: relative;
}

.slider {
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.slide-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 30s linear infinite;
}

.slide-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.slide img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.slide img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}
/* ----------------------------------------- */

/* Botón flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #050505;
    border-top: 1px solid #222;
    color: var(--text-dim);
}

/* Estilos para los botones de redes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    gap: 20px; /* Espacio entre cada botón */
    width: 100%;
    margin-top: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;  /* Círculo más grande */
    height: 60px; /* Círculo más grande */
    background-color: var(--bg-card);
    color: var(--text-light);
    border: 1px solid #222;
    border-radius: 50%;
    font-size: 1.6rem; /* Tamaño del ícono de adentro más grande */
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* Video al final grande y centrado */
.hero-iframe {
    width: 80%;
    max-width: 750px; /* Ancho grande y elegante */
    height: 350px;    /* Altura proporcional para que se vea excelente */
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #222;
    box-shadow: 0 5px 30px rgba(255, 0, 30, 0.3);
}
/* Imagen Mision centrado */

.hero-logo {
    max-width:450px;   /* Hace que el logo no sea más ancho de 250px */
    height: auto;       /* Mantiene la proporción original de la imagen */
    margin-bottom: 20px; /* Espacio debajo del logo */
    display: block;     /* Ayuda a centrarlo si se usa margin: auto */
    margin-left: auto;
    margin-right: auto;
}
