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

:root {
    --primary: #0099cc;
    --primary-dark: #006b90;
    --accent: #ffb347;
    --bg: #f5fbff;
    --text: #1f2933;
    --muted: #6b7280;
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.15);
    --max-width: 1100px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background-color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.main-header {
    position: relative;
    z-index: 20;
}

/* NAVBAR */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

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

.navbar-logo img {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.navbar-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.nav-links a {
    padding: 0.35rem 0;
    position: relative;
    color: var(--muted);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary-dark);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-dark);
}

/* HERO */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.25rem 3rem;
    color: #ffffff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/hero_beach_1.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: brightness(0.5);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.3), transparent),
                linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.85));
    z-index: -1;
}

.hero-content {
    position: relative;
}

.hero-text {
    max-width: 620px;
    padding: 2rem 2.25rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.hero h1 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.hero p {
    font-size: 0.97rem;
    margin-bottom: 1.25rem;
    color: #e5e7eb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-contact {
    font-size: 0.85rem;
    color: #d1d5db;
}

.hero-contact a {
    color: #e5e7eb;
    font-weight: 500;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(30, 64, 175, 0.55);
}

.btn-outline {
    background: rgba(15, 23, 42, 0.1);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary-dark);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary-dark);
    border-radius: 999px;
    padding-inline: 1.1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

/* SECTIONS */

.section {
    padding: 3.5rem 0;
}

.section.bg-light {
    background-color: var(--bg);
}

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

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    font-size: 0.95rem;
    color: var(--muted);
}

/* PAQUETES */

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

.card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.card-body {
    padding: 1.1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.card-body h3 {
    font-size: 1.05rem;
}

.card-date {
    font-size: 0.85rem;
    color: var(--muted);
}

.card-price {
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.card-price span {
    font-weight: 500;
    font-size: 0.83rem;
    color: var(--muted);
    margin-left: 0.25rem;
}

.card-includes {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.6rem 0 0.9rem;
    font-size: 0.78rem;
}

.card-includes li {
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(191, 219, 254, 0.6);
    color: #1d4ed8;
}

/* PORQUE */

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.feature-text h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 0.9rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    font-size: 0.93rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.4rem;
}

.feature-list li::before {
    content: "✈";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.85rem;
    color: var(--primary);
}

.feature-images {
    display: grid;
    gap: 1rem;
}

.feature-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.feature-img-wrapper:hover .feature-img {
    transform: scale(1.06);
}

/* GALERIA */

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item::after {
    content: "Ampliar";
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
    color: #f9fafb;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

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

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 60;
    padding: 1.5rem;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}

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

/* VIDEO */

.video-section {
    max-width: 800px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    background: #000;
}

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

/* REDES */

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    font-weight: 700;
}

/* CONTACTO */

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

.contact-info h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 0.9rem;
}

.contact-list {
    list-style: none;
    font-size: 0.92rem;
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
}

.contact-list a {
    color: var(--primary-dark);
    font-weight: 600;
}

.contact-form {
    background: #ffffff;
    padding: 1.5rem 1.3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.85rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.form-group label {
    font-weight: 600;
    color: var(--muted);
}

.form-group input,
.form-group textarea {
    padding: 0.55rem 0.7rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.88rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.78rem;
    color: var(--muted);
}

/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.5);
    z-index: 70;
}

.whatsapp-icon {
    font-size: 1.6rem;
}

/* FOOTER */

.site-footer {
    background: #020617;
    color: #9ca3af;
    padding: 1.4rem 0 1.6rem;
    font-size: 0.8rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: center;
}

.site-footer a {
    color: #e5e7eb;
}

/* REVEAL ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.12s;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .hero {
        min-height: 65vh;
    }

    .hero-text {
        padding: 1.7rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        right: 1.25rem;
        top: 64px;
        flex-direction: column;
        align-items: flex-start;
        background: #ffffff;
        padding: 0.9rem 1.1rem;
        border-radius: 0.9rem;
        box-shadow: var(--shadow-soft);
        transform-origin: top right;
        transform: scale(0.8);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .hero {
        padding-top: 3.2rem;
    }

    .hero-text {
        margin-top: 1rem;
        border-radius: 1.25rem;
    }

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

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

    .whatsapp-float {
        right: 0.9rem;
        bottom: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar-logo img {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .hero-text {
        padding: 1.4rem 1.25rem;
    }

    .section {
        padding: 3rem 0;
    }
}
