/* ============================================
   FLYLINK — Formato nuevo (editorial / lounge)
   Tipografía geométrica + layout asimétrico
   ============================================ */
:root {
    --azul-oscuro: #041525;
    --azul-medio: #0B2340;
    --azul-claro: #163A63;
    --dorado: #C9A44A;
    --dorado-claro: #D4B56A;
    --dorado-oscuro: #9A7A2E;
    --blanco: #FFFFFF;
    --gris-claro: #EEF1F5;
    --gris: #5C6570;
    --negro: #0A0A0A;
    --papel: #F7F8FA;
    --oro-suave: #FFFFFF;
    --oro-medio: #F0F2F5;
    --niebla: #E8ECF1;
    --linea: rgba(4, 21, 37, 0.1);
    --sombra: 0 18px 40px rgba(4, 21, 37, 0.08);
    --sombra-dorada: 0 10px 28px rgba(201, 164, 74, 0.22);
    --transicion: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --radio: 4px;
    --max: 1280px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Figtree', sans-serif;
    color: var(--azul-oscuro);
    background:
        radial-gradient(1000px 480px at 8% -10%, rgba(201, 164, 74, 0.1), transparent 55%),
        radial-gradient(900px 420px at 95% 15%, rgba(11, 35, 64, 0.06), transparent 50%),
        linear-gradient(180deg, #F7F8FA 0%, #EEF1F5 45%, #E8ECF1 100%);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.container {
    max-width: var(--max);
    padding: 0 28px;
}

/* ---------- Botones: rectos, no pills ---------- */
.btn {
    border-radius: var(--radio);
    font-family: 'Figtree', sans-serif;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 15px 28px;
    box-shadow: none;
}

.btn-primary {
    background: var(--azul-oscuro);
    color: var(--blanco);
    border: 1px solid var(--azul-oscuro);
}

.btn-primary:hover {
    background: var(--dorado);
    border-color: var(--dorado);
    color: var(--azul-oscuro);
    transform: translateY(-2px);
    box-shadow: var(--sombra-dorada);
}

.btn-outline {
    background: transparent;
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: var(--blanco);
    color: var(--azul-oscuro);
    border-color: var(--blanco);
}

.section .btn-outline,
.page-header ~ .section .btn-outline,
.features .btn-outline {
    color: var(--azul-oscuro);
    border-color: var(--azul-oscuro);
    background: transparent;
}

.section .btn-outline:hover,
.page-header ~ .section .btn-outline:hover {
    background: var(--azul-oscuro);
    color: var(--blanco);
}

/* ---------- Header editorial ---------- */
.vip-topbar {
    background: var(--azul-oscuro);
    border-bottom: none;
    font-family: 'Figtree', sans-serif;
    letter-spacing: 0.18em;
    font-size: 10px;
}

.header {
    background: transparent;
}

.header.scrolled {
    background: rgba(247, 248, 250, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--linea);
    box-shadow: 0 8px 24px rgba(4, 21, 37, 0.06);
}

.header.scrolled .nav-link {
    color: var(--azul-oscuro);
    text-shadow: none;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--dorado-oscuro);
}

.header.scrolled .cart-btn { color: var(--azul-oscuro); }
.menu-toggle span { background: #fff; }
.header.scrolled .menu-toggle span { background: var(--azul-oscuro); }

.section-dark .btn-outline,
.corp-teaser .btn-outline,
.hero .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.section-dark .btn-outline:hover,
.corp-teaser .btn-outline:hover,
.hero .btn-outline:hover {
    background: var(--oro-suave);
    color: var(--azul-oscuro);
}

.nav-container {
    padding: 14px 28px;
}

.logo {
    height: 56px;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.header.scrolled .logo {
    filter: none;
}

.nav-menu { gap: 22px; margin-left: 36px; }

.nav-link {
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.nav-link::after {
    height: 1px;
    background: var(--dorado);
}

.currency-selector {
    border-radius: var(--radio);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(4, 21, 37, 0.35);
    color: #fff;
    font-family: 'Figtree', sans-serif;
}

.header.scrolled .currency-selector {
    border-color: var(--linea);
    background: var(--oro-suave);
    color: var(--azul-oscuro);
}

/* ---------- Hero: brand-first, left composition ---------- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding: 0 !important;
    background-image: none;
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(4, 21, 37, 0.82) 0%, rgba(4, 21, 37, 0.45) 48%, rgba(4, 21, 37, 0.2) 100%),
        linear-gradient(to top, rgba(4, 21, 37, 0.75) 0%, transparent 45%);
}

.hero-content {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 140px 28px 72px;
    text-align: left;
}

.hero-brand {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3.4rem, 9vw, 7.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.92;
    color: #fff;
    margin: 0 0 18px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
    animation: flReveal 1s ease both;
}

.hero-brand span {
    color: var(--dorado-claro);
    font-style: normal;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--dorado-claro);
    margin-bottom: 18px;
    font-weight: 600;
}

.hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--dorado);
}

.hero-title {
    display: none; /* brand is the hero signal */
}

.hero-subtitle {
    max-width: 480px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 28px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    animation: flReveal 1s 0.12s ease both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
    animation: flReveal 1s 0.2s ease both;
}

.hero .search-box {
    display: none; /* moved below hero */
}

.hero-slider-nav {
    bottom: 28px;
    right: 28px;
    left: auto;
    align-items: flex-end;
}

.hero-slide-caption {
    border-radius: var(--radio);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 11px;
}

/* Buscador bajo el hero — barra limpia */
.search-strip {
    background: var(--oro-suave);
    border-bottom: 1px solid var(--linea);
    padding: 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 12px 30px rgba(4, 21, 37, 0.06);
}

.search-strip .search-box {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
    gap: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    max-width: var(--max);
    margin: 0 auto;
}

.search-strip .search-field {
    padding: 18px 20px;
    border-right: 1px solid var(--linea);
}

.search-strip .search-field label {
    color: var(--dorado-oscuro);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.search-strip .search-field input,
.search-strip .search-field select {
    border: none;
    background: transparent;
    padding: 6px 0 0;
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    color: var(--azul-oscuro);
    width: 100%;
}

.search-strip .search-btn {
    border-radius: 0;
    height: 100%;
    min-width: 140px;
    align-self: stretch;
}

/* Credenciales */
.financing-banner,
.vip-credentials {
    background: var(--papel);
    border-top: 1px solid var(--linea);
    border-bottom: 1px solid var(--linea);
    padding: 18px 0;
}

.financing-content {
    justify-content: flex-start;
    gap: 16px;
}

.financing-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--dorado);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--dorado-oscuro);
    background: transparent;
    font-size: 14px;
}

.financing-text strong {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.01em;
    display: block;
}

.financing-text span {
    color: var(--gris);
    font-size: 13px;
}

/* Marquee más sobrio */
.flags-marquee {
    background: var(--azul-oscuro);
    color: rgba(255, 255, 255, 0.72);
    border: none;
    padding: 14px 0;
}

.flag-item { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.flag-emoji { display: none; }
.flag-sep { color: var(--dorado); opacity: 0.7; }

/* Secciones */
.section {
    padding: 96px 0;
}

.section-header {
    text-align: left;
    max-width: 640px;
    margin: 0 0 48px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 12px;
}

.section-header h2::after {
    display: none !important;
}

.eyebrow {
    font-family: 'Figtree', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dorado-oscuro);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--dorado);
}

.section-subtitle {
    color: var(--gris);
    font-size: 1.05rem;
    max-width: 52ch;
}

.section-dark {
    background: var(--azul-oscuro);
}

.section-dark .eyebrow { color: var(--dorado-claro); }
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.7); }

/* Features: filas, no tarjetas icono */
.features {
    background: var(--oro-suave);
    border-top: 1px solid var(--linea);
    border-bottom: 1px solid var(--linea);
    padding: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature {
    padding: 40px 28px;
    border-right: 1px solid var(--linea);
    text-align: left;
    background: transparent;
    box-shadow: none;
}

.feature:last-child { border-right: none; }

.feature-icon {
    width: 28px;
    height: 28px;
    border: 1px solid var(--dorado);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    margin-bottom: 18px;
    color: var(--dorado-oscuro);
}

.feature h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.feature p {
    font-size: 14px;
    color: var(--gris);
    margin: 0;
}

/* Stats */
.stats-section {
    background: var(--azul-oscuro);
    padding: 56px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat {
    text-align: left;
    padding: 8px 28px;
    border-right: 1px solid rgba(184, 149, 74, 0.25);
}

.stat:last-child { border-right: none; }

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--dorado-claro);
    letter-spacing: -0.03em;
}

.stat-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Destinos / paquetes: más rectos, overlay tipográfico */
.destination-card,
.package-card,
.blog-card,
.auto-card,
.flota-card,
.salida-card,
.idea-card,
.testimonial-card,
.faq-item,
.partner-chip,
.cart-item,
.cart-summary,
.checklist-card,
.contact-form,
.oferta-card {
    border-radius: var(--radio) !important;
    box-shadow: none !important;
}

.destination-card {
    border: 1px solid var(--linea);
    background: var(--azul-oscuro);
    height: 350px;
}

.destination-card:hover {
    transform: translateY(-4px);
    border-color: var(--dorado);
}

.destination-img,
.package-img,
.blog-img,
.viajero-item img,
.testimonial-avatar,
.oferta-flyer img {
    opacity: 1 !important;
    display: block;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 18px 20px;
    color: #fff;
    z-index: 2;
}

.destination-info h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    color: var(--dorado-claro);
}

.destination-info p,
.destination-price {
    color: rgba(255, 255, 255, 0.9);
}

.package-card {
    border: 1px solid var(--linea);
    background: var(--oro-suave);
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: var(--dorado);
}

.package-img-wrapper {
    height: 220px;
    background: var(--azul-oscuro);
}

.package-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.idea-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 28px 22px;
    transition: var(--transicion);
}

.idea-card:hover {
    border-color: var(--dorado);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.idea-icon {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    letter-spacing: 0.16em;
    color: var(--dorado-claro);
    margin-bottom: 14px;
    opacity: 1;
}

.howto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--linea);
    border-bottom: 1px solid var(--linea);
}

.howto-step {
    padding: 36px 24px;
    border-right: 1px solid var(--linea);
    background: var(--oro-suave);
    text-align: left;
    box-shadow: none;
}

.howto-step:last-child { border-right: none; }

.howto-step-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    color: var(--dorado);
    background: none;
    width: auto;
    height: auto;
    margin-bottom: 12px;
    box-shadow: none;
}

/* Why / corp */
.why-section,
.bg-paris,
.bg-santorini,
.bg-dubai,
.bg-machu {
    background-color: #F7F8FA !important;
    background-size: cover !important;
    background-position: center !important;
}

.why-grid {
    gap: 56px;
    align-items: start;
}

.why-list li {
    border-bottom: 1px solid var(--linea);
    padding: 18px 0;
    background: transparent;
    box-shadow: none;
}

.why-icon {
    background: transparent;
    border: 1px solid var(--dorado);
    color: var(--dorado-oscuro);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 12px;
}

.corp-teaser {
    background:
        linear-gradient(120deg, rgba(4, 21, 37, 0.92), rgba(11, 35, 64, 0.88)),
        url('../img/hero/dubai.jpg') center/cover;
    border-top: 1px solid rgba(184, 149, 74, 0.35);
    border-bottom: 1px solid rgba(184, 149, 74, 0.35);
}

.corp-teaser-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(184, 149, 74, 0.4);
    border-radius: var(--radio);
    backdrop-filter: blur(8px);
}

.corp-teaser .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.ofertas-vacio {
    width: 100%;
    text-align: center;
    padding: 48px 24px;
    border: 1px solid rgba(201, 164, 74, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.ofertas-vacio p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.ofertas-vacio .oferta-consultar {
    display: inline-flex;
}

.ofertas-section {
    background: linear-gradient(135deg, #071233, var(--azul-medio) 55%, #071233) !important;
    color: #fff;
}

.ofertas-section .section-header h2 {
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
}

.ofertas-section .section-subtitle,
.ofertas-section .eyebrow,
.ofertas-section .ofertas-aviso,
.ofertas-section .ofertas-pie {
    color: rgba(255, 255, 255, 0.82);
}

.ofertas-section .eyebrow { color: var(--dorado-claro); }

.oferta-card {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(201, 164, 74, 0.35) !important;
}

.oferta-info,
.oferta-info h3,
.oferta-pais,
.oferta-hotel,
.oferta-precio,
.oferta-precio strong,
.oferta-precio small {
    color: #fff !important;
}

.oferta-consultar {
    background: var(--dorado) !important;
    color: var(--azul-oscuro) !important;
}

.ofertas-marco {
    border: none;
}

/* Centrar los flyers cuando caben en pantalla */
.ofertas-carrusel {
    justify-content: safe center;
}

.ofertas-pie {
    text-align: center;
}

.ofertas-nav {
    border-radius: var(--radio);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(201, 164, 74, 0.4);
}

/* Page headers interiores */
.page-header {
    background:
        linear-gradient(120deg, rgba(4, 21, 37, 0.92), rgba(11, 35, 64, 0.75)),
        url('../img/hero/paris.jpg') center/cover;
    padding: 170px 0 72px;
    text-align: left;
}

.page-header .container {
    max-width: var(--max);
}

.page-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

.page-header h1 span { color: var(--dorado-claro); }

.page-header p {
    max-width: 48ch;
    opacity: 0.85;
}

.page-header::before,
.page-header::after {
    display: none;
}

/* Footer */
.footer {
    background: #03101C;
    border-top: 1px solid rgba(184, 149, 74, 0.35);
    padding-top: 72px;
}

.footer-col h3 {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.01em;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-logo img {
    height: 78px;
    background: transparent;
    padding: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter {
    background: var(--oro-suave);
    border-top: 1px solid var(--linea);
}

.newsletter-content {
    text-align: left;
    max-width: 720px;
}

.newsletter-form {
    border: 1px solid var(--linea);
    border-radius: var(--radio);
    overflow: hidden;
    background: var(--oro-suave);
}

.newsletter-form input {
    border: none;
    font-family: 'Figtree', sans-serif;
}

.newsletter-form .btn {
    border-radius: 0;
}

.season-tabs {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 28px;
}

.season-tab {
    border-radius: var(--radio);
    border: 1px solid var(--linea);
    background: var(--oro-suave);
    font-family: 'Figtree', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
    padding: 10px 16px;
}

.season-tab.active {
    background: var(--azul-oscuro);
    color: #fff;
    border-color: var(--azul-oscuro);
}

.partners-strip {
    background: var(--oro-suave);
    border-top: 1px solid var(--linea);
}

.partner-chip {
    border: 1px solid var(--linea);
    background: var(--papel);
    border-radius: var(--radio);
}

.contact-form,
.contact-info {
    border-radius: var(--radio);
}

.contact-form {
    border: 1px solid var(--linea);
    box-shadow: none;
}

.testimonial-card {
    border: 1px solid var(--linea);
    background: var(--oro-suave);
}

.faq-item {
    border: 1px solid var(--linea);
    background: var(--oro-suave);
}

/* Animaciones */
@keyframes flReveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header,
.feature,
.howto-step {
    animation: flReveal 0.7s ease both;
}

/* Las cards con foto no arrancan en opacity:0 (evita “imágenes que no cargan”) */
.destination-card,
.package-card,
.blog-card,
.oferta-card {
    animation: flSlide 0.55s ease both;
}

@keyframes flSlide {
    from { transform: translateY(14px); }
    to { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 980px) {
    .features-grid,
    .stats-grid,
    .howto-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature,
    .stat,
    .howto-step {
        border-bottom: 1px solid var(--linea);
    }

    .search-strip .search-box {
        grid-template-columns: 1fr 1fr;
    }

    .search-strip .search-btn {
        grid-column: 1 / -1;
        min-height: 52px;
    }
}

@media (max-width: 700px) {
    .features-grid,
    .stats-grid,
    .howto-grid,
    .search-strip .search-box {
        grid-template-columns: 1fr;
    }

    .feature,
    .stat,
    .howto-step,
    .search-strip .search-field {
        border-right: none;
    }

    .hero-content {
        padding: 120px 20px 56px;
    }

    .logo { height: 48px; }

    .page-header {
        padding: 140px 0 56px;
        text-align: left;
    }
}
