/* Air Fare Ticket Center — shared visual system */
:root {
  --aftc-ink: #082f49;
  --aftc-ink-deep: #051f32;
  --aftc-teal: #0b8f87;
  --aftc-teal-dark: #08726c;
  --aftc-teal-soft: #e8f7f5;
  --aftc-coral: #ff6b4a;
  --aftc-coral-dark: #e85232;
  --aftc-sand: #f7f3eb;
  --aftc-cloud: #f5f8fa;
  --aftc-line: #dce6ea;
  --aftc-copy: #496273;
  --aftc-white: #fff;
  --aftc-radius-sm: 12px;
  --aftc-radius: 20px;
  --aftc-radius-lg: 32px;
  --aftc-shadow-sm: 0 10px 30px rgba(8, 47, 73, .08);
  --aftc-shadow: 0 24px 60px rgba(8, 47, 73, .13);
  --bs-primary: #0b8f87;
  --bs-primary-rgb: 11, 143, 135;
  --bs-link-color: #08726c;
  --bs-link-hover-color: #055c57;
}

html { max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--aftc-copy) !important;
  background: #fff;
  font-family: "Manrope", sans-serif !important;
  line-height: 1.65;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body, input, select, textarea, button { font-family: "Manrope", sans-serif !important; }
main { min-height: 50vh; }
h1, h2, .display-1, .display-2, .display-3, .display-4, .display-5 {
  color: var(--aftc-ink);
  font-family: "DM Serif Display", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -.025em;
}
h3, h4, h5, h6 { color: var(--aftc-ink); font-family: "Manrope", sans-serif !important; font-weight: 800; }
p { line-height: 1.75; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
img { max-width: 100%; }
.object-fit-cover { object-fit: cover; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 9999; padding: 12px 18px; border-radius: 0 0 10px 10px; background: var(--aftc-ink); color: #fff; text-decoration: none; }
.skip-link:focus { top: 0; color: #fff; }

/* Shared header */
.site-announcement { background: var(--aftc-ink-deep); color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.site-announcement .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-announcement a, .site-announcement span { display: inline-flex; align-items: center; gap: 8px; }
.site-announcement a { color: #fff; text-decoration: none; }
.site-announcement i { color: #58d5c8; }
.site-header { position: sticky; top: 0; z-index: 1060; width: 100%; max-width: 100vw; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(8,47,73,.08); box-shadow: 0 4px 24px rgba(8,47,73,.05); backdrop-filter: blur(16px); }
.site-header .navbar { min-height: 78px; padding: 8px 0; }
.site-header .navbar-brand { flex: 0 0 auto; padding: 0; margin-right: 32px; }
.site-header .navbar-brand img { display: block; width: 244px; height: auto; }
.site-header .navbar-nav { gap: 2px; }
.site-header .nav-link { position: relative; padding: 12px 13px !important; color: #284456 !important; font-size: 14px; font-weight: 700; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--aftc-teal) !important; }
.site-header .nav-link.active::after { content: ""; position: absolute; right: 13px; bottom: 5px; left: 13px; height: 2px; border-radius: 2px; background: var(--aftc-coral); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 18px; padding: 9px 14px 9px 9px; border: 1px solid #cfe0e4; border-radius: 999px; color: var(--aftc-ink); text-decoration: none; background: #fff; box-shadow: var(--aftc-shadow-sm); }
.header-cta:hover { color: var(--aftc-ink); border-color: #a9cbc8; transform: translateY(-1px); }
.header-cta-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--aftc-coral); }
.header-cta small, .header-cta strong { display: block; line-height: 1.2; }
.header-cta small { color: #708692; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.header-cta strong { margin-top: 3px; font-size: 13px; font-weight: 800; }
.site-header .navbar-toggler { width: 46px; height: 46px; padding: 11px; border: 1px solid #d5e3e6; border-radius: 14px; box-shadow: none; }
.site-header .navbar-toggler:focus-visible { outline: 3px solid rgba(11,143,135,.2); outline-offset: 3px; }
.site-header .navbar-toggler span { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--aftc-ink); transition: transform .22s ease, opacity .18s ease; }
.site-header .navbar-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header .navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared components */
.section-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--aftc-teal); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 26px; height: 2px; background: var(--aftc-coral); }
.section-kicker-light { color: #8aeade; }
.section-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
.section-heading p { max-width: 620px; margin: 14px auto 0; color: #6a7f8b; }
.btn { border-radius: 12px; font-weight: 800; }
.btn-primary, .bg-primary { border-color: var(--aftc-teal) !important; background: var(--aftc-teal) !important; }
.btn-primary:hover { border-color: var(--aftc-teal-dark) !important; background: var(--aftc-teal-dark) !important; transform: translateY(-1px); }
.btn-outline-primary { border-color: var(--aftc-teal) !important; color: var(--aftc-teal) !important; }
.btn-outline-primary:hover { background: var(--aftc-teal) !important; color: #fff !important; }
.btn-coral { border: 0; color: #fff; background: var(--aftc-coral); box-shadow: 0 14px 30px rgba(255,107,74,.26); }
.btn-coral:hover { color: #fff; background: var(--aftc-coral-dark); transform: translateY(-2px); }
.text-primary { color: var(--aftc-teal) !important; }
.text-danger { color: var(--aftc-coral) !important; }
.bg-light { background-color: var(--aftc-cloud) !important; }
.card { border: 1px solid rgba(8,47,73,.08) !important; border-radius: var(--aftc-radius) !important; box-shadow: var(--aftc-shadow-sm); overflow: hidden; }
.card:hover { border-color: rgba(11,143,135,.18) !important; }
.card .card-body { padding: 24px; }
.badge { border-radius: 999px; font-weight: 800; }
.form-control, .form-select { min-height: 48px; border-color: #cfdee3; border-radius: 12px; color: var(--aftc-ink); }
.form-control:focus, .form-select:focus { border-color: var(--aftc-teal); box-shadow: 0 0 0 4px rgba(11,143,135,.12); }
.accordion-item { margin-bottom: 12px; border: 1px solid #dce6ea !important; border-radius: 16px !important; overflow: hidden; background: #fff; }
.accordion-button { min-height: 64px; color: var(--aftc-ink); font-weight: 800; background: #fff; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--aftc-teal-dark); background: var(--aftc-teal-soft); }
.accordion-button::after { filter: none; }
table { color: var(--aftc-copy) !important; }
.table thead th { color: var(--aftc-ink); background: var(--aftc-cloud); }

/* Standardize legacy inner-page heroes */
.airline-hero, .destination-hero, .page-header, .breadcrumb-bar, .inner-banner, .banner-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.airline-hero {
  padding: 82px 0 74px !important;
  background: linear-gradient(125deg, #06283f 0%, #0a4a59 56%, #0b8f87 100%) !important;
}
.airline-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(105,235,219,.24), transparent 30%), linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.045) 50%, transparent 50.3%); background-size: auto, 70px 70px; }
.airline-hero h1, .airline-hero .display-4 { color: #fff !important; font-size: clamp(2.45rem, 5vw, 4.5rem) !important; line-height: 1.02 !important; text-shadow: none !important; }
.airline-hero p, .airline-hero .lead { color: rgba(255,255,255,.82) !important; text-shadow: none !important; }
.airline-hero .hero-badge { display: inline-flex; width: auto; padding: 8px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #b9f5ee !important; background: rgba(255,255,255,.08) !important; }
.airline-hero img { border: 5px solid rgba(255,255,255,.14) !important; border-radius: 28px !important; box-shadow: 0 34px 70px rgba(2,18,29,.32) !important; }
.airline-hero a[href^="tel:"] { border: 0 !important; border-radius: 12px !important; color: #fff !important; background: var(--aftc-coral) !important; box-shadow: 0 18px 34px rgba(2,18,29,.24) !important; }
.destination-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,27,43,.78), rgba(4,27,43,.26)); }
.destination-hero h1, .destination-hero p { color: #fff !important; }
.cta-strip { border: 0 !important; border-radius: 28px !important; background: linear-gradient(125deg, var(--aftc-ink), #0a5962) !important; box-shadow: var(--aftc-shadow); }
.icon-circle { display: grid; place-items: center; color: var(--aftc-teal) !important; background: var(--aftc-teal-soft) !important; }
.section-eyebrow { color: var(--aftc-teal) !important; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Shared search partial */
body .flight-search-shell { z-index: 20; margin-top: -46px; margin-bottom: 58px; }
body .search-widget { border: 1px solid rgba(8,47,73,.08); border-radius: 26px; background: #fff; box-shadow: 0 28px 70px rgba(5,31,50,.18); }
body .search-widget .search-bar-grid { border-color: #b9d8d5; border-radius: 16px; }
body .search-widget .input-box { border-color: #dce6ea; }
body .search-widget .input-label { color: #6f858f; }
body .search-widget .input-field { color: var(--aftc-ink); }
body .search-widget .input-icon-overlay { color: var(--aftc-teal); opacity: .42; }
body .search-widget .btn-search { border-radius: 11px; background: var(--aftc-coral); box-shadow: 0 14px 28px rgba(255,107,74,.25); }
body .search-widget .btn-search:hover { background: var(--aftc-coral-dark); }
body .search-widget .control-pill-trigger { border-color: #d7e4e7; color: var(--aftc-ink); }
body .search-widget .control-pill-trigger i, body .search-widget .airport-item strong { color: var(--aftc-teal); }
body .search-widget .trip-radio .form-check-input:checked { border-color: var(--aftc-teal); background-color: var(--aftc-teal); }
body .search-widget .widget-header .trip-radio .form-check-label { display: inline-block !important; color: var(--aftc-ink) !important; opacity: 1 !important; }
body .search-widget .widget-help-copy a { color: var(--aftc-coral-dark); }

/* Results, checkout, support and legal page harmonization */
.flight-card, .flight-result, .booking-card, .summary-card, .filter-card, .contact-form, .contact-info, .policy-content, .content-box {
  border-color: rgba(8,47,73,.1) !important;
  border-radius: var(--aftc-radius) !important;
  box-shadow: var(--aftc-shadow-sm) !important;
}
.price, .flight-price, .total-price { color: var(--aftc-teal-dark) !important; }
.progress-step.active, .step.active { border-color: var(--aftc-teal) !important; background-color: var(--aftc-teal) !important; }
.booking-page, .results-page { background: var(--aftc-cloud); }
.main-content, .policy-section, .contact-section { overflow-wrap: anywhere; }
.policy-section .container, .terms-section .container { max-width: 1040px; }

/* Shared footer */
.footer-cta { padding: 52px 0; color: #fff; background: linear-gradient(120deg, #0a5962, #0b8f87); }
.footer-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.footer-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(2rem, 3.7vw, 3.15rem); }
.footer-cta p { margin: 0; color: rgba(255,255,255,.76); }
.footer-cta .btn { flex: 0 0 auto; padding: 15px 22px; }
.site-footer { padding: 70px 0 26px; color: rgba(255,255,255,.64); background: var(--aftc-ink-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand img { width: 260px; height: auto; }
.footer-brand > p { max-width: 430px; margin: 22px 0; }
.footer-grid h3 { margin: 9px 0 14px; color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { color: rgba(255,255,255,.68); font-size: 14px; text-decoration: none; }
.footer-grid a:hover { color: #72e5d8; transform: translateX(2px); }
.footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-contact i { width: 20px; color: #64dfd2; }
.footer-airlines { margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-airlines-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.footer-airlines-heading h3 { margin: 0 0 5px; color: #fff; font-size: 16px; }
.footer-airlines-heading p { margin: 0; font-size: 13px; }
.footer-airlines-heading > a { flex: 0 0 auto; color: #72e5d8; font-size: 13px; font-weight: 800; text-decoration: none; }
.footer-airlines-heading > a:hover { color: #fff; }
.footer-airlines-heading i { margin-left: 5px; }
.footer-airline-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.footer-airline-list a { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.05); font-size: 13px; font-weight: 700; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.footer-airline-list a:hover, .footer-airline-list a:focus-visible { border-color: #72e5d8; color: #fff; background: rgba(255,255,255,.1); }
.footer-airline-list img { flex: 0 0 44px; width: 44px; height: 44px; padding: 4px; border-radius: 9px; background: #fff; object-fit: contain; }
.footer-airline-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-payment { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.footer-payment-title { color: #fff; font-size: 13px; font-weight: 800; }
.footer-card-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-card-list li { display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 8px; color: #223d4b; background: #fff; font-size: 11px; font-weight: 800; }
.footer-card-list i { font-size: 27px; line-height: 1; }
.footer-card-list .card-visa i { color: #1434cb; }
.footer-card-list .card-mastercard i { color: #eb001b; }
.footer-card-list .card-amex i { color: #2e77bc; }
.footer-card-list .card-discover i { color: #e36d22; }
.footer-disclaimer { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-disclaimer p { margin: 0; color: rgba(255,255,255,.47); font-size: 12px; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; color: rgba(255,255,255,.45); font-size: 12px; }
.footer-bottom p { margin: 0; }
.mobile-booking-bar { display: none; }

@media (max-width: 1199.98px) {
  .site-header .navbar-brand img { width: 210px; }
  .site-header .nav-link { padding-inline: 9px !important; }
  .header-cta { margin-left: 10px; }
  .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 991.98px) {
  .site-announcement .container { justify-content: center; }
  .site-announcement span { display: none; }
  .site-header .navbar { position: relative; width: 100%; max-width: 100vw; min-height: 70px; }
  .site-header .navbar > .container { width: 100%; max-width: 100%; flex-wrap: wrap; padding-right: 16px; padding-left: 16px; }
  .site-header .navbar-brand { max-width: calc(100% - 62px); margin-right: 0; }
  .site-header .navbar-brand img { width: 214px; }
  .site-header .navbar-toggler { display: block !important; flex: 0 0 46px; margin-left: auto; }
  .site-header .navbar-collapse { position: absolute !important; top: calc(100% + 1px); right: 12px !important; left: 12px !important; width: auto !important; max-width: calc(100vw - 24px); margin: 0 !important; padding: 14px; overflow: hidden; border: 1px solid #dce6ea; border-radius: 0 0 20px 20px; background: #fff; box-shadow: var(--aftc-shadow); }
  .site-header .navbar-collapse.show { display: block !important; }
  .site-header .navbar-nav { display: flex !important; width: 100%; max-width: 100%; flex-direction: column !important; align-items: stretch !important; gap: 3px; margin: 0 !important; }
  .site-header .nav-item { display: block; width: 100%; margin: 0; }
  .site-header .nav-link { display: block; width: 100%; padding: 11px 12px !important; border-radius: 10px; text-align: left; white-space: normal; }
  .site-header .nav-link.active { background: var(--aftc-teal-soft); }
  .site-header .nav-link.active::after { display: none; }
  .site-header .header-cta { width: 100%; max-width: none; justify-content: center; margin: 12px 0 0 !important; border-radius: 14px; box-sizing: border-box; }
  .footer-cta .container { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
  .footer-airline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .search-widget .search-bar-grid { border: 0; }
}

@media (max-width: 767.98px) {
  body { padding-bottom: 66px; font-size: 15px !important; }
  .site-announcement { font-size: 11px; }
  .site-announcement .container { min-height: 32px; }
  .site-announcement a { max-width: 100%; white-space: nowrap; }
  .site-header .navbar-brand img { width: 188px; }
  h1, .display-4 { font-size: clamp(2.25rem, 12vw, 3.2rem) !important; }
  .airline-hero { padding: 54px 0 42px !important; }
  .airline-hero .hero-badge, .airline-hero h1, .airline-hero .display-4, .airline-hero .lead { display: block !important; }
  .airline-hero img { margin-top: 22px; border-radius: 20px !important; }
  body .destination-hero { padding-top: 64px !important; padding-bottom: 58px !important; }
  body .destination-hero h1,
  body .destination-hero .display-4 { max-width: 100%; font-size: clamp(2.15rem, 10.5vw, 3rem) !important; line-height: 1.04 !important; overflow-wrap: anywhere; }
  body .destination-hero p,
  body .destination-hero .lead { max-width: 100%; font-size: .98rem !important; line-height: 1.55 !important; }
  body .destination-hero .hero-meta,
  body .destination-hero .d-flex { max-width: 100%; flex-wrap: wrap !important; }
  body .destination-hero .btn { width: 100%; white-space: normal; }
  body .flight-search-shell { margin-top: -18px; padding-inline: 12px; }
  body .search-widget { border-radius: 22px; background: var(--aftc-ink) !important; }
  body .search-widget .mobile-booking-banner { background: linear-gradient(125deg, #07535a, var(--aftc-teal)) !important; }
  body .search-widget .mobile-offer-strip { background: #effbf9 !important; }
  body .search-widget .mobile-offer-strip a { background: var(--aftc-coral) !important; }
  body .search-widget .btn-search { background: var(--aftc-coral) !important; }
  body .search-widget .mobile-trip-row .form-check-input:checked { box-shadow: inset 0 0 0 3px var(--aftc-ink) !important; }
  .footer-cta { padding: 42px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-airlines-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-airline-list a { gap: 8px; padding: 7px; font-size: 12px; }
  .footer-airline-list img { flex-basis: 38px; width: 38px; height: 38px; }
  .footer-payment { align-items: flex-start; flex-direction: column; gap: 11px; }
  .footer-bottom { align-items: center; flex-direction: column; text-align: center; }
  .mobile-booking-bar { position: fixed; z-index: 1075; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1.12fr; min-height: 66px; padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -10px 28px rgba(5,31,50,.15); }
  .mobile-booking-bar a { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--aftc-ink); font-size: 12px; font-weight: 800; text-decoration: none; }
  .mobile-booking-bar .mobile-booking-call { color: #fff; background: var(--aftc-coral); }
  .mobile-booking-bar i { font-size: 16px; }
  .card .card-body { padding: 20px; }
}

@media (max-width: 479.98px) {
  .site-announcement a { gap: 5px; font-size: 9px; letter-spacing: 0; }
  .site-header .navbar-brand img { width: 168px; }
  .site-header .navbar > .container { padding-right: 12px; padding-left: 12px; }
  .site-header .navbar-brand { max-width: calc(100% - 54px); }
  .site-header .navbar-toggler { width: 42px; height: 42px; flex-basis: 42px; }
  .site-header .navbar-collapse { right: 8px !important; left: 8px !important; max-width: calc(100vw - 16px); padding: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
  .footer-brand img { width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
