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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background-color: #f5f5f5;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* HERO */
.hero {
    position: relative;
    min-height: 80vh;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.75)), url("../img/portada.jpg");
    background-size: cover;
    background-position: center center;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 5vw;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
}

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

.logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

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

.brand-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.brand-slogan {
    font-size: 0.75rem;
    opacity: 0.85;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.15rem;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
}

.hero-content {
    position: relative;
    padding: 4rem 5vw 5rem;
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1rem;
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

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

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.phone-number {
    color: #ffeb3b;
    font-weight: 600;
    text-decoration: none;
}

.section {
    padding: 4rem 5vw;
}

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

.section h2 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    margin-bottom: 2rem;
    color: #555;
}

/* ABOUT */
.about .section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.highlights {
    list-style: none;
    margin: 1.25rem 0;
}

.highlights li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.highlights li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #388e3c;
}

.social-box {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
}

.section-media {
    display: grid;
    gap: 1rem;
}

.card-bus {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-bus.small {
    max-width: 260px;
    justify-self: flex-end;
}

.image-rounded {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DESTINOS */
.destinos {
    background: #ffffff;
}

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

.destino-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    background: #fafafa;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.destino-image img {
    height: 100%;
    object-fit: cover;
}

.destino-content {
    padding: 1.5rem 1.75rem;
}

.destino-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #fff3e0;
    margin-bottom: 0.6rem;
}

.destino-content h3 {
    margin-bottom: 0.5rem;
}

.destino-content ul {
    list-style: none;
    margin: 0.75rem 0 1rem;
}

.destino-content li {
    padding-left: 1.1rem;
    position: relative;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.destino-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

/* GALERIA */
.galeria {
    background: #f5f5f5;
}

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

.gallery-item {
    border-radius: 0.85rem;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 180px;
    object-fit: cover;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.gallery-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

/* VIDEO */
.video-section {
    background: #ffffff;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

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

/* CONTACTO */
.contacto {
    background: #f5f5f5;
}

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

.contact-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
}

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

.map-box {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    margin-top: 0.75rem;
}

.map-box iframe {
    width: 100%;
    height: 220px;
    border: 0;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.contact-form {
    display: grid;
    gap: 0.85rem;
}

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

label {
    font-size: 0.85rem;
    font-weight: 500;
}

input,
textarea {
    border-radius: 0.75rem;
    border: 1px solid #ddd;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 1px rgba(25, 118, 210, 0.2);
}

.form-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn.facebook-btn {
    background: #1877f2;
    color: #fff;
}

.btn.full {
    width: 100%;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.20);
    opacity: 0.95;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: radial-gradient(circle at 30% 30%, #25d366, #128c7e);
    box-shadow: 0 10px 26px rgba(0,0,0,0.3);
    z-index: 30;
}

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

/* FOOTER */
.footer {
    background: #111;
    color: #eee;
    padding: 1.5rem 5vw;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

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

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

.lightbox-image {
    max-width: 960px;
    max-height: 90vh;
    border-radius: 0.75rem;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUp 0.7s ease forwards;
}

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

/* RESPONSIVE */
@media (max-width: 900px) {
    .about .section-inner,
    .contacto-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-bus.small {
        justify-self: stretch;
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    .navbar {
        padding-inline: 4vw;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 56px;
        right: 0;
        flex-direction: column;
        background: rgba(0,0,0,0.9);
        padding: 0.75rem 1.25rem 1rem;
        border-bottom-left-radius: 1rem;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-links.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

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

@media (max-width: 480px) {
    .hero {
        min-height: 88vh;
    }

    .section {
        padding-inline: 4vw;
        padding-block: 3rem;
    }

    .contact-form-card {
        padding-inline: 1.25rem;
    }
}
