/* =====================================================
   SUPER SERVICIO AZTECA DE VICTORIA
   HOJA DE ESTILOS
   VERSION 3
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --verde: #00843D;

    --verde-oscuro: #005C2A;

    --verde-claro: #18A957;

    --naranja: #F58220;

    --naranja-oscuro: #D9650A;

    --amarillo: #F5C400;

    --gris: #F4F6F8;

    --gris-oscuro: #666666;

    --texto: #222222;

    --blanco: #FFFFFF;

}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--texto);

    background: var(--blanco);

    line-height: 1.6;

}


/* =====================================================
   ELEMENTOS GENERALES
===================================================== */

img {

    max-width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}


.contenedor {

    width: 90%;

    max-width: 1200px;

    margin: auto;

}


/* =====================================================
   ENCABEZADO
===================================================== */

.encabezado {

    background: var(--blanco);

    border-bottom: 4px solid var(--naranja);

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow:
        0 2px 10px rgba(0,0,0,.10);

}


.encabezado-contenido {

    min-height: 85px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =====================================================
   LOGO
===================================================== */

.logo {

    display: flex;

    align-items: center;

    gap: 12px;

}


.logo img {

    width: 65px;

    height: 65px;

    object-fit: contain;

}


.logo-texto {

    display: flex;

    flex-direction: column;

    line-height: 1.1;

}


.logo-texto strong {

    color: var(--verde);

    font-size: 20px;

    font-weight: 800;

}


.logo-texto span {

    color: var(--naranja);

    font-size: 13px;

    font-weight: 700;

    margin-top: 4px;

}


/* =====================================================
   MENU
===================================================== */

.menu {

    display: flex;

    align-items: center;

    gap: 5px;

}


.menu a {

    padding: 12px 14px;

    font-size: 14px;

    font-weight: 700;

    color: var(--verde-oscuro);

    border-radius: 5px;

    transition:
        background .3s ease,
        color .3s ease;

}


.menu a:hover {

    background: var(--verde);

    color: var(--blanco);

}


.menu a.activo {

    background: var(--verde);

    color: var(--blanco);

}


/* =====================================================
   BOTON MENU MOVIL
===================================================== */

.menu-boton {

    display: none;

    border: none;

    background: var(--verde);

    color: var(--blanco);

    font-size: 28px;

    width: 48px;

    height: 44px;

    border-radius: 5px;

    cursor: pointer;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    position: relative;

    height: 560px;

    overflow: hidden;

}


.hero::after {

    content: "";

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    height: 7px;

    background: var(--naranja);

    z-index: 5;

}


.hero > img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,92,42,.88),
            rgba(0,132,61,.48),
            rgba(0,0,0,.15)
        );

}


.hero-contenido {

    position: absolute;

    z-index: 2;

    top: 50%;

    left: 5%;

    transform: translateY(-50%);

    max-width: 700px;

    color: var(--blanco);

}


.hero-superior {

    display: inline-block;

    background: var(--naranja);

    padding: 7px 15px;

    border-radius: 4px;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 18px;

}


.hero h1 {

    font-size: 58px;

    line-height: 1.05;

    margin-bottom: 20px;

    font-weight: 800;

}


.hero p {

    font-size: 22px;

    margin-bottom: 30px;

    max-width: 600px;

}


/* =====================================================
   BOTONES
===================================================== */

.hero-botones {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.boton {

    display: inline-block;

    padding: 14px 24px;

    border-radius: 5px;

    font-weight: 800;

    font-size: 14px;

    transition:
        transform .2s ease,
        background .2s ease;

}


.boton:hover {

    transform: translateY(-2px);

}


/* BOTON NARANJA */

.boton-naranja {

    background: var(--naranja);

    color: var(--blanco);

}


.boton-naranja:hover {

    background: var(--naranja-oscuro);

}


/* BOTON VERDE */

.boton-verde {

    background: var(--verde);

    color: var(--blanco);

}


.boton-verde:hover {

    background: var(--verde-oscuro);

}


/* =====================================================
   SECCIONES
===================================================== */

.seccion {

    padding: 80px 0;

}


.seccion-gris {

    background: var(--gris);

}


/* =====================================================
   TITULOS
===================================================== */

.titulo-seccion {

    text-align: center;

    margin-bottom: 45px;

}


.titulo-seccion > span {

    color: var(--naranja);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

}


.titulo-seccion h2 {

    color: var(--verde);

    font-size: 38px;

    margin-top: 5px;

}


.linea {

    width: 65px;

    height: 4px;

    background: var(--naranja);

    margin: 15px auto 0;

    border-radius: 5px;

}


/* =====================================================
   TARJETAS
===================================================== */

.tarjetas {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


.tarjeta {

    background: var(--blanco);

    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        0 4px 18px rgba(0,0,0,.10);

    border-bottom: 4px solid transparent;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.tarjeta:hover {

    transform: translateY(-7px);

    border-color: var(--naranja);

    box-shadow:
        0 10px 30px rgba(0,0,0,.15);

}


.tarjeta-imagen {

    height: 220px;

    overflow: hidden;

}


.tarjeta-imagen img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;

}


.tarjeta:hover img {

    transform: scale(1.05);

}


.tarjeta-contenido {

    padding: 25px;

}


.tarjeta h3 {

    color: var(--verde);

    font-size: 23px;

    margin-bottom: 10px;

}


.tarjeta p {

    color: var(--gris-oscuro);

    margin-bottom: 18px;

}


.enlace {

    color: var(--naranja);

    font-weight: 800;

}


.enlace:hover {

    color: var(--naranja-oscuro);

}


/* =====================================================
   NOSOTROS
===================================================== */

.nosotros-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;

}


.nosotros-imagen img {

    width: 100%;

    height: 450px;

    object-fit: cover;

    border-radius: 8px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.15);

}


.etiqueta {

    color: var(--naranja);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

}


.nosotros-texto h2 {

    color: var(--verde);

    font-size: 38px;

    line-height: 1.15;

    margin-top: 8px;

}


.nosotros-texto .linea {

    margin-left: 0;

    margin-bottom: 20px;

}


.nosotros-texto p {

    margin-bottom: 15px;

    color: var(--gris-oscuro);

}


.lista {

    list-style: none;

    margin: 25px 0;

}


.lista li {

    margin-bottom: 12px;

    font-weight: 600;

}


.lista span {

    color: var(--naranja);

    font-weight: 900;

    margin-right: 8px;

}


/* =====================================================
   ACCESOS
===================================================== */

.accesos {

    background: var(--blanco);

}


.accesos-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


.acceso {

    padding: 30px 20px;

    text-align: center;

    border: 2px solid #e5e5e5;

    border-radius: 8px;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

}


.acceso:hover {

    transform: translateY(-5px);

    border-color: var(--naranja);

    box-shadow:
        0 8px 20px rgba(0,0,0,.10);

}


.acceso-icono {

    font-size: 42px;

    margin-bottom: 12px;

}


.acceso h3 {

    color: var(--verde);

    margin-bottom: 6px;

}


.acceso p {

    color: var(--gris-oscuro);

    font-size: 14px;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    background: var(--verde-oscuro);

    color: var(--blanco);

    border-top: 5px solid var(--naranja);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;

    padding: 50px 0;

}


.footer h3 {

    font-size: 23px;

    margin-bottom: 10px;

}


.footer h4 {

    color: var(--naranja);

    margin-bottom: 15px;

}


.footer p {

    opacity: .85;

}


.footer a {

    display: block;

    margin-bottom: 8px;

    opacity: .9;

}


.footer a:hover {

    color: var(--naranja);

}


.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,.15);

    text-align: center;

    padding: 18px;

    font-size: 13px;

    opacity: .85;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {


    .menu {

        position: absolute;

        top: 85px;

        left: 0;

        width: 100%;

        background: var(--blanco);

        display: none;

        flex-direction: column;

        padding: 15px;

        box-shadow:
            0 5px 15px rgba(0,0,0,.15);

    }


    .menu.mostrar {

        display: flex;

    }


    .menu a {

        width: 100%;

        text-align: center;

    }


    .menu-boton {

        display: block;

    }


    .hero {

        height: 500px;

    }


    .hero h1 {

        font-size: 42px;

    }


    .hero p {

        font-size: 18px;

    }


    .tarjetas {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .nosotros-grid {

        grid-template-columns:
            1fr;

    }


    .accesos-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 600px) {


    .encabezado-contenido {

        min-height: 75px;

    }


    .logo img {

        width: 50px;

        height: 50px;

    }


    .logo-texto strong {

        font-size: 15px;

    }


    .logo-texto span {

        font-size: 10px;

    }


    .menu {

        top: 75px;

    }


    .hero {

        height: 550px;

    }


    .hero-contenido {

        left: 7%;

        right: 7%;

    }


    .hero h1 {

        font-size: 36px;

    }


    .hero p {

        font-size: 17px;

    }


    .hero-botones {

        flex-direction: column;

    }


    .boton {

        text-align: center;

        width: 100%;

    }


    .seccion {

        padding: 55px 0;

    }


    .titulo-seccion h2 {

        font-size: 30px;

    }


    .tarjetas {

        grid-template-columns:
            1fr;

    }


    .accesos-grid {

        grid-template-columns:
            1fr;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 30px;

    }

}

/* =====================================================
   PAGINAS EN CONSTRUCCION
===================================================== */

.pagina-construccion {

    max-width: 750px;

    margin: 0 auto;

    text-align: center;

    background: var(--blanco);

    padding: 55px 35px;

    border-radius: 10px;

    border-top: 5px solid var(--naranja);

    box-shadow:
        0 5px 25px rgba(0,0,0,.10);

}


.pagina-construccion h2 {

    color: var(--verde);

    font-size: 30px;

    margin-bottom: 15px;

}


.pagina-construccion p {

    color: var(--gris-oscuro);

    font-size: 17px;

    max-width: 600px;

    margin: 0 auto 30px;

}


.construccion-icono {

    font-size: 65px;

    margin-bottom: 20px;

}