/* Homepage: image-led booking hero and detailed travel discovery */
.home-search-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #152242; }
.home-hero-image, .home-hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.home-hero-image { object-fit: cover; object-position: center 52%; }
.home-hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(10,19,43,.94) 0%, rgba(10,19,43,.76) 48%, rgba(10,19,43,.34) 78%, rgba(10,19,43,.5) 100%), linear-gradient(0deg, rgba(10,19,43,.45), transparent 50%); }
.home-hero-content { padding-top: 66px; }
.home-search-copy { max-width: 760px; text-align: left; }
.home-search-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: #b9d8ff; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.home-search-hero h1 { max-width: 720px; margin: 0; color: #fff !important; font-size: clamp(3rem,5.4vw,5.1rem); line-height: 1.02; text-shadow: 0 3px 20px rgba(0,0,0,.28); }
.home-search-hero .home-search-copy > p { max-width: 670px; margin: 19px 0 0; color: rgba(255,255,255,.92) !important; font-size: 1.04rem; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.home-search-tabs { display: inline-flex; gap: 5px; margin-top: 26px; padding: 5px; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; background: rgba(10,19,43,.52); backdrop-filter: blur(12px); }
.home-search-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.home-search-tabs a:hover { color: #fff; background: rgba(255,255,255,.14); }
.home-search-tabs a.active { color: var(--aftc-blue); background: #fff; }
.hero-search-wrap { position: relative; z-index: 2; padding-bottom: 56px; }
.page-home .flight-search-shell { margin-top: 34px !important; margin-bottom: 0 !important; }
.page-home .search-widget { box-shadow: 0 16px 45px rgba(5,13,32,.3) !important; }

.home-benefits { padding: 26px 0 48px; background: #fff; }
.benefit-strip { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--aftc-line); border-radius: 14px; background: #fff; }
.benefit-strip article { display: flex; align-items: center; gap: 14px; padding: 20px 24px; }
.benefit-strip article + article { border-left: 1px solid var(--aftc-line); }
.benefit-strip i { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: var(--aftc-blue); background: var(--aftc-sky); }
.benefit-strip strong, .benefit-strip small { display: block; }
.benefit-strip strong { color: var(--aftc-ink); font-size: 14px; }
.benefit-strip small { margin-top: 3px; color: var(--aftc-muted); font-size: 12px; line-height: 1.5; }

.home-section { padding: 78px 0; }
.section-kicker { margin-bottom: 10px; }
.home-section-title { max-width: 790px; margin-bottom: 30px; }
.home-section-title h2, .section-heading-row h2, .airline-booking-intro h2, .support-copy h2, .faq-intro h2 { margin-bottom: 10px; font-size: clamp(2rem,3.4vw,3.05rem); line-height: 1.12; }
.home-section-title p, .section-heading-row p { max-width: 730px; margin: 8px 0 0; color: var(--aftc-muted); }
.text-link { flex: 0 0 auto; color: var(--aftc-blue); font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--aftc-blue-dark); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading-row h2 { margin: 0; }

/* Destination cards */
.popular-section { background: #fff; }
.destination-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.destination-showcase-card { display: flex; overflow: hidden; flex-direction: column; border: 1px solid var(--aftc-line); border-radius: 14px; color: var(--aftc-ink); text-decoration: none; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.destination-showcase-card:hover { color: var(--aftc-ink); transform: translateY(-3px); box-shadow: var(--aftc-shadow-sm); }
.destination-image { position: relative; display: block; height: 188px; overflow: hidden; }
.destination-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.destination-showcase-card:hover img { transform: scale(1.04); }
.destination-code { position: absolute; top: 12px; right: 12px; padding: 5px 8px; border-radius: 5px; color: #fff; background: rgba(20,26,56,.9); font-size: 11px; font-weight: 800; }
.destination-copy { display: flex; flex: 1; padding: 17px; flex-direction: column; }
.destination-copy > strong { color: var(--aftc-ink); font-size: 18px; }
.destination-copy > small { min-height: 58px; margin-top: 6px; color: var(--aftc-muted); font-size: 13px; line-height: 1.55; }
.destination-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin: 13px 0 15px; padding-top: 12px; border-top: 1px solid #eceef2; color: var(--aftc-copy); font-size: 11px; font-weight: 700; }
.destination-meta i { margin-right: 3px; color: var(--aftc-blue); }
.destination-copy > b { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--aftc-blue); font-size: 12px; }

/* Offer cards */
.offers-section { background: var(--aftc-cloud); }
.offer-grid { display: grid; grid-template-columns: 1.15fr .925fr .925fr; gap: 18px; }
.offer-card { position: relative; min-height: 405px; overflow: hidden; border-radius: 16px; background: #182347; box-shadow: var(--aftc-shadow-sm); }
.offer-card > img, .offer-card-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.offer-card > img { object-fit: cover; transition: transform .45s ease; }
.offer-card:hover > img { transform: scale(1.045); }
.offer-card-shade { background: linear-gradient(0deg, rgba(12,18,43,.96) 0%, rgba(12,18,43,.68) 48%, rgba(12,18,43,.08) 88%); }
.offer-card-copy { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px; color: #fff; }
.offer-label { display: inline-flex; margin-bottom: 11px; padding: 6px 9px; border-radius: 6px; color: var(--aftc-ink); background: #fff; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.offer-card h3 { margin: 0 0 9px; color: #fff !important; font-size: 1.55rem; }
.offer-card p { min-height: 64px; margin: 0; color: rgba(255,255,255,.9) !important; font-size: 13px; }
.offer-details { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 15px 0; color: rgba(255,255,255,.94); font-size: 11px; font-weight: 700; }
.offer-details i { margin-right: 4px; color: #9ec8ff; }
.offer-card a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.offer-card a:hover { color: #b9d8ff; }

/* Airline booking */
.airline-booking-section { background: #fff; }
.airline-booking-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.airline-booking-intro > p { max-width: 500px; color: var(--aftc-muted); }
.airline-booking-intro .btn { margin-top: 12px; }
.airline-shortcut-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.airline-shortcut-grid > a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; min-width: 0; padding: 15px; border: 1px solid var(--aftc-line); border-radius: 12px; color: var(--aftc-ink); text-decoration: none; background: #fff; }
.airline-shortcut-grid > a:hover { border-color: #9bbce9; background: #f8fbff; box-shadow: var(--aftc-shadow-sm); }
.airline-monogram { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 11px; color: #fff; background: var(--aftc-blue); font-size: 13px; font-weight: 800; }
.airline-shortcut-grid strong, .airline-shortcut-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.airline-shortcut-grid strong { color: var(--aftc-ink); font-size: 14px; }
.airline-shortcut-grid small { margin-top: 2px; color: var(--aftc-muted); font-size: 11px; }
.airline-shortcut-grid .fa-chevron-right { color: #8c94a5; font-size: 10px; }

/* Practical guidance */
.guidance-section { background: var(--aftc-cloud); }
.guidance-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.guidance-card { display: flex; gap: 17px; padding: 26px; border: 1px solid var(--aftc-line); border-radius: 14px; color: var(--aftc-copy); text-decoration: none; background: #fff; }
.guidance-card:hover { color: var(--aftc-copy); border-color: #9bbce9; box-shadow: var(--aftc-shadow-sm); }
.guidance-icon { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 10px; color: var(--aftc-blue); background: var(--aftc-sky); }
.guidance-type { color: var(--aftc-blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guidance-card h3 { margin: 7px 0 9px; font-size: 17px; line-height: 1.35; }
.guidance-card p { min-height: 88px; margin: 0 0 16px; color: var(--aftc-muted); font-size: 13px; }
.guidance-card b { color: var(--aftc-blue); font-size: 12px; }
.guidance-card b i { margin-left: 5px; }

/* Support and FAQ */
.support-section { background: #fff; }
.support-panel { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid #cbd8ef; border-radius: 18px; background: var(--aftc-mist); }
.support-copy { align-self: center; padding: 50px 56px; }
.support-copy > p { max-width: 560px; color: var(--aftc-muted); }
.support-copy ul { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--aftc-copy); font-size: 13px; font-weight: 700; }
.support-copy li i { margin-right: 8px; color: var(--aftc-success); }
.support-actions { display: flex; align-items: center; gap: 14px; margin-top: 25px; }
.support-actions span { color: var(--aftc-muted); font-size: 12px; font-weight: 700; }
.support-airlines-panel { display: flex; min-height: 430px; padding: 38px; flex-direction: column; justify-content: center; border-left: 1px solid #cbd8ef; background: linear-gradient(145deg,#fff 0%,#f7faff 100%); }
.support-airlines-heading { display: flex; align-items: center; gap: 14px; }
.support-airlines-icon { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border-radius: 14px; color: #fff; background: var(--aftc-blue); box-shadow: 0 9px 22px rgba(22,104,227,.22); }
.support-airlines-heading small, .support-airlines-heading h3 { display: block; }
.support-airlines-heading small { margin-bottom: 2px; color: var(--aftc-blue); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.support-airlines-heading h3 { margin: 0; font-size: 1.55rem; }
.support-airlines-panel > p { margin: 15px 0 20px; color: var(--aftc-muted); font-size: 13px; line-height: 1.6; }
.support-airline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.support-airline-grid > a { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; min-width: 0; padding: 11px; border: 1px solid var(--aftc-line); border-radius: 12px; color: var(--aftc-ink); text-decoration: none; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.support-airline-grid > a:hover { color: var(--aftc-ink); border-color: #8fb4ec; box-shadow: var(--aftc-shadow-sm); transform: translateY(-2px); }
.support-airline-code { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; color: #fff; background: var(--aftc-ink); font-size: 12px; font-weight: 800; }
.support-airline-grid strong, .support-airline-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-airline-grid strong { color: var(--aftc-ink); font-size: 13px; }
.support-airline-grid small { margin-top: 1px; color: var(--aftc-muted); font-size: 10px; }
.support-airline-grid .fa-arrow-right { color: var(--aftc-blue); font-size: 11px; }
.support-airlines-all { align-self: flex-start; margin-top: 18px; color: var(--aftc-blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.support-airlines-all:hover { color: var(--aftc-blue-dark); }
.support-airlines-all i { margin-left: 6px; }
.faq-section { background: var(--aftc-cloud); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.faq-intro { align-self: start; position: sticky; top: 100px; }
.faq-intro p { color: var(--aftc-muted); }
.faq-intro .btn { margin-top: 9px; }
.faq-section .accordion-body { color: var(--aftc-copy); font-size: 14px; }

@media (max-width: 1199.98px) {
  .destination-grid { grid-template-columns: repeat(2,1fr); }
  .destination-copy > small { min-height: auto; }
  .offer-grid { grid-template-columns: repeat(3,1fr); }
  .airline-booking-layout { gap: 45px; }
  .guidance-card { padding: 22px; }
}

@media (max-width: 991.98px) {
  .home-hero-content { padding-top: 56px; }
  .home-search-copy { max-width: 680px; }
  .home-hero-shade { background: linear-gradient(90deg, rgba(10,19,43,.93), rgba(10,19,43,.62)), linear-gradient(0deg, rgba(10,19,43,.5), transparent 55%); }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-card-featured { grid-column: 1 / -1; min-height: 380px; }
  .airline-booking-layout, .support-panel, .faq-layout { grid-template-columns: 1fr; }
  .airline-booking-layout, .faq-layout { gap: 38px; }
  .guidance-grid { grid-template-columns: 1fr; }
  .guidance-card p { min-height: auto; }
  .support-airlines-panel { min-height: 0; border-bottom: 1px solid #cbd8ef; border-left: 0; order: -1; }
  .faq-intro { position: static; }
}

@media (max-width: 767.98px) {
  .home-hero-image { object-position: 58% center; }
  .home-hero-shade { background: linear-gradient(180deg, rgba(9,17,38,.83), rgba(9,17,38,.76)); }
  .home-hero-content { padding-top: 44px; }
  .home-search-copy { text-align: center; }
  .home-search-eyebrow { color: #d8e9ff; }
  .home-search-hero h1 { font-size: clamp(2.35rem,11vw,3.35rem) !important; }
  .home-search-hero .home-search-copy > p { margin-inline: auto; font-size: 1rem; }
  .home-search-tabs { max-width: 100%; overflow-x: auto; }
  .home-search-tabs a { padding-inline: 12px; white-space: nowrap; }
  .hero-search-wrap { padding-bottom: 34px; }
  .page-home .flight-search-shell { margin-top: 27px !important; }
  .page-home .search-widget { box-shadow: 0 12px 32px rgba(5,13,32,.32) !important; }
  .home-benefits { padding-top: 22px; }
  .benefit-strip { grid-template-columns: 1fr; }
  .benefit-strip article + article { border-top: 1px solid var(--aftc-line); border-left: 0; }
  .home-section { padding: 58px 0; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .destination-grid { display: flex; overflow-x: auto; margin-inline: -12px; padding: 0 12px 12px; scroll-snap-type: x mandatory; }
  .destination-showcase-card { flex: 0 0 79vw; scroll-snap-align: start; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card-featured { grid-column: auto; }
  .offer-card { min-height: 390px; }
  .airline-shortcut-grid { grid-template-columns: 1fr; }
  .guidance-card { padding: 21px; }
  .support-copy { padding: 36px 24px; }
  .support-airlines-panel { padding: 30px 24px; }
  .support-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 479.98px) {
  .home-search-tabs a span { display: none; }
  .destination-showcase-card { flex-basis: 84vw; }
  .offer-card-copy { padding: 24px; }
  .offer-card p { min-height: auto; }
  .guidance-card { flex-direction: column; }
  .airline-shortcut-grid > a { grid-template-columns: 44px 1fr auto; }
  .airline-monogram { width: 44px; height: 44px; }
  .support-airline-grid { grid-template-columns: 1fr; }
}
