
/* =========================================================
   INFOALL TRANSPORT — PREMIUM DESIGN SYSTEM
   File: transport.css
   ========================================================= */

/* 1. DESIGN TOKENS */
:root {
  color-scheme: light;

  --primary: #246bfd;
  --primary-dark: #1553db;
  --primary-soft: #edf4ff;
  --navy: #071426;
  --navy-light: #10233d;
  --ink: #17243a;
  --muted: #6e7b90;
  --subtle: #97a3b5;
  --line: #e5eaf2;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --surface-muted: #f0f4f9;
  --success: #15966b;
  --warning: #d88920;
  --danger: #d84848;

  --font-body: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 4px 14px rgba(20, 40, 75, 0.045);
  --shadow-md: 0 12px 34px rgba(20, 40, 75, 0.08);
  --shadow-lg: 0 24px 70px rgba(15, 35, 70, 0.13);

  --page-width: 1240px;
  --transition: 180ms ease;
}

/* 2. RESET */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 107, 253, 0.38);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
fieldset {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.035em;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.site-shell {
  width: 100%;
  overflow: clip;
}

.page-container {
  width: min(var(--page-width), calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 3. ANNOUNCEMENT BAR */
.announcement-bar {
  color: #dfeaff;
  background: #0b1b32;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.announcement-inner {
  width: min(var(--page-width), calc(100% - 64px));
  min-height: 38px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-block: 5px;
  font-size: 11px;
}

.announcement-inner p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.announcement-inner p i {
  color: #83b1ff;
}

.announcement-inner a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a7c8ff;
  font-weight: 700;
  transition: color var(--transition);
}

.announcement-inner a:hover {
  color: #fff;
}

/* 4. HEADER */
.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 242, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--page-width), calc(100% - 64px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 19px;
  background: linear-gradient(140deg, #4388ff, #2054d9);
  border-radius: 14px;
  box-shadow: 0 7px 17px rgba(36, 107, 253, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.brand-copy strong span {
  color: var(--primary);
}

.brand-copy small {
  margin-top: 5px;
  color: #8a96a9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.35px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-nav a {
  position: relative;
  padding: 11px 12px;
  color: #647087;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 9px;
  transition:
    color var(--transition),
    background var(--transition);
}

.desktop-nav a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.desktop-nav a.nav-active {
  color: var(--primary);
  background: #edf4ff;
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 39px;
  height: 39px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  color: #526079;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: all var(--transition);
}

.icon-button:hover {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: #dbe8ff;
}

.header-ai-link {
  min-height: 41px;
  padding: 0 15px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  transition:
    background var(--transition),
    transform var(--transition);
}

.header-ai-link:hover {
  background: #18345b;
  transform: translateY(-1px);
}

.mobile-menu-toggle,
.mobile-navigation {
  display: none;
}

/* 5. HERO */
.transport-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 77% 35%, rgba(43, 100, 203, 0.21), transparent 40%),
    linear-gradient(116deg, #071426 0%, #0a1c34 53%, #10264b 100%);
}

.transport-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 0.7px, transparent 0.7px);
  background-size: 23px 23px;
  mask-image: linear-gradient(to right, transparent, black);
}

.hero-background-glow {
  position: absolute;
  z-index: -1;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
}

.hero-glow-one {
  top: -230px;
  left: 16%;
  background: rgba(38, 104, 230, 0.23);
}

.hero-glow-two {
  right: 0;
  bottom: -320px;
  background: rgba(57, 91, 204, 0.28);
}

.hero-inner {
  width: min(var(--page-width), calc(100% - 64px));
  min-height: 360px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 55px;
  padding-block: 56px 86px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  animation: rise-in 650ms ease both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.65px;
}

.hero-eyebrow {
  margin-bottom: 18px;
  color: #a7c7ff;
}

.eyebrow-dot,
.status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: #5bd9a5;
  border-radius: 50%;
}

.hero-content h1 {
  max-width: 630px;
  margin-bottom: 19px;
  font-size: clamp(37px, 4.2vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -2.7px;
}

.hero-content h1 span {
  display: block;
  color: #8cb9ff;
}

.hero-description {
  max-width: 495px;
  margin-bottom: 25px;
  color: #b6c4d9;
  font-size: 14px;
  line-height: 1.9;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d6e2f4;
  font-size: 11px;
  font-weight: 500;
}

.hero-highlights i {
  color: #73d9af;
}

.hero-visual {
  position: relative;
  min-height: 285px;
  display: grid;
  place-items: center;
  animation: fade-in 800ms ease both;
}

.hero-globe {
  position: relative;
  z-index: 1;
  width: 185px;
  height: 185px;
  display: grid;
  place-items: center;
  color: #a8c9ff;
  background:
    radial-gradient(circle at 35% 30%, rgba(122, 171, 255, 0.23), transparent 54%),
    linear-gradient(145deg, rgba(68, 121, 220, 0.18), rgba(25, 57, 111, 0.1));
  border: 1px solid rgba(159, 194, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 45px rgba(69, 133, 255, 0.13),
    0 0 85px rgba(56, 105, 211, 0.1);
}

.hero-globe i {
  font-size: 125px;
  text-shadow: 0 10px 50px rgba(91, 146, 255, 0.35);
  animation: globe-float 7s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  width: 265px;
  height: 265px;
  border: 1px solid rgba(156, 187, 255, 0.2);
  border-radius: 50%;
  transform: rotateX(65deg) rotateZ(-22deg);
}

.orbit-two {
  width: 315px;
  height: 315px;
  border-color: rgba(156, 187, 255, 0.11);
  transform: rotateX(65deg) rotateZ(40deg);
}

.floating-travel-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 215px;
  padding: 13px 15px;
  background: rgba(17, 37, 67, 0.88);
  border: 1px solid rgba(189, 211, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 17px 45px rgba(0, 0, 0, 0.19);
  backdrop-filter: blur(15px);
}

.floating-card-top {
  top: 20px;
  right: -4px;
  animation: float-card 6s ease-in-out infinite;
}

.floating-card-bottom {
  bottom: 10px;
  left: 0;
  animation: float-card 7s ease-in-out infinite reverse;
}

.floating-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
}

.flight-icon {
  color: #a6c6ff;
  background: rgba(58, 117, 230, 0.2);
}

.ai-icon {
  color: #d0b8ff;
  background: rgba(137, 94, 232, 0.2);
}

.floating-travel-card strong,
.floating-travel-card small {
  display: block;
}

.floating-travel-card strong {
  margin-bottom: 2px;
  color: #f0f5ff;
  font-size: 11px;
}

.floating-travel-card small {
  color: #9eafc8;
  font-size: 9px;
}

/* 6. SEARCH SECTION */
.search-section {
  position: relative;
  z-index: 5;
  padding-bottom: 28px;
  background: linear-gradient(to bottom, #f2f6fc 0, #f8faff 100%);
}

.search-section > .page-container {
  margin-top: -48px;
}

.search-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 0 4px 19px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--primary);
}

.search-heading h2,
.section-heading-row h2,
.results-header h2,
.centered-section-heading h2 {
  margin-bottom: 7px;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -1.1px;
}

.search-heading p,
.section-heading-row p,
.results-header p,
.centered-section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.search-trust-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 7px;
  color: #718097;
  font-size: 11px;
  white-space: nowrap;
}

.search-trust-label i {
  color: var(--success);
}

/* 7. BOOKING CARD */
.booking-card {
  overflow: visible;
  background: var(--surface);
  border: 1px solid rgba(226, 233, 244, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.transport-tabs {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 18px 24px 0;
  border-bottom: 1px solid var(--line);
}

.transport-tab {
  position: relative;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 13px 19px 17px;
  color: #7c889b;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 13px 13px 0 0;
  transition:
    background var(--transition),
    color var(--transition);
}

.transport-tab > i {
  margin-bottom: 5px;
  font-size: 19px;
}

.transport-tab > span {
  font-size: 13px;
  font-weight: 800;
}

.transport-tab small {
  color: #98a3b4;
  font-size: 10px;
}

.transport-tab:hover {
  color: var(--primary);
  background: #f7f9ff;
}

.transport-tab.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.transport-tab.active small {
  color: #6f8fca;
}

.transport-tab.active::after {
  position: absolute;
  right: 15px;
  bottom: -1px;
  left: 15px;
  height: 3px;
  content: "";
  background: var(--primary);
  border-radius: 5px 5px 0 0;
}

.transport-form-panel {
  padding: 25px;
}

.form-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.trip-type-options {
  display: flex;
  align-items: center;
  gap: 21px;
}

.radio-option,
.check-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #57647b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.radio-option input,
.check-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-radio {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid #bac5d5;
  border-radius: 50%;
  transition: border-color var(--transition);
}

.radio-option input:checked + .custom-radio {
  border: 5px solid var(--primary);
}

.radio-option input:focus-visible + .custom-radio,
.check-option input:focus-visible + .custom-checkbox {
  outline: 3px solid rgba(36, 107, 253, 0.3);
  outline-offset: 3px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 0;
  color: #758299;
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  transition: color var(--transition);
}

.text-button:hover {
  color: var(--primary);
}

.route-fields {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}

.field-group {
  position: relative;
  min-width: 0;
  padding: 14px 15px 11px;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 13px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.field-group:focus-within {
  border-color: #8db3ff;
  box-shadow: 0 0 0 3px rgba(36, 107, 253, 0.07);
}

.field-group > label {
  display: block;
  margin-bottom: 7px;
  color: #8591a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.input-with-icon {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.field-leading-icon {
  flex-shrink: 0;
  color: #8292aa;
  font-size: 14px;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  min-width: 0;
  height: 25px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.input-with-icon input::placeholder {
  color: #a0aabc;
  font-weight: 500;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  outline: none;
  box-shadow: none;
}

.input-with-icon select {
  appearance: auto;
  font-size: 12px;
}

.field-hint {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: #a0aabc;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-clear {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #8996a9;
  background: transparent;
  border: 0;
  border-radius: 6px;
}

.field-clear:hover {
  color: var(--danger);
  background: #fff0f0;
}

.swap-locations-button {
  position: relative;
  z-index: 3;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: var(--primary);
  background: #fff;
  border: 1px solid #dbe6f7;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(26, 67, 135, 0.09);
  transition:
    transform 220ms ease,
    background var(--transition),
    color var(--transition);
}

.swap-locations-button:hover {
  color: #fff;
  background: var(--primary);
  transform: rotate(180deg);
}

.suggestion-list {
  position: absolute;
  z-index: 100;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  overflow-y: auto;
  max-height: 260px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e1e8f3;
  border-radius: 13px;
  box-shadow: 0 16px 35px rgba(20, 40, 75, 0.15);
}

.suggestion-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 9px;
}

.suggestion-option:hover,
.suggestion-option:focus-visible {
  background: #f1f6ff;
}

.suggestion-option > i {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 9px;
}

.suggestion-option strong,
.suggestion-option small {
  display: block;
}

.suggestion-option strong {
  color: var(--ink);
  font-size: 11px;
}

.suggestion-option small {
  color: var(--muted);
  font-size: 9px;
}

.journey-details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.journey-details-grid .field-group {
  padding: 13px 12px 10px;
}

.journey-details-grid .input-with-icon {
  gap: 7px;
}

.journey-details-grid .input-with-icon input,
.journey-details-grid .input-with-icon select {
  font-size: 11px;
}

.journey-details-grid .field-leading-icon {
  font-size: 12px;
}

.search-preferences {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 23px;
  padding-block: 20px 17px;
}

.check-option {
  gap: 8px;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: #fff;
  border: 1.5px solid #c4cedd;
  border-radius: 4px;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.custom-checkbox i {
  font-size: 9px;
  opacity: 0;
}

.check-option input:checked + .custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.check-option input:checked + .custom-checkbox i {
  opacity: 1;
}

.search-preference-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #96a1b2;
  font-size: 9px;
}

.search-preference-note i {
  color: #7c9cd4;
}

.search-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #edf0f6;
}

.search-action-copy {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #748198;
  font-size: 11px;
}

.search-action-copy > i {
  color: var(--primary);
  font-size: 15px;
}

.primary-search-button,
.primary-button {
  min-height: 49px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 0 23px;
  color: #fff;
  background: linear-gradient(110deg, #347aff, #205de8);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(36, 107, 253, 0.22);
  font-size: 12px;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.primary-search-button:hover,
.primary-button:hover {
  background: linear-gradient(110deg, #2468ed, #154bc9);
  box-shadow: 0 11px 24px rgba(36, 107, 253, 0.29);
  transform: translateY(-2px);
}

.primary-search-button:active,
.primary-button:active {
  transform: translateY(0);
}

.primary-search-button i {
  font-size: 12px;
}

.search-assurance-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 33px;
  padding: 20px 0 0;
}

.search-assurance-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7a879b;
  font-size: 10px;
  font-weight: 600;
}

.search-assurance-row i {
  color: var(--primary);
}

/* 8. SHARED SECTIONS */
.content-section {
  padding-block: 64px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 26px;
}

.section-heading-row .text-button {
  margin-bottom: 4px;
}

.section-side-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8793a6;
  font-size: 10px;
  white-space: nowrap;
}

.section-side-note i {
  color: var(--primary);
}

.centered-section-heading {
  max-width: 660px;
  margin: 0 auto 34px;
  text-align: center;
}

.centered-section-heading .section-kicker {
  justify-content: center;
}

.centered-section-heading h2 {
  margin-bottom: 10px;
}

.centered-section-heading p {
  max-width: 470px;
  margin-inline: auto;
}

/* 9. POPULAR ROUTES */
.popular-section {
  background: #fff;
}

.popular-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.popular-route-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: #fff;
  border: 1px solid #e7ecf4;
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.popular-route-card:hover {
  border-color: #cbdcff;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.route-card-art {
  position: relative;
  min-height: 135px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 15px;
  isolation: isolate;
}

.route-card-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, #d9e9ff, #b5d0fb);
  transition: transform 400ms ease;
}

.popular-route-card:hover .route-card-art::before {
  transform: scale(1.07);
}

.route-art-city::before {
  background: linear-gradient(140deg, #d5e8ff, #8fb9ef);
}

.route-art-nature::before {
  background: linear-gradient(140deg, #d5eee1, #89c6a5);
}

.route-art-sky::before {
  background: linear-gradient(140deg, #d7e5ff, #9ab4ed);
}

.route-art-heritage::before {
  background: linear-gradient(140deg, #f5e5d3, #dfb990);
}

.route-art-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  color: #1b3454;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
  backdrop-filter: blur(8px);
}

.route-art-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  color: rgba(31, 66, 115, 0.23);
  font-size: 70px;
  transform: rotate(-8deg);
}

.route-art-sky .route-art-icon {
  font-size: 62px;
  transform: rotate(-12deg);
}

.route-card-body {
  padding: 16px 14px 13px;
}

.route-card-route {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #22314b;
  font-size: 11px;
  font-weight: 800;
}

.route-card-route i {
  color: var(--primary);
  font-size: 10px;
}

.route-card-body > p {
  margin: 7px 0 14px;
  color: #8793a5;
  font-size: 10px;
}

.route-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  padding-top: 11px;
  color: #7e8ba0;
  border-top: 1px solid #edf0f6;
  font-size: 9px;
}

.route-card-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.route-card-footer > i {
  color: var(--primary);
}

/* 10. RECENT SEARCHES AND SAVED TRIPS */
.recent-section,
.saved-section {
  background: var(--surface-soft);
  border-top: 1px solid #edf1f7;
}

.recent-search-list,
.saved-trip-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.recent-search-card,
.saved-trip-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.recent-search-card button,
.saved-trip-card button {
  font: inherit;
}

.recent-search-route {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
}

.recent-search-route i {
  color: var(--primary);
  font-size: 11px;
}

.recent-search-meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
}

.recent-search-actions,
.saved-trip-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.recent-search-actions button,
.saved-trip-actions button {
  padding: 8px 10px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}

.recent-search-actions button:hover,
.saved-trip-actions button:hover {
  background: #dce9ff;
}

/* 11. RESULTS */
.results-section {
  background: var(--surface-soft);
  border-top: 1px solid #e9eef6;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.secondary-button {
  min-height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #40516d;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  transition: all var(--transition);
}

.secondary-button:hover {
  color: var(--primary);
  border-color: #aac7ff;
  background: #f7faff;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 17px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 13px;
}

.results-toolbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.results-count {
  margin-right: 7px;
  color: #52617a;
  font-size: 10px;
  font-weight: 800;
}

.filter-button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #6f7d92;
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-button:hover,
.filter-button.active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: #d4e3ff;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8390a4;
  font-size: 10px;
}

.sort-control select {
  max-width: 175px;
  padding: 8px 26px 8px 10px;
  color: #33445e;
  background: #fff;
  border: 1px solid #e2e8f1;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}

.results-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  color: #66758d;
  background: #edf5ff;
  border: 1px solid #dceaff;
  border-radius: 11px;
  font-size: 10px;
}

.results-notice > i {
  margin-top: 2px;
  color: #3778e9;
}

.results-notice p {
  margin: 0;
  line-height: 1.7;
}

.results-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 19px;
}

.results-sidebar {
  position: sticky;
  top: 20px;
}

.filter-panel {
  padding: 19px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 15px;
}

.filter-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 21px;
}

.filter-panel-heading h3 {
  margin: 0;
  font-size: 13px;
  letter-spacing: -0.3px;
}

.filter-panel-heading .text-button {
  font-size: 10px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  color: #4f5e76;
  font-size: 11px;
}

.filter-group > label:first-child,
.filter-group > legend {
  margin-bottom: 2px;
  color: #34445e;
  font-size: 11px;
  font-weight: 800;
}

.budget-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8b97a9;
  font-size: 10px;
}

.budget-value strong {
  color: var(--primary);
  font-size: 11px;
}

.filter-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.filter-group .check-option {
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
}

.filter-group .check-option small {
  width: 100%;
  padding-left: 24px;
  color: #a0aabc;
  font-size: 9px;
}

.filter-divider {
  height: 1px;
  margin-block: 19px;
  background: #edf0f6;
}

.results-main {
  min-width: 0;
}

.transport-results-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.transport-result-card {
  position: relative;
  padding: 19px;
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.transport-result-card:hover {
  border-color: #c8d9ff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.result-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.result-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.result-provider-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 10px;
}

.result-provider strong,
.result-provider small {
  display: block;
}

.result-provider strong {
  overflow-wrap: anywhere;
  color: #263650;
  font-size: 12px;
}

.result-provider small {
  margin-top: 3px;
  color: #8995a8;
  font-size: 9px;
}

.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  color: #16815e;
  background: #e8f8f1;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}

.result-journey {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) minmax(100px, 1.4fr) minmax(80px, 1fr);
  align-items: center;
  gap: 13px;
  padding-block: 12px;
  border-top: 1px solid #eff2f7;
  border-bottom: 1px solid #eff2f7;
}

.result-time strong,
.result-time span {
  display: block;
}

.result-time strong {
  color: #263650;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.result-time span {
  overflow: hidden;
  margin-top: 4px;
  color: #7e8ba0;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-time:last-child {
  text-align: right;
}

.result-duration {
  text-align: center;
}

.result-duration span {
  display: block;
  color: #748299;
  font-size: 10px;
}

.result-duration-line {
  position: relative;
  height: 1px;
  margin: 10px 0;
  background: #d9e1ed;
}

.result-duration-line::before,
.result-duration-line::after {
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  content: "";
  background: #fff;
  border: 2px solid #7f9dce;
  border-radius: 50%;
}

.result-duration-line::before {
  left: 0;
}

.result-duration-line::after {
  right: 0;
}

.result-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
}

.result-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 15px;
  color: #8290a4;
  font-size: 9px;
}

.result-extra span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.result-extra i {
  color: #6c89b8;
}

.result-price {
  flex-shrink: 0;
  text-align: right;
}

.result-price strong {
  display: block;
  color: #1d2c43;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.result-price small {
  display: block;
  margin-top: 2px;
  color: #8d99aa;
  font-size: 9px;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.result-actions .secondary-button {
  min-height: 36px;
  font-size: 10px;
}

.result-book-button {
  min-height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 14px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  transition: background var(--transition);
}

.result-book-button:hover {
  background: var(--primary-dark);
}

/* 12. LOADING, EMPTY AND ERROR STATES */
.results-loading,
.results-error,
.empty-results {
  padding: 48px 22px;
  text-align: center;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 15px;
}

.loading-spinner {
  width: 37px;
  height: 37px;
  margin: 0 auto 17px;
  border: 3px solid #e0eaff;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.results-loading h3,
.results-error h3,
.empty-results h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.results-loading p,
.results-error p,
.empty-results p {
  max-width: 390px;
  margin: 0 auto 19px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.state-icon {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 16px;
  font-size: 20px;
}

.error-state-icon {
  color: var(--danger);
  background: #fff0f0;
}

.results-error .primary-button,
.empty-results .secondary-button {
  margin-inline: auto;
}

/* 13. AI PLANNER */
.ai-planner-section {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(62, 111, 232, 0.06), transparent 40%),
    #f5f7fc;
}

.ai-planner-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 55px;
  padding: 45px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(57, 107, 223, 0.1), transparent 40%),
    #fff;
  border: 1px solid #e5eaf5;
  border-radius: 25px;
  box-shadow: var(--shadow-md);
}

.ai-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  padding: 8px 10px;
  color: #5f49c6;
  background: #f0edff;
  border: 1px solid #e5dfff;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.ai-planner-copy h2 {
  margin-bottom: 17px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.ai-planner-copy h2 span {
  display: block;
  color: var(--primary);
}

.ai-planner-copy > p {
  max-width: 440px;
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.ai-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 27px;
}

.ai-benefit-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #506078;
  font-size: 11px;
  font-weight: 600;
}

.ai-benefit-list i {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: var(--success);
  background: #e6f7f0;
  border-radius: 50%;
  font-size: 9px;
}

.ai-primary-link {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0 17px;
  color: #fff;
  background: var(--navy);
  border-radius: 11px;
  font-size: 11px;
  font-weight: 800;
  transition:
    background var(--transition),
    transform var(--transition);
}

.ai-primary-link:hover {
  background: #1b3559;
  transform: translateY(-2px);
}

/* 14. CHAT PREVIEW */
.ai-chat-preview {
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid #e2e8f3;
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(27, 49, 92, 0.09);
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px;
  background: #fbfcff;
  border-bottom: 1px solid #edf0f7;
}

.ai-avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, #8b76f5, #5b68dc);
  border-radius: 12px;
}

.ai-chat-header > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.ai-chat-header strong,
.ai-chat-header small {
  display: block;
}

.ai-chat-header strong {
  color: #273650;
  font-size: 11px;
}

.ai-chat-header small {
  margin-top: 3px;
  color: #8a96aa;
  font-size: 9px;
}

.ai-chat-header small .status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
}

.ai-chat-header .icon-button {
  width: 33px;
  height: 33px;
}

.ai-messages {
  min-height: 180px;
  max-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow-y: auto;
  padding: 18px;
  background:
    radial-gradient(circle at 95% 0%, rgba(93, 111, 230, 0.04), transparent 45%),
    #fff;
}

.ai-message {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 94%;
}

.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #6d5ad0;
  background: #f0edff;
  border-radius: 9px;
  font-size: 11px;
}

.user-message .message-avatar {
  color: #fff;
  background: var(--primary);
}

.message-bubble {
  padding: 11px 13px;
  color: #53617a;
  background: #f4f6fb;
  border: 1px solid #edf0f6;
  border-radius: 4px 13px 13px 13px;
  font-size: 10px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.user-message .message-bubble {
  color: #fff;
  background: #2868e9;
  border-color: #2868e9;
  border-radius: 13px 4px 13px 13px;
}

.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 15px;
}

.ai-suggestion {
  padding: 7px 9px;
  color: #687b9b;
  background: #fff;
  border: 1px solid #e1e8f5;
  border-radius: 8px;
  font-size: 9px;
  transition: all var(--transition);
}

.ai-suggestion:hover {
  color: var(--primary);
  background: #f1f6ff;
  border-color: #cbdcff;
}

.ai-chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 13px;
  padding: 7px;
  background: #f6f8fc;
  border: 1px solid #e5eaf3;
  border-radius: 12px;
}

.ai-chat-form input {
  width: 100%;
  min-width: 0;
  padding: 8px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 10px;
}

.ai-chat-form input:focus {
  outline: none;
  box-shadow: none;
}

.ai-chat-form input::placeholder {
  color: #9ba6b7;
}

.ai-chat-form button {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 9px;
  transition: background var(--transition);
}

.ai-chat-form button:hover {
  background: var(--primary-dark);
}

.ai-disclaimer {
  margin: 10px 14px 13px;
  color: #a0aabb;
  font-size: 8px;
  line-height: 1.7;
  text-align: center;
}

/* 15. BENEFITS */
.benefits-section {
  background: #fff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.benefit-card {
  padding: 23px 19px;
  background: #fff;
  border: 1px solid #e7ecf4;
  border-radius: 16px;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.benefit-card:hover {
  border-color: #d3e0f8;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 13px;
  font-size: 16px;
}

.benefit-blue {
  color: #2868e9;
  background: #eaf1ff;
}

.benefit-purple {
  color: #7b58d6;
  background: #f0eaff;
}

.benefit-orange {
  color: #d78224;
  background: #fff1de;
}

.benefit-green {
  color: #188c66;
  background: #e2f7ee;
}

.benefit-card h3 {
  margin-bottom: 9px;
  color: #293951;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.benefit-card p {
  margin: 0;
  color: #7d899d;
  font-size: 11px;
  line-height: 1.9;
}

/* 16. FAQ */
.faq-section {
  background: #f7f9fd;
  border-top: 1px solid #edf0f6;
}

.faq-container {
  max-width: 850px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  padding: 0 19px;
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 12px;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: #cbdcff;
}

.faq-item summary {
  min-height: 57px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  list-style: none;
  color: #2f4059;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  color: #8b98ac;
  font-size: 11px;
  transition: transform var(--transition);
}

.faq-item[open] summary i {
  color: var(--primary);
  transform: rotate(180deg);
}

.faq-item > p {
  max-width: 720px;
  margin: -1px 0 18px;
  color: #738097;
  font-size: 11px;
  line-height: 1.9;
}

/* 17. FOOTER */
.site-footer {
  color: #c2cde0;
  background: #071426;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding-block: 51px 42px;
}

.footer-brand .brand-copy strong {
  color: #fff;
}

.footer-brand .brand-copy small {
  color: #7d8da8;
}

.footer-brand-column > p {
  max-width: 285px;
  margin: 19px 0;
  color: #8e9db5;
  font-size: 11px;
  line-height: 1.9;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8c6ff;
  font-size: 11px;
  font-weight: 700;
}

.footer-contact-link:hover {
  color: #fff;
}

.footer-link-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-link-column h3 {
  margin: 5px 0 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.footer-link-column a {
  color: #8e9db5;
  font-size: 10px;
  transition: color var(--transition);
}

.footer-link-column a:hover {
  color: #fff;
}

.footer-bottom {
  min-height: 57px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-bottom p {
  margin: 0;
  color: #7f8ea7;
  font-size: 9px;
}

.footer-bottom p i {
  color: #ff8f9a;
}

/* 18. TOAST */
.toast-notification {
  position: fixed;
  z-index: 999;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  color: #30425d;
  background: #fff;
  border: 1px solid #e0e8f4;
  border-radius: 13px;
  box-shadow: 0 15px 45px rgba(12, 31, 63, 0.17);
  animation: toast-in 240ms ease both;
}

.toast-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--success);
  background: #e4f8ef;
  border-radius: 9px;
}

.toast-message {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.toast-close {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #8390a4;
  background: transparent;
  border: 0;
  border-radius: 7px;
}

.toast-close:hover {
  color: var(--danger);
  background: #fff0f0;
}

/* 19. ANIMATIONS */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes globe-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes float-card {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 20. DARK MODE */
html[data-theme="dark"] {
  color-scheme: dark;

  --ink: #e6edf8;
  --muted: #a1aec3;
  --subtle: #8392ab;
  --line: #293850;
  --surface: #101b2b;
  --surface-soft: #0c1726;
  --surface-muted: #172438;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.13);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] body {
  color: var(--ink);
  background: var(--surface);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .booking-card,
html[data-theme="dark"] .popular-route-card,
html[data-theme="dark"] .field-group,
html[data-theme="dark"] .recent-search-card,
html[data-theme="dark"] .saved-trip-card,
html[data-theme="dark"] .results-toolbar,
html[data-theme="dark"] .filter-panel,
html[data-theme="dark"] .transport-result-card,
html[data-theme="dark"] .results-loading,
html[data-theme="dark"] .results-error,
html[data-theme="dark"] .empty-results,
html[data-theme="dark"] .ai-planner-card,
html[data-theme="dark"] .ai-chat-preview,
html[data-theme="dark"] .benefit-card,
html[data-theme="dark"] .faq-item {
  color: var(--ink);
  background-color: #101c2d;
  border-color: #283950;
}

html[data-theme="dark"] .desktop-nav a {
  color: #a5b2c7;
}

html[data-theme="dark"] .desktop-nav a:hover,
html[data-theme="dark"] .desktop-nav a.nav-active {
  color: #9dbfff;
  background: #1b2d49;
}

html[data-theme="dark"] .brand-copy strong,
html[data-theme="dark"] .search-heading h2,
html[data-theme="dark"] .section-heading-row h2,
html[data-theme="dark"] .results-header h2,
html[data-theme="dark"] .centered-section-heading h2,
html[data-theme="dark"] .transport-tab > span,
html[data-theme="dark"] .field-group > label,
html[data-theme="dark"] .input-with-icon input,
html[data-theme="dark"] .input-with-icon select,
html[data-theme="dark"] .route-card-route,
html[data-theme="dark"] .result-provider strong,
html[data-theme="dark"] .result-time strong,
html[data-theme="dark"] .result-price strong,
html[data-theme="dark"] .benefit-card h3,
html[data-theme="dark"] .faq-item summary,
html[data-theme="dark"] .ai-chat-header strong,
html[data-theme="dark"] .filter-panel-heading h3,
html[data-theme="dark"] .filter-group > label:first-child,
html[data-theme="dark"] .filter-group > legend {
  color: #e6edf8;
}

html[data-theme="dark"] .search-section,
html[data-theme="dark"] .ai-planner-section,
html[data-theme="dark"] .faq-section,
html[data-theme="dark"] .recent-section,
html[data-theme="dark"] .saved-section {
  background: #0c1726;
  border-color: #24334a;
}

html[data-theme="dark"] .popular-section,
html[data-theme="dark"] .benefits-section {
  background: #101b2b;
}

html[data-theme="dark"] .transport-tabs {
  border-color: #283950;
}

html[data-theme="dark"] .transport-tab {
  color: #a5b2c7;
}

html[data-theme="dark"] .transport-tab.active {
  color: #9dbfff;
  background: #1a2d4b;
}

html[data-theme="dark"] .transport-tab.active small {
  color: #9db5dc;
}

html[data-theme="dark"] .transport-tab:hover {
  color: #9dbfff;
  background: #172842;
}

html[data-theme="dark"] .field-group {
  background: #111f32;
  border-color: #2c3c54;
}

html[data-theme="dark"] .field-group:focus-within {
  border-color: #507fce;
}

html[data-theme="dark"] .field-hint,
html[data-theme="dark"] .section-heading-row p,
html[data-theme="dark"] .search-heading p,
html[data-theme="dark"] .results-header p,
html[data-theme="dark"] .centered-section-heading p,
html[data-theme="dark"] .benefit-card p,
html[data-theme="dark"] .faq-item > p {
  color: #9baac0;
}

html[data-theme="dark"] .text-button,
html[data-theme="dark"] .radio-option,
html[data-theme="dark"] .check-option,
html[data-theme="dark"] .search-action-copy,
html[data-theme="dark"] .search-trust-label {
  color: #a6b4c9;
}

html[data-theme="dark"] .swap-locations-button,
html[data-theme="dark"] .secondary-button,
html[data-theme="dark"] .filter-button,
html[data-theme="dark"] .sort-control select,
html[data-theme="dark"] .suggestion-list,
html[data-theme="dark"] .suggestion-option,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .ai-chat-preview {
  background-color: #15243a;
  border-color: #30415b;
}

html[data-theme="dark"] .suggestion-option strong,
html[data-theme="dark"] .suggestion-option small {
  color: #e6edf8;
}

html[data-theme="dark"] .suggestion-option:hover {
  background: #203652;
}

html[data-theme="dark"] .route-card-body {
  background: #101c2d;
}

html[data-theme="dark"] .route-card-footer,
html[data-theme="dark"] .result-journey,
html[data-theme="dark"] .filter-divider,
html[data-theme="dark"] .search-action-row {
  border-color: #283950;
}

html[data-theme="dark"] .results-notice {
  color: #b4c7e7;
  background: #142742;
  border-color: #27446b;
}

html[data-theme="dark"] .message-bubble {
  color: #d0d9e9;
  background: #1b2a40;
  border-color: #2a3a52;
}

html[data-theme="dark"] .ai-chat-header,
html[data-theme="dark"] .ai-chat-form {
  background: #152238;
  border-color: #2b3b53;
}

html[data-theme="dark"] .ai-chat-form input {
  color: #e6edf8;
}

html[data-theme="dark"] .ai-suggestion {
  color: #b5c6e3;
  background: #15243a;
  border-color: #30415b;
}

html[data-theme="dark"] .ai-suggestion:hover {
  color: #b9d0ff;
  background: #1d3352;
}

html[data-theme="dark"] .ai-planner-copy > p,
html[data-theme="dark"] .ai-benefit-list span {
  color: #aab8cc;
}

html[data-theme="dark"] .result-provider-icon {
  background: #1c3150;
}

html[data-theme="dark"] .result-duration-line {
  background: #3a4d69;
}

html[data-theme="dark"] .result-duration-line::before,
html[data-theme="dark"] .result-duration-line::after {
  background: #101c2d;
}

html[data-theme="dark"] .result-time span,
html[data-theme="dark"] .result-duration span,
html[data-theme="dark"] .result-extra,
html[data-theme="dark"] .result-price small {
  color: #a1aec3;
}

html[data-theme="dark"] .toast-notification {
  color: #e6edf8;
  background: #17263b;
  border-color: #30415b;
}

html[data-theme="dark"] .mobile-navigation {
  background: #101c2d;
  border-color: #293950;
}

html[data-theme="dark"] .mobile-navigation a {
  color: #d7e1f1;
}

/* 21. RESPONSIVE: TABLETS */
@media (max-width: 1080px) {
  .page-container,
  .header-inner,
  .hero-inner,
  .announcement-inner {
    width: calc(100% - 42px);
  }

  .desktop-nav {
    gap: 0;
  }

  .desktop-nav a {
    padding-inline: 8px;
    font-size: 11px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-copy strong {
    font-size: 22px;
  }

  .hero-inner {
    gap: 25px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 4.5vw, 50px);
  }

  .journey-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .popular-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-planner-card {
    gap: 30px;
    padding: 32px;
  }

  .footer-main {
    gap: 28px;
  }
}

/* 22. RESPONSIVE: MOBILE NAVIGATION */
@media (max-width: 850px) {
  .desktop-nav,
  .header-ai-link {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
  }

  .header-inner {
    min-height: 70px;
  }

  .mobile-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 13px 21px 20px;
    background: #fff;
    border-bottom: 1px solid #e5eaf2;
    box-shadow: 0 15px 30px rgba(20, 40, 75, 0.1);
  }

  .mobile-navigation a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    color: #45546d;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-navigation a i {
    width: 18px;
    color: var(--primary);
    text-align: center;
  }

  .mobile-navigation a:hover {
    background: var(--primary-soft);
  }

  .hero-inner {
    grid-template-columns: 1fr 0.7fr;
  }

  .hero-visual {
    transform: scale(0.85);
  }

  .results-layout {
    grid-template-columns: 1fr;
  }

  .results-sidebar {
    position: static;
  }

  .filter-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .filter-panel-heading {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .filter-divider {
    display: none;
  }

  #nonStopFilter {
    align-self: start;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 23. RESPONSIVE: SMALL TABLETS AND PHONES */
@media (max-width: 620px) {
  body {
    font-size: 13px;
  }

  .page-container,
  .header-inner,
  .hero-inner,
  .announcement-inner {
    width: calc(100% - 32px);
  }

  .announcement-inner {
    justify-content: space-between;
    gap: 7px;
    font-size: 9px;
  }

  .announcement-inner p {
    gap: 5px;
  }

  .announcement-inner a {
    font-size: 9px;
    white-space: nowrap;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    border-radius: 11px;
    font-size: 16px;
  }

  .brand-copy strong {
    font-size: 21px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .header-actions {
    gap: 3px;
  }

  .transport-hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 44px 75px;
  }

  .hero-content h1 {
    max-width: 430px;
    margin-bottom: 15px;
    font-size: clamp(36px, 10vw, 49px);
    letter-spacing: -1.8px;
  }

  .hero-description {
    max-width: 420px;
    margin-bottom: 19px;
    font-size: 12px;
  }

  .hero-highlights {
    gap: 9px 14px;
  }

  .hero-highlights span {
    font-size: 9px;
  }

  .hero-visual {
    display: none;
  }

  .search-section > .page-container {
    margin-top: -39px;
  }

  .search-heading {
    align-items: flex-start;
    padding-inline: 1px;
  }

  .search-heading h2,
  .section-heading-row h2,
  .results-header h2,
  .centered-section-heading h2 {
    font-size: 23px;
  }

  .search-heading p {
    max-width: 350px;
    font-size: 11px;
  }

  .search-trust-label {
    display: none;
  }

  .booking-card {
    border-radius: 19px;
  }

  .transport-tabs {
    gap: 4px;
    padding: 12px 10px 0;
  }

  .transport-tab {
    min-width: 0;
    flex: 1;
    align-items: center;
    padding: 12px 5px 14px;
    text-align: center;
  }

  .transport-tab > i {
    font-size: 17px;
  }

  .transport-tab > span {
    font-size: 11px;
  }

  .transport-tab small {
    font-size: 8px;
  }

  .transport-form-panel {
    padding: 17px 14px;
  }

  .form-topline {
    margin-bottom: 17px;
  }

  .trip-type-options {
    gap: 13px;
  }

  .radio-option,
  .check-option {
    gap: 6px;
    font-size: 10px;
  }

  .text-button {
    font-size: 10px;
  }

  .route-fields {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 13px;
  }

  .swap-locations-button {
    width: 34px;
    height: 34px;
    margin: -1px 15px;
    justify-self: end;
    transform: rotate(90deg);
  }

  .swap-locations-button:hover {
    transform: rotate(270deg);
  }

  .field-group {
    padding: 12px 13px 10px;
  }

  .input-with-icon input,
  .input-with-icon select {
    font-size: 12px;
  }

  .journey-details-grid {
    gap: 9px;
  }

  .journey-details-grid .field-group {
    padding: 11px 9px 9px;
  }

  .journey-details-grid .input-with-icon {
    gap: 5px;
  }

  .journey-details-grid .input-with-icon input,
  .journey-details-grid .input-with-icon select {
    font-size: 10px;
  }

  .journey-details-grid .field-leading-icon {
    font-size: 11px;
  }

  .journey-details-grid .field-hint {
    font-size: 8px;
  }

  .search-preferences {
    align-items: flex-start;
    gap: 12px 15px;
    padding-block: 17px;
  }

  .search-preference-note {
    width: 100%;
    margin-left: 0;
    line-height: 1.7;
  }

  .search-action-row {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    padding-top: 15px;
  }

  .search-action-copy {
    font-size: 10px;
  }

  .primary-search-button {
    width: 100%;
    min-height: 47px;
  }

  .search-assurance-row {
    justify-content: flex-start;
    gap: 9px 15px;
    padding-top: 16px;
  }

  .search-assurance-row span {
    font-size: 9px;
  }

  .content-section {
    padding-block: 45px;
  }

  .section-heading-row {
    align-items: flex-start;
    margin-bottom: 21px;
  }

  .section-heading-row p {
    font-size: 10px;
  }

  .section-side-note {
    display: none;
  }

  .popular-route-grid {
    gap: 12px;
  }

  .route-card-art {
    min-height: 95px;
    padding: 9px;
  }

  .route-art-label {
    gap: 5px;
    padding: 6px 7px;
    font-size: 7px;
    letter-spacing: 0.3px;
  }

  .route-art-icon {
    top: 8px;
    right: 9px;
    font-size: 45px;
  }

  .route-card-body {
    padding: 12px 10px 10px;
  }

  .route-card-route {
    gap: 5px;
    font-size: 9px;
  }

  .route-card-body > p {
    min-height: 29px;
    margin: 6px 0 10px;
    font-size: 9px;
  }

  .route-card-footer {
    gap: 4px;
    padding-top: 9px;
    font-size: 8px;
  }

  .recent-search-list,
  .saved-trip-list {
    grid-template-columns: 1fr;
  }

  .results-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 19px;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-toolbar-left {
    gap: 6px;
  }

  .results-count {
    width: 100%;
    margin-bottom: 2px;
  }

  .sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .sort-control select {
    flex: 1;
    max-width: 220px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .filter-panel-heading {
    grid-column: auto;
  }

  .result-card-topline {
    align-items: flex-start;
  }

  .result-tag {
    font-size: 8px;
  }

  .result-journey {
    grid-template-columns: minmax(65px, 1fr) minmax(65px, 1fr) minmax(65px, 1fr);
    gap: 7px;
  }

  .result-time strong {
    font-size: 16px;
  }

  .result-time span {
    font-size: 9px;
  }

  .result-duration span {
    font-size: 9px;
  }

  .result-card-footer {
    align-items: flex-start;
  }

  .result-extra {
    gap: 8px;
  }

  .result-price strong {
    font-size: 17px;
  }

  .result-actions {
    flex-wrap: wrap;
  }

  .ai-planner-card {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 23px 16px;
    border-radius: 19px;
  }

  .ai-planner-copy h2 {
    font-size: 29px;
  }

  .ai-planner-copy > p {
    font-size: 11px;
  }

  .ai-chat-preview {
    min-width: 0;
  }

  .ai-suggestions {
    gap: 6px;
  }

  .ai-suggestion {
    font-size: 8px;
  }

  .benefit-grid {
    gap: 11px;
  }

  .benefit-card {
    padding: 16px 13px;
  }

  .benefit-icon {
    width: 37px;
    height: 37px;
    margin-bottom: 12px;
  }

  .benefit-card h3 {
    font-size: 12px;
  }

  .benefit-card p {
    font-size: 10px;
  }

  .centered-section-heading {
    margin-bottom: 25px;
  }

  .faq-item {
    padding-inline: 14px;
  }

  .faq-item summary {
    min-height: 53px;
    font-size: 11px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    padding-block: 38px 30px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding-block: 15px;
  }

  .footer-bottom p {
    font-size: 8px;
  }

  .toast-notification {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}

/* 24. EXTRA SMALL PHONES */
@media (max-width: 380px) {
  .page-container,
  .header-inner,
  .hero-inner,
  .announcement-inner {
    width: calc(100% - 24px);
  }

  .announcement-inner {
    font-size: 8px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .hero-content h1 {
    font-size: 35px;
  }

  .transport-form-panel {
    padding-inline: 11px;
  }

  .journey-details-grid {
    grid-template-columns: 1fr;
  }

  .journey-details-grid .field-group {
    padding: 12px;
  }

  .journey-details-grid .input-with-icon input,
  .journey-details-grid .input-with-icon select {
    font-size: 12px;
  }

  .journey-details-grid .field-hint {
    font-size: 9px;
  }

  .trip-type-options {
    gap: 9px;
  }

  .radio-option {
    font-size: 9px;
  }

  .popular-route-grid {
    grid-template-columns: 1fr;
  }

  .route-card-art {
    min-height: 110px;
  }

  .route-card-route {
    font-size: 11px;
  }

  .route-card-body > p {
    min-height: 0;
    font-size: 10px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .result-card-footer {
    flex-direction: column;
  }

  .result-price {
    text-align: left;
  }

  .footer-main {
    gap: 25px 13px;
  }
}

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