/* ==============================
   CONFIGURACIÓN GENERAL
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.6;
}


/* ==============================
   ENCABEZADO
================================ */

header {
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #e00000;
}

.logo img {
    width: 200px;
    height: auto;
    display: block;
    gap:0px;
    align-items: right;
}
.eslogan {
      color: white;
    font-size: 40px;
    font-weight: 600;
    border-left: 2px solid #e00000;
    padding-left: 05px;
    margin-left: 0;
}
/* ==============================
   MENÚ
================================ */

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    text-decoration: none;
    color: #c62828;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
}


/* ==============================
   PORTADA
================================ */

.hero {
    min-height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;

    background: linear-gradient(
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0)
    ),
    url("img/fondo.png") center/cover no-repeat;

    color: white;
}

.hero-contenido {
    max-width: 900px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}


/* ==============================
   BOTONES
================================ */

.boton {
    display: inline-block;

    background: #e00000;
    color: white;

    padding: 13px 28px;

    border-radius: 5px;

    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.boton:hover {
    background: #b00000;
    transform: translateY(-2px);
}


/* ==============================
   SECCIONES
================================ */

.seccion {
    padding: 100px 7%;
    text-align: center;
    background: white;
}

.seccion h2{
    font-size: 36px;
    margin-bottom: 15px;
    Color: #c62828;
}
.nosotros h2 {
    font-size: 36px;
    color: #111;
    margin-bottom: 15px;
}

.descripcion {
    max-width: 750px;
    margin: 0 auto 40px;
    color: #666;
}


/* ==============================
   SERVICIOS
================================ */

.servicios {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 25px;

    max-width: 1200px;

    margin: 40px auto 0;
}

.tarjeta {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 14px;
    border-top: 4px solid #c62828;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease,background-color 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: #d3d3d3;
}

.icono {
    font-size: 42px;
    margin-bottom: 18px;
}

.tarjeta h3 {
    color: #c62828;
    font-size: 21px;
    margin-bottom: 15px;
}

.tarjeta p {
    color: #666;
    line-height: 1.6;
}


/* ==============================
   NOSOTROS
================================ */

.nosotros {
    padding: 80px 7%;

    background: #7B1E2B;

    color: white;

    text-align: center;
}

.nosotros h2 {
    color: white;
}

.nosotros p {
    max-width: 900px;
    margin: auto;

    color: #ddd;

    font-size: 18px;
}


/* ==============================
   CONTACTO
================================ */

.contact {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 25px;

    max-width: 1200px;

    margin: 40px auto 0;

}
.contacto:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.contacto-contenido {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    color: #c62828;
    margin-bottom: 15px;
}

.contacto-intro {
    color: #666;
    font-size: 17px;
    margin-bottom: 45px;
}

.contacto-datos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contacto-item {
    background: #fafafa;
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #eeeeee;
    border-top: 3px solid #c62828;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.contacto-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.396);
    background-color: #d3d3d3;
}
.contacto-icono {
    font-size: 32px;
    margin-bottom: 15px;
}

.contacto-item h3 {
    color: #c62828;
    margin-bottom: 10px;
    font-size: 20px;
}

.contacto-item p {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.whatsapp-btn {
    display: inline-block;
    padding: 14px 30px;
    background: #c62828;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-btn:hover {
    background: #8e0000;
    transform: translateY(-2px);
}

/* ==============================
   CELULARES
================================ */

@media (max-width: 768px) {

    header {
       background: #ffffff;
    padding: 12px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
    }

    .logo img {
        width: 150px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        text-decoration: none;
    color: #c62828;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
    }

    .hero {
        min-height: 450px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 17px;
    }

    .seccion {
        padding: 50px 20px;
    }

    .seccion h2,
    .nosotros h2 {
        font-size: 30px;
    }
}