/* ------------------------------
   CONFIGURACIÓN GENERAL
------------------------------ */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f1ea;
    color: #172a46;
    min-height: 100vh;
}


/* ------------------------------
   HEADER
------------------------------ */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 5vw;

    border-bottom: 1px solid #172a46;
}

.logo {
    color: #172a46;
    text-decoration: none;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.año {
    font-size: 13px;
    letter-spacing: 1px;
}


/* ------------------------------
   HERO
------------------------------ */

main {
    padding: 0 5vw;
}

.hero {
    min-height: 55vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    max-width: 1100px;

    padding: 70px 0;
}

.numero {
    font-size: 12px;
    letter-spacing: 2px;

    margin-bottom: 25px;
}

h1 {
    font-size: clamp(60px, 11vw, 150px);

    line-height: 0.82;

    letter-spacing: -6px;

    font-weight: 800;
}

h1 span {
    color: #e46f45;
}

.descripcion {
    max-width: 430px;

    margin-top: 45px;

    font-size: 17px;
    line-height: 1.5;
}


/* ------------------------------
   ENCARGOS
------------------------------ */

.encargos {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    padding-bottom: 100px;
}


/* ------------------------------
   TARJETAS
------------------------------ */

.card {
    position: relative;

    min-height: 230px;

    padding: 30px;

    border: 1px solid #172a46;

    color: #172a46;

    text-decoration: none;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: 0.3s ease;
}


/* Todas las tarjetas en naranja */

.card.destacado {
    background-color: #e46f45;
    color: #172a46;
}


/* Efecto al pasar el mouse */

.card.destacado:hover {
    background-color: #172a46;
    color: #f4f1ea;

    transform: translateY(-5px);
}


.card span {
    font-size: 12px;
    letter-spacing: 2px;
}


.card h2 {
    font-size: 38px;

    letter-spacing: -1px;
}


.card p {
    font-size: 14px;
}


.card strong {
    position: absolute;

    right: 30px;
    bottom: 25px;

    font-size: 30px;

    font-weight: normal;
}


/* ------------------------------
   FOOTER
------------------------------ */

footer {
    border-top: 1px solid #172a46;

    padding: 20px 5vw;

    display: flex;
    justify-content: space-between;

    font-size: 12px;

    letter-spacing: 1px;
}


/* ------------------------------
   RESPONSIVE
------------------------------ */

@media (max-width: 700px) {

    header {
        padding: 20px;
    }

    main {
        padding: 0 20px;
    }

    h1 {
        font-size: 65px;
        letter-spacing: -3px;
    }

    .hero {
        min-height: 60vh;
        padding: 50px 0;
    }

    .encargos {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 200px;
    }

    footer {
        padding: 20px;
    }

}