/* A-VIA – business travel solutions */

@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-display: swap; src: url("../fonts/baskerville-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-display: swap; src: url("../fonts/baskerville-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/baskerville-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/baskerville-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Libre Baskerville"; font-weight: 700; font-display: swap; src: url("../fonts/baskerville-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Libre Baskerville"; font-weight: 700; font-display: swap; src: url("../fonts/baskerville-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }

:root {
    --ink: #1e0d03;
    --text: #3d2f27;
    --muted: #7a6b62;
    --line: #e6ddd6;
    --bg: #ffffff;
    --tint: #faf6f2;
    --orange: #ff6900;
    --orange-dark: #d95500;
    --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
    --radius: 4px;
    --container: 1160px;
    --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.25; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure, blockquote { margin: 0; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip-link:focus { top: 8px; z-index: 100; }
.muted { color: var(--muted); }
.icon { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: none; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius);
    font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.btn--block { width: 100%; justify-content: center; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

/* Top bar + header */
.topbar { background: var(--ink); color: #cfc4bc; font-size: .82rem; }
.topbar .container { display: flex; gap: 24px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; flex: none; }
.brand__img { height: 32px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__link { font-weight: 600; font-size: .93rem; color: var(--ink); text-decoration: none; padding: 24px 0; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--orange-dark); }
.nav__link.is-active { border-bottom-color: var(--orange); }
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { font-weight: 700; font-size: .85rem; color: var(--ink); text-decoration: none; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.lang:hover { border-color: var(--ink); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close, .nav-open .nav-toggle .icon--open { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

/* Hero: copy left, quick request right, no stock photo */
.hero { padding: 72px 0 0; background: var(--tint); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
.hero__title { font-size: clamp(2.3rem, 4.8vw, 3.8rem); letter-spacing: -.015em; margin-bottom: 20px; }
.hero__subtitle { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.hero__text { max-width: 54ch; margin-bottom: 32px; }
.hero__phone { display: inline-block; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); text-decoration: none; line-height: 1.2; }
.hero__phone small { display: block; font-family: "Manrope", system-ui, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-dark); }
.hero__phone:hover { color: var(--orange-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.quick__title { grid-column: 1 / -1; font-size: 1.25rem; }
.quick__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.quick__field:nth-of-type(1), .quick__field:nth-of-type(2) { grid-column: 1 / -1; }
.quick__field span { font-size: .8rem; font-weight: 700; color: var(--ink); }
.quick__field input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.quick__field input:focus { outline: none; border-color: var(--orange); }
.quick__submit { grid-column: 1 / -1; justify-content: center; height: 46px; }

.facts { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { flex: 1 1 200px; padding: 18px 20px 20px 0; font-weight: 700; font-size: .92rem; color: var(--ink); }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }

/* Sections */
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #d9cec6; }
.section--dark h2 { color: #fff; }
.section__title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 12px; }
.section__subtitle { font-size: 1.2rem; margin-bottom: 14px; }
.section__text { max-width: 60ch; margin-bottom: 40px; }
.section--dark .section__text { color: #b9aca3; }

/* Homepage chapters – one per audience */
.chapter { padding: 96px 0; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.chapter--flip .chapter__media { order: 2; }
.chapter__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.chapter__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 20px; }
.chapter__list { list-style: none; margin: 20px 0 26px; padding: 0; border-top: 1px solid var(--line); }
.chapter__list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .96rem; }
.chapter__link { font-weight: 700; text-decoration: none; }
.chapter__link:hover { text-decoration: underline; }

/* Special assistance: tinted, portrait photo */
.chapter--special { background: var(--tint); }
.chapter--special .chapter__grid { grid-template-columns: .9fr 1.1fr; }
.chapter--special .chapter__media img { aspect-ratio: 4 / 5; max-width: 440px; margin-left: auto; }
/* Artists & athletes: two photos, offset */
.chapter--artists .chapter__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.chapter--artists .chapter__media img { aspect-ratio: 3 / 4; }
.chapter--artists .chapter__media img + img { margin-top: 64px; }
.chapter__label { display: inline-block; margin: -8px 0 18px; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .82rem; font-weight: 700; color: var(--ink); }

/* 24/7 contact panel (end of homepage, service pages, About) */
.agent { background: var(--ink); color: #d9cec6; padding: 72px 0; }
.agent + .footer .footer__grid { border-top: 1px solid #3a2a20; }
.agent__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.agent__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.agent__inner p { max-width: 52ch; }
.agent__contact { display: grid; gap: 8px; justify-items: start; }
.agent__phone { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); color: #fff; text-decoration: none; line-height: 1.2; }
.agent__phone:hover { color: var(--orange); }
.agent__mail { color: #e8dfd8; margin-bottom: 12px; }

/* Inner pages */
.page-hero { padding: 56px 0; background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero--simple { padding: 48px 0 40px; background: none; border: 0; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.page-hero__title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 16px; }
.page-hero__lead { font-size: 1.12rem; max-width: 58ch; margin-bottom: 24px; }
.page-hero__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.page-hero__img--split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: hidden; }
.page-hero__img--split img { width: 100%; height: 100%; object-fit: cover; }

.part-intro { display: grid; gap: 32px; max-width: 760px; margin-bottom: 40px; }
.part-intro:has(.part-intro__img) { grid-template-columns: 200px 1fr; max-width: none; align-items: center; }
.part-intro__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.part-intro__lead { font-size: 1.1rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.feature { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature--wide { grid-column: 1 / -1; }
.feature__title { font-size: 1.1rem; margin-bottom: 10px; }
.feature p { font-size: .97rem; }
.feature p + .checklist { margin-top: 12px; }

.checklist { margin: 0; padding-left: 1.2em; font-size: .97rem; }
.checklist li { padding: 3px 0; }
.checklist li::marker { color: var(--orange); }
.checklist--cols { columns: 2; column-gap: 40px; }
.checklist--cols li { break-inside: avoid; }
.note { margin-top: 20px; font-size: .88rem; color: var(--muted); }
.closing { margin-top: 36px; max-width: 64ch; font-size: 1.08rem; }

.other-links { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0; padding: 0; }
.other-links a { font-weight: 700; text-decoration: none; }
.other-links a:hover { text-decoration: underline; }

/* About – company data */
.company { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.company__tripco { width: 150px; margin-top: 16px; }
.company__iata { width: 180px; margin-top: 20px; }
.company__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 0; }
.company__list dt { font-size: .8rem; font-weight: 700; color: var(--muted); }
.company__list dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Privacy */
.prose h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.prose h2:first-child { margin-top: 0; }

/* 404 */
.error-page { padding: 100px 0; }
.error-page__code { font-size: 1rem; font-weight: 800; color: var(--orange-dark); margin-bottom: 8px; }

/* Quote form */
.quote-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.form { display: grid; gap: 28px; }
.form__group { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__group legend { grid-column: 1 / -1; float: left; width: 100%; padding: 0 0 10px; margin-bottom: 4px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field__label small { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #d5cac2; border-radius: var(--radius); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 105, 0, .15); }
.field [aria-invalid="true"] { border-color: #c4320a; }
.field__error { color: #b42318; font-size: .85rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.field .chip input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid #d5cac2; border-radius: var(--radius); font-size: .9rem; font-weight: 600; background: #fff; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--orange); flex: none; }
.form__submit { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.alert h2 { font-size: 1.2rem; margin-bottom: 4px; color: inherit; }
.alert a { color: inherit; font-weight: 700; }
.alert__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; flex: none; }
.alert--success { background: #ecfdf3; border: 1px solid #abefc6; color: #054f31; }
.alert--success .alert__icon { background: #12b76a; }
.alert--error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; align-items: center; }
.alert--error .alert__icon { background: #d92d20; }

.contact-card { padding: 24px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card__title { font-size: 1.1rem; margin-bottom: 12px; }
.contact-card__row { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-card__row small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
a.contact-card__row:hover { color: var(--orange-dark); }
.contact-card__iata { margin-top: 18px; width: 150px; }

/* Footer */
.footer { background: var(--ink); color: #b9aca3; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 60px; padding-bottom: 40px; }
.footer__brand p { margin: 16px 0 20px; max-width: 32ch; }
.footer__title { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #e8dfd8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__company { line-height: 1.85; }
.footer__company strong { color: #fff; }
.footer__iata { margin-top: 20px; width: 140px; }
.footer__tripco { width: 110px; margin-bottom: 14px; }
.social { display: flex; gap: 14px; }
.social .icon { width: 20px; height: 20px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid #3a2a20; font-size: .82rem; color: #8f8077; }

/* Responsive */
@media (max-width: 1080px) {
    .nav__list { gap: 16px; }
    .header__cta { display: none; }
    .chapter__grid { gap: 48px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .topbar__mail { display: none; }
    .nav-toggle { display: grid; }
    /* Phone header: menu button left, logo centred, language right */
    .header__inner { display: grid; grid-template-columns: 42px 1fr 42px; gap: 12px; }
    .header__actions { display: contents; }
    .nav-toggle { grid-column: 1; grid-row: 1; }
    .brand { grid-column: 2; grid-row: 1; justify-self: center; }
    .lang { grid-column: 3; grid-row: 1; justify-self: end; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
    .nav-open .nav { display: block; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav__link.is-active { border-bottom-color: var(--line); color: var(--orange-dark); }
    .nav__mobile-extra { display: grid; gap: 10px; margin-top: 16px; }

    .hero__grid, .page-hero__grid, .company, .quote-layout, .agent__inner { grid-template-columns: 1fr; gap: 32px; }
    .chapter__grid, .chapter--special .chapter__grid { grid-template-columns: 1fr; gap: 32px; }
    .chapter--flip .chapter__media { order: 0; }
    .chapter--special .chapter__media img { margin-left: 0; aspect-ratio: 5 / 4; max-width: none; }
    .chapter { padding: 64px 0; }
    .page-hero__img { max-width: 420px; }
    .page-hero__img { aspect-ratio: 16 / 10; }
    .features--3, .features--2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .section { padding: 56px 0; }
    .brand__img { height: 26px; }
    .hero { padding-top: 40px; }
    .facts li, .facts li + li { flex-basis: 50%; padding: 14px 12px 14px 0; border-left: 0; }
    .chapter--artists .chapter__media img + img { margin-top: 32px; }
    .part-intro:has(.part-intro__img) { grid-template-columns: 1fr; }
    .part-intro__img { max-width: 180px; }
    .checklist--cols { columns: 1; }
    .form__group { grid-template-columns: 1fr; }
    .company__list { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; }
}
