
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222222;
    background-color: #faf7f1;
    line-height: 1.6;
}

/* Navbar & hero */

.hero {
    position: relative;
    min-height: 90vh;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)), url("../img/portada.jpg");
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
    z-index: 0;
}

.navbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5vw;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-box img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
    background-color: #faf7f1;
    padding: 4px;
}

.logo-text h1 {
    font-size: 1.3rem;
    margin: 0;
    letter-spacing: 0.04em;
}

.logo-text p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    color: #ffffff;
}

/* Hero content */

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 5vw 4rem;
    max-width: 680px;
}

.badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.95);
    color: #222;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2.4rem;
    margin: 0 0 0.5rem;
}

.hero-content p {
    font-size: 1rem;
    max-width: 40rem;
}

.hero-content .reto {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.4rem 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    text-align: center;
}

.btn.primary {
    background: #f9a825;
    color: #222;
}

.btn.primary:hover {
    background: #ffb63b;
}

.btn.ghost {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn.ghost:hover {
    background: rgba(255,255,255,0.12);
}

.btn.full {
    width: 100%;
}

.hero-contact {
    font-size: 0.9rem;
    opacity: 0.95;
}

.hero-contact a {
    color: #ffecb3;
}

/* General sections */

.section {
    padding: 4rem 5vw;
}

.section:nth-of-type(even) {
    background-color: #f2eee7;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

.section-header p {
    margin: 0;
    color: #555;
}

/* About */

.about {
    background-color: #faf7f1;
}

.about .section-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: start;
}

.about-text p {
    margin-top: 0;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.highlight-list li::before {
    content: "•";
    color: #f9a825;
    font-weight: 900;
    margin-right: 0.4rem;
}

.highlight-list li {
    margin-bottom: 0.3rem;
}

.about-card {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.about-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.card-item + .card-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd0ba;
}

/* Destinos */

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.destino-card {
    background: #ffffff;
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.destino-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.destino-body {
    padding: 1rem 1.2rem 1.2rem;
}

.destino-body h3 {
    margin: 0 0 0.3rem;
}

/* Galería */

.galeria {
    background-color: #faf7f1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    margin: 0;
    border-radius: 0.8rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item::after {
    content: "Ver más";
    position: absolute;
    inset-inline: 0;
    bottom: 0.6rem;
    margin-inline: auto;
    width: fit-content;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.9);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    position: relative;
}

.lightbox img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.lightbox-close {
    position: absolute;
    top: -0.8rem;
    right: -0.8rem;
    background: #f44336;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
}

/* Redes */

.redes-grid {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1.2fr);
    gap: 2rem;
    align-items: start;
}

.align-left {
    text-align: left;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.social-list li + li {
    margin-top: 0.5rem;
}

.social-list a {
    color: #f57c00;
    font-weight: 600;
    text-decoration: none;
}

.social-list a:hover {
    text-decoration: underline;
}

.facebook-embed iframe {
    width: 100%;
    max-width: 420px;
    min-height: 380px;
}

/* Video */

.video-inner {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1.4fr);
    gap: 2rem;
    align-items: center;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contacto */

.contacto-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1.2fr);
    gap: 2.5rem;
    align-items: start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.contact-list li + li {
    margin-top: 0.5rem;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 1.5rem 1.4rem 1.7rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-form-card h3 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.55rem;
    border: 1px solid #d6c9b2;
    font-size: 0.9rem;
    font-family: inherit;
}

/* WhatsApp floating button */

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    z-index: 999;
}

.wa-icon {
    font-size: 1.7rem;
    color: #ffffff;
}

/* Footer */

.footer {
    background: #1f1f1f;
    color: #e0e0e0;
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    font-size: 0.85rem;
}

.footer a {
    color: #ffb74d;
    text-decoration: none;
}

/* Responsive */

@media (max-width: 900px) {
    .about .section-inner,
    .redes-grid,
    .video-inner,
    .contacto-grid {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        inset-inline: 0;
        top: 64px;
        padding: 0.75rem 5vw 1rem;
        background: rgba(0,0,0,0.96);
        flex-direction: column;
        gap: 0.5rem;
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }

    .hero-content {
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar {
        padding-inline: 4vw;
    }

    .section {
        padding-inline: 4vw;
    }
}
