@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* =============================================
   VALMAR — LUXURY AIRLINE CSS v2.0
   ============================================= */

:root {
    --navy:       #0A1628;
    --navy-mid:   #112240;
    --navy-light: #1B3A6B;
    --gold:       #C9A84C;
    --gold-light: #E8C96D;
    --white:      #FFFFFF;
    --off-white:  #F7F8FC;
    --gray-light: #E8EAF0;
    --gray:       #9AA0B4;
    --text:       #1A2340;
    --blue-accent:#0085FF;
    --danger:     #FF5757;
    --success:    #2DD4BF;
    --shadow-sm:  0 2px 12px rgba(10,22,40,.08);
    --shadow-md:  0 8px 32px rgba(10,22,40,.12);
    --shadow-lg:  0 20px 60px rgba(10,22,40,.18);
    --radius:     14px;
    --radius-sm:  8px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior:smooth; overflow-x:hidden; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--text);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* =============================================
   HEADER
   ============================================= */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
}

header.cabecera-reducida {
    background: rgba(10, 22, 40, .96);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

#cabecera {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#cabecera .logo img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

header.cabecera-reducida #cabecera .logo img { height: 36px; }

header nav { display: flex; align-items: center; gap: .5rem; }

header nav a {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: .02em;
}

header nav a:hover { color: var(--gold-light); background: rgba(255,255,255,.08); }

header nav .nav-cta {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    padding: .5rem 1.2rem;
    border-radius: 50px;
}

header nav .nav-cta:hover { background: var(--gold-light); color: var(--navy); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    width: 100%;
    clear: both;
    background:
        linear-gradient(160deg, rgba(10,22,40,.92) 0%, rgba(17,34,64,.85) 50%, rgba(10,22,40,.7) 100%),
        url('assets/img/avion.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding-top: 9rem;
    padding-bottom: 3rem;
}

.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 800px;
    animation: heroFadeIn .8s ease forwards;
}

@keyframes heroFadeIn {
    from { opacity:0; transform:translateY(30px); }
    to   { opacity:1; transform:translateY(0); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-eyebrow span { display:inline-block; width:32px; height:1px; background:var(--gold); }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   BUSCADOR
   ============================================= */
#busqueda-container {
    width: 100%;
    max-width: 1100px;
    padding: 0 2rem;
    /* animation eliminada: heroFadeIn usaba transform que creaba un
       stacking context y atrapaba los dropdowns position:absolute */
    opacity: 0;
    animation: heroFadeInSimple .8s .3s ease forwards;
}

/* Versión sin transform para no crear stacking context */
@keyframes heroFadeInSimple {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.search-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-lg);
}

.search-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.search-tab {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.2rem;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: none;
}

.search-tab input[type="radio"] { display: none; }

.search-tab:not(.active):hover {
    color: var(--navy);
    background: rgba(10,22,40,.04);
}

.search-tab.active,
.search-tab:has(input:checked) {
    color: var(--navy);
    border-color: var(--navy);
    background: rgba(10,22,40,.06);
}

.search-tab svg { width:16px; height:16px; fill:currentColor; }

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-row.has-vuelta {
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
}

.search-field {
    position: relative;
}

.search-field label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: .4rem;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: .6rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    transition: var(--transition);
    background: white;
    cursor: pointer;
}

.search-input-wrap:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10,22,40,.08);
}

.search-input-wrap svg {
    width:18px; height:18px;
    fill: var(--gold);
    flex-shrink: 0;
}

.search-input-wrap input {
    border: none; outline: none;
    font-size: .95rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: var(--text);
    width: 100%;
    background: transparent;
}

.search-input-wrap input::placeholder { color: var(--gray); font-weight: 400; }

/* Separador swap */
.swap-btn {
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: var(--navy);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.swap-btn:hover { background: var(--gold); transform: translateY(-50%) rotate(180deg); }
.swap-btn svg { width:14px; height:14px; fill:white; }

/* Botón buscar */
.btn-buscar {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    padding: .9rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(201,168,76,.4);
    display: flex;
    align-items: center;
    gap: .5rem;
    height: 52px;
}

.btn-buscar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,.5);
}

.btn-buscar svg { width:18px; height:18px; fill: var(--navy); }

/* Pasajeros dropdown */
.pax-wrap { position: relative; }

.pax-display {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: .6rem;
}

.pax-display:hover, .pax-display.open {
    border-color: var(--navy);
}

.pax-display svg { width:18px; height:18px; fill: var(--gold); flex-shrink:0; }

.pax-display-text { font-size: .95rem; font-weight: 500; color: var(--text); }

.pax-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    min-width: 280px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.2rem;
    z-index: 2000;   /* por encima de hero, stats-strip y cualquier otra sección */
    border: 1px solid var(--gray-light);
}

.pax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.pax-row:last-of-type { border-bottom: none; }

.pax-info h4 { font-size: .95rem; font-weight: 600; color: var(--text); }
.pax-info small { font-size: .8rem; color: var(--gray); }

.pax-controls { display: flex; align-items: center; gap: .75rem; }

.btn-pax-ctrl {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    background: white;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.btn-pax-ctrl:hover { background: var(--navy); color: white; }
.btn-pax-ctrl.disabled { border-color: var(--gray-light); color: var(--gray); cursor: not-allowed; }
.btn-pax-ctrl.disabled:hover { background: white; color: var(--gray); }

.pax-num { font-weight: 700; font-size: 1rem; width: 24px; text-align: center; }

/* Autocomplete */
.autocomplete-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 2000;   /* mismo nivel que pax-dropdown */
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--gray-light);
    display: none;
}

.autocomplete-list li {
    padding: .75rem 1rem;
    cursor: pointer;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .15s;
    border-bottom: 1px solid var(--gray-light);
}

.autocomplete-list li:last-child { border-bottom: none; }
.autocomplete-list li:hover { background: var(--off-white); }
.autocomplete-list li .city { font-weight: 600; color: var(--text); }
.autocomplete-list li .country { color: var(--gray); font-size: .82rem; }
.autocomplete-list li .iata { font-weight: 700; color: var(--gold); font-size: .85rem; }

/* =============================================
   SECCIONES HOME
   ============================================= */
.section-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.section-title em { font-style: italic; color: var(--gold); }

/* Destinos */
.destinos-section {
    padding: 7rem 0;
    background: white;
}

.destino-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 380px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.destino-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.destino-card-grande { height: 100%; }

.destino-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.destino-card:hover img { transform: scale(1.06); }

.destino-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,.85) 0%, transparent 50%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.destino-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 50px;
    margin-bottom: .7rem;
    align-self: flex-start;
}

.destino-city {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}

.destino-desde {
    color: rgba(255,255,255,.75);
    font-size: .85rem;
    margin-top: .3rem;
}

.destino-desde strong { color: var(--gold-light); font-size: 1rem; }

/* Ventajas */
.ventajas-section {
    padding: 7rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.ventajas-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
}

.ventaja-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.ventaja-icon {
    width: 72px; height: 72px;
    background: rgba(201,168,76,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(201,168,76,.25);
    transition: var(--transition);
}

.ventaja-item:hover .ventaja-icon {
    background: rgba(201,168,76,.2);
    transform: scale(1.1);
}

.ventaja-icon svg { width:32px; height:32px; fill: var(--gold); }

.ventaja-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: white;
    margin-bottom: .7rem;
}

.ventaja-item p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.7; }

/* Stats strip */
.stats-strip {
    background: var(--gold);
    padding: 2.5rem 0;
}

.stat-item { text-align: center; }

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    font-size: .85rem;
    font-weight: 600;
    color: rgba(10,22,40,.7);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .3rem;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--navy);
    color: white;
    padding: 5rem 0 0;
}

.footer-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.2rem;
}

.footer-brand p {
    color: rgba(255,255,255,.55);
    font-size: .88rem;
    line-height: 1.7;
    max-width: 260px;
}

footer h5 {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.footer-link {
    display: block;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    padding: .3rem 0;
    transition: var(--transition);
}

.footer-link:hover { color: var(--gold-light); padding-left: 5px; }

.footer-social { display: flex; gap: .75rem; margin-top: 1.5rem; }

.social-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: rgba(255,255,255,.6);
}

.social-link svg { width:16px; height:16px; fill:currentColor; }
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-newsletter {
    background: rgba(255,255,255,.05);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,.08);
}

.footer-newsletter input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-sm);
    color: white;
    padding: .65rem 1rem;
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    width: 100%;
    margin-bottom: .75rem;
    outline: none;
    transition: var(--transition);
}

.footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter input:focus { border-color: var(--gold); }

.footer-newsletter button {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    padding: .65rem;
    font-size: .9rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover { background: var(--gold-light); }

.footer-bottom {
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }

/* =============================================
   RESULTS PAGE
   ============================================= */
.results-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 9rem 0 3rem;
    color: white;
}

.results-hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: .5rem;
}

.results-hero .ruta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 1.5rem;
}

.ruta-info .origen, .ruta-info .destino {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.ruta-info .flecha { color: var(--gold); font-size: 1.2rem; }

.ruta-chips { display: flex; flex-wrap: wrap; gap: .6rem; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.85);
    padding: .35rem .9rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 500;
}

.chip svg { width:14px; height:14px; fill:var(--gold); }

/* Vuelo card */
.vuelo-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem 2rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.vuelo-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    opacity: 0;
    transition: var(--transition);
}

.vuelo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201,168,76,.3);
}

.vuelo-card:hover::before { opacity: 1; }

.vuelo-aerolinea {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.airline-logo-placeholder {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .05em;
}

.vuelo-code { font-size: .85rem; color: var(--gray); font-weight: 500; }

.vuelo-tiempo { font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.vuelo-aeropuerto { font-size: .8rem; font-weight: 600; color: var(--gray); margin-top: 2px; }
.vuelo-fecha-mini { font-size: .78rem; color: var(--gray); }

.vuelo-linea {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    padding: 0 1.5rem;
}

.vuelo-duracion { font-size: .82rem; font-weight: 600; color: var(--gold); }

.vuelo-track {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.track-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 2px solid var(--gray-light);
    background: white;
    flex-shrink: 0;
}

.track-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--gray-light), var(--gold), var(--gray-light));
    position: relative;
}

.track-plane {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: .9rem;
}

.vuelo-directo { font-size: .78rem; color: var(--gray); }

.vuelo-precio {
    text-align: right;
}

.precio-desde { font-size: .75rem; color: var(--gray); font-weight: 500; }
.precio-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.precio-pax { font-size: .78rem; color: var(--gray); }

.asientos-alerta {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #FFF3CD;
    color: #856404;
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem .65rem;
    border-radius: 50px;
    margin-top: .5rem;
}

.btn-seleccionar-vuelo {
    display: block;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: .85rem 1.75rem;
    font-size: .92rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    margin-top: .75rem;
}

.btn-seleccionar-vuelo:hover { background: var(--navy-light); transform: translateY(-1px); }

/* =============================================
   SEAT SELECTION
   ============================================= */
.seat-page { background: var(--off-white); min-height: 100vh; padding-top: 7rem; }

.seat-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: white;
    padding: 9rem 0 2rem;
    margin-bottom: 2rem;
}

.seat-header h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; }
.seat-header p { color: rgba(255,255,255,.7); font-size: .9rem; }

.plane-container {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    max-width: 420px;
    margin: 0 auto;
}

.plane-nose {
    width: 120px; height: 60px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50% 50% 0 0;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.seat-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin-bottom: .4rem;
}

.seat-row-num {
    width: 20px;
    text-align: right;
    font-size: .7rem;
    color: var(--gray);
    font-weight: 600;
}

.seat-group { display: flex; gap: .4rem; }

.seat {
    width: 38px; height: 44px;
    border-radius: 6px 6px 3px 3px;
    background: var(--gray-light);
    border-bottom: 3px solid rgba(0,0,0,.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    color: var(--gray);
    transition: var(--transition);
    position: relative;
}

.seat:not(.ocupado):not(.bloqueado):hover {
    background: rgba(201,168,76,.45);
    border-bottom-color: #b8860b;
    color: var(--navy);
    transform: translateY(-2px);
}

.seat.seleccionado {
    background: #0A1628;
    color: #E8C96D;
    border-bottom-color: #C9A84C;
    box-shadow: 0 4px 14px rgba(10,22,40,.45);
    transform: translateY(-2px);
    font-weight: 900;
}

.seat.ocupado {
    background: #FFCDD2;
    color: #C62828;
    border-bottom-color: #E53935;
    cursor: not-allowed;
    font-weight: 800;
}

.aisle { width: 16px; }

/* Leyenda */
.seat-legend {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--gray);
    font-weight: 500;
}

.legend-dot {
    width: 14px; height: 16px;
    border-radius: 3px 3px 2px 2px;
    border-bottom: 2px solid;
}

.legend-dot.libre { background: var(--gray-light); border-bottom-color: rgba(0,0,0,.1); }
.legend-dot.seleccionado { background: #0A1628; border-bottom-color: #C9A84C; }
.legend-dot.ocupado { background: #FFCDD2; border-bottom-color: #E53935; }

/* Panel resumen */
.resumen-panel {
    background: white;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.resumen-panel h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.resumen-info { display: flex; flex-direction: column; gap: .6rem; }

.resumen-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
}

.resumen-row .label { color: var(--gray); font-weight: 500; }
.resumen-row .value { font-weight: 600; color: var(--navy); }

.asientos-selected {
    background: var(--off-white);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    margin: 1rem 0;
    min-height: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
}

.seat-badge {
    background: var(--navy);
    color: var(--gold);
    padding: .2rem .6rem;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 700;
}

.precio-total-resumen {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0;
    border-top: 2px solid var(--navy);
    margin-top: 1rem;
}

.precio-total-resumen .label { font-weight: 700; color: var(--navy); font-size: .9rem; }

.precio-total-resumen .amount {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.btn-continuar {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.25rem;
    box-shadow: 0 4px 16px rgba(201,168,76,.35);
}

.btn-continuar:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,.4);
}

.btn-continuar:disabled {
    background: var(--gray-light);
    color: var(--gray);
    cursor: not-allowed;
    box-shadow: none;
}

/* Tramo badge */
.tramo-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem 1rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tramo-badge.ida { background: rgba(255,255,255,.12); color: white; }
.tramo-badge.vuelta { background: rgba(45,212,191,.1); color: #0d9488; }

/* Contador */
.contador-asientos {
    background: rgba(201,168,76,.1);
    border: 1px solid rgba(201,168,76,.3);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: .9rem;
    color: var(--navy);
    font-weight: 500;
}

.contador-asientos strong { color: var(--gold); }

/* =============================================
   CONFIRMACION PAGE
   ============================================= */
.confirm-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: white;
    padding: 9rem 0 3rem;
}

.confirm-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.confirm-header p { color: rgba(255,255,255,.7); }

.form-section {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: .75rem;
}

.form-section-title .num {
    width: 28px; height: 28px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pasajero-card {
    background: var(--off-white);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--navy);
}

.pasajero-card.nino { border-left-color: var(--success); }

.pasajero-card h6 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.form-control-valmar {
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    transition: var(--transition);
    width: 100%;
    outline: none;
    background: white;
}

.form-control-valmar:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10,22,40,.08);
}

.form-control-valmar::placeholder { color: var(--gray); }

.campo-fijo { display:flex; align-items:center; justify-content:space-between; gap:.75rem; border: 2px solid #e2e8f0; border-radius: var(--radius-sm); padding: .72rem 1rem; background: #f8faff; }
.campo-fijo-valor { font-size: .92rem; color: var(--navy); font-weight: 600; }
.btn-editar-campo { background: none; border: 1.5px solid #0069cc; color: #0069cc; border-radius: 8px; padding: .25rem .75rem; font-size: .78rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: all .2s; font-family: inherit; }
.btn-editar-campo:hover { background: #0069cc; color: white; }

/* Resumen checkout */
.checkout-resumen {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.vuelo-resumen-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.vuelo-resumen-item:last-of-type { border-bottom: none; }

.vuelo-resumen-ruta {
    font-weight: 700;
    color: var(--navy);
    font-size: .95rem;
}

.vuelo-resumen-detalles { font-size: .82rem; color: var(--gray); margin-top: .3rem; }

.total-checkout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0 0;
    margin-top: .5rem;
}

.total-checkout .label { font-weight: 700; color: var(--navy); }

.total-checkout .amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
}

.btn-pagar {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
    box-shadow: 0 4px 16px rgba(201,168,76,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.btn-pagar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,.4);
}

.seguridad-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-size: .78rem;
    color: var(--gray);
    margin-top: .75rem;
}

.seguridad-badge svg { width:14px; height:14px; fill: var(--success); }

/* =============================================
   SUCCESS PAGE
   ============================================= */
.success-page {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.success-card {
    background: white;
    border-radius: 24px;
    max-width: 620px;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: successPop .5s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes successPop {
    from { opacity:0; transform:scale(.9) translateY(20px); }
    to   { opacity:1; transform:scale(1) translateY(0); }
}

.success-top {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 3rem 2.5rem;
    text-align: center;
}

.success-icon {
    width: 88px; height: 88px;
    background: rgba(45,212,191,.15);
    border: 3px solid var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.success-top h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: .5rem;
}

.success-top p { color: rgba(255,255,255,.7); font-size: .95rem; }

.success-body { padding: 2.5rem; }

.localizador-box {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
}

.localizador-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(10,22,40,.6);
    margin-bottom: .5rem;
}

.localizador-code {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .1em;
}

.success-info { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }

.success-info-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .9rem;
    color: var(--text);
}

.success-info-row svg { width:18px; height:18px; fill: var(--gold); flex-shrink:0; }

.btn-home {
    display: block;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-home:hover { background: var(--navy-light); color: white; transform: translateY(-1px); }

/* =============================================
   404 PAGE
   ============================================= */
.page-404 {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.page-404::before {
    content: '404';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 40vw;
    font-weight: 700;
    color: rgba(255,255,255,.03);
    line-height: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.page-404-content { position: relative; z-index: 1; color: white; }

.page-404-content .icon-404 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.page-404-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: white;
}

.page-404-content h1 em { color: var(--gold-light); font-style: italic; }

.page-404-content p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 420px; }

.page-404-content a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--gold);
    color: var(--navy);
    padding: .9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    transition: var(--transition);
}

.page-404-content a:hover { background: var(--gold-light); transform: translateY(-2px); }

/* =============================================
   CONTACTO
   ============================================= */
main.contacto {
    padding-top: 3rem;
    padding-bottom: 5rem;
    background: var(--off-white);
}

.contacto-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-wrap: wrap;
}

.info-col {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: white;
    padding: 4rem 3rem;
    flex: 1 1 380px;
    position: relative;
    overflow: hidden;
}

.info-col::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,.15) 0%, transparent 70%);
}

.info-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.info-col > p { color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 2.5rem; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-icon {
    width: 44px; height: 44px;
    background: rgba(201,168,76,.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg { width:20px; height:20px; fill: var(--gold); }

.contact-item h5 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .2rem; }
.contact-item p { color: rgba(255,255,255,.8); font-size: .9rem; }

.form-col {
    flex: 1 1 500px;
    padding: 4rem 3rem;
}

.form-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 2rem;
}

.floating-group {
    position: relative;
    margin-bottom: 1.75rem;
}

.floating-group input,
.floating-group textarea {
    width: 100%;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1rem .6rem;
    font-size: .95rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    outline: none;
    transition: var(--transition);
    background: white;
    resize: none;
}

.floating-group input:focus,
.floating-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,22,40,.06); }

.floating-group label {
    position: absolute;
    top: 50%; left: 1rem;
    transform: translateY(-50%);
    font-size: .9rem;
    color: var(--gray);
    pointer-events: none;
    transition: var(--transition);
}

.floating-group textarea ~ label { top: 1.2rem; transform: none; }

.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label,
.floating-group textarea:focus + label,
.floating-group textarea:not(:placeholder-shown) + label {
    top: .5rem;
    transform: none;
    font-size: .72rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.floating-group textarea { padding-top: 1.4rem; min-height: 120px; }

.btn-enviar-contact {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(201,168,76,.3);
    float: right;
}

.btn-enviar-contact:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.4); }

/* =============================================
   UTILS
   ============================================= */
.container-valmar {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.font-display { font-family: 'Playfair Display', serif; }

/* Scroll fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
    .search-row { grid-template-columns: 1fr; }
    .search-row.has-vuelta { grid-template-columns: 1fr; }
    .swap-btn { display: none; }
    #cabecera nav { display: none; }
    .vuelo-card .row { flex-direction: column; }
    .contacto-wrapper { flex-direction: column; }
}


/* ================================================================
   RESPONSIVE MOBILE — Valmar
   Breakpoints: 992px (tablet), 768px (móvil grande), 480px (pequeño)
   ================================================================ */

/* hamburger y nav-mobile gestionados en header.css */

/* ── TABLET (≤ 992px) ──────────────────────────────────────── */
@media (max-width: 992px) {
    /* Header */
    .hamburger { display: flex; }
    header nav  { display: none; }

    /* Hero */
    .hero h1 { font-size: 2.8rem; }
    .hero p  { font-size: 1rem; }

    /* Buscador: od-row pasa a 2 columnas con swap entre medias */
    .od-row {
        display: grid;
        grid-template-columns: 1fr 44px 1fr;
        align-items: end;
    }

    /* Bottom row: 2 columnas */
    .bottom-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .75rem;
    }
    .bottom-row .buscar-w {
        grid-column: 1 / -1;   /* botón buscar ocupa todo el ancho */
    }
    .bottom-row .buscar-w .btn-buscar { width: 100%; justify-content: center; }

    /* Vuelo cards */
    .vuelo-card { padding: 1.25rem; }

    /* Seat map */
    .plane-container { padding: 1.25rem; }
    .seat { width: 34px; height: 38px; font-size: .65rem; }

    /* Destinos */
    .destino-card { height: 260px !important; }
}

/* ── MÓVIL GRANDE (≤ 768px) ────────────────────────────────── */
@media (max-width: 768px) {

    /* === HEADER === */
    .hamburger { display: flex; }
    .nav-mobile { display: flex; }
    header nav  { display: none; }

    #cabecera {
        height: 2.8rem;
        padding: 0 1rem;
    }
    #cabecera .logo img { height: 32px !important; }

    /* === HERO === */
    .hero {
        min-height: auto;
        padding: 7rem 0 3rem;
        justify-content: flex-start;
    }
    .hero-content { padding: 0 1.25rem; margin-bottom: 2rem; }
    .hero h1      { font-size: clamp(1.9rem, 8vw, 2.6rem); }
    .hero p       { font-size: .95rem; margin-bottom: 2rem; }
    .hero-eyebrow { font-size: .7rem; margin-bottom: 1rem; }

    /* === BUSCADOR === */
    #busqueda-container { padding: 0 1rem; }
    .search-card        { padding: 1.25rem 1rem; border-radius: 14px; }

    /* Tabs */
    .search-tabs  { gap: .35rem; }
    .search-tab   { padding: .4rem .85rem; font-size: .82rem; }
    .search-tab svg { display: none; }

    /* od-row: todo en columna, swap horizontal */
    .od-row {
        display: flex !important;
        flex-direction: column;
        gap: .6rem;
    }

    /* Restaurar bordes normales en móvil */
    .od-row #wrap-origen .search-input-wrap,
    .od-row #wrap-destino .search-input-wrap {
        border: 2px solid var(--gray-light) !important;
        border-radius: var(--radius-sm) !important;
    }
    .od-row #wrap-origen .search-input-wrap:focus-within,
    .od-row #wrap-destino .search-input-wrap:focus-within {
        border-color: var(--navy) !important;
        box-shadow: 0 0 0 3px rgba(10,22,40,.08) !important;
    }

    /* Swap btn: pequeño y centrado horizontalmente */
    .swap-center-btn {
        align-self: center;
        width: 38px !important;
        height: 38px !important;
        margin-top: 0 !important;
        border-radius: 50% !important;
        border: 2px solid var(--navy) !important;
        transform: rotate(90deg);
    }

    /* Bottom row: todo en columna, cada campo ocupa el 100% */
    .bottom-row {
        display: flex !important;
        flex-direction: column;
        gap: .6rem;
    }
    .bottom-row .search-field,
    .bottom-row .pax-wrap,
    .bottom-row .buscar-w { width: 100%; }

    /* Inputs y displays a ancho completo */
    .bottom-row .search-input-wrap,
    .bottom-row .pax-display {
        width: 100%;
        box-sizing: border-box;
    }

    /* Fecha: el input ocupa todo */
    .bottom-row .search-input-wrap input[type="date"] {
        width: 100%;
        min-width: 0;
    }

    /* Dropdown pasajeros a ancho completo */
    .pax-dropdown { width: 100% !important; left: 0 !important; right: 0 !important; }

    .bottom-row .buscar-w .btn-buscar {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1.05rem;
    }

    /* Labels de los campos */
    .search-field-label { font-size: .7rem; }

    /* Autocomplete */
    .autocomplete-list li { padding: .6rem .85rem; }

    /* === STATS STRIP === */
    .stats-strip { padding: 1.5rem 0; }
    .stat-num    { font-size: 2rem; }
    .stat-label  { font-size: .75rem; }

    /* === DESTINOS === */
    .destinos-section { padding: 4rem 0; }
    .section-title    { font-size: 1.8rem; }

    .destino-card     { height: 220px !important; border-radius: 12px; }
    .destino-city     { font-size: 1.3rem; }
    .destino-cta      { display: none; } /* en móvil el tap ya es suficiente */

    /* === VENTAJAS === */
    .ventajas-section { padding: 4rem 0; }
    .ventaja-item     { padding: 1.5rem 1rem; }
    .ventaja-icon     { width: 60px; height: 60px; }
    .ventaja-icon svg { width: 26px; height: 26px; }
    .ventaja-item h3  { font-size: 1.1rem; }
    .ventaja-item p   { font-size: .85rem; }

    /* === RESULTADOS === */
    .results-hero { padding: 8rem 0 2rem; }
    .results-hero h2  { font-size: 1.4rem; }
    .ruta-info { flex-wrap: wrap; gap: .5rem; }
    .ruta-info .origen,
    .ruta-info .destino { font-size: 1.15rem; }
    .ruta-chips { gap: .4rem; }
    .chip       { font-size: .75rem; padding: .25rem .7rem; }

    .vuelo-card  { padding: 1rem; margin-bottom: .75rem; }

    /* Vuelo card: reorganizar en móvil */
    .vuelo-card .row > [class*="col-"] {
        padding: .3rem 0;
    }

    .vuelo-tiempo   { font-size: 1.5rem; }
    .vuelo-aeropuerto { font-size: .75rem; }
    .precio-num     { font-size: 1.7rem; }
    .btn-seleccionar-vuelo { margin-top: .5rem; font-size: .9rem; padding: .7rem; }

    /* === SELECCIÓN ASIENTOS === */
    .seat-header  { padding: 7rem 0 1.5rem; }
    .seat-header h2 { font-size: 1.4rem; }

    .contador-asientos { font-size: .82rem; padding: .6rem .85rem; }

    .plane-container { padding: 1rem .5rem; max-width: 100%; overflow-x: auto; }
    .seat { width: 30px; height: 34px; font-size: .6rem; border-radius: 4px 4px 2px 2px; }
    .seat-row-num { font-size: .6rem; width: 16px; }
    .aisle { width: 10px; }
    .plane-nose { width: 90px; height: 45px; font-size: .6rem; }
    .seat-group { gap: .3rem; }
    .seat-row   { gap: .3rem; margin-bottom: .3rem; }

    .seat-legend { gap: 1rem; }
    .legend-item { font-size: .72rem; }

    .resumen-panel   { margin-top: 1rem; position: static; }
    .resumen-panel h4 { font-size: 1.1rem; }
    .resumen-row .label,
    .resumen-row .value { font-size: .82rem; }
    .precio-total-resumen .amount { font-size: 1.6rem; }
    .btn-continuar { padding: .9rem; font-size: .9rem; }

    /* === CONFIRMACIÓN === */
    .confirm-header { padding: 8rem 0 2rem; }
    .confirm-header h2 { font-size: 1.5rem; }

    .form-section { padding: 1.25rem 1rem; }
    .form-section-title { font-size: 1rem; }
    .pasajero-card { padding: 1rem; }

    .checkout-resumen { position: static; margin-top: 1rem; }
    .total-checkout .amount { font-size: 1.8rem; }
    .btn-pagar { font-size: .95rem; padding: .9rem; }

    /* === SUCCESS PAGE === */
    .success-card { border-radius: 16px; }
    .success-top  { padding: 2.5rem 1.5rem; }
    .success-top h2 { font-size: 1.4rem; }
    .success-icon { width: 70px; height: 70px; font-size: 2rem; }
    .localizador-code { font-size: 2rem; letter-spacing: .07em; }
    .success-body { padding: 1.75rem 1.25rem; }

    /* === CONTACTO === */
    .info-col  { padding: 3rem 1.5rem; }
    .form-col  { padding: 2.5rem 1.5rem; }
    .form-col h3 { font-size: 1.5rem; }

    /* === FOOTER === */
    .footer-brand img { height: 34px; }
    .footer-brand p   { font-size: .82rem; }

    /* === 404 === */
    .page-404-content h1 { font-size: 2rem; }
    .page-404-content p  { font-size: .95rem; }
}

/* ── MÓVIL PEQUEÑO (≤ 480px) ───────────────────────────────── */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }

    .search-card { padding: 1rem .85rem; }

    /* Tabs en columna en teléfonos muy pequeños */
    .search-tabs { flex-direction: column; gap: .3rem; }
    .search-tab  { justify-content: center; }

    .search-input-wrap { padding: .65rem .85rem; }
    .search-input-wrap input { font-size: .88rem; }

    .stat-num   { font-size: 1.6rem; }

    /* Destinos en 1 columna */
    .destino-card { height: 200px !important; }

    /* Seat en teléfono muy pequeño */
    .seat { width: 26px; height: 30px; font-size: .55rem; }
    .seat-row { gap: .25rem; }
    .seat-group { gap: .25rem; }
    .aisle { width: 8px; }

    .vuelo-tiempo { font-size: 1.3rem; }
    .precio-num   { font-size: 1.5rem; }

    .localizador-code { font-size: 1.6rem; }
}
