/* =========================
   CONFIGURACIÓN GENERAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    background-color: #F4F1EB;
    color: #222222;
}
h1,
h2,
h3,
header,
button {
    font-family: "Montserrat", sans-serif;
}

img {
    display: block;
    width: 100%;
    height: auto;
}
/* =========================
   HEADER
========================= */

header {
    width: 100%;
    height: 64px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #F3F1EC;
}

header strong {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

header > div:last-child {
    display: flex;
    align-items: center;
    gap: 14px;
}

header a {
    color: #222222;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

header button {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}
header .boton-publicita {
    background-color: #d9772f;
    color: white;
    padding: 9px 16px;
    border-radius: 7px;
    transition: 0.25s ease;
}

header .boton-publicita:hover {
    background-color: #b95f20;
    transform: translateY(-1px);
}
/* =========================
   MENÚ DESPLEGABLE
========================= */

.menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 20px;
    width: 230px;
    background-color: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.menu a {
    display: block;
    color: #222222;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 5px;
}

.menu a:hover {
    background-color: #f3f1ec;
}
.menu.menu-abierto {
    display: block;
}
/* SUBMENÚS DE DESTINOS */

.submenu {
    display: none;
}
.submenu.submenu-abierto {
    display: block;
}

.submenu a {
    padding-left: 20px;
    font-size: 12px;
    font-weight: 500;
}

.submenu-boton {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 10px 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
/* =========================
   HERO
========================= */

.hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.hero-carrusel {
    width: 100%;
    height: 100%;
}

.hero-carrusel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Por ahora mostramos solamente la primera imagen */
.hero-carrusel img:first-child {
    display: block;
}
/* Capa oscura sobre la imagen */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
}


/* Texto del Hero */

.hero-contenido {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 25px;

    z-index: 2;
    color: white;

    padding: 35px 90px 35px 28px;

    background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.42) 35%,
    rgba(0, 0, 0, 0.18) 65%,
    rgba(0, 0, 0, 0) 100%
);
}


.hero-contenido h1 {
    font-size: 42px;
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.hero-contenido p {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.5;
}
.hero-indicadores {
    display: flex;
    gap: 7px;
    margin-top: 20px;
}

.hero-indicadores span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-indicadores span.activo {
    background-color: #ffffff;
}
/* =========================
   PRESENTACIÓN
========================= */

.presentacion {
    padding: 55px 24px 35px;
    background-color: #ffffff;
}

.presentacion h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
    max-width: 620px;

    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.presentacion > p {
    font-size: 16px;
    line-height: 1.65;
    color: #555555;
    max-width: 680px;
    margin-bottom: 18px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
/* =========================
   CATEGORÍAS
========================= */

.categorias {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    max-width: 1100px;
    margin: 38px auto 4px;
}

.categoria {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #222222;
    text-align: center;
    cursor: default;
}

.categoria span {
    font-size: clamp(34px, 5vw, 44px);
    line-height: 1;
}
.categoria p {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.025em;
}
/* =========================
   DESTINOS
========================= */
.destino {
    position: relative;
    width: 100%;
    height: 420px;
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destino > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.destino-contenido {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 28px 24px;
    color: white;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0)
    );
}

.destino-contenido h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.destino-contenido p {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.destino-enlace {
    color: white;
    font-size: 13px;
    font-weight: 700;
}
/* Separación y estilo de las tarjetas de destinos */

.destino {
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    border-radius: 14px;
    overflow: hidden;
}

.destino:focus-visible {
    outline: 3px solid #d9772f;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .destino:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(25, 47, 31, 0.14);
    }

    .destino:hover > img {
        transform: scale(1.012);
    }
}
/* =========================
   RECOMENDADOS DE LA RUTA
========================= */

.recomendados {
    padding: 45px 20px;
    background-color: #f5f4f1;
}

.recomendados h2 {
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 25px;
    text-align: center;
}

.recomendados-contenedor {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.recomendado {
    background-color: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.recomendado > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.recomendado h3 {
    font-size: 19px;
    margin: 18px 18px 6px;
}

.recomendado p {
    font-size: 14px;
    margin: 0 18px 10px;
    color: #555555;
}

.recomendado span {
    display: block;
    font-size: 13px;
    margin: 0 18px 14px;
    color: #777777;
}

.recomendado a {
    display: inline-block;
    margin: 0 18px 20px;
    color: #222222;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
/* =========================
   PUBLICITÁ TU NEGOCIO
========================= */
.publicita {
    padding: 55px 25px;
    text-align: center;
    background-color: #1f3528;
    color: white;
    margin-bottom: 12px;
}

.publicita h2 {
    font-size: 30px;
    line-height: 1.05;
    margin-bottom: 18px;
}

.publicita p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.publicita a {
    display: inline-block;
    padding: 14px 22px;
    background-color: #d9772f;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
}
/* =========================
   FOOTER
========================= */

footer {
    background-color: #111814;
    color: white;
    padding: 35px 20px;
}

footer strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

footer p {
    font-size: 13px;
    color: #c8cec9;
    margin-bottom: 22px;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}
/* =========================
   TABLET Y ESCRITORIO
========================= */

@media (min-width: 768px) {
.categorias {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 34px 24px;
    }
.destinos {
        display: flex;
        gap: 20px;
        padding: 40px 24px;
    }

    .destino {
        width: 50%;
        margin: 0;
    }
.recomendados-contenedor {
    flex-direction: row;
    gap: 20px;
}

.recomendado {
    width: calc((100% - 40px) / 3);
}
header strong {
    font-size: 17px;
    letter-spacing: 0.8px;
}
}
/* ==================================
   PÁGINA DESTINO - ESQUEL
================================== */

.destino-hero {
    min-height: 280px;
    padding: 40px 28px;

    display: flex;
    align-items: flex-end;

    background-color: #1f3528;
    color: white;
}

.destino-hero-contenido {
    width: 100%;
}

.destino-ruta {
    font-size: 13px;
    margin-bottom: 16px;
    opacity: 0.85;
}

.destino-hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 0.95;
    margin-bottom: 12px;
}

.destino-hero-contenido > p:last-child {
    font-size: 18px;
}


/* ==================================
   RUBROS
================================== */

.rubros-destino {
    padding: 55px 28px;
    background-color: #f3f1ec;
}

.rubros-destino > h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
}

.rubros-intro {
    text-align: center;
    font-size: 16px;
    margin-bottom: 35px;
    color: #555555;
}

.rubros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.rubro-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

@media (min-width: 1100px) {
    .categorias {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.rubro-card {
    position: relative;
    min-height: 260px;
    padding: 25px 25px 32px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background-color: #1f3528;
    color: white;

    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;

}

.rubro-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.48);
    transition: background-color 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
    .rubro-card:hover img {
        transform: scale(1.04);
    }

    .rubro-card:hover::before {
        background-color: rgba(0, 0, 0, 0.40);
    }
}

.rubro-card span {
    font-size: 36px;
    margin-bottom: 18px;
}

.rubro-card h3 {
    position: relative;
    z-index: 2;
    font-size: 21px;
    margin-bottom: 8px;
}

.rubro-card p {
    position: relative;
    z-index: 2;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}


/* ==================================
   DESTINO - CELULAR
================================== */

@media (max-width: 700px) {

    .destino-hero {
        min-height: 230px;
        padding: 30px 24px;
    }

    .destino-hero h1 {
        font-size: 42px;
    }

    .rubros-destino {
        padding: 40px 24px;
    }

    .rubros-destino > h2 {
        font-size: 27px;
    }

    .rubros-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .rubro-card {
        min-height: 190px;
        padding: 18px 18px 24px;
    }

    .rubro-card span {
        font-size: 30px;
    }

    .rubro-card h3 {
        font-size: 16px;
    }

    .rubro-card p {
        font-size: 12px;
    }

}
