* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f4f6f9;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}


/* ================================
   ENCABEZADO
================================ */

header {
    min-height: 76px;

    padding: 8px 35px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #050505;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.30);

    position: relative;
    z-index: 10;
}


/* LOGO IZQUIERDO */

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}


/*
   IMPORTANTE:
   Se elimina el drop-shadow del logo.
   Así no se marca el borde cuadrado de la imagen.
*/

.logo img {
    width: 125px;
    height: auto;

    object-fit: contain;

    display: block;
}


/* LOGO DERECHO */

.logo-header {
    width: 115px;
    height: auto;

    object-fit: contain;

    display: block;
}


/* ================================
   TITULOS
================================ */

h2 {
    font-family: "Michroma", sans-serif;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    color: #fff;
}

h3 {
    font-family: "Michroma", sans-serif;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #fff;
}

p {
    font-family: Arial, sans-serif;

    font-size: 13px;

    font-weight: 400;

    letter-spacing: 0.5px;

    color: #575353;
}

.info {
    color: #fff;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 450px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.62),
            rgba(0, 0, 0, 0.82)
        ),
        url("Fondo.png");

    background-size: cover;

    background-position: center;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    color: white;
}


/* Capa sutil de profundidad */

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.08),
            transparent 55%
        );

    pointer-events: none;
}


/* Línea decorativa inferior */

.hero::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 50%;

    width: 110px;
    height: 3px;

    transform: translateX(-50%);

    background: rgba(255, 255, 255, 0.75);

    border-radius: 10px;
}


/* ================================
   CONTENIDO HERO
================================ */

.contenido {
    position: relative;

    z-index: 2;

    padding: 20px;

    max-width: 850px;
}


.titulo {
    font-family: "Michroma", sans-serif;

    font-size: 42px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;

    color: #fff;

    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.75);

    margin-bottom: 20px;
}


.hero p {
    font-size: 17px;

    color: #fff;

    letter-spacing: 1px;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.8);
}


/* ================================
   BOTÓN
================================ */

.boton {
    text-decoration: none;

    background: #080808;

    color: white;

    padding: 15px 35px;

    border-radius: 5px;

    font-weight: bold;

    display: inline-block;

    transition: 0.3s;
}

.boton:hover {
    background: #333;

    transform: translateY(-2px);
}


/* ================================
   SERVICIOS
================================ */

.servicios {
    display: flex;

    justify-content: center;

    align-items: stretch;

    gap: 28px;

    padding: 65px 35px;

    flex-wrap: wrap;

    background:
        linear-gradient(
            180deg,
            #f4f6f9 0%,
            #ffffff 50%,
            #f4f6f9 100%
        );
}


/* ================================
   TARJETAS
================================ */

.card {
    width: 280px;

    min-height: 235px;

    background: #ffffff;

    border-radius: 14px;

    padding: 30px 25px;

    text-align: center;

    border: 1px solid rgba(0, 0, 0, 0.07);

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

    color: inherit;

    display: block;

    position: relative;

    overflow: hidden;
}


/* Pequeño detalle decorativo */

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 0;
    height: 3px;

    background: #111;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}


/* Hover */

.card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.14);

    border-color:
        rgba(0, 0, 0, 0.13);
}


.card:hover::before {
    width: 70px;
}


/* ================================
   ICONOS
================================ */

.card img {
    width: 75px;
    height: 75px;

    object-fit: contain;

    margin-bottom: 20px;

    display: inline-block;

    position: relative;

    z-index: 2;

    transition:
        transform 0.3s ease;
}


/*
   Ya no usamos drop-shadow.
   Así los iconos tampoco generan
   bordes luminosos extraños.
*/

.card:hover img {
    transform: scale(1.07);
}


/* ================================
   TITULO TARJETA
================================ */

.card h3 {
    margin-bottom: 12px;

    color: #111;

    position: relative;

    z-index: 2;
}


.card h3::after {
    content: "";

    display: block;

    width: 35px;

    height: 2px;

    background: #111;

    margin: 10px auto 0;

    transition: width 0.3s ease;
}


.card:hover h3::after {
    width: 60px;
}


/* ================================
   TEXTO TARJETA
================================ */

.card p {
    color: #666;

    line-height: 1.5;

    position: relative;

    z-index: 2;
}


/* ================================
   DESCRIPTION
================================ */

.description {
    align-items: center !important;
}


/* ================================
   FOOTER
================================ */

footer {
    background: #050505;

    color: white;

    text-align: center;

    padding: 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);
}


footer p {
    color: #aaa;
}


/* ================================
   RESPONSIVE 900px
================================ */

@media (max-width: 900px) {

    .servicios {
        gap: 22px;
    }

    .card {
        width: 260px;
    }

    .titulo {
        font-size: 34px;
    }
}


/* ================================
   RESPONSIVE 768px
================================ */

@media (max-width: 768px) {

    header {
        padding: 10px 20px;
    }

    .logo {
        gap: 10px;
    }

    .logo img {
        width: 105px;
    }

    .logo h2 {
        font-size: 10px;

        letter-spacing: 1px;
    }

    .logo-header {
        width: 90px;
    }

    .hero {
        min-height: 400px;
    }

    .titulo {
        font-size: 28px;

        letter-spacing: 2px;
    }

    .hero p {
        font-size: 14px;
    }

    .servicios {
        padding: 45px 20px;
    }

    .card {
        width: 100%;

        max-width: 320px;
    }
}


/* ================================
   RESPONSIVE 480px
================================ */

@media (max-width: 480px) {

    header {
        min-height: 65px;

        padding: 9px 15px;
    }

    .logo img {
        width: 85px;
    }

    .logo h2 {
        display: none;
    }

    .logo-header {
        width: 72px;
    }

    .hero {
        min-height: 350px;
    }

    .contenido {
        padding: 15px;
    }

    .titulo {
        font-size: 22px;

        letter-spacing: 1.5px;

        line-height: 1.4;
    }

    .hero p {
        font-size: 13px;

        line-height: 1.5;
    }

    .servicios {
        padding: 40px 15px;

        gap: 18px;
    }

    .card {
        min-height: 215px;

        padding: 28px 20px;
    }

    .card img {
        width: 70px;
        height: 70px;
    }
}