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

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #12212f;
    background: #f5f7fb;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(120deg, rgba(0, 68, 102, 0.8), rgba(0, 140, 180, 0.7)), url('../img/portada.jpg') center center/cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 6%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
}

.brand-title {
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.brand-subtitle {
    font-weight: 300;
    font-size: 0.8rem;
    opacity: 0.9;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ffd66b;
    transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.hero-content {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding: 3rem 6% 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3.1vw, 3rem);
    margin-bottom: 1rem;
}

.hero-text p {
    max-width: 550px;
}

.hero-actions {
    margin: 1.8rem 0 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out, color 0.15s ease-out;
    white-space: nowrap;
}

.btn.primary {
    background: #ffd66b;
    color: #123;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    backdrop-filter: blur(6px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn.full {
    width: 100%;
}

.hero-note {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-note a {
    font-weight: 500;
    color: #ffd66b;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.hero-card img {
    border-radius: 1.1rem;
}

.section {
    padding: 4rem 6%;
    background: #f5f7fb;
}

.section.alt {
    background: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.section-header h2 {
    font-size: clamp(1.7rem, 2.3vw, 2rem);
    margin-bottom: 0.5rem;
    color: #0f2740;
}

.section-header p {
    font-size: 0.95rem;
    color: #5b6a80;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.card {
    background: #fff;
    border-radius: 1.3rem;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 12px 30px rgba(10, 43, 70, 0.08);
    border: 1px solid rgba(15, 39, 64, 0.06);
}

.card h3 {
    margin-bottom: 0.6rem;
    color: #0f2740;
}

.card p {
    font-size: 0.95rem;
    color: #5b6a80;
    margin-bottom: 0.8rem;
}

.card ul {
    list-style: none;
    font-size: 0.9rem;
    color: #37455a;
}

.card li::before {
    content: "• ";
    color: #ffb347;
}

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.destino {
    background: linear-gradient(135deg, #004466, #0294c8);
    border-radius: 1.3rem;
    padding: 1.6rem;
    color: #fff;
    box-shadow: 0 12px 30px rgba(5, 37, 70, 0.35);
}

.destino h3 {
    margin-bottom: 0.4rem;
}

.destino p {
    font-size: 0.9rem;
    opacity: 0.95;
}

.section-flex {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.section-text p {
    margin-bottom: 0.8rem;
    color: #4a5a70;
    font-size: 0.95rem;
}

.checklist {
    list-style: none;
    margin: 1rem 0 1.5rem;
    font-size: 0.93rem;
    color: #37455a;
}

.checklist li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.4rem;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #00a86b;
    font-weight: 600;
}

.section-media img {
    border-radius: 1.4rem;
    box-shadow: 0 14px 32px rgba(10, 43, 70, 0.25);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(15, 39, 64, 0.18);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 39, 64, 0.24);
}

.social-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
}

.fb-wrapper iframe {
    width: 100%;
    min-height: 360px;
    border-radius: 1.2rem;
    background-color: #fff;
}

.social-links p {
    font-size: 0.95rem;
    color: #4a5a70;
    margin-bottom: 0.4rem;
}

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

.contact-info h3 {
    margin-bottom: 0.5rem;
    color: #0f2740;
}

.contact-info p {
    font-size: 0.95rem;
    color: #4a5a70;
    margin-bottom: 0.4rem;
}

.contact-form {
    background: #ffffff;
    border-radius: 1.3rem;
    padding: 1.6rem;
    box-shadow: 0 12px 30px rgba(10, 43, 70, 0.08);
    border: 1px solid rgba(15, 39, 64, 0.06);
}

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

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #0f2740;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border-radius: 0.7rem;
    border: 1px solid #c5d0e0;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
    background: #fdfdff;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: #0294c8;
    box-shadow: 0 0 0 2px rgba(2, 148, 200, 0.2);
    background: #ffffff;
}

.form-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #7a889c;
    text-align: center;
}

.map-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    border: 1px solid #d4dde9;
}

.map-wrapper iframe {
    width: 100%;
    height: 380px;
    border: 0;
}

.footer {
    text-align: center;
    padding: 1.8rem 6% 2.4rem;
    background: #0b1724;
    color: #ccd5e4;
    font-size: 0.85rem;
}

.footer a {
    color: #ffd66b;
}

.whatsapp-float {
    position: fixed;
    right: 1.3rem;
    bottom: 1.3rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    z-index: 1000;
    color: #fff;
    font-size: 1.4rem;
}

.whatsapp-float:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.wa-icon {
    transform: translateY(1px);
}

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

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 0.75rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 2rem;
    }

    .hero-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .cards-grid,
    .destinos-grid,
    .section-flex,
    .social-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding-inline: 1.3rem;
    }

    .hero-content {
        padding-inline: 1.3rem;
    }

    .section {
        padding-inline: 1.3rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 62px;
        right: 1.3rem;
        background: rgba(6, 22, 40, 0.96);
        border-radius: 1rem;
        padding: 0.9rem 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        min-width: 170px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-block: 2rem 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 1rem;
        bottom: 1rem;
    }
}
