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

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #0b1722;
    background-color: #f5f7fb;
}

/* Hero */

.hero {
    position: relative;
    min-height: 80vh;
    color: #ffffff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 30, 60, 0.75), rgba(0, 120, 180, 0.7));
    z-index: -1;
}

.nav {
    max-width: 1160px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

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

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #ffffff;
    padding: 4px;
    object-fit: contain;
}

.brand-name {
    font-weight: 600;
    letter-spacing: 0.05em;
}

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

.hero-content {
    max-width: 1160px;
    margin: 5rem auto 4rem;
    padding: 0 1.5rem 3rem;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin: 0;
}

.hero-title span {
    font-style: italic;
    font-weight: 300;
}

.hero-subtitle {
    max-width: 520px;
    margin-top: 1rem;
    font-size: 1.05rem;
    opacity: 0.95;
}

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

/* Buttons */

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

.btn-primary {
    background: #ffb347;
    border-color: #ffb347;
    color: #17212b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    background: #ffc065;
}

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

.btn-outline:hover {
    background: #ffffff;
    color: #0b1722;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Sections */

.section {
    padding: 4rem 1.5rem;
}

.section-light {
    background-color: #f5f7fb;
}

.section-dark {
    background: #0b1722;
    color: #f4f8ff;
}

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

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    margin: 0;
    opacity: 0.9;
}

/* Tours */

.tours-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.tour-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.tour-media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.tour-body {
    padding: 1.3rem 1.4rem 1.5rem;
}

.tour-body h3 {
    margin: 0 0 0.5rem;
}

.tour-body p {
    margin: 0;
    font-size: 0.95rem;
    color: #435064;
}

/* Experience */

.section-dark .section-inner {
    max-width: 1160px;
    margin: 0 auto;
}

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

.section-dark p {
    opacity: 0.92;
}

.highlight-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
}

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

.highlight-list li::before {
    content: "⦿";
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.85rem;
    color: #ffb347;
}

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

.experience-grid img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

/* Gallery */

.gallery-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    cursor: zoom-in;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

/* Video */

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

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

/* Redes sociales */

.social-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 2rem;
}

.social-card {
    background: #111d2a;
    border-radius: 18px;
    padding: 1.75rem 1.6rem 1.9rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

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

.fb-embed iframe {
    width: 100%;
    border-radius: 12px;
}

.social-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0.7rem 0 0.5rem;
}

.instagram-preview {
    margin-top: 0.75rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.instagram-preview img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.instagram-preview .overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.7rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: #ffffff;
    font-size: 0.9rem;
}

/* Contacto */

.contact-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: 2.5rem;
}

.contact-form {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.75rem 1.6rem 1.9rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

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

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #303d50;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #c9d1e2;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
    background: #fdfdff;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

textarea {
    resize: vertical;
}

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

.contact-info {
    align-self: center;
}

.contact-info h3 {
    margin-top: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.info-list li {
    margin-bottom: 0.5rem;
}

/* WhatsApp float */

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

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

/* Footer */

.footer {
    background: #020711;
    color: #9ca3af;
    padding: 1.5rem 1.5rem 1.7rem;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    font-size: 0.85rem;
}

.footer a {
    color: #e5e7eb;
}

/* Lightbox */

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

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

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

/* Responsive */

@media (max-width: 900px) {
    .two-columns,
    .social-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        margin-top: 3.5rem;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        min-height: 70vh;
    }
}

@media (max-width: 640px) {
    .section {
        padding-inline: 1.1rem;
    }

    .gallery-item {
        height: 170px;
    }

    .social-card,
    .contact-form {
        padding-inline: 1.2rem;
    }
}
