/* ─── CÉU ABERTO — MAIN CSS ─────────────────────────────────────────────── */
:root {
    --sky:        #F0F8FF;
    --sky-mid:    #DCF0FF;
    --navy:       #001A3B;
    --navy-mid:   #002B5E;
    --blue:       #0077CC;
    --blue-mid:   #005FA8;
    --blue-dim:   rgba(0,119,204,0.12);
    --cyan:       #00B4E6;
    --white:      #FFFFFF;
    --slate:      #2C3E50;
    --slate-mid:  rgba(44,62,80,0.55);
    --border:     rgba(0,119,204,0.15);
    --shadow:     0 4px 24px rgba(0,26,59,0.10);
    --shadow-lg:  0 16px 48px rgba(0,26,59,0.16);
    --font:       'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body:  'Inter', system-ui, sans-serif;
    --max-w:      1200px;
    --radius:     10px;
    --radius-lg:  20px;
    --header-h:   72px;
    --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: var(--font-body);
    background: var(--sky);
    color: var(--slate);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ─── PRELOADER ───────────────────────────────────────────────────────────── */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 40%, #004A99 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1.2rem;
    overflow: hidden;
    transition: opacity 0.5s var(--ease);
}
#preloader.is-hidden { opacity: 0; pointer-events: none; }
.preloader__sky { position: absolute; inset: 0; overflow: hidden; }
.preloader__cloud {
    position: absolute; background: rgba(255,255,255,0.08);
    border-radius: 50px; animation: cloudDrift 8s linear infinite;
}
.preloader__cloud--1 { width: 120px; height: 30px; top: 25%; left: -140px; animation-duration: 7s; }
.preloader__cloud--2 { width: 80px;  height: 22px; top: 45%; left: -100px; animation-duration: 9s; animation-delay: -3s; }
.preloader__cloud--3 { width: 160px; height: 36px; top: 65%; left: -180px; animation-duration: 11s; animation-delay: -5s; }
@keyframes cloudDrift { to { left: calc(100% + 180px); } }
.preloader__plane {
    position: absolute; top: 50%; left: -80px;
    transform: translateY(-50%);
    animation: planeFly 1.8s var(--ease) forwards;
}
@keyframes planeFly {
    0%   { left: -80px; opacity: 0; }
    15%  { opacity: 1; }
    75%  { left: 55%; }
    100% { left: 55%; }
}
.preloader__trail {
    position: absolute; top: 50%; left: 0;
    height: 2px; width: 0;
    background: linear-gradient(90deg, transparent, rgba(0,180,230,0.4), transparent);
    transform: translateY(-50%);
    animation: trailGrow 1.8s var(--ease) forwards;
}
@keyframes trailGrow { 75% { width: 55%; } 100% { width: 55%; opacity: 0; } }
.preloader__name {
    position: relative; z-index: 1;
    font-family: var(--font); font-size: 1.5rem; font-weight: 700;
    color: white; letter-spacing: 0.04em; margin-top: 3rem;
}
.preloader__sub {
    position: relative; z-index: 1;
    font-size: 0.72rem; color: rgba(255,255,255,0.5);
    letter-spacing: 0.12em; text-transform: uppercase;
}

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    height: var(--header-h);
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header__inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
    height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.header__logo { display: flex; align-items: center; gap: 0.7rem; color: var(--navy); }
.header__logo-icon { color: var(--blue); flex-shrink: 0; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__logo-name { font-family: var(--font); font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.header__logo-sub  { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }

.header__nav { display: flex; align-items: center; gap: 0.25rem; }
.header__links { display: flex; align-items: center; gap: 0.15rem; }
.header__link {
    font-size: 0.87rem; font-weight: 500;
    color: var(--slate); padding: 0.5rem 0.9rem; border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}
.header__link:hover { color: var(--blue); background: var(--blue-dim); }
.header__link--cta {
    background: var(--blue); color: white;
    padding: 0.5rem 1.2rem; border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}
.header__link--cta:hover { background: var(--blue-mid); transform: translateY(-1px); }

.header__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.header__burger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ─── MOBILE MENU ─────────────────────────────────────────────────────────── */
.mobile-menu {
    position: fixed; inset: 0; z-index: 950;
    background: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0.25rem;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    font-size: 2rem; color: white; line-height: 1; padding: 0.5rem;
}
.mobile-menu__link {
    display: block; font-family: var(--font);
    font-size: 1.8rem; font-weight: 600; color: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem; text-align: center;
    transition: color 0.2s;
}
.mobile-menu__link:hover { color: var(--cyan); }
.mobile-menu__tagline {
    position: absolute; bottom: 2rem;
    font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(0,180,230,0.45);
}

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
#main { padding-top: var(--header-h); }
.section { padding: 6rem 1.5rem; }
.section--alt { background: white; }
.section--dark { background: var(--navy); color: white; }
.section__inner { max-width: var(--max-w); margin: 0 auto; }
.text-center { text-align: center; }

.section__eyebrow {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 0.75rem;
}
.section--dark .section__eyebrow { color: var(--cyan); }
.section__title {
    font-family: var(--font); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.15; color: var(--navy); margin-bottom: 1rem;
}
.section--dark .section__title { color: white; }
.section__body {
    font-size: 1.05rem; color: var(--slate-mid);
    max-width: 580px; margin: 0 auto 3rem; line-height: 1.7;
}
.section--dark .section__body { color: rgba(255,255,255,0.6); }

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font); font-weight: 600; border-radius: var(--radius);
    padding: 0.8rem 1.75rem; font-size: 0.92rem;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: white; }
.btn--primary:hover { background: var(--blue-mid); box-shadow: 0 8px 24px rgba(0,119,204,0.35); }
.btn--outline { border: 2px solid rgba(255,255,255,0.3); color: white; }
.btn--outline:hover { background: rgba(255,255,255,0.1); }

/* ─── [data-animate] ─────────────────────────────────────────────────────── */
[data-animate] { opacity: 0; transform: translateY(24px); }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 88vh;
    display: flex; align-items: center;
    background: var(--navy) url('') center/cover no-repeat;
    overflow: hidden;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,26,59,0.92) 0%, rgba(0,77,153,0.75) 60%, rgba(0,26,59,0.6) 100%);
}
/* Sky gradient at top */
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(0,119,204,0.25) 0%, transparent 60%);
    pointer-events: none;
}
.hero__inner {
    position: relative; z-index: 1;
    max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem;
    max-width: 680px;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(0,180,230,0.15); border: 1px solid rgba(0,180,230,0.3);
    color: var(--cyan); font-size: 0.75rem; font-weight: 600;
    padding: 0.4rem 0.9rem; border-radius: 50px;
    letter-spacing: 0.08em; margin-bottom: 1.5rem;
}
.hero__title {
    font-family: var(--font); font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800; line-height: 1.08; color: white; margin-bottom: 1.25rem;
}
.hero__title span { color: var(--cyan); }
.hero__subtitle {
    font-size: 1.1rem; color: rgba(255,255,255,0.65);
    line-height: 1.7; margin-bottom: 2.5rem; max-width: 520px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── SEARCH BAR (flight search) ─────────────────────────────────────────── */
.hero__search {
    margin-top: 2.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
}
.hero__search-field { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 140px; }
.hero__search-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hero__search-value { font-family: var(--font); font-size: 1rem; font-weight: 600; color: white; }
.hero__search-divider { width: 1px; background: rgba(255,255,255,0.15); align-self: stretch; }
.hero__search-btn {
    background: var(--blue); color: white; border-radius: var(--radius);
    padding: 0.7rem 1.5rem; font-family: var(--font); font-weight: 700; font-size: 0.9rem;
    white-space: nowrap; transition: background 0.2s;
}
.hero__search-btn:hover { background: var(--blue-mid); }

/* ─── DESTINATIONS ────────────────────────────────────────────────────────── */
.ca-destinations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.ca-dest-card {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; aspect-ratio: 4/3;
    cursor: pointer; transition: transform 0.3s var(--ease);
}
.ca-dest-card:hover { transform: scale(1.03); }
.ca-dest-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.ca-dest-card:hover .ca-dest-card__img { transform: scale(1.06); }
.ca-dest-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,26,59,0.85) 0%, transparent 60%);
}
.ca-dest-card__info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; }
.ca-dest-card__city { font-family: var(--font); font-size: 1.2rem; font-weight: 700; color: white; }
.ca-dest-card__country { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.ca-dest-card__freq { font-size: 0.75rem; color: var(--cyan); font-weight: 600; margin-top: 0.25rem; }

/* ─── FARE CARDS ──────────────────────────────────────────────────────────── */
.ca-fares-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.ca-fare-card {
    background: white; border-radius: var(--radius-lg); padding: 2rem;
    border: 2px solid var(--border); transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
}
.ca-fare-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ca-fare-card--highlight { border-color: var(--blue); }
.ca-fare-badge {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: white; font-size: 0.68rem; font-weight: 700;
    padding: 0.3rem 0.9rem; border-radius: 0 0 8px 8px; letter-spacing: 0.06em; text-transform: uppercase;
    white-space: nowrap;
}
.ca-fare-card__name { font-family: var(--font); font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.ca-fare-card__price {
    font-family: var(--font); font-size: 2.4rem; font-weight: 800;
    color: var(--blue); line-height: 1; margin: 1rem 0;
}
.ca-fare-card__price span { font-size: 1rem; font-weight: 500; color: var(--slate-mid); }
.ca-fare-card__features { list-style: none; margin: 1.25rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.ca-fare-card__features li { font-size: 0.88rem; color: var(--slate-mid); padding-left: 1.2rem; position: relative; }
.ca-fare-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.ca-fare-card__features li.no::before { content: '×'; color: #D0D0D0; }

/* ─── CHECKIN ─────────────────────────────────────────────────────────────── */
.ca-checkin-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.ca-step { text-align: center; position: relative; }
.ca-step__num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--blue); color: white;
    font-family: var(--font); font-size: 1.2rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.ca-step__title { font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.ca-step__body { font-size: 0.88rem; color: var(--slate-mid); line-height: 1.65; }

/* ─── INFO ACCORDION ──────────────────────────────────────────────────────── */
.ca-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ca-info-item {
    background: var(--sky); border-radius: var(--radius-lg);
    padding: 1.5rem; border: 1px solid var(--border);
}
.ca-info-item__icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.ca-info-item__title { font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.ca-info-item__body { font-size: 0.88rem; color: var(--slate-mid); line-height: 1.65; }

/* ─── ABOUT ───────────────────────────────────────────────────────────────── */
.ca-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.ca-about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.ca-stats-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.ca-stat { }
.ca-stat__number { display: block; font-family: var(--font); font-size: 2.2rem; font-weight: 800; color: var(--blue); }
.ca-stat__label  { font-size: 0.82rem; color: var(--slate-mid); }

/* ─── CONTACT / FORM ──────────────────────────────────────────────────────── */
.ca-contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.ca-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.ca-contact-item h4 { font-family: var(--font); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.3rem; }
.ca-contact-item p, .ca-contact-item a { font-size: 1rem; color: rgba(255,255,255,0.8); }
.ca-contact-item a:hover { color: var(--cyan); }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--navy); color: rgba(255,255,255,0.4);
    padding: 2rem 1.5rem; text-align: center; font-size: 0.82rem;
}
.site-footer a { color: var(--cyan); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .header__links { display: none; }
    .header__burger { display: flex; }
    .ca-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .ca-contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .ca-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .section { padding: 4rem 1rem; }
    .hero__inner { padding: 3rem 1.25rem; }
    .hero__search { flex-direction: column; }
    .ca-destinations-grid { grid-template-columns: 1fr; }
    [data-animate] { opacity: 1; transform: none; }
}
