:root {
  --lg-ink: #0b1f2a;
  --lg-deep: #123447;
  --lg-teal: #0f8a7a;
  --lg-teal-dark: #0b6b5e;
  --lg-sun: #f0a202;
  --lg-sun-deep: #d88900;
  --lg-accent: #0f8a7a;
  --lg-accent-dark: #0b6b5e;
  --lg-sand: #eef3f6;
  --lg-mist: #f6fafb;
  --lg-line: rgba(11, 31, 42, 0.08);
  --lg-card: #ffffff;
  --lg-shadow: 0 18px 50px rgba(11, 31, 42, 0.12);
  --lg-radius: 22px;
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--lg-ink);
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--lg-ink);
  width: 100%;
}

::selection {
  background: #cfd8e0;
  color: #0b1f2a;
}
::-moz-selection {
  background: #cfd8e0;
  color: #0b1f2a;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.lg-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 100%; overflow-x: hidden; }
.lg-container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; max-width: 100%; }

.lg-nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--lg-line);
}
.lg-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.lg-brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: .55rem;
  line-height: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
}
.lg-brand-mark {
  width: 34px; height: 34px; border-radius: 12px;
  background: linear-gradient(145deg, var(--lg-teal), var(--lg-deep));
  box-shadow: 0 8px 20px rgba(15, 138, 122, 0.35);
  position: relative;
}
.lg-brand-mark::after {
  content: ""; position: absolute; inset: 9px 7px auto 7px; height: 3px;
  background: var(--lg-sun); border-radius: 99px;
  box-shadow: 0 7px 0 var(--lg-sun), 0 14px 0 rgba(255,255,255,.35);
}
.lg-logo,
.lg-logo--nav,
.lg-logo--footer,
.lg-logo--auth,
.lg-login-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  border: none;
  padding: 0;
  mix-blend-mode: multiply;
}
.lg-logo--nav {
  height: 44px;
  width: auto;
  max-width: min(220px, 52vw);
  mix-blend-mode: multiply;
}
.lg-logo--footer {
  height: 48px;
  width: auto;
  max-width: min(240px, 100%);
  margin: 0 0 .85rem;
  mix-blend-mode: normal !important;
  background: transparent !important;
}
.lg-footer-copy {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .55rem;
}
.lg-logo--footer-inline {
  display: inline-block !important;
  height: 26px !important;
  width: auto !important;
  max-width: 130px !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
  mix-blend-mode: normal !important;
  background: transparent !important;
  object-fit: contain;
}
.lg-logo--hero {
  display: block !important;
  height: clamp(52px, 9vw, 84px) !important;
  width: auto !important;
  max-width: min(420px, 92vw) !important;
  margin: 0 !important;
  padding: 0 !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}
.lg-logo--auth {
  height: 80px;
  width: auto;
  max-width: min(350px, 100%);
}
.lg-nav-links { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.lg-nav-links a { font-weight: 600; font-size: .95rem; opacity: .85; }
.lg-nav-links a:hover { opacity: 1; color: var(--lg-teal-dark); }
.lg-nav-links a.lg-btn,
.lg-nav-links a.lg-btn:hover {
  opacity: 1;
}
.lg-nav-links a.lg-btn-primary,
.lg-nav-links a.lg-btn-primary:hover,
.lg-nav-links a.lg-btn-primary:focus,
.lg-nav-links a.lg-btn-primary:active,
.lg-nav-links a.lg-btn-primary:visited {
  color: #fff !important;
}
.lg-nav-find {
  color: var(--lg-teal-dark);
  opacity: 1 !important;
  font-weight: 700 !important;
}
.lg-nav-account {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: nowrap;
  max-width: 100%;
}
.lg-nav-account .lg-nav-user {
  font-weight: 700;
  font-size: .9rem;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(42vw, 11rem);
}
.lg-nav-account .lg-btn-nav-sm {
  flex-shrink: 0;
}

.lg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: 999px; padding: .85rem 1.25rem;
  font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.lg-btn:hover { transform: translateY(-1px); }
.lg-btn-primary {
  background: linear-gradient(135deg, var(--lg-teal), var(--lg-teal-dark));
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(15, 138, 122, 0.28);
}
.lg-btn-primary:hover,
.lg-btn-primary:focus,
.lg-btn-primary:active,
a.lg-btn-primary:hover,
a.lg-btn-primary:focus {
  background: linear-gradient(135deg, var(--lg-teal-dark), #085549);
  color: #fff !important;
}
.lg-btn-sun {
  background: linear-gradient(135deg, var(--lg-sun), var(--lg-sun-deep));
  color: #1a1400; box-shadow: 0 12px 28px rgba(240, 162, 2, 0.28);
}
.lg-btn-ghost {
  background: rgba(255,255,255,.7); border: 1px solid var(--lg-line); color: var(--lg-ink);
}
.lg-btn-nav {
  padding: .55rem 1rem;
  font-size: .9rem;
}
.lg-btn-nav-sm {
  padding: .32rem .7rem !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}
.lg-btn-nav-sm:hover {
  transform: none !important;
}

/* Full-bleed hero + finder bar matching reference */
.lg-hero-bleed {
  position: relative;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 5.5rem 0 2.5rem;
  /* Keep visible so the departure-date calendar isn't clipped */
  overflow: visible;
  color: #fff;
}
.lg-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}
.lg-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 8s ease;
}
.lg-hero-media img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.lg-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 31, 42, 0.55) 0%, rgba(11, 31, 42, 0.35) 42%, rgba(11, 31, 42, 0.72) 100%);
}
.lg-hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  padding-bottom: .5rem;
  animation: lg-rise .8s ease both;
}
.lg-brand-hero {
  margin: 0 0 .75rem;
  line-height: 0;
}
.lg-hero-content h1 {
  margin: 0 0 .7rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.lg-hero-content .lg-lead {
  max-width: 38rem;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.55;
}
.lg-hero-bleed--page {
  min-height: clamp(360px, 48vh, 480px);
  padding: 5.5rem 0 2.75rem;
}
.lg-hero-bleed--page .lg-hero-content .lg-lead {
  margin-bottom: 0;
}
.lg-hero-bleed--about .lg-hero-media img {
  object-position: center top;
}
.lg-hero-bleed--contact .lg-hero-media img {
  object-position: center 28%;
}

.lg-finder {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.15fr auto;
  gap: 1rem 1.15rem;
  align-items: end;
  background: #fff;
  color: var(--lg-ink);
  border-radius: 20px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 22px 60px rgba(11, 31, 42, 0.28);
  animation: lg-rise .9s ease .12s both;
  margin-bottom: 1rem;
}
.lg-finder-field > label,
.lg-field-label {
  display: block;
  margin-bottom: .45rem;
  font-size: .95rem;
  font-weight: 700;
  color: #2a3642;
}
.lg-finder-control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid #d7dee5;
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lg-finder-control:focus-within {
  border-color: rgba(15, 138, 122, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 138, 122, 0.12);
}
.lg-finder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  flex: 0 0 42px;
  color: #8b97a3;
  pointer-events: none;
}
.lg-finder-control select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  padding: .9rem .95rem .9rem 0;
  color: #4b5563;
  outline: none;
  font-size: 1rem;
  cursor: pointer;
}
.lg-finder-control select:invalid {
  color: #9aa3ad;
}
.lg-date-picker {
  position: relative;
  z-index: 5;
}
.lg-date-trigger {
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.lg-date-trigger:focus {
  outline: none;
}
.lg-date-trigger[aria-expanded="true"] {
  border-color: rgba(15, 138, 122, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 138, 122, 0.12);
}
.lg-date-pretty {
  flex: 1;
  min-width: 0;
  padding: .9rem .95rem .9rem 0;
  color: #374151;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
}
.lg-calendar {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  width: min(320px, calc(100vw - 2rem));
  padding: 1rem 1.05rem 1.1rem;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(11, 31, 42, 0.16);
}
.lg-calendar.lg-cal-drop-up {
  top: auto;
  bottom: calc(100% + 10px);
}
.lg-cal-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: .5rem;
  margin-bottom: .85rem;
}
.lg-cal-title {
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: #111827;
}
.lg-cal-nav {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f3f4f6;
  color: #111827;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lg-cal-nav:hover { background: #e5e7eb; }
.lg-cal-nav:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.lg-cal-weekdays,
.lg-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .2rem;
}
.lg-cal-weekdays span {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  color: #9ca3af;
  padding: .35rem 0 .55rem;
}
.lg-cal-day {
  appearance: none;
  border: 0;
  background: transparent;
  height: 38px;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}
.lg-cal-day.muted {
  color: #c4c9d1;
}
.lg-cal-day:hover:not(:disabled):not(.selected) {
  background: rgba(15, 138, 122, 0.10);
  color: #0b6b5e;
}
.lg-cal-day.selected {
  background: var(--lg-teal, #0f8a7a);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(15, 138, 122, 0.28);
}
.lg-cal-day:disabled {
  color: #d1d5db;
  cursor: not-allowed;
}
.lg-cal-day.today:not(.selected) {
  box-shadow: inset 0 0 0 1.5px rgba(15, 138, 122, 0.45);
  color: var(--lg-teal-dark, #0b6b5e);
}
.lg-cal-nav:hover {
  background: rgba(15, 138, 122, 0.12);
  color: #0b6b5e;
}
.lg-cal-title {
  color: var(--lg-ink, #0b1f2a);
}
.lg-cal-weekdays span {
  color: #6b7785;
}
.lg-phone-prefix {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  border: 1px solid var(--lg-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  width: 100%;
  min-height: 52px;
}
.lg-phone-prefix > span,
.lg-phone-prefix .lg-phone-dial {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 0 .9rem;
  min-height: 52px;
  height: auto;
  align-self: stretch;
  background: var(--lg-sand);
  font-weight: 700;
  color: var(--lg-deep);
  border-right: 1px solid var(--lg-line);
  white-space: nowrap;
  line-height: 1;
  box-sizing: border-box;
}
.lg-phone-prefix .lg-dial-select {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  max-width: 4.5rem;
  min-width: 4.25rem;
  min-height: 52px;
  height: auto;
  align-self: stretch;
  margin: 0;
  padding: 0 .2rem 0 .4rem;
  border: 0 !important;
  border-radius: 0 !important;
  border-right: 1px solid var(--lg-line) !important;
  background: var(--lg-sand) !important;
  box-shadow: none !important;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--lg-deep);
  cursor: pointer;
  appearance: auto;
  box-sizing: border-box;
}
/* WhatsApp intl row: compact flag/ISO; dial + number keep the room */
.lg-phone-intl .lg-phone-dial {
  padding: 0 .65rem;
  font-size: .9rem;
}
.lg-phone-prefix input[type="tel"],
.lg-phone-prefix input[type="text"],
.lg-field .lg-phone-prefix input {
  flex: 1 1 auto;
  width: 0 !important; /* flex-grow fills; overrides .lg-field input width:100% */
  max-width: none;
  min-width: 0;
  min-height: 52px;
  height: auto;
  align-self: stretch;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: .9rem 1rem;
  background: transparent;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .lg-phone-prefix .lg-dial-select {
    flex-basis: 4.15rem;
    width: 4.15rem;
    max-width: 4.15rem;
    min-width: 4rem;
    padding: 0 .15rem 0 .3rem;
    font-size: .75rem;
    /* keep full-row height for a usable tap target */
    min-height: 52px;
  }
  .lg-phone-intl .lg-phone-dial {
    padding: 0 .5rem;
    font-size: .85rem;
  }
  .lg-phone-prefix input[type="tel"],
  .lg-phone-prefix input[type="text"],
  .lg-field .lg-phone-prefix input {
    padding: .9rem .75rem;
  }
}

/* Search results layout */
.lg-results-page { padding: 1.25rem 0 3rem; background: #f4f6f8; min-height: 70vh; }
.lg-finder-results { margin-bottom: 1.25rem; }
.lg-results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.1rem;
  align-items: start;
}
.lg-results-main { min-width: 0; }
.lg-filter-panel {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(11,31,42,.05);
  position: sticky;
  top: 88px;
}
.lg-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.lg-filter-head a { color: var(--lg-teal); font-weight: 700; font-size: .9rem; }
.lg-filter-block { margin-bottom: 1.1rem; }
.lg-filter-block h4 { margin: 0 0 .65rem; font-size: .95rem; }
.lg-time-pref {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.lg-time-pref h4 {
  color: var(--lg-ink);
  margin: 0 0 .7rem;
  font-size: .95rem;
}
.lg-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.lg-time-tile {
  border: 1px solid #e6ebf0;
  border-radius: 14px;
  padding: .85rem .5rem .7rem;
  text-align: center;
  font-weight: 700;
  font-size: .88rem;
  color: #4b5563;
  cursor: pointer;
  background: #f7f8fa;
  display: grid;
  justify-items: center;
  gap: .35rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.lg-time-tile:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: #d5dde5;
}
.lg-time-tile input { display: none; }
.lg-time-tile.active,
.lg-time-tile:has(input:checked) {
  border-color: var(--lg-teal);
  color: var(--lg-teal-dark);
  background: #fff;
  box-shadow: 0 8px 18px rgba(15,138,122,.14);
}
.lg-time-icon {
  display: grid;
  place-items: center;
  min-height: 52px;
}
.lg-time-icon svg {
  display: block;
  width: 48px;
  height: 48px;
}
.lg-time-label { line-height: 1.1; }
.lg-check {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .45rem;
  font-weight: 600;
  font-size: .92rem;
}
.lg-check input[type="checkbox"] {
  accent-color: var(--lg-teal);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  cursor: pointer;
}
.lg-check-amenity {
  justify-content: space-between;
  padding: .35rem 0;
  border-bottom: 1px solid #eef2f4;
}
.lg-check-amenity:last-child { border-bottom: 0; }
.lg-check-left {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.lg-amenity-ico {
  color: #3d4b57;
  display: inline-flex;
  opacity: .85;
}
.lg-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.lg-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--lg-teal);
  color: var(--lg-teal-dark);
  border-radius: 10px;
  font-weight: 700;
  background: #fff;
}
.lg-date-ribbon {
  display: flex;
  align-items: stretch;
  gap: .45rem;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  padding: .5rem;
  margin: 0 0 1.1rem;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(11,31,42,.04);
  max-width: 100%;
}
.lg-ribbon-track {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.lg-ribbon-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: .35rem;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.lg-ribbon-strip.is-animating {
  transition: transform .32s cubic-bezier(.22, .9, .28, 1);
}
.lg-ribbon-day {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  padding: .55rem .4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: transparent;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.lg-ribbon-day strong {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.lg-ribbon-wd {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #52606d;
}
.lg-ribbon-dm {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: inherit;
}
.lg-ribbon-count {
  display: block;
  margin-top: .28rem;
  font-size: .74rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-style: normal;
}
.lg-ribbon-count b {
  font-weight: 800;
  color: inherit;
}
.lg-ribbon-count i {
  font-style: normal;
  font-weight: 600;
}
.lg-ribbon-day.active {
  border-color: var(--lg-teal);
  color: var(--lg-teal-dark);
  background: rgba(15,138,122,.08);
}
.lg-ribbon-day.active .lg-ribbon-wd,
.lg-ribbon-day.active .lg-ribbon-count {
  color: var(--lg-teal-dark);
}
.lg-ribbon-nav {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  width: 36px;
  height: auto;
  align-self: stretch;
  min-height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f3f4f6;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: inherit;
  line-height: 1;
  flex: 0 0 36px;
  flex-shrink: 0;
  text-decoration: none;
  color: #0b1f2a;
  cursor: pointer;
  padding: 0;
}
.lg-ribbon-nav:hover {
  background: rgba(15, 138, 122, 0.12);
  color: var(--lg-teal-dark);
}
.lg-ribbon-nav:disabled {
  opacity: .4;
  cursor: default;
  pointer-events: none;
}
.lg-ribbon-strip.is-select-next .lg-ribbon-day.active,
.lg-ribbon-strip.is-select-prev .lg-ribbon-day.active {
  animation: lg-ribbon-select .28s ease;
}
.lg-ribbon-strip.is-select-prev .lg-ribbon-day.active {
  animation-name: lg-ribbon-select-prev;
}
@keyframes lg-ribbon-select {
  from { transform: translateX(14px); opacity: .55; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes lg-ribbon-select-prev {
  from { transform: translateX(-14px); opacity: .55; }
  to { transform: translateX(0); opacity: 1; }
}
.lg-bus-cards { display: grid; gap: .85rem; }
.lg-bus-card {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 22px rgba(11,31,42,.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lg-bus-card.is-open {
  border-color: rgba(15,138,122,.38);
  box-shadow: 0 18px 40px rgba(15,138,122,.12);
}
.lg-bus-expand {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(15,138,122,.28);
}
.lg-seat-expand.is-embed {
  animation: lgSeatIn .28s ease;
}
@keyframes lgSeatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.lg-bus-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.lg-bus-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.lg-bus-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  color: #6b7280;
  font-size: .86rem;
  font-weight: 600;
}
.lg-bus-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--lg-ink);
  text-align: right;
}
.lg-seats-pill {
  display: inline-block;
  margin-top: .3rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: #eef1f4;
  font-size: .78rem;
  font-weight: 700;
  color: #4b5563;
}
.lg-bus-timeline {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: .75rem;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px dashed #e5eaf0;
  border-bottom: 1px dashed #e5eaf0;
}
.lg-bus-timeline strong { display: block; font-size: 1.15rem; }
.lg-bus-timeline span { color: #6b7280; font-size: .85rem; }
.lg-arrive { text-align: right; }
.lg-bus-mid { text-align: center; }
.lg-bus-codes { font-weight: 800; letter-spacing: .04em; }
.lg-bus-duration { color: var(--lg-teal-dark); font-weight: 700; margin: .15rem 0; }
.lg-bus-via { color: #6b7280; font-size: .82rem; }
.lg-bus-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: .85rem;
  flex-wrap: wrap;
}
.lg-amenity-icons {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #445260;
}
.lg-amenity-icons span {
  display: inline-flex;
}
.lg-select-seat {
  width: auto;
  min-width: 140px;
  padding: 0 1.2rem;
}

/* Seat selection workspace */
.lg-seat-page { padding: 1.25rem 0 3rem; background: #f3f7f6; }
.lg-trip-sheet {
  background: #fff;
  border: 1px solid #e3ecea;
  border-radius: 18px;
  padding: 1.1rem 1.2rem 1.3rem;
  box-shadow: 0 14px 36px rgba(11,31,42,.06);
  border-left: 4px solid var(--lg-teal);
}
.lg-trip-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}
.lg-trip-sheet-head h2 {
  margin: 0 0 .3rem;
  font-size: 1.15rem;
  font-family: var(--font-display);
}
.lg-trip-sheet-fare { text-align: right; }
.lg-sheet-timeline { margin-bottom: 1.1rem; }
.lg-seat-workspace {
  display: grid;
  grid-template-columns: max-content minmax(280px, 1fr);
  gap: 1.75rem 2.25rem;
  border-top: 1px solid #e8eef0;
  padding-top: 1.1rem;
  align-items: start;
}
.lg-empty-results {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 16px;
  padding: 2rem 1.4rem;
  text-align: center;
  color: #52606d;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(11,31,42,.04);
}
.lg-seat-col h3, .lg-points-col h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}
.lg-seat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: .7rem 0 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: #52606d;
}
.lg-leg {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: .3rem;
  vertical-align: -2px;
}
.lg-leg.available { background: rgba(15,138,122,.12); border: 1.5px solid var(--lg-teal); }
.lg-leg.selected { background: #0b8441; border: 1.5px solid #111; }
.lg-leg.held { background: #f7c4d4; border: 1.5px solid #c45c7a; }
.lg-leg.booked { background: #6b7785; border: 1.5px solid #52606d; }
.lg-leg.vip { background: rgba(240,162,2,.35); border: 1.5px solid rgba(240,162,2,.55); }
.lg-leg.facility { background: transparent; border: none; color: var(--lg-teal); box-shadow: inset 0 0 0 1.5px currentColor; border-radius: 4px; }
.lg-coach {
  /* Seat size is fixed; deck width + aisle adapt to 1x2 vs 2x2 */
  --lg-seat-w: 68px;
  --lg-seat-h: 50px;
  --lg-seat-gap: .45rem;
  --lg-aisle-w: var(--lg-seat-w);
  --lg-coach-inner: calc((5 * var(--lg-seat-w)) + (4 * var(--lg-seat-gap)));
  border: 1px solid rgba(15,138,122,.18);
  border-radius: 18px;
  padding: .95rem 1rem;
  width: fit-content;
  min-width: calc(var(--lg-coach-inner) + 2rem);
  max-width: none;
  margin: 0 auto;
  background:
    radial-gradient(circle at top right, rgba(240,162,2,.10), transparent 40%),
    linear-gradient(180deg, #f4faf8, #fff);
  box-sizing: border-box;
}
.lg-coach[data-deck="1x2"] {
  --lg-aisle-w: 14px;
  --lg-coach-inner: calc((4 * var(--lg-seat-w)) + var(--lg-aisle-w) + (4 * var(--lg-seat-gap)));
}
.lg-coach[data-deck="2x2"] {
  --lg-aisle-w: var(--lg-seat-w);
  --lg-coach-inner: calc((5 * var(--lg-seat-w)) + (4 * var(--lg-seat-gap)));
}
.lg-coach-editor {
  max-width: none;
  margin: 0 auto;
}
.lg-coach-driver {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: .35rem;
  margin-bottom: .55rem;
  padding-right: .15rem;
  min-height: var(--lg-seat-h);
  width: var(--lg-coach-inner);
}
.lg-driver-label { font-size: .7rem; font-weight: 700; color: #8a94a6; }
.lg-driver-wheel { display: block; opacity: .9; }
.lg-coach-grid {
  width: var(--lg-coach-inner);
}
.lg-coach-row {
  display: grid;
  grid-template-columns: var(--lg-seat-w) var(--lg-seat-w) var(--lg-aisle-w) var(--lg-seat-w) var(--lg-seat-w);
  gap: var(--lg-seat-gap);
  margin-bottom: var(--lg-seat-gap);
  width: var(--lg-coach-inner);
  justify-content: start;
}
.lg-coach-row-bench {
  /* Five equal seats ? K5 sits in the aisle column */
  grid-template-columns: repeat(5, var(--lg-seat-w));
  justify-content: center;
}
.lg-coach-row-bench-4 {
  /* Four seats span the full deck width (fills the aisle gap) */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: var(--lg-coach-inner);
}
.lg-coach-row-bench-4 .lg-coach-seat,
.lg-coach-row-bench-4 .lg-coach-cell {
  width: 100%;
  min-width: 0;
  max-width: none;
}
.lg-seat-spacer,
.lg-aisle {
  width: 100%;
  min-width: 0;
  min-height: var(--lg-seat-h);
  height: var(--lg-seat-h);
  box-sizing: border-box;
}
.lg-coach-seat {
  --seat-ink: var(--lg-teal);
  --seat-label: #0b1f2a;
  --seat-pad: transparent;
  position: relative;
  width: var(--lg-seat-w);
  min-width: var(--lg-seat-w);
  max-width: var(--lg-seat-w);
  height: var(--lg-seat-h);
  min-height: var(--lg-seat-h);
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .7rem;
  cursor: pointer;
  color: var(--seat-label);
  line-height: 1.05;
  padding: 0;
  text-align: center;
  overflow: hidden;
}
.lg-seat-icon {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  background-color: var(--seat-ink);
  -webkit-mask-image: var(--seat-mask);
  mask-image: var(--seat-mask);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  z-index: 1;
}
.lg-coach-seat::before {
  content: none;
}
.lg-coach-seat .lg-seat-label {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  color: var(--seat-label);
  text-align: center;
  white-space: nowrap;
  text-shadow: none;
  pointer-events: none;
}
.lg-coach-seat .lg-seat-vip {
  position: absolute;
  z-index: 2;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .42rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--seat-label);
  opacity: .9;
  line-height: 1;
}
.lg-coach-seat input { display: none; }

/* Available VIP */
.lg-coach-seat.vip:not(.selected):not(.held):not(.booked):not(.blocked) {
  --seat-ink: #c98900;
  --seat-pad: transparent;
  --seat-label: #9a6a00;
}

/* Selected ? solid green seat with black outline (reference style) */
.lg-coach-seat.selected {
  --seat-ink: #0b8441;
  --seat-pad: transparent;
  --seat-label: #111;
}
.lg-coach-seat.selected .lg-seat-icon {
  -webkit-mask-image: none;
  mask-image: none;
  background-color: transparent;
  background-image: var(--seat-selected);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.lg-coach-seat.selected .lg-seat-label {
  text-shadow: none;
  color: #111;
  font-weight: 800;
}

/* Holding (in process by others) */
.lg-coach-seat.held {
  --seat-ink: #c45c7a;
  --seat-pad: transparent;
  --seat-label: #5c2438;
  cursor: not-allowed;
}
.lg-coach-seat.held .lg-seat-icon {
  -webkit-mask-image: var(--seat-mask-fill);
  mask-image: var(--seat-mask-fill);
  background-color: #e891a8;
  background-image: none;
}
.lg-coach-seat.held .lg-seat-label {
  text-shadow: none;
  color: #5c2438;
}

/* Purchased / booked */
.lg-coach-seat.booked,
.lg-coach-seat.blocked {
  --seat-ink: #6b7785;
  --seat-pad: transparent;
  --seat-label: #fff;
  cursor: not-allowed;
}
.lg-coach-seat.booked .lg-seat-icon,
.lg-coach-seat.blocked .lg-seat-icon {
  -webkit-mask-image: var(--seat-mask-fill);
  mask-image: var(--seat-mask-fill);
  background-color: #6b7785;
  background-image: none;
}
.lg-coach-seat.booked .lg-seat-label,
.lg-coach-seat.blocked .lg-seat-label {
  text-shadow: none;
  color: #fff;
}

.lg-coach-seat:not(.held):not(.booked):not(.blocked):hover .lg-seat-icon {
  filter: brightness(0.92);
}
.lg-coach-seat:focus-within {
  outline: 2px solid rgba(15, 138, 122, 0.35);
  outline-offset: 1px;
  border-radius: 8px;
}
.lg-coach-facility {
  width: var(--lg-seat-w);
  min-width: var(--lg-seat-w);
  max-width: var(--lg-seat-w);
  height: var(--lg-seat-h);
  min-height: var(--lg-seat-h);
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  flex-shrink: 0;
  color: var(--lg-teal);
}
.lg-coach-cell {
  width: var(--lg-seat-w);
  min-width: var(--lg-seat-w);
  max-width: var(--lg-seat-w);
  height: var(--lg-seat-h);
  min-height: var(--lg-seat-h);
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 9px;
  border: 1px solid #d5dee4;
  background: #eef2f5;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .72rem;
  cursor: pointer;
  color: #334155;
  line-height: 1.05;
  padding: .2rem;
}
.lg-coach-cell small { display: block; font-size: .55rem; }
.lg-coach-cell.lg-cell-empty,
.lg-cell-empty {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}
.lg-coach-cell.lg-cell-empty:hover,
.lg-coach-cell.lg-cell-empty:focus-visible {
  outline: 1px dashed rgba(15, 138, 122, 0.35);
  outline-offset: -1px;
  border-radius: 9px;
}
.lg-aisle {
  background: transparent;
}
.lg-cell-seat { background: transparent; }
.lg-coach-cell.lg-cell-seat {
  --seat-ink: var(--lg-teal);
  --seat-label: #0b1f2a;
  --seat-pad: transparent;
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--seat-label);
  overflow: hidden;
}
.lg-coach-cell.lg-cell-seat.vip {
  --seat-ink: #c98900;
  --seat-label: #9a6a00;
}
.lg-coach-cell.lg-cell-seat .lg-seat-icon {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--seat-ink);
  -webkit-mask-image: var(--seat-mask);
  mask-image: var(--seat-mask);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  pointer-events: none;
}
.lg-coach-cell.lg-cell-seat .lg-seat-label {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: .85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--seat-label);
  pointer-events: none;
}
.lg-coach-cell.lg-cell-seat .lg-seat-vip {
  position: absolute;
  z-index: 2;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .42rem;
  font-weight: 800;
  color: var(--seat-label);
  line-height: 1;
}
.lg-coach-cell.lg-cell-needs-label {
  outline: 2px dashed rgba(240, 162, 2, 0.9);
  outline-offset: 1px;
}
.lg-coach-cell.lg-cell-needs-label .lg-seat-label {
  color: #9a6700;
}

.lg-seat-chip {
  --seat-ink: var(--lg-teal);
  --seat-label: #0b1f2a;
  --seat-pad: transparent;
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 52px;
  height: 40px;
  vertical-align: middle;
  margin: 0 .15rem;
}
.lg-seat-chip .lg-seat-icon {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--seat-ink);
  -webkit-mask-image: var(--seat-mask);
  mask-image: var(--seat-mask);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  pointer-events: none;
}
.lg-seat-chip .lg-seat-label {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  color: var(--seat-label);
  pointer-events: none;
}
.lg-seat-chip--sm {
  width: 44px;
  height: 34px;
}
.lg-seat-chip--sm .lg-seat-label {
  font-size: .62rem;
}
.lg-passenger-seat {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  color: #52606d;
}
.lg-coach-cell.vip { background: rgba(240,162,2,.18); border-color: rgba(240,162,2,.4); }
.lg-coach-cell.lg-cell-facility,
.lg-cell-facility {
  background: transparent !important;
  border: none !important;
  box-shadow: none;
}
.lg-facility-icon {
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 0;
  color: var(--lg-teal);
}
.lg-facility-svg,
.lg-facility-img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.lg-facility-toilet .lg-facility-icon,
.lg-coach-facility.lg-facility-toilet .lg-facility-img,
.lg-coach-facility.lg-facility-toilet .lg-facility-svg {
  width: 42px;
  height: 42px;
}
.lg-facility-door .lg-facility-icon,
.lg-coach-facility.lg-facility-door .lg-facility-svg {
  width: 42px;
  height: 42px;
}
.lg-layout-tools .badge { margin-right: .25rem; }
.lg-fleet-preview-card {
  border: 1px solid #e5ecea;
  border-radius: 14px;
  padding: .85rem;
  background: #f8fbfa;
}
.lg-fleet-preview { width: fit-content; max-width: none; margin: 0 auto; }
.badge.bg-teal-soft {
  background: rgba(15,138,122,.12);
  color: #0f5c52;
  font-weight: 700;
}
.lg-point-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  margin: .7rem 0 .85rem;
}
.lg-point-tabs button {
  border: 1px solid var(--lg-teal);
  background: #fff;
  color: var(--lg-teal-dark);
  border-radius: 10px;
  min-height: 42px;
  font-weight: 700;
  cursor: pointer;
}
.lg-point-tabs button.active {
  background: var(--lg-teal);
  color: #fff;
}
.lg-point-panel { display: none; max-height: 320px; overflow: auto; }
.lg-point-panel.active { display: grid; gap: .35rem; }
.lg-point-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .7rem;
  border-radius: 10px;
  border: 1px solid #e5ecea;
  font-weight: 600;
  cursor: pointer;
}
.lg-point-option:has(input:checked) {
  border-color: var(--lg-teal);
  background: rgba(15,138,122,.08);
  color: var(--lg-teal-dark);
}
.lg-point-option input { accent-color: var(--lg-teal); }

@media (max-width: 980px) {
  .lg-results-layout { grid-template-columns: 1fr; }
  .lg-filter-panel { position: static; order: 2; }
  .lg-results-main { order: 1; }
  .lg-seat-workspace { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lg-bus-timeline { grid-template-columns: 1fr; text-align: left; }
  .lg-arrive { text-align: left; }
  .lg-bus-card-top { flex-direction: column; }
  .lg-bus-price, .lg-seats-pill { text-align: left; }
  .lg-results-grid { grid-template-columns: 1fr !important; }
}
.lg-finder-action {
  display: flex;
  align-items: stretch;
  min-width: 150px;
}
.lg-btn-search {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--lg-teal);
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 138, 122, 0.28);
  transition: background .2s ease, transform .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.lg-btn-search:hover,
.lg-btn-search:focus,
.lg-btn-search:active {
  background: var(--lg-teal-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.lg-section { padding: 3.5rem 0; }
.lg-section-soft { background: linear-gradient(180deg, #f7fafb 0%, #fff 100%); }
.lg-section-ink {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(15, 138, 122, 0.28), transparent 60%),
    linear-gradient(145deg, #0b1f2a, #123447);
  color: #fff;
}
.lg-section-head { margin-bottom: 1.5rem; max-width: 40rem; }
.lg-section-head h2,
.lg-section h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0 0 .4rem;
}
.lg-section-head-light p { color: rgba(255,255,255,.78); margin: 0; }
.lg-muted { opacity: .72; margin: 0 0 1.25rem; line-height: 1.55; }

.lg-route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.lg-route-tile {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--lg-line);
  box-shadow: 0 12px 30px rgba(11, 31, 42, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.lg-route-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--lg-shadow);
}
.lg-route-tile img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, #d7e8e4, #eef3f6);
}
.lg-route-tile-body {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.1rem 1.15rem;
  font-weight: 700;
}
.lg-route-tile-body span {
  color: var(--lg-teal-dark);
  white-space: nowrap;
}

.lg-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.lg-checklist {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .7rem;
}
.lg-checklist li {
  position: relative;
  padding-left: 1.55rem;
  font-weight: 600;
}
.lg-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
  background: var(--lg-teal);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--lg-teal);
}
.lg-photo-stack {
  position: relative;
  min-height: 460px;
  padding: 1rem 1.5rem 2rem 0;
}
.lg-photo {
  border-radius: 28px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 22px 50px rgba(11, 31, 42, 0.18);
  background: #e8eef1;
}
.lg-photo-main {
  width: min(100%, 340px);
  height: 440px;
  margin-left: auto;
  display: block;
  animation: lgFloatSoft 6s ease-in-out infinite;
}
.lg-photo-float {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(58%, 250px);
  height: 320px;
  border: 6px solid #fff;
  animation: lgFloatSoft 7.5s ease-in-out infinite reverse;
}
@keyframes lgFloatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.lg-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.lg-steps article {
  padding: 1.2rem;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.lg-steps span {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--lg-sun);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.lg-steps h3 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
}
.lg-steps p {
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  font-size: .95rem;
}

.lg-operator-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.lg-operator-pill {
  padding: .85rem 1.15rem;
  border-radius: 999px;
  background: var(--lg-sand);
  font-weight: 700;
}
.lg-operator-pill-link {
  background: rgba(15, 138, 122, 0.12);
  color: var(--lg-teal-dark);
}

.lg-cta-band {
  padding: 2.5rem 0 3.5rem;
  background:
    linear-gradient(120deg, rgba(15, 138, 122, 0.12), rgba(240, 162, 2, 0.14));
}
.lg-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.lg-cta-inner h2 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
.lg-cta-inner p { margin: 0; opacity: .75; }

.lg-search {
  background: var(--lg-card); border: 1px solid rgba(255,255,255,.8);
  border-radius: calc(var(--lg-radius) + 6px);
  box-shadow: var(--lg-shadow); padding: 1.1rem;
}
.lg-search-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
}
.lg-field label {
  display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: .35rem; opacity: .7;
}
.lg-field input, .lg-field select {
  width: 100%; border: 1px solid var(--lg-line); background: #fff;
  border-radius: 14px; padding: .9rem 1rem; outline: none;
}
.lg-field input:focus, .lg-field select:focus {
  border-color: rgba(15, 138, 122, .45);
  box-shadow: 0 0 0 4px rgba(15, 138, 122, .12);
}
.lg-search-actions { margin-top: .85rem; display: grid; gap: .75rem; }
.lg-slots { display: flex; flex-wrap: wrap; gap: .45rem; }
.lg-slot {
  border: 1px solid var(--lg-line); background: #fff; border-radius: 999px;
  padding: .45rem .8rem; font-size: .85rem; font-weight: 700; cursor: pointer;
}
.lg-slot.active, .lg-slot:has(input:checked) {
  background: rgba(15, 138, 122, .12); border-color: rgba(15, 138, 122, .35); color: var(--lg-teal-dark);
}
.lg-slot input { display: none; }

.lg-trip-list { display: grid; gap: 1rem; }
.lg-trip {
  display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 1rem; align-items: center;
  background: #fff; border: 1px solid var(--lg-line); border-radius: var(--lg-radius);
  padding: 1.1rem 1.2rem; box-shadow: 0 10px 30px rgba(11,31,42,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lg-trip:hover { transform: translateY(-2px); box-shadow: var(--lg-shadow); }
.lg-trip-operator { font-weight: 800; font-family: var(--font-display); }
.lg-trip-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .55rem; }
.lg-chip {
  font-size: .78rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px;
  background: var(--lg-sand); color: var(--lg-deep);
}
.lg-chip.vip { background: rgba(240,162,2,.18); color: #8a5a00; }
.lg-chip.ok { background: rgba(15,138,122,.12); color: var(--lg-teal-dark); }
.lg-time { font-size: 1.35rem; font-weight: 800; font-family: var(--font-display); }
.lg-route-line { opacity: .65; font-size: .92rem; }
.lg-price { font-size: 1.25rem; font-weight: 800; color: var(--lg-teal-dark); text-align: right; }

.lg-alert {
  border-radius: 16px; padding: .9rem 1rem; margin: 1rem 0; font-weight: 600;
}
.lg-alert-error { background: #ffe8e6; color: #8a1f16; }
.lg-alert-success { background: #e5f8f2; color: #0b5c4d; }

.lg-seat-map {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem;
  max-width: 420px; margin: 0 auto;
}
.lg-seat {
  aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--lg-line);
  background: #fff; font-weight: 800; cursor: pointer; display: grid; place-items: center;
}
.lg-seat.vip { background: rgba(240,162,2,.12); }
.lg-seat.held, .lg-seat.booked, .lg-seat.blocked {
  background: #e8eef1; color: #8aa0ab; cursor: not-allowed; text-decoration: line-through;
}
.lg-seat.selected {
  background: var(--lg-teal); color: #fff; border-color: var(--lg-teal-dark);
  box-shadow: 0 8px 18px rgba(15,138,122,.28);
}
.lg-seat input { display: none; }

.lg-card {
  background: #fff; border: 1px solid var(--lg-line); border-radius: var(--lg-radius);
  padding: 1.2rem; box-shadow: 0 10px 30px rgba(11,31,42,.05);
}
.lg-auth-page {
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(15, 138, 122, 0.14), transparent 60%),
    linear-gradient(180deg, #f4faf9 0%, #fff 42%);
}
.lg-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--lg-ink);
  line-height: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
}
.lg-auth-brand .lg-brand-mark {
  width: 36px;
  height: 36px;
}
.lg-otp-group {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.lg-otp-heading {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--lg-teal-dark);
}
.lg-otp-hint {
  margin: 0;
  font-size: .92rem;
  line-height: 1.45;
}
.lg-otp-boxes {
  display: flex;
  justify-content: space-between;
  gap: .55rem;
  margin: .15rem 0 .1rem;
}
.lg-otp-box {
  flex: 1 1 0;
  width: 100%;
  max-width: 3.35rem;
  aspect-ratio: 1;
  min-height: 3.1rem;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--lg-ink);
  background: #fff;
  border: 3px solid rgba(15, 138, 122, 0.22);
  border-radius: 14px;
  box-shadow: inset 0 1px 2px rgba(11, 31, 42, 0.04);
  -webkit-appearance: none;
  appearance: none;
  caret-color: var(--lg-ink);
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease, background-color .15s ease;
}
.lg-otp-box:hover {
  border-color: rgba(15, 138, 122, 0.4);
}
.lg-otp-box:focus {
  outline: none;
  border-color: var(--lg-teal);
  border-width: 3px;
  box-shadow:
    0 0 0 3px rgba(15, 138, 122, 0.16),
    inset 0 1px 2px rgba(11, 31, 42, 0.04);
}
.lg-otp-boxes.is-error .lg-otp-box,
.lg-otp-group.is-otp-error .lg-otp-box {
  border-color: #d64545;
  color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14);
}
.lg-otp-boxes.is-shaking {
  animation: lg-otp-shake .48s ease;
}
@keyframes lg-otp-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-9px); }
  30% { transform: translateX(9px); }
  45% { transform: translateX(-7px); }
  60% { transform: translateX(7px); }
  75% { transform: translateX(-4px); }
  90% { transform: translateX(4px); }
}
@media (max-width: 420px) {
  .lg-otp-boxes { gap: .4rem; }
  .lg-otp-box {
    max-width: 2.85rem;
    min-height: 2.85rem;
    border-radius: 12px;
  }
}
.lg-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.lg-ticket {
  background:
    linear-gradient(135deg, rgba(15,138,122,.08), rgba(240,162,2,.08)),
    #fff;
  border: 1px dashed rgba(15,138,122,.35);
  border-radius: 24px; padding: 1.25rem;
}
.lg-ticket-page { background: #f4f8f7; }
.lg-ticket-wrap { max-width: 1080px; }
.lg-ticket-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .75rem;
}
.lg-ticket-page-head h2 { margin: 0 0 .15rem; }
.lg-ticket-status {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lg-ticket-status.ok { background: #e5f8f2; color: var(--lg-teal-dark); }
.lg-ticket-status.pending { background: #fff4d9; color: #8a5a00; }
.lg-boarding-pass {
  background: #fff;
  border: 1px solid rgba(15,138,122,.16);
  border-radius: 20px;
  padding: .85rem 1.15rem 1rem;
  box-shadow: 0 16px 40px rgba(11,31,42,.08);
}
.lg-bp-top {
  display: flex;
  justify-content: space-between;
  gap: .85rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: .65rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--lg-line);
}
.lg-bp-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--lg-teal-dark);
  letter-spacing: -0.03em;
}
.lg-bp-fare { text-align: right; }
.lg-bp-price { margin-top: .3rem; font-size: 1.05rem; }
.lg-bp-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.35rem;
  align-items: stretch;
}
.lg-bp-primary { min-width: 0; }
.lg-bp-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .65rem;
  align-items: center;
  padding: .35rem 0 .55rem;
}
.lg-bp-code {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.lg-bp-route span { color: #6b7785; font-weight: 600; font-size: .85rem; }
.lg-bp-arrive { text-align: right; }
.lg-bp-mid { text-align: center; min-width: 110px; }
.lg-bp-mid span {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  color: var(--lg-teal-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.lg-bp-mid i {
  display: block;
  height: 2px;
  margin: .3rem 0;
  background: linear-gradient(90deg, transparent, var(--lg-teal), transparent);
}
.lg-bp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem 1.25rem;
  margin-top: .35rem;
  padding-top: .55rem;
  border-top: 1px dashed rgba(15,138,122,.22);
}
.lg-bp-meta label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7b8794;
  margin-bottom: .1rem;
}
.lg-bp-meta strong { font-size: .95rem; }
.lg-bp-empty { margin: .55rem 0 0; }
.lg-bp-passengers-head {
  margin-top: .85rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7b8794;
}
.lg-bp-passenger {
  margin-top: .55rem;
  padding-top: .5rem;
  border-top: 1px dashed rgba(15,138,122,.22);
}
.lg-bp-passenger strong { font-size: .98rem; }
.lg-bp-passenger .lg-muted { font-size: .86rem; margin-top: .15rem; }
.lg-bp-qrs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  padding-left: 1rem;
  border-left: 2px dashed rgba(15,138,122,.22);
  min-width: 0;
}
.lg-seat-pill {
  display: inline-flex;
  min-width: 1.85rem;
  justify-content: center;
  padding: .1rem .4rem;
  border-radius: 7px;
  background: var(--lg-teal);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
}
.lg-ticket-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .9rem;
}
.lg-qr {
  width: 128px;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  gap: .3rem;
  border: 1px solid var(--lg-line);
  padding: .5rem;
  box-sizing: border-box;
  overflow: hidden;
}
.lg-qr img {
  width: 112px;
  height: 112px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.lg-qr-label {
  font-size: .68rem;
  font-weight: 800;
  color: #6b7785;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lg-qr-open-hint {
  margin: .55rem 0 0;
  font-size: .72rem;
  word-break: break-all;
}
.lg-qr-open-hint a { color: inherit; }
@media (max-width: 720px) {
  .lg-bp-shell { grid-template-columns: 1fr; }
  .lg-bp-qrs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 0;
    padding-top: .65rem;
    border-left: 0;
    border-top: 2px dashed rgba(15,138,122,.22);
  }
  .lg-bp-route, .lg-bp-meta { grid-template-columns: 1fr; }
  .lg-bp-arrive { text-align: left; }
  .lg-bp-fare { text-align: left; }
}

/* ?? Public QR scan boarding pass (phone camera) ?? */
.lg-scan-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--lg-ink);
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, rgba(15,138,122,.22), transparent 55%),
    linear-gradient(165deg, #0b6b5e 0%, #0f8a7a 28%, #e8f4f2 28%, #f2f6f5 100%);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.lg-scan {
  width: min(26rem, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top)) 0 max(1.5rem, env(safe-area-inset-bottom));
}
.lg-scan-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .85rem;
  padding-top: .35rem;
}
.lg-scan-brand .lg-logo--scan {
  height: 64px;
  width: auto;
  max-width: min(260px, 78vw);
  mix-blend-mode: normal;
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  box-shadow: none !important;
}
.lg-scan-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.15rem 1.2rem 1.35rem;
  box-shadow: 0 20px 50px rgba(11,31,42,.18);
}
.lg-scan-missing h1 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: .2rem 0 .65rem;
  letter-spacing: -0.03em;
}
.lg-scan-missing p { color: #5b6b76; line-height: 1.45; margin: 0 0 1.1rem; }
.lg-scan-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7b8794;
}
.lg-scan-status {
  display: inline-flex;
  align-items: center;
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.lg-scan-status--ready { background: #d8f5ee; color: #0b6b5e; }
.lg-scan-status--boarded { background: #e8eef2; color: #3d4f5c; }
.lg-scan-status--unpaid { background: #fff0c9; color: #8a5a00; }
.lg-scan-status--invalid { background: #fde8e6; color: #a1281f; }
.lg-scan-operator {
  margin: 0 0 .85rem;
  font-size: .9rem;
  font-weight: 600;
  color: #5b6b76;
}
.lg-scan-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .5rem;
  align-items: center;
  padding: .15rem 0 .75rem;
  border-bottom: 1px solid var(--lg-line);
}
.lg-scan-route strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lg-ink);
}
.lg-scan-route span {
  display: block;
  margin-top: .2rem;
  font-size: .82rem;
  font-weight: 600;
  color: #6b7785;
}
.lg-scan-arrive { text-align: right; }
.lg-scan-route-mid {
  text-align: center;
  min-width: 4.5rem;
  padding: 0 .25rem;
}
.lg-scan-route-mid span {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--lg-teal-dark);
  margin: 0;
}
.lg-scan-route-mid i {
  display: block;
  height: 2px;
  margin: .35rem 0;
  background: linear-gradient(90deg, transparent, var(--lg-teal), transparent);
}
.lg-scan-when {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin: .75rem 0 1rem;
  font-size: .95rem;
  font-weight: 700;
}
.lg-scan-passenger {
  padding: .85rem 0;
  border-top: 1px dashed rgba(15,138,122,.25);
  border-bottom: 1px dashed rgba(15,138,122,.25);
}
.lg-scan-passenger label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #7b8794;
  margin-bottom: .2rem;
}
.lg-scan-passenger strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.lg-scan-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem .75rem;
  margin: 1rem 0 0;
}
.lg-scan-meta dt {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7b8794;
  margin: 0 0 .15rem;
}
.lg-scan-meta dd {
  margin: 0;
  font-size: .98rem;
  font-weight: 700;
  word-break: break-word;
}
.lg-scan-mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .82rem !important;
  letter-spacing: .02em;
}
.lg-scan-seat {
  display: inline-flex;
  min-width: 2.4rem;
  justify-content: center;
  padding: .2rem .55rem;
  border-radius: 8px;
  background: var(--lg-teal);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
.lg-scan-hint {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: #6b7785;
}
.lg-scan-qr-wrap {
  margin: 1.1rem 0 .25rem;
  padding: 1rem .85rem .85rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3fbf9 0%, #fff 100%);
  border: 1px solid rgba(15, 138, 122, .18);
  text-align: center;
}
.lg-scan-qr {
  display: inline-grid;
  place-items: center;
  padding: .55rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11, 31, 42, .08);
  box-shadow: 0 8px 22px rgba(11, 31, 42, .06);
}
.lg-scan-qr img {
  display: block;
  width: 168px;
  height: 168px;
  max-width: 100%;
  object-fit: contain;
}
.lg-scan-qr-caption {
  margin: .75rem 0 .2rem;
  font-size: .82rem;
  font-weight: 700;
  color: #0b6b5e;
}
.lg-scan-qr-code {
  margin: 0;
  font-size: .78rem;
  color: #6b7785;
  letter-spacing: .03em;
}
.lg-scan-foot {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(11,31,42,.45);
}
@media (max-width: 380px) {
  .lg-scan-route { grid-template-columns: 1fr; text-align: left; gap: .65rem; }
  .lg-scan-arrive { text-align: left; }
  .lg-scan-route-mid { text-align: left; min-width: 0; }
  .lg-scan-route-mid i { max-width: 6rem; }
  .lg-scan-meta { grid-template-columns: 1fr; }
}

.lg-footer {
  margin-top: auto;
  padding: 2.5rem 0 1.5rem;
  background: #0b1f2a;
  color: rgba(255,255,255,.82);
}
.lg-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}
.lg-footer h3 {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-size: 1rem;
}
.lg-footer p, .lg-footer a {
  margin: 0 0 .45rem;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  font-size: .95rem;
}
.lg-footer a:hover { color: #fff; }
.lg-footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  justify-content: center;
}
.lg-footer-legal a {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lg-footer-legal a:hover { color: #fff; }
.lg-footer-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.lg-footer-pay img {
  height: 32px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  background: transparent;
  display: block;
}
.lg-footer-pay img.lg-pay-logo--visa {
  height: 36px;
  max-width: 110px;
}
.lg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  font-size: .88rem;
  opacity: .7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1.25rem;
}

@keyframes lg-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes lg-kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@media (max-width: 980px) {
  .lg-finder {
    grid-template-columns: 1fr 1fr;
  }
  .lg-finder-action { grid-column: 1 / -1; }
  .lg-route-grid, .lg-steps { grid-template-columns: 1fr 1fr; }
  .lg-split { grid-template-columns: 1fr; }
  .lg-photo-float { left: 0; bottom: 0; }
  .lg-footer-grid { grid-template-columns: 1fr 1fr; }
  .lg-footer-bottom { flex-direction: column; }
}
@media (max-width: 900px) {
  .lg-trip { grid-template-columns: 1fr; }
  .lg-price, .lg-trip .lg-btn { text-align: left; width: 100%; }
}
@media (max-width: 640px) {
  .lg-hero-bleed {
    min-height: min(78svh, 560px);
    padding: max(3.5rem, calc(env(safe-area-inset-top) + 2.75rem)) 0 1.1rem;
    align-items: flex-end;
  }
  .lg-hero-media { min-height: 100%; }
  .lg-brand-hero {
    margin-bottom: .4rem;
  }
  .lg-logo--hero {
    height: clamp(34px, 10vw, 48px) !important;
    max-width: min(240px, 70vw) !important;
  }
  .lg-hero-content h1 {
    font-size: clamp(1.12rem, 4.8vw, 1.42rem);
    max-width: none;
    line-height: 1.25;
  }
  .lg-hero-content .lg-lead {
    font-size: .86rem;
    line-height: 1.45;
    margin-bottom: .9rem;
  }
  .lg-finder { grid-template-columns: 1fr; padding: .75rem; border-radius: 12px; gap: .55rem; }
  .lg-finder label,
  .lg-field label,
  .lg-field-label {
    font-size: .68rem;
    margin-bottom: .3rem;
  }
  .lg-finder-control {
    min-height: 40px;
    border-radius: 10px;
  }
  .lg-finder-icon {
    width: 32px;
    flex-basis: 32px;
  }
  .lg-finder-icon svg {
    width: 16px;
    height: 16px;
  }
  .lg-finder-control select {
    font-size: .88rem;
    padding: .55rem .65rem .55rem 0;
  }
  .lg-date-pretty {
    font-size: .88rem;
    padding: .55rem .65rem .55rem 0;
  }
  .lg-finder input,
  .lg-finder select,
  .lg-field input,
  .lg-field select {
    font-size: .88rem;
    min-height: 40px;
    padding: .5rem .65rem;
  }
  .lg-btn-search {
    min-height: 42px;
    font-size: .88rem;
    border-radius: 10px;
  }
  .lg-time-icon {
    min-height: 36px;
  }
  .lg-time-icon svg {
    width: 28px;
    height: 28px;
  }
  .lg-time-tile {
    padding: .55rem .45rem;
    font-size: .78rem;
  }
  .lg-amenity-ico svg {
    width: 16px;
    height: 16px;
  }
  .lg-amenity-icons {
    gap: .45rem;
  }
  .lg-amenity-icons svg {
    width: 16px;
    height: 16px;
  }
  .lg-check {
    font-size: .82rem;
    gap: .4rem;
  }
  .lg-route-grid, .lg-steps, .lg-footer-grid, .lg-search-grid { grid-template-columns: 1fr; }
  .lg-nav {
    padding: .35rem 0;
  }
  .lg-nav-inner { min-height: 48px; gap: .4rem; }
  .lg-brand { font-size: 1rem; gap: .3rem; }
  .lg-brand-mark { width: 24px; height: 24px; border-radius: 8px; }
  .lg-logo--nav { height: 32px; max-width: min(148px, 42vw); }
  .lg-logo--auth { height: 52px; max-width: min(220px, 100%); }
  .lg-logo--footer { height: 34px; margin-bottom: .55rem; }
  .lg-logo--footer-inline { height: 20px !important; max-width: 100px !important; }
  .lg-nav-links {
    gap: .25rem .4rem;
    justify-content: flex-end;
  }
  .lg-nav-account {
    gap: .45rem;
  }
  .lg-nav-account .lg-nav-user {
    font-size: .8rem;
    max-width: min(38vw, 9.5rem);
  }
  .lg-nav-links a {
    font-size: .78rem;
    font-weight: 600;
  }
  .lg-nav-links .lg-btn-nav,
  .lg-nav-links .lg-btn-nav-sm {
    padding: .28rem .55rem !important;
    font-size: .74rem !important;
    min-height: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
  }
  .lg-container { width: min(1120px, calc(100% - 1.1rem)); }
  .lg-section { padding: 1.75rem 0; }
  .lg-section-head { margin-bottom: 1rem; }
  .lg-section-head h2,
  .lg-section h2 {
    font-size: clamp(1.05rem, 4.6vw, 1.28rem);
  }
  .lg-section-head p,
  .lg-lead,
  .lg-muted {
    font-size: .84rem;
  }
  .lg-passengers-main h1,
  .lg-results-page h1,
  .lg-seat-page h1 {
    font-size: 1.2rem;
  }
  .lg-passenger-block h3,
  .lg-seat-col h3,
  .lg-points-col h3,
  .lg-trip-sheet-head h2 {
    font-size: .95rem;
  }
  .lg-facility-toilet .lg-facility-icon,
  .lg-coach-facility.lg-facility-toilet .lg-facility-img,
  .lg-coach-facility.lg-facility-toilet .lg-facility-svg,
  .lg-facility-door .lg-facility-icon,
  .lg-coach-facility.lg-facility-door .lg-facility-svg {
    width: 28px;
    height: 28px;
  }
  .lg-coach-seat .lg-seat-label {
    font-size: .78rem;
  }
  .lg-contact-office h3 {
    font-size: .95rem;
  }
  .lg-contact-office-list li {
    font-size: .86rem;
    grid-template-columns: 24px 1fr;
    gap: .5rem;
  }
  .lg-contact-ico {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }
  .lg-contact-ico svg {
    width: 14px;
    height: 14px;
  }
  .lg-contact-form-title {
    font-size: 1.15rem;
  }
  .lg-results-page { padding: .85rem 0 1.75rem; }
  .lg-seat-map { grid-template-columns: repeat(4, 1fr); gap: .35rem; }
  .lg-photo-stack { min-height: 280px; padding: 0; }
  .lg-photo-main { width: 72%; height: 240px; margin-left: auto; }
  .lg-photo-float { width: 48%; height: 170px; left: 0; bottom: 0; }
  .lg-cta-inner { flex-direction: column; align-items: stretch; gap: .65rem; }
  .lg-cta-inner .lg-btn {
    width: 100%;
    padding: .65rem 1rem;
    font-size: .9rem;
  }
  .lg-btn {
    padding: .65rem 1rem;
    font-size: .9rem;
  }
  .lg-time-grid { grid-template-columns: repeat(2, 1fr); }
  .lg-filter-actions { flex-direction: column; }
  .lg-filter-actions .lg-btn-search,
  .lg-filter-actions .lg-btn-outline { width: 100%; }
  .lg-bus-card {
    padding: .75rem .8rem;
    border-radius: 12px;
  }
  .lg-bus-card h3 {
    font-size: .92rem;
  }
  .lg-bus-meta {
    font-size: .75rem;
    gap: .35rem .55rem;
  }
  .lg-bus-price {
    font-size: 1rem;
  }
  .lg-seats-pill {
    font-size: .72rem;
  }
  .lg-filter-block h4 {
    font-size: .82rem;
  }
  .lg-bus-card-foot { flex-wrap: wrap; gap: .55rem; }
  .lg-bus-card-foot .lg-select-seat {
    width: 100%;
    min-height: 40px;
    font-size: .88rem;
  }
  .lg-bus-timeline strong { font-size: 1rem; }
  .lg-bus-timeline span { font-size: .78rem; }
  .lg-time { font-size: 1.1rem; }
  .lg-price { font-size: 1.05rem; }
  .lg-route-line { font-size: .84rem; }
  .lg-ribbon-day {
    padding: .5rem .25rem;
  }
  .lg-ribbon-wd { font-size: .68rem; }
  .lg-ribbon-dm { font-size: .86rem; }
  .lg-ribbon-count { font-size: .68rem; }
  .lg-ribbon-nav {
    width: 32px;
    min-height: 32px;
    flex: 0 0 32px;
    font-size: 1.1rem;
  }
  .lg-account-grid { grid-template-columns: 1fr !important; }
  .lg-auth-page { padding-top: 1.15rem; padding-bottom: 2rem; }
  .lg-auth-brand {
    font-size: .92rem;
    margin-bottom: .75rem;
  }
  .lg-auth-brand .lg-brand-mark {
    width: 22px;
    height: 22px;
    border-radius: 7px;
  }
  .lg-auth-page h2 {
    font-size: 1.25rem;
  }
  .lg-footer {
    padding: 1.75rem 0 1.25rem;
  }
  .lg-footer h3 {
    font-size: .88rem;
  }
  .lg-footer p,
  .lg-footer a {
    font-size: .82rem;
    line-height: 1.45;
  }
  .lg-footer-pay {
    gap: .45rem;
  }
  .lg-footer-pay img {
    height: 22px;
    max-width: 68px;
  }
  .lg-footer-bottom {
    font-size: .75rem;
    gap: .4rem .75rem;
  }
  .lg-steps article {
    padding: .9rem;
    border-radius: 14px;
  }
  .lg-steps span {
    font-size: .92rem;
    margin-bottom: .45rem;
  }
  .lg-steps article h3,
  .lg-feature h3 {
    font-size: .92rem;
  }
  .lg-steps article p,
  .lg-feature p {
    font-size: .8rem;
    line-height: 1.45;
  }
  .lg-pay-wallet-face img {
    height: 22px;
    max-width: 72px;
  }
  .lg-pay-wallet-face span {
    font-size: .72rem;
  }
  .lg-card {
    padding: .95rem;
    border-radius: 14px;
  }
}

/* Passenger information / booking summary */
.lg-passengers-page { padding: 1.25rem 0 3rem; background: #f5f7f9; }
.lg-session-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  color: var(--lg-teal-dark);
}
.lg-session-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(15,138,122,.25);
  border-top-color: var(--lg-teal);
  animation: lgSpin 1.1s linear infinite;
}
@keyframes lgSpin { to { transform: rotate(360deg); } }
.lg-passengers-layout {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 1.25rem;
  align-items: start;
}
.lg-passengers-main {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 12px 32px rgba(11,31,42,.05);
}
.lg-passengers-main h1 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--lg-teal-dark);
}
.lg-passenger-block {
  margin: 1.2rem 0 1.4rem;
  padding-top: .4rem;
  border-top: 1px solid #eef2f4;
}
.lg-passenger-block h3 {
  margin: 0 0 .85rem;
  font-size: 1.05rem;
}
.lg-passenger-block h3 span { color: #6b7785; font-weight: 600; }
.lg-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.lg-gender-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.lg-gender-toggle label {
  border: 1px solid #d7dee5;
  border-radius: 10px;
  min-height: 44px;
  display: grid;
  place-items: center;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
}
.lg-gender-toggle label.active,
.lg-gender-toggle label:has(input:checked) {
  border-color: var(--lg-teal);
  background: rgba(15,138,122,.08);
  color: var(--lg-teal-dark);
}
.lg-gender-toggle input { display: none; }
.lg-contact-block {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f4;
}
.lg-contact-block h3 { margin: 0 0 .35rem; }
.lg-delivery-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
  margin: .85rem 0 1rem;
}
.lg-delivery-opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.lg-delivery-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lg-delivery-opt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 88px;
  padding: .7rem .5rem;
  border: 1.5px solid #d7dee5;
  border-radius: 14px;
  background: #fff;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.lg-delivery-opt-card svg {
  width: 28px;
  height: 28px;
  display: block;
}
.lg-delivery-opt-card span {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--lg-ink);
}
.lg-delivery-opt:hover .lg-delivery-opt-card {
  border-color: rgba(15, 138, 122, .45);
  transform: translateY(-1px);
}
.lg-delivery-opt input:checked + .lg-delivery-opt-card,
.lg-delivery-opt.is-active .lg-delivery-opt-card {
  border-color: var(--lg-teal);
  background: rgba(15, 138, 122, .08);
  box-shadow: 0 0 0 3px rgba(15, 138, 122, .12);
  color: var(--lg-teal-dark);
}
.lg-delivery-panel {
  display: none;
  margin-top: .15rem;
  padding: .95rem 1rem;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbfa 0%, #fff 48%);
  animation: lgDeliveryIn .22s ease;
}
.lg-delivery-panel.is-open { display: block; }
@keyframes lgDeliveryIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.lg-delivery-panel-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .75rem;
}
.lg-delivery-panel-head .lg-channel-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.lg-delivery-panel-head .lg-channel-badge svg { width: 20px; height: 20px; }
.lg-channel-badge-sms { background: rgba(15, 138, 122, .12); color: var(--lg-teal-dark); }
.lg-channel-badge-wa { background: #e8f8ef; color: #1fa855; }
.lg-channel-badge-email { background: rgba(15, 138, 122, .1); color: var(--lg-teal-dark); }
.lg-delivery-panel-head strong {
  display: block;
  font-size: .98rem;
  color: var(--lg-ink);
}
.lg-delivery-panel-head p {
  margin: .1rem 0 0;
  font-size: .84rem;
  color: #6b7785;
}
@media (max-width: 640px) {
  .lg-delivery-channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
  }
  .lg-delivery-opt-card {
    min-height: 76px;
    padding: .55rem .3rem;
    gap: .3rem;
  }
  .lg-delivery-opt-card svg {
    width: 24px;
    height: 24px;
  }
  .lg-delivery-opt-card span {
    font-size: .72rem;
  }
}
.lg-booking-summary {
  background: #eef3f5;
  border-radius: 18px;
  padding: 1.1rem;
  position: sticky;
  top: 88px;
}
.lg-summary-card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(11,31,42,.04);
}
.lg-summary-card h4 { margin: 0 0 .35rem; font-size: 1rem; }
.lg-summary-card p { margin: .15rem 0; color: #52606d; font-size: .92rem; }
.lg-summary-time { font-weight: 800; color: var(--lg-ink) !important; }
.lg-summary-totals { display: grid; gap: .55rem; }
.lg-summary-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .92rem;
}
.lg-summary-totals .lg-payable {
  margin-top: .35rem;
  padding-top: .55rem;
  border-top: 1px solid #d5dee4;
  color: var(--lg-teal-dark);
  font-size: 1.02rem;
}
.lg-passenger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
.lg-continue-wrap {
  padding: .85rem 0 1rem;
  background: transparent;
}
.lg-continue-wrap--global {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: .65rem 0;
  background: rgba(247, 250, 251, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 138, 122, .12);
}
.lg-continue-wrap-inline {
  padding: 0;
  margin-bottom: 1rem;
}
.lg-continue-hold--pay {
  background: #fff8eb;
  border-color: rgba(176, 116, 12, .28);
}
.lg-continue-hold {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #eef8f5;
  border: 1px solid rgba(15, 138, 122, 0.22);
  border-radius: 16px;
  padding: .95rem 1.1rem;
  box-shadow: 0 10px 28px rgba(11, 31, 42, 0.05);
}
.lg-continue-copy {
  min-width: 0;
}
.lg-continue-copy strong {
  display: block;
  font-size: 1.05rem;
  color: var(--lg-ink);
  margin-bottom: .2rem;
}
.lg-continue-copy p {
  margin: 0;
  color: #6b7785;
  font-size: .92rem;
  font-weight: 600;
}
.lg-continue-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
}
.lg-continue-edit,
.lg-continue-resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  white-space: nowrap;
}
.lg-continue-edit {
  background: #fff;
  color: var(--lg-ink);
  border: 1px solid #d7dee5;
}
.lg-continue-edit:hover {
  border-color: var(--lg-teal);
  color: var(--lg-teal-dark);
}
.lg-continue-resume {
  background: var(--lg-teal);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(15, 138, 122, 0.24);
}
.lg-continue-resume:hover {
  background: var(--lg-teal-dark);
}
@media (max-width: 640px) {
  .lg-continue-hold {
    flex-direction: column;
    align-items: stretch;
  }
  .lg-continue-actions {
    width: 100%;
    justify-content: stretch;
  }
  .lg-continue-edit,
  .lg-continue-resume {
    flex: 1;
  }
}
@media (max-width: 900px) {
  .lg-passengers-layout { grid-template-columns: 1fr; }
  .lg-booking-summary { position: static; }
  .lg-field-row { grid-template-columns: 1fr; }
}

/* Corporate KYC registration */
.lg-kyc-section-title {
  margin: 1.1rem 0 .65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lg-teal-dark);
}
.lg-kyc-section-title:first-of-type { margin-top: 0; }
.lg-req { color: var(--lg-teal-dark); font-weight: 700; }
.lg-kyc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.lg-kyc-card {
  margin: 0;
  padding: 1rem 1.05rem 1.05rem;
  border: 1.5px solid rgba(15, 138, 122, 0.35);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(15, 138, 122, 0.05), transparent 48%),
    #fff;
  box-shadow: 0 8px 20px rgba(11, 31, 42, 0.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lg-kyc-card:focus-within {
  border-color: var(--lg-teal, #0f8a7a);
  box-shadow: 0 0 0 3px rgba(15, 138, 122, 0.12), 0 10px 24px rgba(11, 31, 42, 0.06);
}
.lg-kyc-card-title {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
  color: var(--lg-teal-dark, #0b6b5e);
  letter-spacing: -0.01em;
}
.lg-kyc-optional {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-left: .25rem;
}
.lg-kyc-card-label {
  display: block;
  margin: 0 0 .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: #5a6b75;
}
.lg-kyc-card input[type="text"],
.lg-kyc-card input:not([type="file"]):not([type="hidden"]) {
  width: 100%;
  margin-bottom: .8rem;
}
.lg-file-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: nowrap;
  min-width: 0;
}
.lg-file-pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 0;
}
.lg-file-pick input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.lg-file-pick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: .42rem .85rem;
  border-radius: 999px;
  background: var(--lg-teal, #0f8a7a);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.2;
  border: none;
  box-shadow: 0 4px 12px rgba(15, 138, 122, 0.2);
  pointer-events: none;
  white-space: nowrap;
}
.lg-file-pick:hover .lg-file-pick-btn {
  background: var(--lg-teal-dark, #0b6b5e);
}
.lg-file-pick-name {
  font-size: .8rem;
  font-weight: 600;
  color: #5a6b75;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lg-file-pick.has-file .lg-file-pick-name {
  color: var(--lg-teal-dark, #0b6b5e);
}
.lg-file-row-doc {
  flex: 0 0 auto;
  font-size: .8rem;
  font-weight: 700;
  color: var(--lg-teal-dark, #0b6b5e);
  white-space: nowrap;
  padding-left: .15rem;
  border-left: 1.5px solid rgba(15, 138, 122, 0.25);
  padding-left: .65rem;
}
@media (max-width: 720px) {
  .lg-kyc-cards { grid-template-columns: 1fr; }
  .lg-file-row {
    flex-wrap: wrap;
  }
  .lg-file-row-doc {
    border-left: none;
    padding-left: 0;
    width: 100%;
  }
}
.lg-password-field {
  position: relative;
}
.lg-password-field input {
  width: 100%;
  padding-right: 2.75rem;
}
.lg-password-toggle {
  position: absolute;
  right: .45rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #5a6b75;
  padding: .35rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.lg-password-toggle:hover {
  color: var(--lg-teal-dark, #0b6b5e);
  background: rgba(15, 138, 122, 0.08);
}
.lg-password-toggle .lg-eye-open,
.lg-password-toggle .lg-eye-closed {
  display: none;
  pointer-events: none;
}
/* Closed eye = password hidden; open eye = password visible */
.lg-password-toggle:not(.is-showing) .lg-eye-closed {
  display: block;
}
.lg-password-toggle.is-showing .lg-eye-open {
  display: block;
}

/* Registration page (business / personal toggle + wizard) */
.lg-reg-page { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.lg-reg-wrap { max-width: 820px; }
.lg-reg-brand { margin-bottom: 1rem; }
.lg-reg-account-label {
  margin: 0 0 .55rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--lg-ink);
}
.lg-account-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.lg-account-type-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1rem;
  border: 2px solid var(--lg-line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lg-muted);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.lg-account-type-btn.is-active {
  border-color: var(--lg-teal);
  background: var(--lg-teal);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 138, 122, 0.35);
}
.lg-account-type-icon { font-size: 1.1rem; line-height: 1; }
.lg-reg-title { margin: 0 0 .25rem; font-family: var(--font-display); font-size: 1.5rem; }
.lg-reg-sub { margin: 0 0 1rem; }
.lg-reg-card { padding: 1.35rem 1.5rem 1.5rem; }
.lg-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
}
.lg-reg-grid-full { grid-column: 1 / -1; }
.lg-reg-steps {
  display: flex;
  gap: .5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  counter-reset: none;
}
.lg-reg-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem .35rem;
  border-radius: 10px;
  background: rgba(15, 138, 122, 0.06);
  border: 2px solid transparent;
  font-size: .82rem;
  font-weight: 700;
  color: var(--lg-muted);
}
.lg-reg-step span {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(15, 138, 122, 0.2);
  font-size: .75rem;
}
.lg-reg-step.is-active {
  color: var(--lg-teal-dark);
  border-color: rgba(15, 138, 122, 0.25);
  background: rgba(15, 138, 122, 0.1);
}
.lg-reg-step.is-active span,
.lg-reg-step.is-done span {
  background: var(--lg-teal);
  border-color: var(--lg-teal);
  color: #fff;
}
.lg-reg-step.is-done { color: var(--lg-teal-dark); }
.lg-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
  align-items: center;
}
.lg-btn-register {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.lg-reg-note { font-size: .9rem; margin: .85rem 0 0; }
.lg-reg-foot { margin-top: 1rem; text-align: center; }
@media (max-width: 640px) {
  .lg-reg-grid { grid-template-columns: 1fr; }
  .lg-reg-step { font-size: .72rem; padding: .45rem .25rem; }
  .lg-reg-step span { display: none; }
}

/* --- Corporate auth (login / forgot) --- */
.lg-corp-auth {
  margin: 0;
  min-height: 100vh;
  background: #f4f8f7;
  color: var(--lg-ink);
}
.lg-corp-auth-shell {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(320px, 0.95fr);
  min-height: 100vh;
}
.lg-corp-auth-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0b1f2a;
  min-height: 100vh;
}
.lg-corp-auth-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.lg-op-auth .lg-op-auth-hero-slides {
  position: absolute;
  inset: 0;
}

.lg-op-auth .lg-op-auth-hero-slides .lg-corp-auth-hero-photo {
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  z-index: 0;
}

.lg-op-auth .lg-op-auth-hero-slides .lg-corp-auth-hero-photo.is-active {
  opacity: 1;
  z-index: 1;
}

.lg-op-auth .lg-op-auth-hero-slides .lg-corp-auth-hero-photo:nth-child(1) {
  object-position: center 30%;
}

.lg-op-auth .lg-op-auth-hero-slides .lg-corp-auth-hero-photo:nth-child(2) {
  object-position: center 40%;
}

.lg-corp-auth-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(11, 31, 42, 0.72) 0%, rgba(11, 31, 42, 0.28) 42%, rgba(11, 31, 42, 0.78) 100%),
    linear-gradient(90deg, rgba(11, 31, 42, 0.45) 0%, transparent 55%);
  pointer-events: none;
}
.lg-corp-auth-hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.lg-corp-auth-hero-top {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.lg-logo--corp-auth {
  height: 42px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.lg-corp-auth-badge {
  display: inline-block;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: rgba(15, 138, 122, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.lg-corp-auth-hero-body {
  max-width: 18rem;
  margin-top: auto;
  margin-bottom: auto;
  padding: 1.5rem 0;
}
.lg-corp-auth-hero-body h1 {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.lg-corp-auth-hero-body > p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.lg-corp-auth-hero-foot {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}
.lg-corp-auth-main {
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(15,138,122,.06), transparent 70%),
    #f7fbfa;
}
.lg-corp-auth-main-inner {
  width: min(440px, 100%);
}
.lg-corp-auth-back {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--lg-muted);
}
.lg-corp-auth-back:hover { color: var(--lg-teal-dark); }
.lg-corp-auth-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(15, 138, 122, 0.12);
  box-shadow:
    0 4px 6px rgba(11, 31, 42, 0.04),
    0 24px 48px rgba(11, 31, 42, 0.08);
  padding: clamp(1.35rem, 3vw, 1.85rem);
}
.lg-corp-auth-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--lg-line);
}
.lg-corp-auth-chip {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 8px;
  background: rgba(15, 138, 122, 0.1);
  color: var(--lg-teal-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lg-corp-auth-form h2 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lg-corp-auth-form > .lg-muted {
  margin: 0 0 1.15rem;
  font-size: .94rem;
}
.lg-corp-auth-form .lg-field { margin-bottom: .9rem; }
.lg-corp-auth-form .lg-field label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--lg-ink);
}
.lg-corp-auth-form input[type="email"],
.lg-corp-auth-form input[type="password"],
.lg-corp-auth-form .lg-otp-input {
  padding: .78rem .95rem;
  border: 2px solid rgba(15, 138, 122, 0.15);
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.lg-corp-auth-form input:focus {
  outline: none;
  border-color: var(--lg-teal);
  box-shadow: 0 0 0 3px rgba(15, 138, 122, 0.14);
}
.lg-corp-auth-pass-wrap { position: relative; }
.lg-corp-auth-forgot {
  display: block;
  text-align: right;
  margin-top: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--lg-teal-dark);
}
.lg-corp-auth-submit {
  margin-top: .35rem;
  padding: .85rem 1.25rem;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 12px;
}
.lg-corp-auth-logo {
  display: block;
  height: 96px;
  width: auto;
  max-width: min(320px, 100%);
  margin: 0 auto 1rem;
  object-fit: contain;
}
.lg-corp-auth-actions {
  display: flex;
  justify-content: center;
  margin-top: .55rem;
}
.lg-corp-auth-actions .lg-corp-auth-submit {
  min-width: 11rem;
  margin-top: 0;
}
.lg-corp-auth-switch {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--lg-line);
  text-align: center;
  font-size: .92rem;
  color: var(--lg-muted);
}
.lg-corp-auth-switch a {
  font-weight: 700;
  color: var(--lg-teal-dark);
}
.lg-corp-auth-passenger {
  margin-top: .85rem;
  padding-top: 0;
  border-top: none;
}

/* Operator company staff login */
.lg-op-auth-wrap {
  width: 100%;
}
.lg-op-auth-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 280px;
  margin: 0 auto 1.15rem;
  object-fit: contain;
}
.lg-op-auth-form .lg-corp-auth-chip {
  display: inline-block;
  margin: 0 0 .35rem;
}
.lg-op-auth-form h2 {
  margin: 0 0 1.1rem;
  text-align: left;
}
.lg-op-auth-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  margin-top: .35rem;
}
.lg-op-auth-actions .lg-corp-auth-submit {
  width: auto;
  min-width: 11.5rem;
  margin-top: 0;
}
.lg-op-auth-portal {
  font-size: .9rem;
  font-weight: 600;
  color: #5a6b75;
  text-decoration: none;
}
.lg-op-auth-portal:hover {
  color: var(--lg-teal-dark);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .lg-corp-auth-shell { grid-template-columns: 1fr; }
  .lg-corp-auth-hero {
    min-height: 42vh;
    max-height: 48vh;
  }
  .lg-corp-auth-hero-body {
    max-width: none;
    padding: .75rem 0;
  }
  .lg-corp-auth-hero-body h1 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }
  .lg-corp-auth-hero-foot { display: none; }
  .lg-corp-auth-main { padding: 1.15rem 1rem 2rem; align-items: flex-start; }
}
@media (max-width: 520px) {
  .lg-corp-auth-hero { min-height: 36vh; }
  .lg-corp-auth-hero-inner { padding: 1.15rem 1.15rem 1.25rem; }
  .lg-logo--corp-auth { height: 34px; }
  .lg-corp-auth-main { padding: 1rem; }
}

/* Payment wallet picker */
.lg-pay-wallets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}
.lg-pay-wallet {
  cursor: pointer;
  margin: 0;
}
.lg-pay-wallet input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lg-pay-wallet-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .7rem .45rem;
  border: 1.5px solid var(--lg-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  min-height: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lg-pay-wallet-face img {
  height: 32px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}
.lg-pay-wallet-face span {
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--lg-ink, #1a2b2a);
}
.lg-pay-wallet input:checked + .lg-pay-wallet-face {
  border-color: var(--lg-teal, #0f8a7a);
  box-shadow: 0 0 0 3px rgba(15, 138, 122, 0.15);
}
.lg-pay-wallet input:focus-visible + .lg-pay-wallet-face {
  outline: 2px solid var(--lg-teal, #0f8a7a);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .lg-pay-wallets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Payment checkout page */
.lg-pay-page {
  padding-top: 2.25rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(15,138,122,.08), transparent 55%),
    #fff;
}
.lg-pay-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.lg-pay-head h2 {
  margin: 0 0 .35rem;
}
.lg-pay-head .lg-muted {
  margin: 0;
}
.lg-pay-timer {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .15rem;
  padding: .55rem .85rem;
  border-radius: 12px;
  background: rgba(15,138,122,.08);
  border: 1px solid rgba(15,138,122,.18);
  color: var(--lg-teal-dark, #0b6b5e);
}
.lg-pay-timer-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
}
.lg-pay-timer strong {
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.lg-pay-layout {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  align-items: start;
}
.lg-pay-summary-card,
.lg-pay-form,
.lg-pay-done {
  background: #fff;
  border: 1px solid var(--lg-line, #e5ecef);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(11,31,42,.06);
}
.lg-pay-summary-card {
  padding: 1.25rem;
  position: sticky;
  top: 1rem;
}
.lg-pay-summary-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.lg-pay-operator {
  font-weight: 800;
  color: var(--lg-ink, #0b1f2a);
  margin-bottom: .2rem;
}
.lg-pay-route {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .2rem;
}
.lg-pay-status {
  display: inline-flex;
  align-items: center;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: #fff6e8;
  color: #9a5b00;
  font-size: .72rem;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}
.lg-pay-breakdown {
  margin: 0 0 1rem;
  padding: .85rem 0;
  border-top: 1px dashed var(--lg-line, #e5ecef);
  border-bottom: 1px dashed var(--lg-line, #e5ecef);
}
.lg-pay-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .35rem;
  font-size: .92rem;
}
.lg-pay-breakdown > div:last-child { margin-bottom: 0; }
.lg-pay-breakdown dt {
  color: #667787;
  font-weight: 500;
}
.lg-pay-breakdown dd {
  margin: 0;
  font-weight: 700;
}
.lg-pay-amount {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.lg-pay-amount span {
  color: #667787;
  font-size: .9rem;
  font-weight: 600;
}
.lg-pay-amount strong {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--lg-teal-dark, #0b6b5e);
  letter-spacing: -.02em;
}
.lg-pay-credit-note {
  margin-top: .9rem;
  padding: .75rem .85rem;
  border-radius: 10px;
  background: #f5faf9;
  color: #425466;
  font-size: .88rem;
}
.lg-pay-credit-warn {
  margin-top: .45rem;
  color: #b42318;
  font-size: .86rem;
}
.lg-pay-form {
  padding: 1.25rem;
}
.lg-pay-panel + .lg-pay-panel {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--lg-line, #e5ecef);
}
.lg-pay-panel-title {
  margin: 0 0 .85rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--lg-ink, #0b1f2a);
}
.lg-pay-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.lg-pay-method-card {
  cursor: pointer;
  position: relative;
}
.lg-pay-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lg-pay-method-face {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: 100%;
  padding: .9rem .95rem;
  border: 1.5px solid #d9e3e8;
  border-radius: 14px;
  background: #fbfcfd;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .15s;
}
.lg-pay-method-icon {
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef5f4;
  color: var(--lg-teal-dark, #0b6b5e);
}
.lg-pay-method-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.lg-pay-method-icon--now { background: rgba(15,138,122,.12); }
.lg-pay-method-icon--later { background: #eef2ff; color: #3b4cca; }
.lg-pay-method-icon--bank { background: #fff4e8; color: #9a5b00; }
.lg-pay-method-icon--card { background: #f2f4f7; color: #52606d; }
.lg-pay-method-copy {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  min-width: 0;
}
.lg-pay-method-face strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  font-size: .95rem;
  line-height: 1.25;
}
.lg-pay-method-face small {
  color: #667787;
  font-size: .8rem;
  line-height: 1.35;
}
.lg-pay-badge {
  display: inline-flex;
  align-items: center;
  padding: .12rem .4rem;
  border-radius: 999px;
  background: rgba(15,138,122,.12);
  color: var(--lg-teal-dark, #0b6b5e);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.lg-pay-method-card input:checked + .lg-pay-method-face {
  border-color: var(--lg-teal, #0f8a7a);
  background: rgba(15,138,122,.05);
  box-shadow: 0 0 0 3px rgba(15,138,122,.12);
}
.lg-pay-method-card:not(.lg-pay-method-card--disabled):hover .lg-pay-method-face {
  border-color: rgba(15,138,122,.45);
  transform: translateY(-1px);
}
.lg-pay-method-card input:focus-visible + .lg-pay-method-face {
  outline: 2px solid var(--lg-teal, #0f8a7a);
  outline-offset: 2px;
}
.lg-pay-method-card--disabled {
  opacity: .62;
  cursor: not-allowed;
}
.lg-pay-method-card--disabled:hover .lg-pay-method-face {
  transform: none;
}
.lg-pay-card-logos {
  display: inline-flex;
  gap: 6px;
  margin-top: .35rem;
  align-items: center;
}
.lg-pay-card-logos img {
  height: 20px;
  width: auto;
  object-fit: contain;
  background: transparent;
}
.lg-pay-card-logos img.lg-pay-logo--visa {
  height: 16px;
}
.lg-pay-card-box {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 138, 122, .2);
  background: #fff;
  box-shadow: 0 14px 36px rgba(11, 31, 42, .08);
}
.lg-pay-card-face {
  position: relative;
  padding: 1.2rem 1.25rem 1.35rem;
  color: #fff;
  background:
    radial-gradient(ellipse 90% 80% at 110% -10%, rgba(240, 162, 2, .55), transparent 52%),
    radial-gradient(ellipse 75% 90% at -5% 110%, rgba(18, 201, 176, .55), transparent 55%),
    linear-gradient(135deg, #0a3d4a 0%, #0f8a7a 42%, #12b39a 72%, #0b6b5e 100%);
  overflow: hidden;
}
.lg-pay-card-face::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 55%;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  pointer-events: none;
}
.lg-pay-card-face::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  bottom: -2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .18);
  pointer-events: none;
}
.lg-pay-card-face-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  margin-bottom: 1.05rem;
}
.lg-pay-card-brand-logo {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}
.lg-pay-card-brand {
  font-family: var(--font-display, Sora, sans-serif);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.lg-pay-card-logos--on-dark {
  margin-top: 0;
  gap: 10px;
  padding: .45rem .65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.lg-pay-card-logos--on-dark img {
  height: 28px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  filter: none;
}
.lg-pay-card-logos--on-dark img.lg-pay-logo--visa {
  height: 24px;
  max-width: 78px;
}
.lg-pay-card-chip {
  position: relative;
  z-index: 1;
  width: 2.6rem;
  height: 1.85rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  background:
    linear-gradient(135deg, #f0d48a 0%, #d4a84b 45%, #f5e0a8 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.lg-pay-card-chip::before {
  content: "";
  position: absolute;
  inset: 35% 8%;
  border-top: 1px solid rgba(0, 0, 0, .18);
  border-bottom: 1px solid rgba(0, 0, 0, .18);
}
.lg-pay-card-face-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  font-size: .82rem;
  opacity: .92;
}
.lg-pay-card-face-meta span:first-child {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  opacity: 1;
}
.lg-pay-card-box-body {
  padding: 1.1rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, #f7fbfa 0%, #fff 40%);
}
.lg-pay-card-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .45rem;
}
.lg-pay-card-box-head strong {
  font-size: .98rem;
  color: var(--lg-ink, #0b1f2a);
}
.lg-pay-card-secure {
  display: inline-flex;
  align-items: center;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(15, 138, 122, .12);
  color: var(--lg-teal-dark, #0b6b5e);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lg-pay-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .85rem;
}
.lg-pay-card-grid .lg-field input {
  border-color: rgba(15, 138, 122, .18);
  background: #fff;
}
.lg-pay-card-grid .lg-field input:focus {
  border-color: var(--lg-teal, #0f8a7a);
  box-shadow: 0 0 0 3px rgba(15, 138, 122, .12);
}
.lg-pay-card-grid .lg-field input[readonly] {
  background: rgba(15, 138, 122, .06);
  color: var(--lg-teal-dark, #0b6b5e);
  font-weight: 700;
  border-color: rgba(15, 138, 122, .14);
}
@media (max-width: 560px) {
  .lg-pay-card-grid { grid-template-columns: 1fr; }
  .lg-pay-card-face-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
.lg-pay-details .lg-field {
  margin-bottom: 0;
}
.lg-pay-hint {
  display: block;
  margin-top: .45rem;
  color: #667787;
  font-size: .82rem;
}
.lg-pay-actions {
  margin-top: 1.25rem;
}
.lg-pay-secure {
  margin: .7rem 0 0;
  text-align: center;
  font-size: .8rem;
}
.lg-pay-done {
  padding: 1.5rem;
}
.lg-pay-done h3 {
  margin: 0 0 .35rem;
}
.lg-pay-awaiting {
  text-align: center;
  border: 1px solid rgba(15, 138, 122, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 138, 122, 0.06), rgba(255, 255, 255, 0.98));
}
.lg-pay-awaiting-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(15, 138, 122, 0.18);
  border-top-color: #0f8a7a;
  animation: lg-pay-spin 0.9s linear infinite;
}
@keyframes lg-pay-spin {
  to { transform: rotate(360deg); }
}
@media (max-width: 860px) {
  .lg-pay-layout {
    grid-template-columns: 1fr;
  }
  .lg-pay-summary-card {
    position: static;
  }
  .lg-pay-methods {
    grid-template-columns: 1fr;
  }
  .lg-pay-head {
    flex-direction: column;
  }
  .lg-pay-timer {
    align-self: flex-start;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .lg-pay-page { padding-top: 1.4rem; }
  .lg-pay-form,
  .lg-pay-summary-card { padding: 1rem; border-radius: 14px; }
  .lg-pay-amount strong { font-size: 1.3rem; }
}

/* ?? Contact page ?? */
.lg-contact-page { padding-top: 2.25rem; }
.lg-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .9fr);
  gap: 1.5rem;
  align-items: start;
}
.lg-contact-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--lg-line);
  background: #e8eef2;
  aspect-ratio: 16 / 9;
  min-height: 280px;
}
.lg-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.lg-contact-form-card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--lg-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 31, 42, 0.05);
}
.lg-contact-form-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
.lg-contact-form-title span { color: var(--lg-teal); }
.lg-contact-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-bottom: .85rem;
}
.lg-contact-form .lg-field { margin-bottom: .85rem; }
.lg-contact-form .lg-field textarea {
  width: 100%;
  border: 1px solid var(--lg-line);
  background: #fff;
  border-radius: 14px;
  padding: .9rem 1rem;
  outline: none;
  font: inherit;
  resize: vertical;
  min-height: 120px;
}
.lg-contact-form .lg-field textarea:focus {
  border-color: rgba(15, 138, 122, .45);
  box-shadow: 0 0 0 4px rgba(15, 138, 122, .12);
}
.lg-contact-hint {
  display: block;
  margin-top: .4rem;
  font-size: .8rem;
  color: rgba(11, 31, 42, .55);
  line-height: 1.4;
}
.lg-contact-hint strong { color: var(--lg-teal-dark); }
.lg-contact-office {
  padding: 1.4rem 1.35rem;
  background: #edf6f4;
  border-radius: 18px;
  border: 1px solid rgba(15, 138, 122, .12);
}
.lg-contact-office h3 {
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--lg-ink);
}
.lg-contact-office h3 svg { color: var(--lg-teal); flex-shrink: 0; }
.lg-contact-office-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.lg-contact-office-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .65rem;
  align-items: start;
  color: rgba(11, 31, 42, .82);
  font-size: .95rem;
  line-height: 1.55;
}
.lg-contact-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 138, 122, .12);
  color: var(--lg-teal-dark);
}
.lg-contact-office-list a {
  color: var(--lg-teal-dark);
  font-weight: 700;
  text-decoration: none;
}
.lg-contact-office-list a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .lg-contact-layout { grid-template-columns: 1fr; }
  .lg-contact-office { order: -1; }
}
@media (max-width: 720px) {
  .lg-contact-fields { grid-template-columns: 1fr; }
  .lg-hero-bleed--page {
    min-height: clamp(300px, 42vh, 400px);
    padding: max(4.25rem, calc(env(safe-area-inset-top) + 3.5rem)) 0 1.75rem;
  }
}

/* ?? About page ?? */
.lg-about-page { padding-top: 2.75rem; }
.lg-about-eyebrow {
  margin: 0 0 .55rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lg-teal-dark);
}
.lg-about-intro h2 {
  margin: 0 0 .85rem;
  max-width: 18ch;
}
.lg-about-intro .lg-muted { margin: 0 0 .85rem; }
.lg-about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.lg-about-pillars article {
  padding: 1.2rem 1.15rem 1.3rem;
  background: #fff;
  border: 1px solid var(--lg-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 31, 42, 0.04);
}
.lg-about-band {
  position: relative;
  min-height: clamp(140px, 22vw, 220px);
  overflow: hidden;
  background: var(--lg-ink);
}
.lg-about-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lg-about-band-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.lg-about-band-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 31, 42, 0.45) 0%, rgba(15, 138, 122, 0.22) 48%, rgba(11, 31, 42, 0.4) 100%),
    linear-gradient(180deg, rgba(11, 31, 42, 0.2) 0%, rgba(11, 31, 42, 0.35) 100%);
}
.lg-about-pillars h3 {
  margin: .7rem 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.lg-about-pillars p {
  margin: 0;
  color: rgba(11, 31, 42, .65);
  font-size: .92rem;
  line-height: 1.55;
}
.lg-about-pillar-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 138, 122, .12);
  color: var(--lg-teal-dark);
}
.lg-about-story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}
.lg-about-story-grid:last-child { margin-bottom: 0; }
.lg-about-story-grid--flip .lg-about-figure { order: 2; }
.lg-about-figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--lg-line);
  box-shadow: 0 18px 40px rgba(11, 31, 42, 0.1);
  background: #0b1f2a;
}
.lg-about-figure img {
  display: block;
  width: 100%;
  height: min(360px, 48vw);
  object-fit: cover;
}
.lg-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.15rem;
}
.lg-about-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.lg-about-cta h2 {
  margin: 0 0 .4rem;
  color: #fff;
}
.lg-about-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  max-width: 36rem;
}
.lg-btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.lg-btn-ghost-light:hover,
.lg-btn-ghost-light:focus {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

@media (max-width: 980px) {
  .lg-about-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .lg-about-story-grid,
  .lg-about-story-grid--flip {
    grid-template-columns: 1fr;
  }
  .lg-about-story-grid--flip .lg-about-figure { order: 0; }
}
@media (max-width: 640px) {
  .lg-about-pillars { grid-template-columns: 1fr; }
  .lg-about-figure img { height: 220px; }
}

/* Legal pages (Terms / Privacy) */
.lg-hero-bleed--legal { min-height: 18rem; }
.lg-hero-overlay--legal {
  background: linear-gradient(135deg, rgba(8, 52, 48, .92) 0%, rgba(15, 138, 122, .78) 55%, rgba(11, 31, 42, .88) 100%);
}
.lg-legal-hero-pattern {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.12) 0, transparent 38%),
    radial-gradient(circle at 82% 12%, rgba(255,255,255,.08) 0, transparent 32%),
    linear-gradient(160deg, #0b5f56 0%, #0f8a7a 45%, #0b3040 100%);
}
.lg-legal-kicker {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.lg-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-top: 1rem;
}
.lg-legal-meta span {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  font-weight: 600;
}
.lg-legal-page { padding-top: 2.25rem; padding-bottom: 3rem; }
.lg-legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.lg-legal-nav-inner {
  position: sticky;
  top: 5.5rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 138, 122, .16);
  background: linear-gradient(180deg, #f8fcfb 0%, #fff 100%);
  box-shadow: 0 10px 28px rgba(11, 31, 42, .06);
}
.lg-legal-nav-title {
  margin: 0 0 .75rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0f8a7a;
}
.lg-legal-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 58vh;
  overflow: auto;
}
.lg-legal-nav-list li + li { margin-top: .15rem; }
.lg-legal-nav-list a {
  display: block;
  padding: .42rem .55rem;
  border-radius: 10px;
  color: #35505c;
  font-size: .82rem;
  line-height: 1.35;
  text-decoration: none;
}
.lg-legal-nav-list a:hover,
.lg-legal-nav-list a:focus-visible {
  background: rgba(15, 138, 122, .08);
  color: #0b5f56;
}
.lg-legal-nav-num {
  color: #0f8a7a;
  font-weight: 800;
  margin-right: .25rem;
}
.lg-legal-related {
  display: inline-flex;
  margin-top: .85rem;
  font-size: .84rem;
  font-weight: 700;
  color: #0f8a7a;
  text-decoration: none;
}
.lg-legal-related:hover { text-decoration: underline; }
.lg-legal-body {
  min-width: 0;
  padding: 1.25rem 1.35rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(11, 31, 42, .08);
  background: #fff;
  box-shadow: 0 14px 36px rgba(11, 31, 42, .05);
}
.lg-legal-intro {
  margin-bottom: 1.35rem;
  padding: .95rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3fbf9 0%, #f8fcfb 100%);
  border: 1px solid rgba(15, 138, 122, .14);
}
.lg-legal-intro p {
  margin: 0;
  color: #35505c;
  line-height: 1.65;
}
.lg-legal-intro a { color: #0f8a7a; font-weight: 700; }
.lg-legal-section {
  padding-top: 1.35rem;
  margin-top: 1.35rem;
  border-top: 1px solid rgba(11, 31, 42, .08);
  scroll-margin-top: 5.5rem;
}
.lg-legal-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.lg-legal-section h2 {
  margin: 0 0 .75rem;
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.08rem;
  line-height: 1.35;
  color: #0b3040;
}
.lg-legal-num {
  color: #0f8a7a;
  margin-right: .15rem;
}
.lg-legal-section p {
  margin: 0 0 .75rem;
  color: #425966;
  line-height: 1.72;
  font-size: .96rem;
}
.lg-legal-section p:last-child { margin-bottom: 0; }
.lg-legal-list {
  margin: .25rem 0 .75rem;
  padding-left: 1.15rem;
  color: #425966;
}
.lg-legal-list li { margin: .35rem 0; line-height: 1.65; }
.lg-legal-list a { color: #0f8a7a; font-weight: 600; }
.lg-legal-dl {
  display: grid;
  gap: .55rem;
  margin: .5rem 0 0;
}
.lg-legal-dl div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: .75rem;
  padding: .55rem 0;
  border-bottom: 1px dashed rgba(11, 31, 42, .08);
}
.lg-legal-dl dt {
  margin: 0;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #0f8a7a;
}
.lg-legal-dl dd {
  margin: 0;
  color: #425966;
  line-height: 1.55;
}
.lg-legal-dl a { color: #0f8a7a; font-weight: 600; }
.lg-legal-contact {
  margin: .75rem 0 1rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: #f7fbfb;
  border: 1px solid rgba(15, 138, 122, .14);
}
.lg-legal-contact p { margin: 0 0 .65rem; }
.lg-legal-table-wrap { overflow-x: auto; margin: .35rem 0 .75rem; }
.lg-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.lg-legal-table th,
.lg-legal-table td {
  padding: .65rem .75rem;
  border: 1px solid rgba(11, 31, 42, .1);
  text-align: left;
}
.lg-legal-table th {
  background: #eef8f6;
  color: #0b3040;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lg-legal-footer {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(11, 31, 42, .08);
}
.lg-legal-footer-card {
  display: grid;
  gap: .25rem;
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f8a7a 0%, #0b5f56 100%);
  color: #fff;
}
.lg-legal-footer-card strong {
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.05rem;
}
.lg-legal-footer-card span {
  font-size: .88rem;
  color: rgba(255,255,255,.86);
}
.lg-legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
@media (max-width: 980px) {
  .lg-legal-layout { grid-template-columns: 1fr; }
  .lg-legal-nav-inner {
    position: static;
    max-height: none;
  }
  .lg-legal-nav-list { max-height: 14rem; }
}
@media (max-width: 640px) {
  .lg-legal-body { padding: 1rem; }
  .lg-legal-dl div { grid-template-columns: 1fr; gap: .2rem; }
}

/* Conductor camera QR scanner */
.lg-conductor-scan-head {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: .85rem;
}
.lg-conductor-scan-head strong {
  font-size: .95rem;
}
.lg-conductor-scan-actions {
  display: grid;
  gap: .55rem;
}
.lg-qr-reader {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0b1f2a;
  margin-bottom: .75rem;
  min-height: 0;
}
.lg-qr-reader.is-idle {
  display: none;
}
.lg-qr-reader video {
  display: block !important;
  width: 100% !important;
  border-radius: 14px;
  object-fit: cover;
}
.lg-qr-reader img {
  max-width: 100%;
  border-radius: 12px;
}
.lg-qr-scan-status {
  margin: 0 0 .65rem;
  min-height: 1.1em;
  font-size: .82rem;
}
#lg-qr-reader__dashboard_section,
#lg-qr-reader__dashboard_section_csr,
#lg-qr-reader__dashboard {
  display: none !important;
}
