:root {
    --blanco: #ffffff;
    --oscuro: #121212;
    --claro: #f8f9fa;
    --texto: #333333;
    --primario: #F2C94C;
    --titulo: "Playfair Display", serif;
    --cuerpo: "Montserrat", sans-serif;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 1.6rem;
    font-family: var(--cuerpo);
    background-color: var(--claro);
    line-height: 1.8;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
}

h1,
h2,
h3 {
    text-align: center;
    font-family: var(--titulo);
    text-transform: uppercase;
}

h1 {
    margin-bottom: 3.2rem;
    margin-top: 0;
}

.contenedor {
    width: min(90%, 120rem);
    margin: 0 auto;
}

.sombra {
    box-shadow: rgba(255, 255, 255, 0.5) 0px 1px 4px;
}

.bg-oscuro {
    background-color: var(--oscuro);
}

.grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.py-8 {
    padding: 8rem 0;
}

.pb-8 {
    padding-bottom: 8rem;
}

.pt-8 {
    padding-top: 8rem;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.blanco {
    color: var(--blanco);
}

.claro {
    color: var(--claro);
}

/* ========================
    HEADER
======================== */
header {
    position: sticky;
    top: 0;
    z-index: 1002;
}

nav {
    background-color: var(--oscuro);
    padding: 1rem 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
}

.logo {
    color: var(--primario);
    font-weight: bold;
    font-family: var(--titulo);
    font-size: 4rem;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 5rem;
    height: 5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links a {
    color: var(--blanco);
    font-weight: 500;
    font-size: 1.8rem;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--primario);
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primario);
    font-size: 3rem;
    cursor: pointer;
}

@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
    }

    .logo {
        flex-direction: column;
        font-size: 3.5rem;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 165px;
        left: 0;
        width: 100%;
        background-color: var(--oscuro);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        clip-path: circle(0px at 90%-10%);
        pointer-events: none;
    }

    .nav-links.active {
        clip-path: circle(1000px at 90%-10%);
        pointer-events: all;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links li:nth-child(4) {
        transition-delay: 0.4s;
    }
}

/* ======================== */
/* FOOTER */
/* ======================== */

footer {
    background-color: var(--oscuro);
    color: var(--blanco);
    padding: 4rem 0;
    padding-bottom: 9rem;
}

@media (min-width: 768px) {
    footer {
        padding-bottom: 4rem;
    }
}

.footer-content {

    text-align: center;

}

.footer-content span {
    color: var(--primario);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-nav {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }
}

.footer-nav a {
    color: #a0a0a0;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primario);
}

/* ======================== */
/* WHATSAPP */
/* ======================== */
.btn-whatsapp {
    position: fixed;
    bottom: 2rem;
    left: 5%;
    width: 90%;
    height: 5.5rem;
    background-color: #25d366;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
    white-space: nowrap;
}

.wa-text {
    color: white;
    font-weight: bold;
    font-size: 1.6rem;
    opacity: 1;
    /* Siempre visible en móvil */
}

/* --- 2. Estilo Escritorio (Pantallas Grandes / min-width: 768px) --- */
.btn-whatsapp {
    position: fixed;
    bottom: 2rem;
    left: 5%;
    width: 90%;
    height: 5.5rem;
    background-color: #25d366;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
    white-space: nowrap;
}

.wa-text {
    color: white;
    font-weight: bold;
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    .btn-whatsapp {
        width: 6rem;
        height: 6rem;
        bottom: 3rem;
        right: 3rem;
        left: auto;
        border-radius: 50%;
        padding: 0;
        gap: 0;
    }

    .btn-whatsapp svg {
        min-width: 2.4rem;
        transition: margin 0.4s ease;
    }

    .wa-text {
        opacity: 0;
        width: 0;
        transition: opacity 0.2s, width 0.2s;
    }

    .btn-whatsapp:hover {
        width: 26rem;
        border-radius: 3rem;
        background-color: #128c7e;
        padding: 0 2rem;
        gap: 1rem;
    }

    .btn-whatsapp:hover .wa-text {
        opacity: 1;
        width: auto;
    }
}

/*==================*/
/*NOSOTROS*/
/*==================*/
.imagen-nosotros {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {

    .nosotros {
        grid-template-columns: 1fr 1fr;
    }

    .imagen-nosotros {
        max-height: 500px;
    }
}

@media (min-width: 768px) {
    .nosotros-iconos {
        grid-template-columns: repeat(3, 1fr);
    }
}

.valor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* =========================
SERVICIOS
=========================== */
/* btn */
.contenedor-btn {
    display: flex;
    justify-content: center;
}

.btn {
    display: block;
    background: var(--oscuro);
    color: var(--primario);
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.6rem;
    cursor: pointer;
    border: solid 1.5px var(--primario);
}

.btn:hover {
    color: #D4A62A;
    border-color: #D4A62A;
    transition: color 0.3s;
}

/* hero */
.servicio-hero {
    background-image: url(../img/hero-inicio.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 45rem;
    position: relative;
}

.inicio-hero {
    background-image: url(../img/hero-servicios.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 45rem;
    position: relative;
}

.servicio-hero-contenido {
    position: absolute;
    background-color: rgb(0 0 0/ 60%);
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: var(--blanco);
}

.servicio-hero-contenido p {
    margin-bottom: 2rem;
    text-align: center;
}

/* Nacional */

@media (min-width: 768px) {
    .nacional {
        grid-template-columns: 1fr 1fr;
    }
}

.nacional-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-weight: bold;
    font-family: var(--titulo);
    font-size: 2.5rem;
}

.nacional-item::before, .nacional-item span {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--blanco);
    transition: transform 0.2s ease;
}

.nacional-item span:hover {
    transform: scale(1.1);
}

/* Servicio Aeropuerto */
.servicio-aeropueto h2 {
    color: var(--blanco);
}

.cards-aeropuerto {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.card-aeropuerto {
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: var(--claro);

    max-width: 32rem;
    height: 50rem;

    border-radius: 1rem;

    transition: transform 0.2s ease;
}

.card-aeropuerto:hover {
    transform: scale(1.05);
}

.card-aeropuerto img {
    height: 20rem;
    border-radius: 1rem 1rem 0 0;
}

.card-aeropuerto-texto {
    padding: 3rem 2.5rem;
}

.aeropuerto-titulo {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

/* Servicio  Urbado */

@media (min-width: 480px) {
    .urbano, .servicios-iconos {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .urbano {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.urbano-item {
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

.urbano-item::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.urbano-item span {
    position: relative;
    z-index: 1;
    color: var(--blanco);
    transition: transform 0.2s ease;
    font-family: var(--titulo);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.urbano-item:hover span {
    transform: scale(1.1);
}

/* Estilo de los iconos comunes */

.servicios-iconos {
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .servicios-iconos {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.general-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem
}


/* Grid para la Home */
.grid-servicios-home {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card-home {
    background-color: var(--blanco); /* Asegúrate de tener estas variables */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.card-home:hover {
    transform: translateY(-5px);
}

.card-home-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-home-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-home-info h3 {
    margin-top: 0;
    font-family: 'Playfair Display', serif; /* Tu fuente de títulos */
    color: #333;
}

.card-home-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-link {
    color: #f2c94c; /* Tu color dorado/amarillo */
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-link:hover {
    text-decoration: underline;
}