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

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

/* Layout helpers */

.container {
    width: min(1120px, 94vw);
    margin: 0 auto;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: #e6f4f8;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #02232f;
}

.section-text {
    max-width: 640px;
    margin-bottom: 2rem;
    color: #335563;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn-solid {
    background: linear-gradient(135deg, #00b3b8, #008f9b);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 143, 155, 0.3);
}

.btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(0, 143, 155, 0.35);
}

.btn-outline {
    border-color: #00a1a8;
    color: #00a1a8;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 161, 168, 0.06);
}

.btn.full {
    width: 100%;
}

/* Hero */

.hero {
    position: relative;
    min-height: 80vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    background-image: url("../img/7.jpg");
    background-size: cover;
    background-position: center;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 32, 63, 0.82), rgba(0, 170, 160, 0.76));
    mix-blend-mode: multiply;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1rem;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 0 4.5rem;
    width: min(720px, 90vw);
    margin: auto 3vw 3.5rem;
}

.hero .subtitle {
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.hero h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.hero-text {
    font-size: 1rem;
    max-width: 36rem;
    opacity: 0.92;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

/* Tours */

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.tour-card {
    background: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(4, 44, 69, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.tour-image {
    position: relative;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.06);
}

.tour-card h3 {
    font-size: 1.1rem;
    margin: 1rem 1rem 0.4rem;
    color: #033142;
}

.tour-card p {
    font-size: 0.95rem;
    margin: 0 1rem 1.1rem;
    color: #41616f;
}

/* Video */

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

.video-wrapper {
    background: #011821;
    padding: 0.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
}

.responsive-iframe iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Beneficios */

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

.benefits-list {
    list-style: none;
    margin-top: 0.6rem;
}

.benefits-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.65rem;
    color: #335563;
}

.benefits-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-size: 0.85rem;
    color: #00a4aa;
}

.social-card {
    background: #02232f;
    color: #e8f6fb;
    padding: 1.6rem 1.8rem;
    border-radius: 1.4rem;
    box-shadow: 0 14px 30px rgba(1, 29, 43, 0.45);
}

.social-card h3 {
    margin-bottom: 0.6rem;
}

.social-card p {
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
}

/* Galería */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.9rem;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 10px 20px rgba(3, 43, 64, 0.12);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(3, 43, 64, 0.18);
    filter: saturate(1.1);
}

/* Lightbox */

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

.lightbox.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: min(960px, 96vw);
    max-height: 88vh;
}

.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: -2.1rem;
    right: 0;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Contacto */

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

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

.contact-info li {
    margin-bottom: 0.4rem;
}

.contact-info a {
    color: #008c98;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    background: #fff;
    padding: 1.5rem 1.7rem;
    border-radius: 1.2rem;
    box-shadow: 0 12px 32px rgba(4, 44, 69, 0.15);
}

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

label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: #284851;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.55rem;
    border: 1px solid #c9d9e0;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #f9fcfe;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #00a1a8;
    box-shadow: 0 0 0 1px rgba(0, 161, 168, 0.2);
}

/* Footer */

.footer {
    background: #02171f;
    color: #d5e6ee;
    padding: 1.4rem 0 1.2rem;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
}

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

.footer a:hover {
    text-decoration: underline;
}

/* WhatsApp float */

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

.whatsapp-float span {
    font-size: 1.8rem;
    color: #fff;
    transform: translateY(1px);
}

/* Responsive */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .hero-content {
        margin: 1.5rem 5vw 3rem;
        padding-top: 1.6rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-alt .video-container,
    .benefits,
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .video-wrapper {
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    }
}

@media (max-width: 480px) {
    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
