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

body {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #11160f;
    color: #f7f7f7;
    line-height: 1.6;
}

/* Layout helpers */

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

.section {
    padding: 4rem 0;
}

.section-alt {
    background: #182015;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-intro {
    max-width: 640px;
    margin-bottom: 2.5rem;
    color: #ced6c7;
}

/* Header & hero */

.main-header {
    position: relative;
    min-height: 85vh;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 2rem;
    overflow: hidden;
    background: radial-gradient(circle at top, #274728 0, #11160f 55%);
}

.main-header .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.9));
    z-index: 1;
}

/* Navbar */

.navbar {
    position: relative;
    z-index: 2;
    width: min(1120px, 92%);
    margin: 0.75rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo img {
    height: 52px;
    width: auto;
    border-radius: 999px;
}

.nav-text .brand {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-text .subtitle {
    display: block;
    font-size: 0.75rem;
    color: #f8b35c;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #f7f7f7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 2px;
    background-color: #ff8a00;
    transition: width 0.2s ease;
}

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

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.4rem;
}

/* Hero */

.hero {
    position: relative;
    z-index: 2;
    width: min(1120px, 92%);
    margin: 3.5rem auto 0;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    background-color: rgba(17, 22, 15, 0.8);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 138, 0, 0.6);
    margin-bottom: 1rem;
}

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

.hero h1 span {
    color: #ffb347;
}

.hero p {
    color: #e3ebdb;
    margin-bottom: 1.5rem;
}

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

.hero-data {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #cfd8c8;
}

.hero-data span {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(10, 14, 9, 0.9);
    border: 1px solid rgba(207, 216, 200, 0.2);
}

/* Hero image */

.hero-image {
    position: absolute;
    right: max(8vw, 3rem);
    bottom: 1.5rem;
    width: min(420px, 45vw);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(0,0,0,0.7);
    border: 2px solid rgba(255,255,255,0.08);
    object-fit: cover;
}

/* Buttons */

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

.btn-primary {
    background: linear-gradient(135deg, #ff8a00, #ffb347);
    color: #11160f;
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

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

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

.btn-outline:hover {
    background-color: rgba(255, 179, 71, 0.1);
}

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

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Nosotros */

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

.icon-list {
    list-style: none;
    margin-top: 1.2rem;
    display: grid;
    gap: 0.7rem;
    color: #dbe4d6;
}

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

.highlight-card {
    background: radial-gradient(circle at top left, rgba(255,138,0,0.12), #12180f);
    border-radius: 1.5rem;
    padding: 1.6rem 1.5rem 1.8rem;
    border: 1px solid rgba(255, 179, 71, 0.25);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

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

.badge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    font-size: 0.85rem;
}

.badge-grid article i {
    color: #ffb347;
    margin-bottom: 0.3rem;
}

/* Tours cards */

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

.tour-card {
    background: #151c12;
    border-radius: 1.3rem;
    overflow: hidden;
    border: 1px solid rgba(207,216,200,0.1);
    box-shadow: 0 14px 30px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
}

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

.tour-body {
    padding: 1.1rem 1.2rem 1.3rem;
    font-size: 0.9rem;
}

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

.tour-body ul {
    list-style: none;
    margin-top: 0.6rem;
    display: grid;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #cfe0cf;
}

.tour-body ul li::before {
    content: "• ";
    color: #ffb347;
}

.cta-strip {
    margin-top: 2.5rem;
    padding: 1.5rem 1.6rem;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, rgba(255,138,0,0.12), rgba(8,12,7,0.95));
    border: 1px solid rgba(255,138,0,0.5);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Galería */

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

.gallery-item {
    width: 100%;
    display: block;
    border-radius: 0.9rem;
    cursor: pointer;
    object-fit: cover;
    height: 180px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.5);
    opacity: 0.96;
}

.gallery-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #c7d0c1;
}

/* Lightbox */

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

.lightbox-content {
    max-width: 95%;
    max-height: 80vh;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.8);
}

.lightbox-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #f7f7f7;
}

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

/* Redes */

.social-links {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.social-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e3ebdb;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-item i {
    font-size: 1.3rem;
    color: #ffb347;
}

.social-embeds {
    display: grid;
    gap: 1.2rem;
}

.embed-card {
    background: #151c12;
    border-radius: 1.2rem;
    padding: 1.1rem 1.2rem 1.3rem;
    border: 1px solid rgba(207,216,200,0.18);
}

.embed-wrapper {
    margin-top: 0.75rem;
}

/* Video */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 1.3rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 179, 71, 0.25);
}

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

/* Contacto */

.contact-list {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-list i {
    color: #ffb347;
    margin-right: 0.45rem;
}

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

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

.contact-form {
    background: #151c12;
    border-radius: 1.3rem;
    padding: 1.6rem 1.5rem 1.8rem;
    border: 1px solid rgba(207,216,200,0.2);
    box-shadow: 0 14px 36px rgba(0,0,0,0.55);
}

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

.form-row label {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
    color: #e3ebdb;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border-radius: 0.6rem;
    border: 1px solid rgba(207,216,200,0.35);
    background: #10150e;
    padding: 0.55rem 0.7rem;
    color: #f7f7f7;
    font-size: 0.88rem;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #ffb347;
    box-shadow: 0 0 0 1px rgba(255,179,71,0.5);
}

.form-note {
    font-size: 0.75rem;
    margin-top: 0.6rem;
    color: #c7d0c1;
}

/* WhatsApp floating button */

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    z-index: 70;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

/* Footer */

.main-footer {
    background: #080b06;
    padding: 2.5rem 0 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(207,216,200,0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #d0d7cb;
}

.footer-grid h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.footer-grid h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-grid a {
    color: #ffb347;
    text-decoration: none;
}

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

.footer-bottom {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.78rem;
    color: #9da79a;
}

.footer-bottom a {
    color: #ffb347;
    text-decoration: none;
}

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

/* Responsive */

@media (max-width: 960px) {
    .hero-image {
        position: static;
        width: min(480px, 100%);
        margin: 1.75rem auto 0;
        display: block;
    }

    .main-header {
        text-align: left;
        align-items: stretch;
    }

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

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

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

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

@media (max-width: 768px) {
    .navbar {
        padding-block: 0.4rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 4%;
        background: rgba(8,11,6,0.98);
        border-radius: 1rem;
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
        min-width: 180px;
        border: 1px solid rgba(207,216,200,0.2);
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        margin-top: 2.5rem;
    }

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

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

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

@media (max-width: 520px) {
    .hero-badge {
        font-size: 0.7rem;
    }

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

    .gallery-item {
        height: 150px;
    }
}
