:root {
  --ue-primary: #223e7b;
  --ue-primary-dark: #1a3163;
  --ue-primary-mid: #2c4f96;
  --ue-primary-soft: #eef2f9;
  --ue-btn: #c6373c;
  --ue-btn-dark: #a72e32;
  --ue-gold: #c6373c;
  --ue-gold-2: #e25b60;
  --ue-cream: #f4f6fb;
  --ue-paper: #ffffff;
  --ue-ink: #1a2744;
  --ue-muted: #5c6780;
  --ue-line: rgba(34, 62, 123, 0.1);
  --ue-shadow: 0 18px 50px rgba(34, 62, 123, 0.1);
  --ue-radius: 22px;
  --ue-font: "Manrope", "DM Sans", sans-serif;
  --ue-serif: "Manrope", "DM Sans", sans-serif;
  --conult-base: #223e7b;
  --conult-base-rgb: 34, 62, 123;
  --conult-black: #223e7b;
}

html {
  scroll-behavior: smooth;
}

.ue-body {
  font-family: var(--ue-font);
  color: var(--ue-muted);
  font-size: 16px;
  line-height: 1.7;
  background: var(--ue-paper);
  scroll-padding-top: 96px;
}

.ue-body h1,
.ue-body h2,
.ue-body h3,
.ue-body h4 {
  font-family: var(--ue-font);
  font-weight: 800;
  color: var(--ue-ink);
  letter-spacing: -0.04em;
}

.ue-body .page-wrapper {
  overflow: hidden;
}

.ue-body .stricky-header {
  display: none !important;
}

.ue-body .preloader {
  background: #fff;
}

.ue-body .preloader__image {
  width: 240px;
  height: auto;
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px;
}

.ue-body .scroll-to-top {
  background: var(--ue-primary);
  right: 24px;
  bottom: 24px;
  border-radius: 14px;
}

.ue-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ue-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ue-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ue-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.ue-title {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.12;
  margin: 12px 0 16px;
}

.ue-lead {
  font-size: 1.05rem;
  max-width: 560px;
}

.ue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ue-btn);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(198, 55, 60, 0.22);
}

.ue-btn:hover {
  transform: translateY(-2px);
  background: var(--ue-btn-dark);
  color: #fff !important;
}

.ue-btn:disabled,
.ue-btn.is-disabled {
  pointer-events: none;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.ue-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff !important;
}

.ue-btn--ghost:hover {
  background: #fff;
  color: var(--ue-primary) !important;
}

.ue-btn--line {
  background: transparent;
  border-color: var(--ue-primary);
  color: var(--ue-primary) !important;
}

.ue-btn--line:hover {
  background: var(--ue-primary);
  color: #fff !important;
}

.ue-btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 12px;
}

/* Header */
.ue-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34, 62, 123, 0.08);
  box-shadow: 0 8px 28px rgba(34, 62, 123, 0.06);
}

.ue-header__top {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  color: var(--ue-muted);
  font-size: 13px;
  border-bottom: 1px solid rgba(34, 62, 123, 0.08);
}

.ue-header__top a {
  color: var(--ue-primary);
}

.ue-header__top a:hover {
  color: var(--ue-btn);
}

.ue-header__top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ue-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 78px;
}

.ue-logo img {
  height: 52px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.ue-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ue-body .mobile-nav__content .main-menu__list,
.ue-body .mobile-nav__content .ue-nav {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.ue-nav > li > a {
  display: block;
  padding: 10px 8px;
  color: var(--ue-primary) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ue-nav > li > a:hover,
.ue-nav > li.current > a {
  color: var(--ue-btn) !important;
}

.ue-header__cta {
  display: none;
  background: var(--ue-btn) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(198, 55, 60, 0.22);
}

.ue-header__cta:hover {
  background: var(--ue-btn-dark) !important;
  color: #fff !important;
}

.ue-burger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(34, 62, 123, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ue-primary);
  font-size: 18px;
}

@media (min-width: 1240px) {
  .ue-header__top {
    display: flex;
  }

  .ue-nav,
  .ue-header__cta {
    display: flex;
  }

  .ue-nav > li > a {
    padding: 10px 7px;
    font-size: 13px;
  }

  .ue-burger {
    display: none;
  }
}

.ue-body .mobile-nav__wrapper {
  z-index: 1100;
}

.ue-body .mobile-nav__content {
  background: var(--ue-primary);
}

.ue-body .mobile-nav__close {
  color: #fff;
  z-index: 2;
}

.ue-body .mobile-nav__content .logo-box img {
  height: 42px;
  width: auto;
  max-width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
}

.ue-body .mobile-nav__container .main-menu__list li a,
.ue-body .mobile-nav__content .main-menu__list li a {
  color: #fff;
}

.ue-body .mobile-nav__contact a {
  color: var(--ue-gold);
}

/* Hero */
.ue-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(34, 62, 123, 0.82) 0%, rgba(26, 49, 99, 0.55) 48%, rgba(198, 55, 60, 0.28) 100%),
    url("https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}

.ue-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--ue-paper));
  pointer-events: none;
}

.ue-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.ue-hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin: 14px 0 18px;
}

.ue-hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: #ffd4d6;
}

.ue-hero .ue-kicker,
.ue-auth__brand .ue-kicker,
.ue-cta .ue-kicker,
.ue-section--green .ue-kicker {
  color: #fff;
}

.ue-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 540px;
}

.ue-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ue-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}

.ue-hero__meta b {
  display: block;
  color: #fff;
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
}

.ue-hero__meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.ue-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ue-ink);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--ue-shadow);
}

.ue-card h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.ue-card p {
  color: var(--ue-muted) !important;
  font-size: 14px !important;
  margin-bottom: 18px;
}

.ue-form {
  display: grid;
  gap: 12px;
}

.ue-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ue-primary);
  margin-bottom: 6px;
}

.ue-form input,
.ue-form select,
.ue-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ue-line);
  border-radius: 14px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ue-ink);
  font-family: var(--ue-font);
}

.ue-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ue-form__row {
  display: grid;
  gap: 12px;
}

@media (min-width: 980px) {
  .ue-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .ue-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sections */
.ue-section {
  padding: 88px 0;
}

.ue-section--cream {
  background: var(--ue-cream);
}

.ue-section--green {
  background: var(--ue-primary);
  color: rgba(255, 255, 255, 0.82);
}

.ue-section--green h2,
.ue-section--green h3,
.ue-section--green .ue-title {
  color: #fff;
}

.ue-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.ue-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

.ue-trust__item {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--ue-shadow);
}

.ue-trust__item strong {
  display: block;
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 2rem;
  color: var(--ue-primary);
  line-height: 1;
}

.ue-grid {
  display: grid;
  gap: 20px;
}

.ue-packages {
  grid-template-columns: 1fr;
}

.ue-package {
  background: #fff;
  border-radius: var(--ue-radius);
  overflow: hidden;
  border: 1px solid var(--ue-line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: 0.25s ease;
}

.ue-package:hover {
  transform: translateY(-6px);
  box-shadow: var(--ue-shadow);
}

.ue-package.is-featured {
  border-color: var(--ue-gold);
}

.ue-package__photo {
  height: 210px;
  background-color: var(--ue-primary);
  background-size: cover;
  background-position: center;
  position: relative;
}

.ue-package__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ue-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.ue-package__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ue-package__body .ue-btn {
  margin-top: auto;
  width: 100%;
}

.ue-package__body h3 {
  font-size: 1.8rem;
}

.ue-package__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ue-primary);
  font-family: var(--ue-font);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ue-package__price small {
  color: var(--ue-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ue-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ue-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.ue-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ue-gold);
}

.ue-services {
  grid-template-columns: 1fr;
}

.ue-service {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--ue-line);
}

.ue-service__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ue-primary-soft);
  color: var(--ue-primary);
  margin-bottom: 16px;
  font-size: 18px;
}

.ue-service h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.ue-split {
  display: grid;
  gap: 36px;
  align-items: center;
}

.ue-photo {
  min-height: 420px;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.ue-photo__chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(34, 62, 123, 0.92);
  color: #fff;
  padding: 16px 18px;
  border-radius: 16px;
}

.ue-steps {
  display: grid;
  gap: 16px;
}

.ue-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.ue-step b {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(198, 55, 60, 0.12);
  color: var(--ue-btn);
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 1.4rem;
}

.ue-testimonials {
  grid-template-columns: 1fr;
}

.ue-quote {
  background: #fff;
  border-radius: var(--ue-radius);
  padding: 28px;
  border: 1px solid var(--ue-line);
}

.ue-quote p {
  font-family: var(--ue-font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ue-ink);
  line-height: 1.5;
}

.ue-quote__author {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ue-primary);
}

.ue-faq details {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid var(--ue-line);
}

.ue-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ue-ink);
  list-style: none;
}

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

.ue-faq details p {
  margin: 12px 0 0;
}

.ue-cta {
  display: grid;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(34, 62, 123, 0.92), rgba(198, 55, 60, 0.78)),
    url("https://images.unsplash.com/photo-1591604129939-f1efa4d9f7fa?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  border-radius: 32px;
  padding: 42px;
}

.ue-cta h2,
.ue-cta .ue-title {
  color: #fff;
  margin: 0 0 10px;
}

.ue-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Footer */
.ue-footer {
  background: var(--ue-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
}

.ue-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.ue-footer a:hover {
  color: var(--ue-gold);
}

.ue-footer__grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
}

.ue-footer__brand img {
  height: 48px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}

.ue-footer h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.ue-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ue-footer li + li {
  margin-top: 8px;
}

.ue-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.ue-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 99;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

@media (min-width: 760px) {
  .ue-trust,
  .ue-packages,
  .ue-services,
  .ue-testimonials,
  .ue-steps,
  .ue-guide,
  .ue-duas {
    grid-template-columns: repeat(2, 1fr);
  }

  .ue-cta {
    grid-template-columns: 1.4fr auto;
  }
}

@media (min-width: 1024px) {
  .ue-trust {
    grid-template-columns: repeat(4, 1fr);
  }

  .ue-packages,
  .ue-testimonials {
    grid-template-columns: repeat(3, 1fr);
  }

  .ue-services {
    grid-template-columns: repeat(4, 1fr);
  }

  .ue-guide,
  .ue-duas {
    grid-template-columns: repeat(3, 1fr);
  }

  .ue-split,
  .ue-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  }

  .ue-split {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .ue-steps {
    grid-template-columns: 1fr;
  }
}

.ue-auth {
  padding: 130px 20px 70px;
  min-height: calc(100vh - 80px);
}

.ue-auth__shell {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--ue-shadow);
  border: 1px solid var(--ue-line);
}

.ue-auth__shell--wide {
  width: min(1080px, 100%);
}

.ue-auth__brand {
  background:
    linear-gradient(160deg, rgba(34, 62, 123, 0.94), rgba(26, 49, 99, 0.88)),
    url("https://images.unsplash.com/photo-1564769625905-50e93615e769?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: rgba(255, 255, 255, 0.84);
  padding: 36px 32px;
}

.ue-auth__brand h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 12px 0 12px;
}

.ue-auth__brand .ue-logo {
  display: inline-block;
  margin-bottom: 24px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
}

.ue-auth__brand .ue-list {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.ue-auth__panel {
  padding: 36px 32px;
}

.ue-auth__panel h1 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.ue-auth__lead {
  margin-bottom: 22px;
}

.ue-auth__form label {
  display: block;
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ue-primary);
}

.ue-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ue-line);
  border-radius: 14px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ue-ink);
  font-family: var(--ue-font);
}

.ue-auth__row {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 4px;
  font-size: 14px;
}

.ue-auth__row a,
.ue-auth__switch a {
  color: var(--ue-primary);
  font-weight: 700;
}

.ue-auth__submit {
  width: 100%;
  margin-top: 18px;
}

.ue-auth__switch {
  text-align: center;
  margin: 18px 0 0;
}

.ue-auth__grid {
  display: grid;
  gap: 0 16px;
}

.ue-auth__full {
  grid-column: 1 / -1;
}

.ue-alert {
  background: var(--ue-primary-soft);
  color: var(--ue-primary-dark);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.ue-alert--error {
  background: #fdecec;
  color: #8a1f1f;
}

.ue-alert ul {
  margin: 0;
  padding-left: 18px;
}

.ue-captcha {
  margin-top: 16px;
}

.ue-captcha__row {
  display: grid;
  grid-template-columns: 180px 48px 1fr;
  gap: 10px;
  align-items: center;
}

.ue-captcha img {
  height: 56px;
  width: 180px;
  border-radius: 12px;
  cursor: pointer;
  display: block;
}

.ue-captcha__refresh {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--ue-line);
  background: var(--ue-cream);
  color: var(--ue-primary);
}

.ue-field-error {
  display: block;
  margin-top: 6px;
  color: #8a1f1f;
  font-size: 13px;
}

@media (min-width: 900px) {
  .ue-auth__shell {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .ue-auth__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 899px) {
  .ue-auth {
    padding: 108px 16px 40px;
  }

  .ue-auth__shell {
    display: flex;
    flex-direction: column;
  }

  .ue-auth__panel {
    order: -1;
    padding: 28px 22px;
  }

  .ue-auth__brand {
    padding: 22px;
  }

  .ue-auth__brand .ue-logo,
  .ue-auth__brand .ue-list {
    display: none;
  }

  .ue-auth__brand h2 {
    font-size: 1.55rem;
    margin: 8px 0;
  }

  .ue-auth__panel h1 {
    font-size: 1.85rem;
  }
}

@media (max-width: 640px) {
  .ue-captcha__row {
    grid-template-columns: 1fr 48px;
  }

  .ue-captcha img {
    width: 100%;
  }

  .ue-captcha__row .ue-input {
    grid-column: 1 / -1;
  }
}

.ue-page {
  padding: 140px 0 90px;
  min-height: calc(100vh - 40px);
  background: var(--ue-paper);
}

.ue-page__hero {
  margin-bottom: 36px;
}

.ue-page__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ue-page__tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ue-line);
  background: #fff;
  color: var(--ue-primary);
  font-size: 13px;
  font-weight: 700;
}

.ue-page__tabs a.is-active,
.ue-page__tabs a:hover {
  background: var(--ue-primary);
  border-color: var(--ue-primary);
  color: #fff;
}

.ue-legal .ue-title {
  max-width: none;
}

.ue-legal__grid {
  display: grid;
  gap: 28px 48px;
}

.ue-legal__copy {
  max-width: 860px;
}

.ue-legal h2 {
  font-size: 1.7rem;
  margin: 28px 0 10px;
}

.ue-legal p {
  margin-bottom: 14px;
}

.ue-legal a {
  color: var(--ue-primary);
  font-weight: 700;
}

.ue-legal__contact {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 18px;
  padding: 20px 22px;
}

.ue-legal__contact p {
  margin-bottom: 4px;
}

@media (min-width: 900px) {
  .ue-legal__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.ue-airline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}

.ue-airline-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--ue-shadow);
  color: inherit;
  transition: 0.2s ease;
}

.ue-airline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 62, 123, 0.22);
}

.ue-airline-card__logo {
  position: relative;
  width: 120px;
  height: 84px;
  border-radius: 16px;
  background: var(--ue-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ue-airline-card__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  background: var(--ue-cream);
}

.ue-airline-card__logo span {
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--ue-primary);
}

.ue-airline-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.ue-airline-card__body p {
  margin: 0;
  font-size: 14px;
  color: var(--ue-muted);
}

.ue-airline-card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ue-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ue-empty {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 22px;
  padding: 42px 28px;
  text-align: center;
}

.ue-empty h3 {
  margin-bottom: 8px;
}

.ue-empty p {
  max-width: 420px;
  margin: 0 auto 18px;
}

@media (max-width: 640px) {
  .ue-airline-card {
    grid-template-columns: 88px 1fr;
  }

  .ue-airline-card__logo {
    width: 88px;
    height: 64px;
  }

  .ue-airline-card__cta {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

.ue-page--groups {
  padding: 120px 0 70px;
}

.ue-page--groups .ue-wrap {
  width: min(1240px, calc(100% - 32px));
}

.ue-page--groups .ue-page__hero {
  margin-bottom: 18px;
}

.ue-airline-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ue-airline-section {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--ue-line);
  background: var(--ue-primary-soft);
}

.ue-country-section {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}

.ue-country-section__head {
  display: grid;
  gap: 4px;
  padding: 4px 2px;
}

.ue-country-section .ue-airline-section {
  margin-bottom: 0;
}

.ue-airline-section--tone-1 {
  background: #eef3fb;
  border-color: #d5e0f2;
}

.ue-airline-section--tone-2 {
  background: #eef8f4;
  border-color: #d2ebe2;
}

.ue-airline-section--tone-3 {
  background: #f3eefb;
  border-color: #e0d6f2;
}

.ue-airline-section--tone-4 {
  background: #eef8fb;
  border-color: #d2ebf1;
}

.ue-airline-section--tone-5 {
  background: #eef2fb;
  border-color: #d7dff0;
}

.ue-airline-section--tone-6 {
  background: #f4f6fb;
  border-color: #d9deed;
}

.ue-airline-brand--section {
  margin: 0;
  padding: 4px 2px 8px;
}

.ue-airline-section .ue-route {
  background: #fff;
  box-shadow: none;
}

.ue-title--sm {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0;
}

.ue-airline-brand__logo {
  position: relative;
  width: 112px;
  height: 80px;
  border-radius: 16px;
  background: var(--ue-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ue-airline-brand__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  background: var(--ue-cream);
}

.ue-airline-brand__logo span {
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--ue-primary);
  line-height: 1;
}

.ue-airline-brand__copy {
  min-width: 0;
}

.ue-page--groups .ue-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 6px 0 8px;
}

.ue-page--groups .ue-lead {
  font-size: 0.95rem;
  max-width: none;
}

.ue-route__head--route-only {
  grid-template-columns: minmax(0, 1fr);
}

.ue-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ue-primary);
  font-size: 13px;
  font-weight: 700;
}

.ue-back::before {
  content: "←";
}

.ue-route {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 18px;
  box-shadow: var(--ue-shadow);
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
}

.ue-route__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.ue-route__summary::-webkit-details-marker {
  display: none;
}

.ue-route__summary::marker {
  content: "";
}

.ue-route__label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ue-gold);
  white-space: nowrap;
}

.ue-route__title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ue-route__meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--ue-muted, #6b7280);
  white-space: nowrap;
}

.ue-route__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ue-primary);
  border-bottom: 2px solid var(--ue-primary);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  margin-top: -4px;
  flex-shrink: 0;
}

.ue-route[open] > .ue-route__summary {
  border-bottom: 1px solid var(--ue-line);
}

.ue-route[open] > .ue-route__summary .ue-route__chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

.ue-route__body {
  padding: 12px 14px 16px;
  display: grid;
  gap: 12px;
  background: #f3f6fb;
}

.ue-route__head {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ue-line);
}

.ue-route__logo {
  position: relative;
  width: 132px;
  height: 92px;
  border-radius: 16px;
  background: var(--ue-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ue-route__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  background: var(--ue-cream);
}

.ue-route__logo span {
  font-family: var(--ue-font);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--ue-primary);
  line-height: 1;
}

.ue-route__head p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ue-gold);
}

.ue-route__head h2 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.ue-itin {
  display: grid;
  gap: 12px;
  padding: 14px 14px 12px;
  border: 1px solid var(--ue-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(33, 24, 16, 0.04);
}

.ue-itin__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ue-itin__top-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ue-itin__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8eef8;
  color: var(--ue-ink);
  font-size: 12px;
  font-weight: 700;
}

.ue-itin__tag--muted {
  background: #eef2f8;
  color: var(--ue-muted);
}

.ue-itin__tag i {
  color: var(--ue-primary);
  font-size: 11px;
}

.ue-flight__bag {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4e9f2;
  font-size: 12px;
  font-weight: 700;
  color: var(--ue-ink);
  white-space: nowrap;
}

.ue-flight__bag i {
  color: var(--ue-primary);
  font-size: 11px;
  flex-shrink: 0;
}

.ue-itin__legs {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ue-flight {
  display: grid;
  grid-template-columns: 88px minmax(90px, 1fr) minmax(120px, 1.2fr) minmax(90px, 1fr);
  gap: 10px 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f5f7fb;
  border: 1px solid #e4e9f2;
}

.ue-flight__dir {
  display: grid;
  gap: 2px;
}

.ue-flight__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e4e9f2;
  color: var(--ue-primary);
  font-size: 14px;
}

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

.ue-flight__date {
  font-size: 12px;
  font-weight: 600;
  color: var(--ue-muted);
}

.ue-flight__point {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ue-flight__point--arr {
  text-align: right;
  justify-items: end;
}

.ue-flight__point strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.ue-flight__code {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ue-primary);
}

.ue-flight__point small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ue-muted);
}

.ue-flight__path {
  position: relative;
  display: grid;
  grid-template-columns: 8px 1fr auto 1fr 8px;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}

.ue-flight__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ue-primary);
  opacity: 0.35;
}

.ue-flight__line {
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(122, 74, 48, 0.35) 0 6px,
    transparent 6px 10px
  );
}

.ue-flight__plane {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ue-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(122, 74, 48, 0.25);
}

.ue-flight__plane i {
  font-size: 12px;
}

.ue-flight__duration {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ue-muted);
  white-space: nowrap;
}

.ue-flight__path em {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ue-primary);
  white-space: nowrap;
}

.ue-itin__side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  padding-top: 2px;
}

.ue-itin__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ue-itin__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
}

.ue-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ue-cream);
  border: 1px solid #e4e9f2;
  font-size: 12px;
  font-weight: 700;
  color: var(--ue-ink);
}

.ue-chip i {
  color: var(--ue-primary);
  font-size: 11px;
}

.ue-itin__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--ue-font);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--ue-primary);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.ue-itin__price small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ue-primary);
}

.ue-itin__side .ue-btn {
  width: auto;
  margin-left: 0;
}

.ue-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f8e7e4;
  color: #8a2d22;
  font-size: 11px;
  font-weight: 700;
}

.ue-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
}

.ue-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--ue-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ue-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.ue-choice input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  min-width: 16px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--ue-primary);
  border-radius: 50% !important;
  background: #fff;
  flex-shrink: 0;
  box-shadow: none;
}

.ue-choice input[type="radio"]:checked {
  background: var(--ue-primary);
  box-shadow: inset 0 0 0 3px #fff;
}

.ue-choice label:has(input:checked) {
  background: var(--ue-primary-soft);
  border-color: var(--ue-primary);
  color: var(--ue-primary);
}

.ue-modal {
  z-index: 1080;
}

.ue-modal .modal-dialog {
  max-width: 560px;
  margin: 12px auto;
  max-height: calc(100vh - 24px);
}

.ue-modal .modal-content {
  border: 1px solid var(--ue-line);
  border-radius: 16px;
  overflow: hidden;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
}

.ue-modal form.ue-book-form {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-height: calc(100vh - 24px);
  min-height: 0;
}

.ue-modal form.ue-book-form .modal-content {
  min-height: 0;
  flex: 1 1 auto;
}

.modal-backdrop {
  z-index: 1070;
}

.ue-modal .modal-header,
.ue-modal .modal-footer {
  border-color: var(--ue-line);
  background: #fff;
  flex-shrink: 0;
}

.ue-modal .modal-header {
  align-items: center;
  padding: 10px 16px;
}

.ue-modal .modal-header h4,
.ue-modal .modal-title {
  margin: 0;
  font-size: 1.25rem;
}

.ue-modal__close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--ue-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ue-ink);
  font-size: 14px;
  line-height: 26px;
}

.ue-modal__cancel {
  border: 0;
  background: transparent;
  color: var(--ue-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 0 8px;
}

.ue-modal .modal-body {
  display: grid;
  gap: 10px;
  padding: 12px 16px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.ue-modal .ue-form input,
.ue-modal .ue-form select,
.ue-modal .ue-form textarea {
  min-height: 40px;
  border-radius: 10px;
}

.ue-book__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.ue-book__actions input.ue-btn {
  width: auto !important;
  min-width: 128px;
  background: var(--ue-gold) !important;
  color: #fff !important;
  border-color: transparent;
}

.ue-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 16px;
}

.ue-modal .modal-footer .ue-btn {
  width: auto !important;
}

.ue-book__summary {
  background: var(--ue-cream);
  border-radius: 12px;
  padding: 8px 10px;
}

.ue-book__summary .ue-itin {
  box-shadow: none;
  padding: 10px;
}

.ue-book__summary .ue-itin,
.ue-book__summary .ue-itin__legs {
  margin: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.ue-book__summary .ue-itin__side {
  border: 0;
  padding-top: 8px;
  flex-direction: row;
  flex-wrap: wrap;
}

.ue-book__summary .ue-flight {
  grid-template-columns: 70px minmax(70px, 1fr) minmax(90px, 1.1fr) minmax(70px, 1fr);
  gap: 8px;
  padding: 10px;
}

@media (min-width: 768px) {
  .ue-itin__side .ue-btn {
    min-width: 140px;
  }
}

.ue-pkg-list {
  display: grid;
  gap: 18px;
}

.ue-pkg {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  padding: 18px 20px;
  display: grid;
  gap: 18px;
}

.ue-pkg__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.ue-pkg__head p {
  margin: 0;
  color: var(--ue-muted);
  font-size: 13px;
}

.ue-pkg__head h3 {
  margin: 2px 0 0;
  font-size: 1.35rem;
}

.ue-pkg__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ue-pkg__facts {
  margin-top: 12px;
}

.ue-stay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ue-stay__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  background: var(--ue-cream);
  border: 1px solid var(--ue-line);
  border-radius: 16px;
}

.ue-stay__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ue-primary);
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(34, 62, 123, 0.08);
}

.ue-stay__item small {
  display: block;
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ue-btn);
}

.ue-stay__item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ue-ink);
  line-height: 1.35;
  word-break: break-word;
}

.ue-stay__note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed var(--ue-line);
  color: var(--ue-muted);
  font-size: 13px;
}

.ue-pkg__table-wrap,
.ue-table-wrap {
  overflow-x: auto;
}

.ue-pkg__rates,
.ue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ue-pkg__rates th,
.ue-pkg__rates td,
.ue-table th,
.ue-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--ue-line);
  text-align: right;
}

.ue-pkg__rates td:not(:first-child) {
  font-family: var(--ue-font);
  font-size: 15px;
  font-weight: 800;
  color: var(--ue-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ue-pkg__rates th:first-child,
.ue-pkg__rates td:first-child,
.ue-table th:first-child,
.ue-table td:first-child,
.ue-table th:nth-child(2),
.ue-table td:nth-child(2),
.ue-table th:nth-child(3),
.ue-table td:nth-child(3) {
  text-align: left;
}

.ue-table thead {
  background: var(--ue-cream);
}

.ue-muted {
  color: var(--ue-muted);
  font-size: 12px;
}

.ue-pkg-form {
  display: grid;
  gap: 8px;
}

.ue-pkg-form .ue-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ue-pkg-form input,
.ue-pkg-form select {
  min-height: 42px !important;
  width: 100% !important;
}

@media (min-width: 900px) {
  .ue-pkg {
    grid-template-columns: minmax(0, 1.5fr) 280px;
    align-items: start;
  }

  .ue-pkg__side {
    border-left: 1px solid var(--ue-line);
    padding-left: 18px;
  }
}

@media (max-width: 699px) {
  .ue-pkg__head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ue-pkg__badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .ue-pkg-form .ue-form__row {
    grid-template-columns: 1fr;
  }
}

.ue-agent {
  padding-top: 130px;
}

.ue-agent__layout {
  display: grid;
  gap: 22px;
}

.ue-agent-nav {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  overflow: hidden;
}

.ue-agent-nav__head {
  background: var(--ue-primary);
  color: #fff;
  padding: 18px 18px 16px;
}

.ue-agent-nav__head span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ue-gold);
}

.ue-agent-nav__head strong {
  display: block;
  margin-top: 4px;
  font-family: var(--ue-font);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.ue-agent-nav nav {
  display: grid;
  padding: 8px;
}

.ue-agent-nav a,
.ue-agent-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ue-ink);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.ue-agent-nav a i,
.ue-agent-nav button i {
  width: 18px;
  color: var(--ue-gold);
}

.ue-agent-nav a:hover,
.ue-agent-nav button:hover,
.ue-agent-nav a.is-active {
  background: var(--ue-primary-soft);
  color: var(--ue-primary);
}

.ue-agent-nav form {
  padding: 0 8px 10px;
}

.ue-agent-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.ue-agent-stats article {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 18px;
  padding: 16px 18px;
}

.ue-agent-stats span {
  display: block;
  color: var(--ue-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ue-agent-stats strong {
  display: block;
  margin-top: 4px;
  font-family: var(--ue-font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ue-primary);
  line-height: 1;
}

.ue-agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ue-agent-actions .ue-btn {
  width: auto;
}

.ue-badge--ok {
  background: var(--ue-primary-soft);
  color: var(--ue-primary);
}

.ue-badge--hold {
  background: #f4ead6;
  color: #8a6a32;
}

.ue-badge--off {
  background: #ececec;
  color: #5d5d5d;
}

.ue-pager {
  margin-top: 22px;
}

.ue-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ue-pager .page-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ue-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ue-primary);
}

.ue-pager .page-item.active .page-link,
.ue-pager .page-link:hover {
  background: var(--ue-primary);
  border-color: var(--ue-primary);
  color: #fff;
}

@media (min-width: 760px) {
  .ue-agent-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .ue-agent__layout {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }
}

.ue-panel {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  padding: 22px;
}

.ue-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.ue-filter .ue-btn {
  width: 100%;
}

.ue-agent .ue-form {
  display: grid;
  gap: 14px;
}

.ue-agent .ue-form .ue-btn {
  width: fit-content;
}

.ue-ledger-range,
.ue-ledger-open {
  margin: 0 0 12px;
  color: var(--ue-muted);
}

.ue-ledger-open strong {
  color: var(--ue-primary);
}

.ue-ledger tr.umrah td {
  background: #F9FF9A !important;
}

.ue-ledger tr.group td {
  background: #99e0ff !important;
}

.ue-ledger tr.hotel td {
  background: #e8d4f5 !important;
}

.ue-ledger tr.journal td {
  background: #adffd8 !important;
}

.ue-bank-table th,
.ue-bank-table td {
  text-align: left;
}

.ue-agent-logo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 10px;
  border: 1px solid var(--ue-line);
}

.ue-guide-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--ue-line);
}

.ue-guide-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.ue-guide-card p {
  margin: 0;
}

.ue-dua {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--ue-line);
}

.ue-dua h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.ue-dua__arabic {
  font-size: 1.35rem;
  line-height: 2;
  color: var(--ue-primary);
  margin-bottom: 12px;
}

.ue-dua p {
  margin-bottom: 8px;
}

.ue-dua p:last-child {
  margin-bottom: 0;
}

.ue-pnr-result {
  margin-top: 8px;
}

.ue-pax-table input.form-control {
  min-height: 38px;
  font-size: 13px;
}

.ue-pax-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.ue-pax-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--ue-primary);
}

@media (max-width: 700px) {
  .ue-airline-brand {
    gap: 12px;
  }

  .ue-airline-brand__logo {
    width: 88px;
    height: 64px;
  }

  .ue-airline-brand__logo span {
    font-size: 2rem;
  }

  .ue-route__summary {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px 10px;
    padding: 12px 14px;
  }

  .ue-route__label {
    display: none;
  }

  .ue-route__title {
    font-size: 0.98rem;
  }

  .ue-route__body {
    padding: 10px;
    gap: 10px;
  }

  .ue-itin {
    padding: 12px;
  }

  .ue-flight {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "dir dir dir"
      "dep path arr";
    gap: 8px 10px;
  }

  .ue-flight__dir { grid-area: dir; }
  .ue-flight__point:not(.ue-flight__point--arr) { grid-area: dep; }
  .ue-flight__path { grid-area: path; min-width: 72px; }
  .ue-flight__point--arr { grid-area: arr; }

  .ue-itin__actions {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .ue-itin__side .ue-btn {
    width: auto;
    margin-left: 0;
  }
}

.ue-pkg-list {
  display: grid;
  gap: 18px;
}

.ue-pkg {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  padding: 18px 20px;
  display: grid;
  gap: 18px;
}

.ue-pkg__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.ue-pkg__head p {
  margin: 0;
  color: var(--ue-muted);
  font-size: 13px;
}

.ue-pkg__head h3 {
  margin: 2px 0 0;
  font-size: 1.35rem;
}

.ue-pkg__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ue-pkg__facts {
  margin-top: 12px;
}

.ue-pkg__table-wrap,
.ue-table-wrap {
  overflow-x: auto;
}

.ue-pkg__rates,
.ue-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ue-pkg__rates th,
.ue-pkg__rates td,
.ue-table th,
.ue-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--ue-line);
  text-align: right;
}

.ue-pkg__rates th:first-child,
.ue-pkg__rates td:first-child,
.ue-table th:first-child,
.ue-table td:first-child,
.ue-table th:nth-child(2),
.ue-table td:nth-child(2),
.ue-table th:nth-child(3),
.ue-table td:nth-child(3) {
  text-align: left;
}

.ue-table thead {
  background: var(--ue-cream);
}

.ue-muted {
  color: var(--ue-muted);
  font-size: 12px;
}

.ue-pkg-form {
  display: grid;
  gap: 8px;
}

.ue-pkg-form .ue-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ue-pkg-form input,
.ue-pkg-form select {
  min-height: 42px !important;
  width: 100% !important;
}

@media (min-width: 900px) {
  .ue-pkg {
    grid-template-columns: minmax(0, 1.5fr) 280px;
    align-items: start;
  }

  .ue-pkg__side {
    border-left: 1px solid var(--ue-line);
    padding-left: 18px;
  }
}

@media (max-width: 699px) {
  .ue-pkg__head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ue-pkg__badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .ue-pkg-form .ue-form__row {
    grid-template-columns: 1fr;
  }
}

/* ---- Umrah packages board (group summary + details table) ---- */
.ue-upkg-list {
  display: grid;
  gap: 18px;
}

.ue-upkg {
  background: #fff;
  border: 1px solid var(--ue-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(34, 62, 123, 0.06);
}

.ue-upkg__summary {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 180px;
  gap: 0;
  align-items: stretch;
}

.ue-upkg__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  background: #f7f9fc;
  border-right: 1px solid var(--ue-line);
  text-align: center;
}

.ue-upkg__logo {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ue-line);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  font-size: 12px;
  font-weight: 800;
  color: var(--ue-primary);
}

.ue-upkg__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.ue-upkg__route {
  font-size: 13px;
  font-weight: 800;
  color: var(--ue-ink);
  letter-spacing: 0.02em;
}

.ue-upkg__date {
  font-size: 12px;
  font-weight: 700;
  color: var(--ue-muted);
}

.ue-upkg__ref {
  font-size: 11px;
  font-weight: 800;
  color: var(--ue-primary);
}

.ue-upkg__banner {
  padding: 14px 16px;
  background: linear-gradient(180deg, #eef5ff 0%, #f7faff 100%);
  display: grid;
  gap: 10px;
  align-content: center;
}

.ue-upkg__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ue-upkg__chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.ue-upkg__chip--nights {
  background: #1f4b99;
}

.ue-upkg__chip--seats {
  background: #2f9d57;
}

.ue-upkg__flights {
  display: grid;
  gap: 6px;
}

.ue-upkg__flight {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 13px;
  color: var(--ue-ink);
  font-weight: 600;
}

.ue-upkg__flight-no {
  font-weight: 800;
  color: var(--ue-primary);
}

.ue-upkg__flight-route {
  font-weight: 800;
}

.ue-upkg__bag {
  color: var(--ue-muted);
  font-weight: 600;
  font-size: 12px;
}

.ue-upkg__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-left: 1px solid var(--ue-line);
  background: #fff;
}

.ue-upkg__from {
  text-align: right;
}

.ue-upkg__from small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ue-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ue-upkg__from strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ue-ink);
  font-variant-numeric: tabular-nums;
}

.ue-upkg__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #2f6fed;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ue-upkg__toggle i {
  transition: transform 0.2s ease;
}

.ue-upkg:not(.is-open) .ue-upkg__toggle i {
  transform: rotate(180deg);
}

.ue-upkg__toggle-show {
  display: none;
}

.ue-upkg:not(.is-open) .ue-upkg__toggle-show {
  display: inline;
}

.ue-upkg:not(.is-open) .ue-upkg__toggle-hide {
  display: none;
}

.ue-upkg__count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e8f8ee;
  color: #1f7a42;
  font-size: 12px;
  font-weight: 800;
}

.ue-upkg__details {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--ue-line);
  background: #fff;
}

.ue-upkg.is-open .ue-upkg__details {
  display: block;
}

.ue-upkg__details h4 {
  margin: 14px 0 10px;
  font-size: 15px;
}

.ue-upkg__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ue-line);
  border-radius: 10px;
}

.ue-upkg__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  font-size: 13px;
}

.ue-upkg__table th,
.ue-upkg__table td {
  padding: 12px 12px;
  border-bottom: 1px solid var(--ue-line);
  vertical-align: top;
  text-align: left;
}

.ue-upkg__table thead th {
  background: #f4f7fc;
  color: var(--ue-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ue-upkg__table tbody tr:last-child td {
  border-bottom: 0;
}

.ue-upkg__pkgid {
  font-weight: 800;
  color: var(--ue-primary);
  margin-bottom: 6px;
}

.ue-upkg__nights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  color: var(--ue-muted);
  font-size: 12px;
  font-weight: 600;
}

.ue-upkg__nights span {
  color: var(--ue-ink);
  font-weight: 800;
}

.ue-upkg__hotel strong {
  display: block;
  color: var(--ue-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.ue-upkg__hotel small {
  display: block;
  margin-top: 4px;
  color: var(--ue-muted);
  font-size: 12px;
}

.ue-upkg__hotel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ue-upkg__mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 0;
  background: #e8f1ff;
  color: #1f4b99;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ue-upkg__mini:hover {
  background: #d7e7ff;
  color: #163a7a;
  text-decoration: none;
}

.ue-upkg__price-cell {
  min-width: 118px;
}

.ue-upkg__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ue-ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  white-space: nowrap;
}

.ue-upkg__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: #2f6fed;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ue-upkg__book:hover {
  background: #1f5ad6;
}

.ue-upkg__note-row td {
  background: #fafbfd;
  color: var(--ue-muted);
  font-size: 12px;
  font-weight: 600;
  padding-top: 8px;
  padding-bottom: 10px;
}

.ue-upkg-modal[hidden] {
  display: none !important;
}

.ue-upkg-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ue-upkg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 54, 0.45);
}

.ue-upkg-modal__panel {
  position: relative;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px 18px;
  box-shadow: 0 24px 60px rgba(16, 28, 54, 0.25);
}

.ue-upkg-modal__panel--gallery {
  width: min(760px, 100%);
}

.ue-upkg-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--ue-muted);
  cursor: pointer;
}

.ue-upkg-modal__meta {
  margin: 0 0 14px;
  color: var(--ue-muted);
  font-size: 13px;
  font-weight: 700;
}

.ue-upkg-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.ue-upkg-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--ue-line);
}

body.ue-upkg-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .ue-upkg__summary {
    grid-template-columns: 1fr;
  }

  .ue-upkg__rail,
  .ue-upkg__cta {
    border: 0;
    align-items: flex-start;
  }

  .ue-upkg__cta {
    align-items: stretch;
  }

  .ue-upkg__from {
    text-align: left;
  }
}
