* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Bricolage Grotesque", sans-serif;
}

body {
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background: #0d1b2a;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    margin: auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #00b4d8;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: white;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #0d1b2a;
        width: 220px;
        height: 100vh;
        transform: translateX(100%);
        transition: 0.3s ease;
        padding-top: 30px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    nav.active {
        transform: translateX(0);
    }
}


/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url('img3.jpeg') center center / cover  no-repeat;
    color: white;
    display: flex;
    align-items: flex-end; /* 👈 BAJA EL CONTENIDO */
    justify-content: center;
    text-align: center;
    padding-bottom: 50px; /* separación del borde */
}

.hero-content {
    max-width: 900px;
}




.hero-boxes {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    width: 250px;
}

.box i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #00b4d8;
}

@media (max-width: 768px) {

    .hero {
        padding: 120px 15px 80px 15px;
        align-items: flex-end; /* 👈 BAJA EL CONTENIDO */

        padding-bottom: 50px; /* separación del borde */
    }

    .hero-boxes {
        grid-template-columns: 1fr; /* 👈 una sola columna */
        gap: 15px;
        width: 100%;
    }

    .box {
        width: 100%;
        padding: 25px 15px;
    }

    .box h3 {
        font-size: 18px;
    }

    .box p {
        font-size: 14px;
    }

    .box i {
        font-size: 36px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }
}


.hero-boxes {
    max-width: 100%;
}


/* ===== SERVICES ===== */
.services {
    padding: 80px 20px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


.service-card {
    background: white;
    padding: 40px 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 48px;
    color: #00b4d8;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}


/* ===== CONTACT ===== */
.contact {
    padding: 80px 20px;
    background: #0d1b2a;
    color: white;
    text-align: center;
}

form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

button {
    padding: 12px;
    background: #00b4d8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #0077b6;
}

/* ===== FOOTER ===== */
footer {
    background: black;
    color: white;
    text-align: center;
    padding: 15px;
}
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}
.about {
    padding: 80px 20px;
    background: #f8f9fa;
}

.about-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-img img {
    max-width: 100%;
    width: 450px;
    height: 500px;
    border-radius: 10px;
}

.text_acerca{
    text-align: justify;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
}
.brands {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.brand-slider {
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: center; /* 👈 CENTRA EL TRACK */
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll 30s linear infinite;
}

.brand-track img {
    height: 70px;
    object-fit: contain;
    opacity: 0.7;
    transition: 0.3s;
}

.brand-track img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-track img {
    max-width: 140px;
}


.contact-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img3.jpeg') center/cover;
    color: white;
    padding: 80px 20px;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.contact-form button {
    background: red;
    color: white;
    padding: 12px;
    border: none;
    width: 100%;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}
.footer {
    background: #111;
    color: white;
    padding-top: 50px;
}



.footer-container {
    display: flex;
    max-width: 1100px;
    margin: auto;
    justify-content: space-between;
    gap: 40px;
    padding: 20px;
    align-items: center; /* que no quede pegado abajo en móvil */

}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background: black;
    margin-top: 30px;
}
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;   /* 👈 cambia de fila a columna */
        align-items: center;      /* centra todo */
        text-align: center;
        gap: 30px;
    }

    .footer-about img {
        margin-bottom: 10px;
    }

    .footer-links ul {
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 8px;
    }
}
.footer-container > div {
    max-width: 300px;
}
@media (max-width: 768px) {

    .contact-container {
        flex-direction: column;
        gap: 25px;
    }

    .contact-form {
        width: 100%;
        padding: 25px 20px;
        border-radius: 10px;
    }

    .contact-form form {
        width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        font-size: 16px;      /* 👈 evita zoom raro en iPhone */
        padding: 14px;
        margin-bottom: 15px;
    }

    .contact-form textarea {
        min-height: 120px;
        resize: none;
    }

    .contact-form button {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .contact-info {
        text-align: center;
    }
}

.contact-form {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
