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

:root {
    --bg: #f4f7fb;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --text: #142235;
    --muted: #5c6a7c;
    --primary: #1f5f99;
    --primary-dark: #173f66;
    --accent: #c98b2e;
    --line: rgba(20, 34, 53, 0.12);
    --shadow: 0 22px 50px rgba(16, 30, 47, 0.14);
    --radius: 22px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(31, 95, 153, 0.08), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #edf3f9 100%);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
    padding: 1rem 0;
}

.header-inner,
.footer-inner,
.highlight-box,
.split-grid,
.hero-content,
.cards,
.info-panel {
    gap: 1.25rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand img {
    width: 56px;
    height: 56px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-contact a {
    color: rgba(255, 255, 255, 0.92);
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.header-contact a:hover,
.brand:hover {
    opacity: 0.92;
}

.hero {
    position: relative;
    min-height: 95svh;
    display: grid;
    align-items: center;
    overflow: clip;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    background-image: url('/media/hero-flight-review.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 17, 29, 0.78) 0%, rgba(10, 25, 41, 0.62) 34%, rgba(10, 25, 41, 0.22) 58%, rgba(10, 25, 41, 0.36) 100%),
        linear-gradient(180deg, rgba(7, 17, 29, 0.15) 0%, rgba(7, 17, 29, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    max-width: 760px;
    padding: 8.5rem 0 4rem;
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 14ch;
}

.lead {
    margin: 0;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.92);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-points span {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #2876bb 0%, #1f5f99 100%);
}

.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.hero-note {
    width: fit-content;
    max-width: 60ch;
    padding: 1rem 1.15rem;
    border-left: 3px solid rgba(255, 255, 255, 0.8);
    background: rgba(6, 16, 26, 0.28);
    color: rgba(255, 255, 255, 0.92);
}

.section {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-intro {
    position: relative;
    z-index: 4;
    margin-top: -4rem;
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
}

.content-block,
.media-card,
.card,
.highlight-box {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.content-block {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border-radius: var(--radius);
}

.content-block h2,
.section-heading h2,
.highlight-box h2,
.card h3 {
    margin-top: 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.content-block h2,
.section-heading h2,
.highlight-box h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.content-block p,
.section-heading p,
.card p,
.highlight-box p {
    color: var(--muted);
    margin-bottom: 0;
}

.info-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.info-panel > div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(31, 95, 153, 0.06);
    border: 1px solid rgba(31, 95, 153, 0.1);
}

.media-card {
    overflow: hidden;
    border-radius: 28px;
}

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

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    padding: 1.6rem;
    border-radius: 22px;
    transition: transform 220ms ease, border-color 220ms ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 95, 153, 0.28);
}

.section-highlight {
    padding-top: 0;
}

.highlight-box {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    align-items: center;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(31, 95, 153, 0.08), rgba(201, 139, 46, 0.08)),
        rgba(255, 255, 255, 0.92);
}

.stacked-contact {
    display: grid;
    gap: 0.9rem;
    justify-items: end;
}

.stacked-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 0.95rem 1.2rem;
    border-radius: 18px;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 700;
}

.stacked-contact a:hover {
    background: var(--primary);
}

.site-footer {
    padding: 2rem 0 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 1.2rem;
}

/* Tablet */
@media (max-width: 980px) {
    .site-header {
        position: relative;
        background: linear-gradient(180deg, #102235 0%, #153454 100%);
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .split-grid,
    .highlight-box,
    .cards {
        grid-template-columns: 1fr;
    }

    .stacked-contact {
        justify-items: stretch;
    }

    .stacked-contact a {
        min-width: 0;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 1.2rem), var(--container));
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-contact {
        width: 100%;
    }

    .header-contact a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: none;
    }

    .hero h1 {
        max-width: 11ch;
    }

    .hero-points,
    .hero-actions,
    .info-panel {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hero-points span,
    .btn {
        width: 100%;
    }

    .hero-note {
        width: 100%;
    }
}
