
:root {
    --color-primary: #0056a4;
    --color-secondary: #ff4f79;
    --color-accent: #ff9a4f;
    --color-bg: #f5f7fb;
    --color-dark: #1b1b2f;
    --color-text: #333333;
    --radius-lg: 1.5rem;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
}

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

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Utilidades básicas */
.container {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: var(--color-bg);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.section-intro {
    max-width: 640px;
    margin-bottom: 2rem;
}

.grid-2 {
    display: grid;
    gap: 2.5rem;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.7rem;
    gap: 1rem;
}

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

.logo-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

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

.logo-title {
    font-weight: 700;
    color: var(--color-primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
}

.main-nav {
    display: none;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    position: relative;
}

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

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

.btn-llamar-header {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-llamar-header i {
    font-size: 0.9rem;
}

@media (min-width: 900px) {
    .main-nav {
        display: flex;
    }
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 1.1rem;
    bottom: 1.2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.5);
    z-index: 70;
}

/* Botones */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    gap: 0.5rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-primary);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.03);
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.25), transparent 55%),
                linear-gradient(to bottom right, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.8));
}

.hero-content {
    position: relative;
    padding: 5rem 0 4rem;
    color: #e5e7eb;
}

.hero-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.6rem;
    color: var(--color-accent);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    max-width: 600px;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--color-secondary);
}

.hero-text {
    max-width: 580px;
    margin-bottom: 1.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.hero-contact a {
    color: #bfdbfe;
    font-weight: 500;
}

.hero-contact {
    font-size: 0.9rem;
    max-width: 620px;
}

/* Cards */
.cards-grid {
    display: grid;
    gap: 1.8rem;
}

@media (min-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.card img {
    width: 100%;
    display: block;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem 1.6rem 1.6rem;
}

.viaje-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.card-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.6rem;
}

.bullet-list {
    padding-left: 1.2rem;
    margin: 0 0 0.75rem;
}

.bullet-list li {
    margin-bottom: 0.25rem;
}

/* Destacado */
.destacado {
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.8), transparent 60%), #ffffff;
    padding: 1.8rem 1.9rem;
}

/* Icon lists */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.icon-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.icon-list i {
    color: var(--color-secondary);
    margin-top: 0.1rem;
}

/* Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

.gallery-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent 45%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 80;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: min(900px, 94vw);
    max-height: 88vh;
    border-radius: 1.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 1.4rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.7);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Video */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #020617;
}

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

/* Redes */
.redes-grid {
    align-items: center;
}

.redes-list li a {
    color: var(--color-primary);
    text-decoration: none;
    word-break: break-all;
}

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

.social-embeds img {
    max-width: 110px;
}

.ig-fallback p {
    font-size: 0.85rem;
}

/* Map */
.map-wrapper {
    margin-top: 1rem;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

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

/* Formulario */
.contact-form {
    background: #ffffff;
    padding: 1.5rem 1.7rem;
    border-radius: 1.3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.form-row {
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-row label {
    font-size: 0.85rem;
    font-weight: 600;
}

.form-row input,
.form-row textarea {
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.3);
    border-color: rgba(37, 99, 235, 0.8);
}

/* Footer */
.site-footer {
    background: #020617;
    color: #e5e7eb;
    padding: 1.5rem 0 2rem;
    font-size: 0.85rem;
}

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

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

/* Helpers */
.small {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Responsivo */
@media (max-width: 640px) {
    .hero {
        min-height: 78vh;
    }

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

    .card img {
        height: 200px;
    }
}
