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

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

/* Layout helpers */

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.section {
    padding: 4.5rem 0;
}

.section-light {
    background: #ffffff;
}

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

.section-header h2 {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.section-header p {
    color: #5b6475;
}

/* Header & nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
}

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

.logo-img {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 0 0 3px #ffe066;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 700;
    font-size: 1rem;
}

.logo-subtitle {
    font-size: 0.78rem;
    color: #77809a;
}

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

.main-nav a {
    text-decoration: none;
    color: #34405a;
    font-weight: 500;
    position: relative;
}

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

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
}

/* Hero */

.hero {
    position: relative;
    min-height: 80vh;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(115%);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 230, 102, 0.7), transparent 45%),
        linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.9);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.hero-hashtag {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffe066;
}

.hero-text {
    margin-top: 1rem;
    max-width: 32rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #ffb703, #ff3c6a);
    color: #1b1b25;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

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

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

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

.btn.outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.7);
    color: #111827;
}

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

.btn.full-width {
    width: 100%;
}

.hero-highlight {
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 420px;
    font-size: 0.87rem;
}

.hero-highlight .highlight-title {
    display: block;
    font-weight: 700;
}

.hero-highlight .highlight-subtitle {
    display: block;
    color: #e5e7eb;
}

/* Cards */

.cards-grid {
    display: grid;
    gap: 1.75rem;
}

.tour-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
    background: #ffffff;
    border-radius: 1.3rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.tour-image {
    background-size: cover;
    background-position: center;
    min-height: 210px;
}

.tour-body {
    padding: 1.5rem 1.75rem;
}

.tour-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.tour-meta {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.6rem;
}

.tour-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: #047857;
    margin-bottom: 0.75rem;
}

.tour-price span {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.tour-desc {
    font-size: 0.94rem;
    color: #374151;
}

/* Bus section */

.bus-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.bus-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

.bus-text p {
    color: #4b5563;
}

.icon-list {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

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

.icon-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #059669;
    font-weight: 700;
}

.bus-note {
    font-size: 0.8rem;
    color: #6b7280;
}

.bus-image img {
    width: 100%;
    border-radius: 1.2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* Destinos */

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

.destino {
    overflow: hidden;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.destino img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.destino:hover img {
    transform: scale(1.06);
}

.destino figcaption {
    padding: 0.7rem 0.9rem 0.9rem;
    font-size: 0.85rem;
    color: #374151;
}

/* Galería */

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

.gallery-item {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

/* Redes sociales */

.social-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.social-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.social-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
}

.social-card p {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.facebook-embed iframe {
    width: 100%;
    border-radius: 0.8rem;
    background: #f1f5f9;
}

.social-card .btn {
    margin-top: 1rem;
}

.social-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Video */

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

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

/* Contacto */

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

.contact-info p {
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.contact-list {
    list-style: none;
    margin-bottom: 0.75rem;
}

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

.contact-list a {
    color: #0369a1;
    text-decoration: none;
}

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

.contact-note {
    font-size: 0.9rem;
    color: #6b7280;
}

.contact-form-card {
    background: #ffffff;
    padding: 1.8rem 1.9rem;
    border-radius: 1.3rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.contact-form-card h3 {
    margin-bottom: 1rem;
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 0.7rem;
    border: 1px solid #cbd5e1;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

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

/* Footer */

.site-footer {
    background: #020617;
    color: #e5e7eb;
    padding: 1.7rem 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.footer-right a {
    color: #38bdf8;
    text-decoration: none;
}

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

.hashtag {
    color: #fde68a;
    font-weight: 600;
}

/* WhatsApp floating button */

.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.6);
    text-decoration: none;
    z-index: 50;
}

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

/* Lightbox */

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

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

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

/* Animations */

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.9s ease forwards;
}

.section.fade-in {
    animation-delay: 0.15s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media (max-width: 960px) {
    .tour-card {
        grid-template-columns: 1fr;
    }

    .tour-image {
        min-height: 190px;
    }

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

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

    .social-grid,
    .contact-grid,
    .bus-grid {
        grid-template-columns: 1fr;
    }

    .video-wrapper {
        border-radius: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding-inline: 0;
    }

    .main-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.97);
        padding: 0.9rem 1.25rem 1.1rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.18s ease, opacity 0.18s ease, visibility 0.18s ease;
    }

    .main-nav a {
        color: #e5e7eb;
    }

    .main-nav.open {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 70vh;
    }

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

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .hero-content {
        padding-top: 5rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

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

    .destinos-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
