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

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

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

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

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

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 19, 43, 0.96);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
}

.logo span {
    font-size: 1.1rem;
}

.logo .accent {
    color: #8dd640;
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.main-nav a {
    position: relative;
    padding-bottom: 0.1rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8dd640, #00b5e2);
    transition: width 0.25s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 4px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */

.hero {
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 181, 226, 0.65), transparent 55%),
                linear-gradient(to bottom, rgba(6, 19, 43, 0.9), rgba(6, 19, 43, 0.85));
}

.hero-content {
    position: relative;
    padding: 6rem 0 4rem;
    max-width: 620px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 3.3vw + 1.5rem, 3.3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: #8dd640;
}

.hero-text {
    font-size: 0.98rem;
    max-width: 32rem;
    color: #e5e7eb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

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

.btn.primary {
    background: linear-gradient(135deg, #8dd640, #00b5e2);
    color: #020617;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26);
}

.btn.secondary {
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.4);
}

.btn.secondary:hover {
    background: rgba(15, 23, 42, 1);
}

.btn.outline {
    background: transparent;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.2);
}

.btn.outline:hover {
    background: rgba(15, 23, 42, 0.04);
}

.btn.full {
    width: 100%;
}

.section {
    padding: 4.5rem 0;
    background-color: #f9fafb;
}

.section-alt {
    background-color: #e5f4ff;
}

.section h2 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.section-intro {
    margin-bottom: 2rem;
    max-width: 600px;
    color: #4b5563;
}

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

.icon-list {
    list-style: none;
    margin-top: 1.2rem;
    display: grid;
    gap: 0.4rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.icon-list i {
    color: #00b5e2;
    margin-right: 0.4rem;
}

.highlight-card {
    background: #ffffff;
    border-radius: 1.3rem;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: grid;
    gap: 0.45rem;
    font-size: 0.95rem;
}

.highlight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.highlight-card a {
    color: #0f766e;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.4rem 0 0.4rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.social-links i {
    color: #2563eb;
}

/* Cards de paquetes */

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

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

.card img {
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 1.1rem 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.93rem;
}

.card h3 {
    font-size: 1.1rem;
}

.card-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

/* Galería */

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

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    background: #0f172a;
}

.gallery-item img {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.92;
}

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

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 70;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 92%;
    max-height: 88vh;
    border-radius: 1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #e5e7eb;
    cursor: pointer;
}

/* Video */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 1.3rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

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

/* Social embed */

.social-embed h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.fb-frame-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18);
}

/* Instagram card */

.insta-card {
    margin-top: 1rem;
    background: #ffffff;
    border-radius: 1.4rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    display: block;
}

.insta-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
}

.insta-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #f97316, #ec4899, #6366f1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.insta-user {
    font-size: 0.9rem;
    font-weight: 600;
}

.insta-sub {
    font-size: 0.78rem;
    color: #6b7280;
}

.insta-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.insta-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem 0.8rem;
    font-size: 0.78rem;
    color: #6b7280;
}

/* Contacto */

.contact-form {
    margin-top: 1.5rem;
    background: #ffffff;
    border-radius: 1.3rem;
    padding: 1.5rem 1.7rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.8);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00b5e2;
    box-shadow: 0 0 0 1px rgba(0, 181, 226, 0.3);
}

.form-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.map-wrapper {
    margin: 1rem 0 1.2rem;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18);
}

.info-box {
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 1.1rem;
    padding: 1rem 1.2rem;
    display: grid;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.info-box a {
    color: #bae6fd;
}

.info-box i {
    margin-right: 0.45rem;
}

/* Footer */

.site-footer {
    background: #020617;
    color: #9ca3af;
    padding: 1.8rem 0;
    font-size: 0.85rem;
}

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

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

/* WhatsApp flotante */

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(22, 163, 74, 0.6);
    z-index: 80;
}

.whatsapp-float i {
    font-size: 1.6rem;
}

/* Helpers */

.center {
    text-align: center;
}

.mt-lg {
    margin-top: 2rem;
}

/* Responsive */

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

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

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

@media (max-width: 720px) {
    .header-inner {
        padding-inline: 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #020617;
        flex-direction: column;
        align-items: center;
        padding: 0.8rem 0 0.9rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease;
    }

    .main-nav.open {
        max-height: 260px;
    }

    .nav-toggle {
        display: block;
    }

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

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

    .hero {
        min-height: 70vh;
    }

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

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
