/* RESET CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --color-verde: #86ab8d;
    --color-amarillo: #dda44d;
    --color-amarillo-oscuro: #ac6a1e;
    --color-morado: #3c1e5d;
    --color-texto-claro: rgba(255, 255, 255, 0.85);
    --fuente-principal: 'Poppins', Arial, sans-serif;
}
/* estilos generales */
body {
    font-family: var(--fuente-principal);
    line-height: 1.5;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    display: block;
    max-width: 100%;
}
.contenedor {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 0.625rem;
}
/* background image header y hero */
header,
.hero {
    background-image: linear-gradient(180deg, rgba(20, 20, 25, 0.75) 0%, rgba(36, 36, 149, 0.25) 45%, rgba(60, 45, 20, 0.35) 100%),
                        url("../img/imagen1.jpg");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}
/* estilos navegación */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    flex-wrap: wrap;
    color: var(--color-verde);
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--color-amarillo);
}
.logo img {
    width: 1.75rem;
    height: 1.75rem;
}
.logo-texto {
    font-size: 1.25rem;
    letter-spacing: 1px;
}
.nav-contacto {
    display: flex;
    gap: 1.875rem;
}
.nav-contacto-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
}
.nav-contacto-item img {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.135);
    padding: 0.5625rem;
}
.nav-links {
    display: flex;
    gap: 2.25rem;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: var(--color-verde);
}
/* hover en los links del menú */
.nav-links a {
    transition: color 0.25s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--color-amarillo);
}
/* menú hamburguesa oculto */
.nav-toggle-checkbox {
    display: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3125rem;
    padding: 0.5rem;
    cursor: pointer;
}
.nav-toggle-linea {
    display: block;
    width: 1.625rem;
    height: 2px;
    background-color: var(--color-verde);
}
/* estilos hero*/
.hero {
    min-height: 35rem;
    color: var(--color-verde);
}
.hero-inner {
    height: 100%;
    min-height: 35rem;
    display: flex;
    align-items: center;
}
.hero-col {
    max-width: 35rem;
}
.hero-col h1 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}
.hero-col p {
    font-size: 0.9375rem;
    color: var(--color-texto-claro);
    margin-bottom: 2.25rem;
    max-width: 28.75rem;
}
.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background-color: var(--color-amarillo);
    color: #222;
    padding: 1rem 2rem;
    border-radius: 1.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-explore span {
    transition: transform 0.25s ease;
    display: inline-block;
}
.btn-explore:hover {
    background-color: var(--color-amarillo-oscuro);
    color: var(--color-blanco, #fff);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}
.btn-explore:hover span {
    transform: translateX(4px);
}
.btn-explore:active {
    transform: translateY(-1px) scale(0.97);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}
/* estilos ciudades */
.ciudades {
    background-color: var(--color-verde);
    padding-bottom: 12.5rem;
}
.ciudades-inner {
    display: flex;
    align-items: flex-end;
    gap: 2.5rem;
}
.ciudades-texto {
    flex: 0 0 16.25rem;
    padding-bottom: 1.25rem;
    margin-top: 2.5rem;
}
.ciudades-texto h2 {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--color-amarillo-oscuro);
}
.ciudades-texto p {
    font-size: 0.8125rem;
    color: #222;
}
.ciudades-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -6.25rem;
}
.ciudad-card {
    position: relative;
    height: 21.875rem;
    overflow: hidden;
}
.ciudad-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ciudad-nombre {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-amarillo);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
/* estilos featured*/
.featured {
    background-image: linear-gradient(180deg, rgba(20, 30, 45, 0.35) 0%, rgba(20, 30, 45, 0.15) 100%),
                        url("../img/imagen6.jpg");
    background-size: cover;
    background-position: center;
    padding: 15rem 0;
}
.featured-card {
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    max-width: 57.5rem;
    margin: 0 auto;
    margin-top: -21.25rem;
}
.featured-img {
    flex: 0 0 38%;
}
.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-content {
    flex: 1;
    background-color: #dfe6ea;
    padding: 8.125rem 2.75rem;
    display: flex;
    flex-direction: column;
}
.featured-content h3 {
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 1.125rem;
}
.featured-content p {
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 1.75rem;
}
.featured-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.featured-thumbs img {
    width: 100%;
    height: 4.25rem;
    object-fit: cover;
}
.featured-explore {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: auto;
    font-size: 0.8125rem;
    color: #333;
}
.circulo-flecha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background-color: var(--color-amarillo);
    color: #222;
    font-size: 1rem;
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.featured-explore:hover .circulo-flecha {
    background-color: var(--color-amarillo-oscuro);
    transform: translateX(5px);
}
.featured-explore:active .circulo-flecha {
    transform: translateX(7px) scale(0.9);
}
/* estilos galería */
.galeria {
    background-color: var(--color-morado);
    padding: 5.625rem 0;
}
.galeria-encabezado {
    max-width: 35rem;
    margin: 0 auto 3.125rem;
    text-align: center;
}
.galeria-encabezado h2 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-amarillo);
    margin-bottom: 1rem;
}
.galeria-encabezado p {
    font-size: 0.8125rem;
    color: #777;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.375rem;
}
.galeria-col {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.galeria-col img {
    width: 100%;
    object-fit: cover;
}
.galeria-col img:last-child {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}
.galeria-col:nth-child(1) img:nth-child(1) { height: 14.375rem; }
.galeria-col:nth-child(1) img:nth-child(2) { height: 14.375rem; }
.galeria-col:nth-child(2) img:nth-child(1) { height: 10.625rem; }
.galeria-col:nth-child(2) img:nth-child(2) { height: 10.625rem; }
.galeria-col:nth-child(3) img:nth-child(1) { height: 26.875rem; }
.galeria-col:nth-child(4) img:nth-child(1) { height: 16.25rem; }

/* estilos footer*/
.footer {
    background-color: var(--color-morado);
    padding-top: 2.5rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 6.25rem;
}
.footer-col p {
    font-size: 0.8125rem;
    color: #777;
    margin-top: 1.125rem;
}
.footer-col h4 {
    font-size: 0.875rem;
    letter-spacing: 1px;
    color: var(--color-amarillo-oscuro);
    margin-bottom: 1.25rem;
}
.logo-texto--oscuro {
    color: var(--color-amarillo);
}
.footer-marca .logo img {
    width: 1.5rem;
    height: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.375rem;
}
.footer-social img {
    width: 1.875rem;
    height: 1.875rem;
    transition: transform 0.25s ease;
}
.footer-social a:hover img {
    transform: translateY(-3px);
}
.footer-links li {
    list-style: none;
    font-size: 0.8125rem;
    color: #777;
    margin-bottom: 0.75rem;
}
.footer-links a {
    transition: color 0.25s ease;
}
.footer-links a:hover {
    color: var(--color-amarillo);
}
.footer-contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: #333;
}
.footer-bottom {
    background-color: var(--color-verde);
    color: #222;
    padding: 1.125rem 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    transition: color 0.25s ease;
}
.footer-bottom-links a:hover {
    color: var(--color-amarillo);
}
/* media queries */
/* tablet */
@media (max-width: 1024px) {
    .nav-contacto {
        display: none;
    }
    .hero-col {
        max-width: 28.75rem;
    }
    .ciudades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
    }
    .ciudades-inner {
        flex-wrap: wrap;
    }
    .featured-card {
        max-width: 40rem;
    }
    .featured-content {
        padding: 3.75rem 2rem;
    }
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 2.5rem;
    }
}
/* mobile */
@media (max-width: 600px) {
    header,
    .hero,
    .featured {
        background-attachment: scroll;
    }
    .contenedor {
        padding: 0 1.25rem;
    }
    /* nav */
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: rgba(20, 20, 25, 0.95);
        padding: 0.625rem 1.25rem 1.25rem;
    }
    .nav-toggle-checkbox:checked ~ .nav-links {
        display: flex;
    }
    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-bar {
        position: relative;
    }
    /* hero */
    .hero {
        min-height: 30rem;
        text-align: left;
    }
    .hero-col h1 {
        font-size: 2rem;
    }
    .hero-col p {
        font-size: 0.875rem;
        margin-bottom: 1.75rem;
    }
    /* ciudades */
    .ciudades {
        padding-bottom: 2.5rem;
    }
    .ciudades-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .ciudades-texto {
        flex: none;
        margin-top: 0;
        padding-bottom: 0;
    }
    .ciudades-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
        gap: 1.25rem;
    }
    .ciudad-card {
        height: 13.75rem;
    }
    /* featured */
    .featured {
        padding: 3.75rem 0;
    }
    .featured-card {
        flex-direction: column;
        margin-top: 0;
        max-width: 100%;
    }
    .featured-img {
        flex: none;
    }
    .featured-content {
        padding: 2.5rem 1.5rem;
    }
    /* galería */
    .galeria {
        padding: 3.75rem 0;
    }
    .galeria-col:nth-child(1) img:nth-child(1),
    .galeria-col:nth-child(1) img:nth-child(2),
    .galeria-col:nth-child(2) img:nth-child(1),
    .galeria-col:nth-child(2) img:nth-child(2) {
        height: 9.375rem;
    }
    .galeria-col:nth-child(3) img:nth-child(1) {
        height: 19.375rem;
    }
    .galeria-col:nth-child(4) img:nth-child(1) {
        height: 9.375rem;
    }
    /* footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2.5rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 0.625rem;
        text-align: center;
    }
}