/* Services redesign — prototype comparison page */

.svx-page {
  background: transparent;
}

.svx-proto {
  border-bottom: 1px solid rgb(0 94 184 / 0.18);
  background: linear-gradient(90deg, rgb(0 94 184 / 0.1), rgb(0 163 224 / 0.08));
}

.svx-proto__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.svx-proto__text {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #00386e;
}

.dark .svx-proto__text {
  color: #bae6fd;
}

.svx-proto__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #005eb8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.dark .svx-proto__link {
  color: #7dd3fc;
}

/* Hero — match flights cinematic band */
.svx-hero-band.hero-cinematic {
  position: relative;
  z-index: 1;
  min-height: clamp(18rem, 42vw, 26rem);
  margin: 0 0 0.25rem;
  color: #fff;
}

.svx-hero-band .hero-cinematic__media-wrap,
.svx-hero-band .hero-cinematic__overlay,
.svx-hero-band .hero-cinematic__orb,
.svx-hero-band .hero-cinematic__grain {
  z-index: 0;
}

.svx-hero-band .hero-cinematic__content {
  z-index: 1;
}

.svx-hero-band__content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1536px;
  min-height: inherit;
  margin: 0 auto;
  padding: 2rem 1rem 2.35rem;
}

.svx-hero {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  width: 100%;
}

.svx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: rgb(186 230 253);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.35);
}

.svx-hero__title {
  margin: 0;
  max-width: 14ch;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgb(0 0 0 / 0.45);
}

.svx-hero__lead {
  margin: 0.9rem 0 0;
  max-width: 38rem;
  color: rgb(226 232 240 / 0.92);
  font-size: 1.02rem;
  line-height: 1.55;
  text-shadow: 0 1px 14px rgb(0 0 0 / 0.4);
}

@media (max-width: 639px) {
  .svx-hero-band__content {
    padding: 1.5rem 1rem 1.85rem;
  }

  .svx-hero__title {
    max-width: 12ch;
  }
}

/* Filters */
.svx-filters-wrap {
  position: sticky;
  top: var(--header-height, 4.25rem);
  z-index: 30;
  border-bottom: 1px solid rgb(148 163 184 / 0.28);
  background: rgb(243 248 252 / 0.92);
  backdrop-filter: blur(12px);
}

.dark .svx-filters-wrap {
  background: rgb(10 16 24 / 0.92);
  border-bottom-color: rgb(71 85 105 / 0.55);
}

.svx-filters {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.svx-filters::-webkit-scrollbar { display: none; }

.svx-filter {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid rgb(148 163 184 / 0.4);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.75);
  color: #334155;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.svx-filter:hover {
  border-color: rgb(0 94 184 / 0.45);
  color: #00386e;
}

.svx-filter.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #005eb8 0%, #00a3e0 100%);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgb(0 94 184 / 0.55);
}

.dark .svx-filter {
  background: rgb(15 23 42 / 0.7);
  border-color: rgb(71 85 105 / 0.7);
  color: #cbd5e1;
}

.dark .svx-filter.is-active {
  color: #fff;
}

/* List */
.svx-main {
  padding-top: 1.25rem;
  padding-bottom: 4rem;
}

.svx-count {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.svx-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.svx-row {
  appearance: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  border: 1px solid rgb(185 212 234 / 0.9);
  border-radius: 1rem;
  background: var(--gradient-surface, linear-gradient(145deg, #f7fbfe 0%, #eef5fb 48%, #e8f2fa 100%));
  padding: 0.95rem 1rem;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms var(--motion-spring, cubic-bezier(0.22, 1, 0.36, 1)), box-shadow 180ms ease;
}

.svx-row:hover {
  border-color: rgb(0 94 184 / 0.4);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover, 0 16px 32px -8px rgb(0 94 184 / 0.18));
}

.svx-row.is-hidden {
  display: none;
}

.svx-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  flex-shrink: 0;
}

.svx-row__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
}

.svx-row__title {
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f2744;
  letter-spacing: -0.015em;
}

.dark .svx-row__title {
  color: #f1f5f9;
}

.svx-row__zone {
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
}

.svx-row__summary {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #64748b;
}

.dark .svx-row__summary {
  color: #94a3b8;
}

.svx-row__chevron {
  display: flex;
  color: #005eb8;
  opacity: 0.7;
  transition: transform 180ms ease, opacity 180ms ease;
}

.svx-row__chevron svg {
  width: 1.15rem;
  height: 1.15rem;
}

.svx-row:hover .svx-row__chevron {
  opacity: 1;
  transform: translateX(3px);
}

.dark .svx-row {
  border-color: rgb(71 85 105 / 0.65);
}

.svx-empty {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px dashed rgb(148 163 184 / 0.5);
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

.svx-empty.hidden {
  display: none;
}

/* Assistance */
.svx-assist {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #00386e 0%, #005eb8 55%, #00a3e0 100%);
  color: #fff;
  box-shadow: 0 18px 36px -16px rgb(0 56 110 / 0.55);
}

.svx-assist__title {
  margin: 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.svx-assist__desc {
  margin: 0.4rem 0 0;
  max-width: 38rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgb(232 246 255 / 0.92);
}

.svx-assist__btn {
  appearance: none;
  border: 0;
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.18);
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.svx-assist__btn:hover {
  background: rgb(255 255 255 / 0.28);
  transform: translateY(-1px);
}

/* Detail modal (centered on desktop; sheet on small screens) */
.svx-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.svx-drawer.hidden {
  display: none;
}

.svx-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 0.58);
  backdrop-filter: blur(5px);
  animation: svx-fade-in 180ms ease;
}

.svx-drawer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 36rem);
  max-height: min(88vh, 42rem);
  border-radius: 1.25rem;
  border: 1px solid rgb(185 212 234 / 0.95);
  background: #f7fbfe;
  box-shadow: 0 28px 56px -18px rgb(0 56 110 / 0.42);
  animation: svx-modal-in 260ms var(--motion-spring, cubic-bezier(0.22, 1, 0.36, 1));
  overflow: hidden;
}

.dark .svx-drawer__panel {
  background: #0f172a;
  border-color: rgb(71 85 105 / 0.7);
}

.svx-drawer__header {
  position: relative;
  flex-shrink: 0;
  padding: 1.45rem 1.4rem 1.15rem;
  background: linear-gradient(145deg, rgb(0 94 184 / 0.14), rgb(0 163 224 / 0.06));
  border-bottom: 1px solid rgb(185 212 234 / 0.7);
}

.dark .svx-drawer__header {
  border-bottom-color: rgb(71 85 105 / 0.6);
}

.svx-drawer__close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 0.65rem;
  background: rgb(255 255 255 / 0.55);
  color: #64748b;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.svx-drawer__close:hover {
  background: #fff;
  color: #0f172a;
}

.dark .svx-drawer__close {
  background: rgb(15 23 42 / 0.45);
}

.svx-drawer__close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.svx-drawer__intro {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-right: 2.25rem;
}

.svx-drawer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -8px rgb(0 94 184 / 0.35);
}

.svx-drawer__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #005eb8;
}

.svx-drawer__title {
  margin: 0.3rem 0 0;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f2744;
  line-height: 1.2;
}

.dark .svx-drawer__title {
  color: #f8fafc;
}

.svx-drawer__zone {
  display: inline-flex;
  margin-top: 0.5rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.svx-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.3rem 1.4rem 1.6rem;
}

.svx-drawer__section {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #005eb8;
}

.svx-drawer__section + .svx-drawer__section,
#svx-drawer-details .svx-drawer__section {
  margin-top: 1.25rem;
}

.svx-drawer__desc {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
}

.dark .svx-drawer__desc {
  color: #cbd5e1;
}

.svx-drawer__note {
  margin: 1.35rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: rgb(0 94 184 / 0.06);
  border: 1px solid rgb(0 94 184 / 0.12);
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
}

.svx-feature {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #334155;
}

.dark .svx-feature {
  color: #cbd5e1;
}

.svx-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  border-radius: 999px;
  background: rgb(0 94 184 / 0.12);
  color: #005eb8;
  flex-shrink: 0;
}

.svx-feature__icon svg {
  width: 0.7rem;
  height: 0.7rem;
}

.svx-rate-table {
  margin-top: 0.65rem;
  border: 1px solid rgb(185 212 234 / 0.9);
  border-radius: 0.85rem;
  overflow: hidden;
}

.svx-rate-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
}

.svx-rate-row--alt {
  background: rgb(0 94 184 / 0.05);
}

.svx-rate-row__price {
  font-weight: 700;
  color: #00386e;
  white-space: nowrap;
}

.dark .svx-rate-row__price {
  color: #7dd3fc;
}

.svx-penalty {
  margin-top: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgb(185 212 234 / 0.9);
  background: #fff;
}

.dark .svx-penalty {
  background: rgb(15 23 42 / 0.55);
  border-color: rgb(71 85 105 / 0.65);
}

.svx-penalty__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.svx-penalty__note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.svx-drawer-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: #64748b;
}

@keyframes svx-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes svx-modal-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 639px) {
  .svx-drawer {
    align-items: flex-end;
    padding: 0;
  }

  .svx-drawer__panel {
    width: 100%;
    max-height: min(90vh, 42rem);
    border-radius: 1.15rem 1.15rem 0 0;
    animation-name: svx-sheet-in;
  }

  @keyframes svx-sheet-in {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .svx-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .svx-row__chevron {
    display: none;
  }
}
