:root {
  --primary: #0d47a1;
  --primary-light: #1e5bb8;
  --white: #ffffff;
  --bg-soft: #f4f7fb;
  --text-dark: #0b1c3b;
  --text-muted: #52627a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--bg-soft);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.95) 0%, rgba(13, 71, 161, 0.8) 60%, rgba(13, 71, 161, 0.65) 100%);
  color: var(--white);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
  z-index: 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 6vw;
  position: relative;
  z-index: 1;
}

.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 110px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 2rem 6vw 0;
  position: relative;
  z-index: 1;
}

.hero-video {
  min-height: 100vh;
  grid-template-columns: 1fr;
  padding: 0;
  overflow: hidden;
  align-items: center;
  position: relative;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-video .hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 8vw 6rem;
  max-width: 720px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.hero-store-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-playstore-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.22s ease, opacity 0.7s ease, box-shadow 0.22s ease;
}

.hero-playstore-badge:hover {
  transform: scale(1.05);
}

.hero-playstore-badge img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.22));
}

body.hero-loaded .hero-playstore-badge {
  opacity: 1;
  transform: translateY(0);
}

.hero-appstore-badge {
  cursor: default;
  position: relative;
  top: -14px;
}

.hero-appstore-badge img {
  height: 90px;
}

.hero-video .hero-content-simple .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-video .hero-content-simple h1 {
  color: #ffffff;
}

body.hero-loaded .hero-video .hero-content,
body.hero-loaded .hero-video .hero-overlay {
  opacity: 1;
}

body.hero-loaded .hero-video .hero-content {
  transform: translateY(0);
}

.app-download-showcase {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  padding: 0 6vw 4.5rem;
}

.app-download-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 16%, rgba(27, 103, 255, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 249, 255, 0.88));
  box-shadow: 0 28px 80px rgba(15, 46, 108, 0.18);
  backdrop-filter: blur(18px);
}

.app-download-copy {
  padding: 8px 8px 8px 12px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(27, 103, 255, 0.10);
  color: #0f5bff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.app-download-copy h2 {
  margin: 16px 0 10px;
  color: #102544;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.08;
}

.app-download-copy p {
  margin: 0;
  color: #61718f;
  font-size: 1rem;
  line-height: 1.7;
}

.app-download-playstore {
  display: inline-flex;
  margin-top: 18px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.app-download-playstore:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 14px 22px rgba(15, 46, 108, 0.18));
}

.app-download-playstore img {
  display: block;
  height: 50px;
  width: auto;
}

.app-download-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(15, 46, 108, 0.18);
  transform: translateZ(0);
}

.app-download-banner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: inherit;
}

.app-download-banner-card img {
  display: block;
  width: 100%;
  height: auto;
}

.app-download-banner-hotspot {
  position: absolute;
  left: 3.8%;
  bottom: 20.8%;
  width: 16%;
  height: 11%;
  border-radius: 8px;
  outline-offset: 4px;
}

.app-download-banner-hotspot:focus-visible {
  outline: 3px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(15, 91, 255, 0.34);
}

@media (max-width: 900px) {
  .hero-video .hero-content {
    padding: 6rem 8vw 5rem;
    text-align: center;
    margin: 0 auto;
  }

  .hero-video .hero-actions {
    justify-content: center;
  }

  .app-download-showcase {
    margin-top: -44px;
    padding: 0 18px 3.5rem;
  }

  .app-download-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
    border-radius: 28px;
  }

  .app-download-copy {
    order: 2;
    padding: 4px 4px 8px;
    text-align: center;
  }

  .app-download-playstore {
    justify-content: center;
  }

  .app-download-banner-card {
    order: 1;
    border-radius: 22px;
  }
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 800;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.section {
  padding: 5rem 6vw;
}

.order-terms-body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, #0f5ec9 0, #2f84e8 9vw, #eaf4ff 9vw, #eaf4ff calc(100% - 9vw), #2f84e8 calc(100% - 9vw), #0f5ec9 100%);
}

.order-terms-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(28px, 1fr) minmax(320px, 760px) minmax(28px, 1fr);
  gap: 0;
  align-items: stretch;
}

.order-terms-rail {
  position: relative;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.65) 0 2px, transparent 2.5px) center/18px 24px repeat-y,
    linear-gradient(180deg, #1b6fdb, #58a6ff);
  opacity: 1;
}

.order-terms-paper {
  background: #ffffff;
  padding: 34px 42px 46px;
  box-shadow:
    0 30px 70px rgba(15, 72, 161, 0.18),
    0 10px 22px rgba(15, 72, 161, 0.08);
  border-left: 1px solid rgba(13, 71, 161, 0.06);
  border-right: 1px solid rgba(13, 71, 161, 0.06);
  position: relative;
}

.order-terms-paper::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 20px;
  width: 3px;
  background: linear-gradient(180deg, rgba(13, 71, 161, 0.1), rgba(13, 71, 161, 0.22), rgba(13, 71, 161, 0.1));
  border-radius: 999px;
}

.order-terms-banner {
  margin: 8px 0 24px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 72, 161, 0.16);
}

.order-terms-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1792 / 1024;
  object-fit: contain;
  background: #eef6ff;
  display: block;
}

.order-terms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.order-terms-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0d47a1 !important;
  background: #ffffff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: 0 12px 26px rgba(15, 94, 201, 0.16);
  position: sticky;
  top: 18px;
  z-index: 3;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.order-terms-back:hover {
  background: #f7fbff;
  border-color: rgba(13, 71, 161, 0.22);
  box-shadow: 0 16px 32px rgba(15, 94, 201, 0.22);
  transform: translateY(-1px);
}

.order-terms-back:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 8px 18px rgba(15, 94, 201, 0.14);
}

.order-terms-back:focus-visible {
  outline: 3px solid rgba(47, 132, 232, 0.22);
  outline-offset: 3px;
}

.order-terms-back span {
  color: #0d47a1 !important;
}

.order-terms-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #0d47a1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.order-terms-header h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.14;
  margin-bottom: 2px;
}

.order-terms-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #1e5bb8;
  font-weight: 800;
  margin-bottom: 14px;
}

.order-terms-content {
  margin-top: 34px;
  padding: 28px 0 8px;
  border-top: 1px dashed rgba(13, 71, 161, 0.24);
  border-bottom: 1px dashed rgba(13, 71, 161, 0.24);
}

.order-terms-lead {
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.order-terms-list {
  padding-left: 1.4rem;
  display: grid;
  gap: 14px;
}

.order-terms-list li {
  color: #163252;
  font-size: 1rem;
}

.order-terms-action-card {
  margin-top: 28px;
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, #f7fbff, #edf6ff);
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.order-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 600;
  color: #163252;
  cursor: pointer;
}

.order-terms-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #0d47a1;
}

.order-terms-continue {
  margin-top: 18px;
  min-width: 220px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #0f5ec9, #42a5f5);
  color: #ffffff;
  border: 1px solid rgba(10, 86, 191, 0.16);
  box-shadow:
    0 20px 34px rgba(15, 94, 201, 0.24),
    0 8px 16px rgba(15, 94, 201, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.order-terms-continue:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow:
    0 24px 38px rgba(15, 94, 201, 0.28),
    0 10px 20px rgba(15, 94, 201, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: saturate(1.05);
}

.order-terms-continue:active:not([disabled]) {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 10px 18px rgba(15, 94, 201, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.order-terms-continue[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  background: linear-gradient(135deg, #7fa9dc, #a9c7eb);
  box-shadow: none;
}

@media (max-width: 768px) {
  .order-terms-body {
    background: linear-gradient(180deg, #1a70dc, #eaf4ff 30%, #eef6ff 100%);
  }

  .order-terms-shell {
    grid-template-columns: 1fr;
  }

  .order-terms-rail {
    display: none;
  }

  .order-terms-paper {
    padding: 24px 18px 30px;
  }

  .order-terms-paper::before {
    left: 12px;
  }

  .order-terms-banner {
    margin: 4px 0 18px;
    border-radius: 18px;
  }

  .order-terms-banner img {
    height: auto;
  }

  .order-terms-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-terms-continue {
    width: 100%;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.6rem;
}

.section-header p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
}

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

.category-sections {
  display: grid;
  gap: 1.6rem;
}

.service-category-block {
  background: #ffffff;
  border-radius: 24px;
  padding: 1rem;
  border: 1px solid rgba(13, 71, 161, 0.08);
  box-shadow: 0 18px 36px rgba(13, 31, 63, 0.06);
}

.service-category-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 0.1rem 0.2rem 0;
}

.service-category-bar {
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0d47a1 0%, #2c77e5 100%);
  flex: 0 0 auto;
}

.service-category-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #102544;
  letter-spacing: -0.01em;
}

.service-category-block .category-grid {
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 0.95rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.how-it-works {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.95) 0%, rgba(13, 71, 161, 0.82) 55%, rgba(13, 71, 161, 0.7) 100%) !important;
  color: #ffffff;
}

.how-it-works .section-header h2,
.how-it-works .section-header p {
  color: #ffffff;
}

.how-it-works .step-card {
  background: rgba(8, 32, 74, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 35px rgba(6, 18, 45, 0.25);
  color: #ffffff;
}

.how-it-works .step-card p {
  color: rgba(255, 255, 255, 0.8);
}

.how-it-works .step-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.benefits {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.95) 0%, rgba(13, 71, 161, 0.82) 55%, rgba(13, 71, 161, 0.7) 100%) !important;
  color: #ffffff;
}

.benefits .section-header h2,
.benefits .section-header p {
  color: #ffffff;
}

.benefits .benefit-card {
  background: rgba(8, 32, 74, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 35px rgba(6, 18, 45, 0.25);
  color: #ffffff;
}

.benefits .benefit-icon-image {
  background: rgba(255, 255, 255, 0.18);
}

.step-icon-image {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
}

.step-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card,
.benefit-card,
.step-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(13, 31, 63, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.category-card {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.categories .category-card.service-tile {
  padding: 0.95rem 0.95rem 1.1rem;
  display: block;
  opacity: 1;
  animation: none;
  text-align: center;
  max-width: 270px;
  margin: 0 auto;
}

.categories .category-card.service-tile .category-media {
  margin-bottom: 0.8rem;
}

.categories .category-card.service-tile h3 {
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
  margin: 0 0 0.36rem;
  letter-spacing: -0.01em;
}

.categories .category-card.service-tile::after {
  content: attr(data-description);
  display: block;
  margin: 0 auto;
  max-width: 21ch;
  font-size: 0.76rem;
  line-height: 1.42;
  color: #6b7c97;
  font-weight: 500;
}

.category-card:hover,
.benefit-card:hover,
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13, 31, 63, 0.12), 0 0 0 1px rgba(30, 91, 184, 0.18);
}

.category-icon,
.benefit-icon,
.step-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.category-card h3,
.benefit-card h3,
.step-card h3 {
  font-size: 1.05rem;
}

.category-media {
  border-radius: 20px;
  overflow: visible;
  margin-bottom: 0.9rem;
  aspect-ratio: auto;
  min-height: 112px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(13, 71, 161, 0.04);
}

.category-media img {
  width: 84px;
  height: 84px;
  max-height: none;
  object-fit: contain;
  filter: none;
}

.category-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 71, 161, 0.9);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 600;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  letter-spacing: 0.4px;
}

.benefit-icon-image {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.8rem;
  border-radius: 18px;
  background: #eef3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
}

.benefit-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-card p {
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-grid .service-tile.reveal.reveal-from-left {
  transform: translateX(-72px) translateY(10px) scale(0.985);
}

.category-grid .service-tile.reveal.reveal-from-right {
  transform: translateX(72px) translateY(10px) scale(0.985);
}

.category-grid .service-tile.reveal.visible.reveal-from-left,
.category-grid .service-tile.reveal.visible.reveal-from-right {
  transform: translateX(0) translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .category-grid .service-tile.reveal.reveal-from-left,
  .category-grid .service-tile.reveal.reveal-from-right {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .category-grid,
  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-category-block .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

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

@media (max-width: 820px) {
  .category-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .categories .category-card.service-tile {
    max-width: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.page-header {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.95) 0%, rgba(13, 71, 161, 0.8) 60%, rgba(13, 71, 161, 0.65) 100%);
  color: var(--white);
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  grid-template-areas:
    "nav nav"
    "hero title";
  column-gap: clamp(1.4rem, 2.4vw, 2.2rem);
  row-gap: 1rem;
  align-items: center;
}

.services-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background-size: cover;
  background-position: center 40%;
  box-shadow: inset 0 -160px 140px rgba(13, 71, 161, 0.6);
  display: flex;
  flex-direction: column;
}

.services-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services-hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 71, 161, 0.78), rgba(13, 71, 161, 0.45), rgba(13, 71, 161, 0.15));
  z-index: 1;
}

.services-hero-track {
  display: flex;
  width: 1500%;
  height: 100%;
  animation: services-hero-swipe 80s infinite ease-in-out;
}

.services-hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.services-hero .navbar,
.services-hero .page-title {
  position: relative;
  z-index: 2;
}

.services-hero .page-title {
  margin-top: auto;
  padding-bottom: 2.6rem;
}

@keyframes services-hero-swipe {
  0% { transform: translateX(0); }
  6% { transform: translateX(0); }
  10% { transform: translateX(-100%); }
  16% { transform: translateX(-100%); }
  20% { transform: translateX(-200%); }
  26% { transform: translateX(-200%); }
  30% { transform: translateX(-300%); }
  36% { transform: translateX(-300%); }
  40% { transform: translateX(-400%); }
  46% { transform: translateX(-400%); }
  50% { transform: translateX(-500%); }
  56% { transform: translateX(-500%); }
  60% { transform: translateX(-600%); }
  66% { transform: translateX(-600%); }
  70% { transform: translateX(-700%); }
  76% { transform: translateX(-700%); }
  80% { transform: translateX(-800%); }
  86% { transform: translateX(-800%); }
  90% { transform: translateX(-900%); }
  96% { transform: translateX(-900%); }
  100% { transform: translateX(0); }
}

.page-header::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
  z-index: 0;
}

.page-header .navbar {
  grid-area: nav;
}

.page-title {
  grid-area: title;
  padding: 0 6vw 1.5rem 0;
  position: relative;
  z-index: 1;
  max-width: 780px;
  align-self: center;
}

.service-hero {
  grid-area: hero;
  position: relative;
  padding: 0 0 1rem 6vw;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 1;
}

.service-hero::before {
  display: none;
}

.service-hero img {
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 40px rgba(7, 31, 77, 0.24);
}

@media (max-width: 900px) {
  .page-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nav"
      "hero"
      "title";
    row-gap: 0.8rem;
  }

  .service-hero {
    padding: 0 6vw;
    justify-content: center;
  }

  .page-title {
    padding: 0 6vw 1.5rem;
    max-width: 100%;
  }
}

.back-link {
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  background: var(--white);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  display: grid;
  gap: 0.35rem;
}

.stat-icon {
  font-size: 1.4rem;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.stat-icon i {
  font-size: 1.4rem;
}

.stat {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
}

.hero-media {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.banner-slider {
  position: relative;
  margin: 3rem 6vw 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-gallery {
  margin: 3rem 6vw 0;
}

.banner-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.banner-row + .banner-row {
  margin-top: 16px;
}

.banner-row-left {
  animation: banner-row-left 80s linear infinite;
}

.banner-row-right {
  animation: banner-row-right 80s linear infinite;
}

.banner-grid-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.banner-grid-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.banner-track {
  display: flex;
  width: 500%;
  animation: banner-swipe 90s infinite ease-in-out;
}

.banner-slide {
  width: 100%;
  padding: 2.4rem 2.6rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
  color: var(--white);
}

.banner-slide h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.banner-slide p {
  color: rgba(255, 255, 255, 0.85);
}

.banner-tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.banner-image {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  min-height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.image-card.small {
  max-width: 280px;
  margin-left: auto;
}

.image-placeholder {
  border: 2px dashed rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
}

.image-placeholder.tall {
  min-height: 320px;
  border-color: rgba(13, 71, 161, 0.35);
  color: var(--primary);
}

.image-placeholder.light {
  border-color: rgba(13, 71, 161, 0.25);
  color: var(--primary);
  background: rgba(13, 71, 161, 0.05);
  min-height: 160px;
}

.image-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.playstore-cta {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.playstore-badge img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-card-slider {
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  position: relative;
}

.hero-card-track {
  display: flex;
  width: 1500%;
  height: 100%;
  animation: hero-card-swipe 80s infinite ease-in-out;
}

.hero-card-slide {
  width: 100%;
  height: 100%;
}

.hero-card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes hero-card-swipe {
  0% { transform: translateX(0); }
  6% { transform: translateX(0); }
  10% { transform: translateX(-100%); }
  16% { transform: translateX(-100%); }
  20% { transform: translateX(-200%); }
  26% { transform: translateX(-200%); }
  30% { transform: translateX(-300%); }
  36% { transform: translateX(-300%); }
  40% { transform: translateX(-400%); }
  46% { transform: translateX(-400%); }
  50% { transform: translateX(-500%); }
  56% { transform: translateX(-500%); }
  60% { transform: translateX(-600%); }
  66% { transform: translateX(-600%); }
  70% { transform: translateX(-700%); }
  76% { transform: translateX(-700%); }
  80% { transform: translateX(-800%); }
  86% { transform: translateX(-800%); }
  90% { transform: translateX(-900%); }
  96% { transform: translateX(-900%); }
  100% { transform: translateX(0); }
}

.section {
  padding: 4.5rem 6vw;
  background: var(--white);
}

.section:nth-of-type(even) {
  background: var(--bg-soft);
}

.section-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
}

.mitra-highlight {
  background: #ffd54f;
  border-radius: 18px;
  padding: 18px 20px;
  max-width: 520px;
  margin: 0 auto 18px;
  text-align: left;
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
}

.mitra-highlight h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.mitra-highlight p {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.7);
}

.mitra-list {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.mitra-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 14px;
  background: #ffd54f;
  border-radius: 18px;
  padding: 14px 16px;
  color: #1b1b1b;
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
}

.mitra-card img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}

.mitra-card .chev {
  font-size: 1.4rem;
  font-weight: 700;
}

.mitra-intro {
  max-width: 820px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  display: grid;
  gap: 12px;
  font-size: 1rem;
}

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

.mitra-card-white {
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.08);
  color: inherit;
  text-decoration: none;
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mitra-card-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(13, 71, 161, 0.14);
  border-color: rgba(13, 71, 161, 0.18);
}

.mitra-card-white img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.mitra-card-white h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.mitra-card-white p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.mitra-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mitra-name-link {
  background: none;
  border: none;
  padding: 0;
  margin: 6px 0 2px;
  color: #0d47a1;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
}

.mitra-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.mitra-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d47a1, #2c77e5);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px rgba(13, 71, 161, 0.18);
}

.mitra-rating {
  font-weight: 700;
  color: #f6a800;
}

.mitra-distance {
  font-weight: 600;
  color: #0d47a1;
}

.service-price-list {
  display: grid;
  gap: 12px;
}
.service-price-item {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  background: rgba(13, 71, 161, 0.04);
  display: grid;
  gap: 6px;
}
.service-price-title {
  font-weight: 700;
}
.service-price-value {
  font-weight: 800;
  color: #0d47a1;
}
.service-price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-select-list {
  display: grid;
  gap: 14px;
}
.service-select-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 2px solid transparent;
  box-shadow: 0 10px 20px rgba(13, 71, 161, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-select-card.selected {
  border-color: var(--primary);
  box-shadow: 0 14px 24px rgba(13, 71, 161, 0.18);
  transform: translateY(-2px);
}
.service-select-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.service-select-title {
  font-weight: 700;
  font-size: 1.02rem;
}
.service-select-price {
  font-weight: 800;
  color: var(--primary);
}
.service-select-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 6px;
}
.service-select-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.service-select-toggle {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.service-qty {
  display: none;
  align-items: center;
  gap: 8px;
  background: #f1f5ff;
  border-radius: 999px;
  padding: 6px 10px;
}
.service-qty button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}
.service-fixed-note {
  display: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.service-select-footer {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.service-total-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.service-total-value {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
}
.service-empty {
  color: var(--text-muted);
}
.service-empty-note {
  color: #94a3b8;
  font-size: 0.85rem;
}

.nav-auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-user {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 7px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  backdrop-filter: blur(2px);
}

.nav-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-btn.ghost {
  background: #fff;
  color: #0d47a1;
  border: 1px solid rgba(13, 71, 161, 0.35);
}

.nav-auth .nav-link {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  white-space: nowrap;
}

.nav-auth .nav-link:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 1;
}

.nav-chat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-badge {
  padding: 2px 8px;
  font-size: 0.7rem;
}

@media (max-width: 1200px) {
  .nav-auth {
    gap: 8px;
  }

  .nav-auth .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .nav-user {
    display: none;
  }

  .nav-auth .nav-link {
    font-size: 0.86rem;
  }

  .nav-btn {
    padding: 7px 12px;
  }
}

.btn.ghost {
  background: #fff;
  color: #0d47a1;
  border: 1px solid rgba(13, 71, 161, 0.35);
}

.btn.disabled {
  pointer-events: none;
  opacity: 0.55;
}

/* === Professional Order / Checkout / Payment UI === */
.flow-container {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 6px 0 12px;
}

.flow-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(13, 71, 161, 0.2);
  background: #f2f6ff;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.85rem;
}

.flow-pill.active {
  background: #0d47a1;
  color: #fff;
}

.order-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.order-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  box-shadow: 0 14px 30px rgba(13, 71, 161, 0.08);
}

.order-card h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.item-table {
  display: grid;
  gap: 10px;
}

.item-row-pro {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid rgba(13, 71, 161, 0.08);
}

.order-history-row {
  grid-template-columns: 1.4fr 0.9fr 0.8fr;
  gap: 14px;
  align-items: center;
}

.order-history-main strong {
  font-size: 1rem;
}

.order-history-main .price {
  font-weight: 700;
  color: #0d47a1;
}

.order-history-meta {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.order-history-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.btn.btn-mini {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 10px;
  line-height: 1;
}

.checkout-cta {
  width: auto;
  min-width: 190px;
  min-height: 48px;
  margin-top: 1rem;
  padding: 0.78rem 1.3rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #2a66d9 0%, #0d47a1 100%);
  color: #fff;
  border: 1px solid rgba(13, 71, 161, 0.18);
  box-shadow:
    0 18px 32px rgba(13, 71, 161, 0.24),
    0 8px 14px rgba(13, 71, 161, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease;
}

.checkout-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 38px rgba(13, 71, 161, 0.28),
    0 12px 18px rgba(13, 71, 161, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: saturate(1.06);
}

.checkout-cta:active {
  transform: translateY(1px);
  box-shadow:
    0 10px 18px rgba(13, 71, 161, 0.2),
    inset 0 3px 8px rgba(10, 37, 84, 0.18);
}

.checkout-cta:disabled,
.checkout-cta[disabled] {
  background: linear-gradient(180deg, #d9e4fb 0%, #bfd0f2 100%);
  color: #5f77a4;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 10px 18px rgba(148, 163, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: none;
  cursor: not-allowed;
}

.cta-row.compact {
  gap: 8px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0d47a1;
  background: rgba(13, 71, 161, 0.1);
  border: 1px solid rgba(13, 71, 161, 0.2);
}

@media (max-width: 920px) {
  .order-history-row {
    grid-template-columns: 1fr;
  }
  .order-history-actions {
    justify-items: start;
  }
}

.item-row-pro strong {
  font-size: 0.98rem;
}

.item-row-pro .price {
  font-weight: 700;
  color: #0d47a1;
}

.qty-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-box button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(13, 71, 161, 0.25);
  background: #fff;
  font-weight: 800;
  color: #0d47a1;
}

.total-bar {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #0d47a1;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-grid label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.field-grid input,
.field-grid textarea {
  border: 1px solid rgba(13, 71, 161, 0.15);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
}

.field-grid .full {
  grid-column: 1 / -1;
}

.location-tools {
  display: grid;
  gap: 8px;
}

.location-tools-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-tools .map-info {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}

.summary-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f9ff;
  border: 1px solid rgba(13, 71, 161, 0.12);
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 18px 0 12px;
}

.order-card .section-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.order-card .meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.order-card .meta.laundry-note {
  color: #0f172a !important;
}

.order-history-row .meta,
.order-history-main .meta,
.order-history-meta .meta {
  color: #111827 !important;
}

.order-card.highlight .payment-box-pro {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.payment-inline.hidden {
  display: none;
}

.payment-inline {
  margin-top: 12px;
}

.order-card.highlight .payment-methods {
  margin-top: 10px;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.order-card.highlight .payment-method-btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card.highlight .payment-method-btn.active {
  background: #ffffff;
  color: #0d47a1;
  border-color: #ffffff;
  box-shadow: 0 8px 16px rgba(13, 71, 161, 0.18);
}

.order-card.highlight .payment-box-pro {
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.order-card.highlight .payment-box-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.order-card.highlight .payment-qr {
  width: 230px;
  max-width: 100%;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(13, 71, 161, 0.18);
}

.payment-summary-grid {
  display: grid;
  gap: 10px;
}

.summary-section {
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
}

.summary-section h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #0d47a1;
}

.summary-list {
  display: grid;
  gap: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.summary-row strong {
  color: #0d47a1;
}

.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
  padding: 6px;
  border-radius: 999px;
  background: #f1f6ff;
  border: 1px solid rgba(13, 71, 161, 0.18);
}

.payment-method-btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  margin-bottom: 16px;
}

.payment-after {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-after.show {
  display: grid;
}

@media (max-width: 920px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .payment-after {
    grid-template-columns: 1fr;
  }
}

.payment-method-btn.active {
  background: #0d47a1;
  color: #fff;
  border-color: #0d47a1;
}

.payment-box-pro {
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 16px;
  padding: 16px;
  min-height: 160px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(13, 31, 63, 0.08);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  animation: payment-fade-up 0.45s ease;
}

.payment-box-pro .meta {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.payment-box-pro .btn {
  justify-self: start;
}

.payment-box-pro .btn.ghost {
  background: #f1f6ff;
  color: #0d47a1;
  border-color: rgba(13, 71, 161, 0.25);
}

.payment-badge {
  align-self: start;
  justify-self: start;
  background: linear-gradient(135deg, #0d47a1, #1e88e5);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.payment-badge-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.payment-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.payment-qr-wrap {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f6f9ff;
  border: 1px solid rgba(13, 71, 161, 0.12);
}

.payment-qr-placeholder {
  width: 100%;
  min-height: 160px;
  border-radius: 12px;
  border: 1px dashed rgba(13, 71, 161, 0.25);
  background: #ffffff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  color: #0d47a1;
  font-weight: 700;
}

.payment-info {
  display: grid;
  gap: 10px;
}

.payment-info-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f9ff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  font-size: 0.92rem;
}

.payment-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.payment-action-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  justify-content: center !important;
  text-align: center;
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.12),
    0 6px 12px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.payment-action-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.payment-action-btn:active {
  transform: translateY(1px);
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.12),
    inset 0 3px 8px rgba(15, 23, 42, 0.14);
}

.payment-action-btn--popup {
  background: linear-gradient(180deg, #56a6ff 0%, #1f78ea 100%);
  color: #ffffff;
  border-color: rgba(24, 103, 210, 0.35);
}

.payment-action-btn--popup:hover {
  box-shadow:
    0 18px 34px rgba(31, 120, 234, 0.28),
    0 8px 16px rgba(31, 120, 234, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.payment-action-btn--tab {
  background: linear-gradient(180deg, #204d9c 0%, #0e2f6d 100%);
  color: #ffffff;
  border-color: rgba(14, 47, 109, 0.35);
}

.payment-action-btn--tab:hover {
  box-shadow:
    0 18px 34px rgba(14, 47, 109, 0.28),
    0 8px 16px rgba(14, 47, 109, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.payment-action-btn--paid {
  background: linear-gradient(180deg, #32c36c 0%, #16954a 100%);
  color: #ffffff;
  border-color: rgba(22, 149, 74, 0.35);
}

.payment-action-btn--paid:hover {
  box-shadow:
    0 18px 34px rgba(22, 149, 74, 0.28),
    0 8px 16px rgba(22, 149, 74, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #0d47a1;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.25);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes payment-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .payment-box-grid {
    grid-template-columns: 1fr;
  }
}

.payment-box-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #0d47a1;
}

.payment-box-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  padding: 8px 12px;
  background: #f6f9ff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 12px;
}

.payment-code {
  font-family: "Courier New", "Courier", monospace;
  font-size: 1.1rem;
  letter-spacing: 0.8px;
  color: #0d47a1;
}

.payment-qr {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(13, 71, 161, 0.18);
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(13, 71, 161, 0.18);
}

.payment-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.payment-photo-grid img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(13, 71, 161, 0.12);
}

.payment-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 45, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.payment-modal.open {
  display: flex;
}

.payment-modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  width: min(420px, 92vw);
  box-shadow: 0 24px 50px rgba(13, 71, 161, 0.2);
  position: relative;
}

.payment-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: #f1f5ff;
  color: #0d47a1;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  cursor: pointer;
}

.payment-modal-title {
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 10px;
}

.payment-modal-body {
  display: grid;
  place-items: center;
  gap: 10px;
}

.payment-iframe {
  width: min(360px, 80vw);
  height: min(520px, 70vh);
  border: none;
  border-radius: 12px;
  background: #f5f7ff;
}

.payment-modal-foot {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.confirm-steps {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
}

.confirm-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  background: #f8faff;
  color: #102348;
}

.confirm-step-number {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #e6ecff;
  color: #0d47a1;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.confirm-step-title {
  font-weight: 700;
  color: #0d1f3f;
  margin-bottom: 4px;
}

.confirm-step-desc {
  font-size: 13px;
  color: #5b6f94;
}

.confirm-step.active {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.12), rgba(0, 194, 255, 0.08));
  border-color: rgba(13, 71, 161, 0.25);
}

.confirm-step.active .confirm-step-number {
  background: #0d47a1;
  color: #fff;
}

.confirm-step.done {
  background: #eefbf3;
  border-color: rgba(16, 185, 129, 0.35);
}

.confirm-step.done .confirm-step-number {
  background: #16a34a;
  color: #fff;
}

.modal-va {
  width: 100%;
  display: grid;
  gap: 12px;
}

.modal-va-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f8ff;
  color: #0f1b3d;
  font-size: 14px;
}

.modal-va-row strong {
  font-weight: 700;
  color: #0d47a1;
}

.modal-va-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.invoice-paper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.07), 0 24px 34px rgba(11, 99, 206, 0.16);
}

.invoice-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: #0b63ce;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(11, 99, 206, 0.18);
}

.invoice-appbar h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}

.invoice-appbar-back,
.invoice-appbar-action {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
}

.invoice-appbar-action {
  cursor: pointer;
  font-family: inherit;
}

.invoice-appbar-back:hover,
.invoice-appbar-action:hover {
  background: rgba(255, 255, 255, 0.22);
}

.invoice-paper::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -16px;
  height: 42px;
  border-radius: 20px;
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.14);
  z-index: -1;
}

.invoice-receipt {
  padding: 24px 22px 18px;
}

.invoice-receipt-logo {
  width: 138px;
  margin: 0 auto;
}

.invoice-company {
  margin-top: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.invoice-title-divider,
.invoice-divider {
  color: #9aa3af;
  letter-spacing: 0.6px;
  font-size: 14px;
  line-height: 1;
}

.invoice-title-divider {
  width: 250px;
  margin: 16px auto;
  text-align: center;
}

.invoice-divider {
  margin: 18px 0;
}

.invoice-receipt-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.invoice-info-rows {
  display: grid;
  gap: 6px;
}

.invoice-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}

.invoice-info-row span {
  font-weight: 500;
  color: #0f172a;
}

.invoice-info-row strong {
  text-align: right;
  font-weight: 500;
  color: #0f172a;
}

.invoice-inline-pair {
  display: flex;
  align-items: flex-start;
  gap: 0;
  font-size: 14px;
  margin: 5px 0;
}

.invoice-inline-label {
  width: 82px;
  font-weight: 700;
  color: #0f172a;
}

.invoice-inline-colon {
  width: 14px;
  font-weight: 700;
  color: #0f172a;
}

.invoice-inline-value {
  flex: 1;
  color: #0f172a;
}

.invoice-block-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.invoice-block-value {
  font-size: 14px;
  color: #0f172a;
}

.invoice-item-row {
  display: grid;
  grid-template-columns: 6fr 2fr 4fr;
  gap: 12px;
  font-size: 14px;
  margin-top: 5px;
}

.invoice-item-row .center {
  text-align: center;
}

.invoice-item-row .right {
  text-align: right;
}

.invoice-total-card,
.invoice-address-card,
.invoice-summary-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
}

.invoice-total-row {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  gap: 12px;
  font-size: 14px;
}

.invoice-total-row strong {
  font-weight: 500;
  text-align: right;
}

.invoice-grand {
  color: #0f172a;
  padding-top: 10px;
  margin-top: 12px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.invoice-address-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.invoice-address-card p {
  font-size: 14px;
  color: #0f172a;
}

.invoice-printed {
  text-align: center;
  font-size: 12px;
  color: #0f172a;
}

.invoice-actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.invoice-action-btn {
  flex: 0 1 220px;
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid #1d4ed8;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.invoice-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
  filter: saturate(1.05);
}

.invoice-action-btn:active {
  transform: translateY(0);
}

.print-exclude {
  display: flex;
}

.invoice-footer-thanks,
.invoice-footer-powered,
.invoice-footer-stars {
  text-align: center;
  color: #0f172a;
}

.invoice-footer-thanks {
  font-size: 16px;
}

.invoice-footer-powered {
  margin-top: 4px;
  font-size: 13px;
}

.invoice-footer-stars {
  margin-top: 10px;
  font-size: 16px;
}

.invoice-paper-tail {
  height: 18px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0 6px 10px;
}

.invoice-paper-tail span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-soft);
}

body.pdf-export .print-exclude {
  display: none !important;
}

@media (max-width: 900px) {
  .invoice-paper {
    max-width: 100%;
  }

  .invoice-appbar {
    padding: 16px 18px;
  }

  .invoice-appbar h1 {
    font-size: 22px;
  }
}

.tracking-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.subtitle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.subtitle-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.order-detail-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.payment-cta {
  min-width: 220px;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #2a66d9 0%, #0d47a1 100%);
  color: #fff;
  border: 1px solid rgba(13, 71, 161, 0.18);
  box-shadow:
    0 18px 32px rgba(13, 71, 161, 0.24),
    0 8px 14px rgba(13, 71, 161, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.payment-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 38px rgba(13, 71, 161, 0.28),
    0 12px 18px rgba(13, 71, 161, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: saturate(1.06);
}

.payment-cta:active {
  transform: translateY(1px);
  box-shadow:
    0 10px 18px rgba(13, 71, 161, 0.2),
    inset 0 3px 8px rgba(10, 37, 84, 0.18);
}

.payment-cta:disabled,
.payment-cta[disabled] {
  background: linear-gradient(180deg, #d9e4fb 0%, #bfd0f2 100%);
  color: #5f77a4;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 10px 18px rgba(148, 163, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: none;
  cursor: not-allowed;
}

.payment-cta--compact {
  min-width: 170px;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border-radius: 16px;
  font-size: 0.96rem;
}

.compact-card {
  padding: 14px;
}

.compact-steps {
  padding: 10px 12px;
}

.compact-summary {
  padding: 10px 12px;
}

.timeline {
  display: grid;
  gap: 8px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.timeline-rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -6px;
  width: 2px;
  background: rgba(13, 71, 161, 0.18);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  background: #b8c7e6;
  border: 2px solid #e6ecfb;
}

.timeline-item.active .timeline-dot {
  background: #0d47a1;
  border-color: #0d47a1;
  box-shadow: 0 0 0 2px rgba(13, 71, 161, 0.12);
}

.timeline-content {
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  position: relative;
}

.timeline-title {
  font-weight: 700;
  color: #0d47a1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: #5b6a86;
  margin-top: 2px;
  line-height: 1.5;
  padding-right: 0;
}

.timeline-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #e9eef9;
  color: #0d47a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid rgba(13, 71, 161, 0.12);
}

.timeline-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.timeline-item.active .timeline-content {
  background: #f1f6ff;
  border-color: rgba(13, 71, 161, 0.22);
  box-shadow: 0 6px 16px rgba(13, 71, 161, 0.08);
}

.timeline-check {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6f6ec;
  color: #1b8f3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid #bfe7c9;
}

.timeline-check svg {
  width: 14px;
  height: 14px;
  display: block;
}

.pin-desc {
  color: #0d47a1 !important;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 600;
}

.timeline-current {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0d47a1;
  background: #e8f1ff;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(13, 71, 161, 0.2);
}

@media (max-width: 920px) {
  .tracking-top-grid {
    grid-template-columns: 1fr;
  }
  .order-detail-top {
    grid-template-columns: 1fr;
  }
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
  .timeline-rail::before {
    bottom: -4px;
  }
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0 8px;
  border-bottom: 1px dashed rgba(13, 71, 161, 0.2);
}

.summary-title {
  font-weight: 700;
  color: #0d47a1;
}

.summary-subtitle {
  font-size: 0.9rem;
  color: #5b6a86;
}

.provider-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: #e9eef9;
  border: 1px solid rgba(13, 71, 161, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.summary-box ul {
  margin: 0;
  padding-left: 18px;
}

.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.cta-row-centered {
  justify-content: center;
}

.cta-row .btn {
  min-width: 220px;
}

.payment-box-pro {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #f1f6ff;
  border: 1px dashed rgba(13, 71, 161, 0.35);
}

.profile-head {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.profile-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(13, 71, 161, 0.15);
  box-shadow: 0 10px 20px rgba(13, 71, 161, 0.1);
}

.avatar-upload {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(13, 71, 161, 0.2);
}

.avatar-upload input {
  display: none;
}

.profile-main h2 {
  margin: 0 0 4px;
}

.profile-main p {
  margin: 0 0 10px;
  color: var(--text-muted);
}

.map-box {
  margin-top: 14px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(13, 71, 161, 0.15);
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
}

.map-info {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meta {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #0f172a;
}

.laundry-note {
  color: #0f172a !important;
}

.payment-methods {
  display: flex;
  gap: 12px;
  margin: 12px 0;
}

.status-steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.status-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid rgba(13, 71, 161, 0.15);
  font-size: 0.85rem;
}

.status-step.active {
  background: #0d47a1;
  color: #fff;
}

.status-step .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffe7e7;
  color: #d62828;
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 6px;
  border: 1px solid rgba(214, 40, 40, 0.2);
}

.badge-hot {
  background: #ffe7e7;
  color: #d62828;
}

.order-section {
  margin-top: 12px;
}

.order-section h3 {
  margin: 0 0 8px;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.chat-status {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(13, 71, 161, 0.18);
}

.chat-messages {
  height: 360px;
  overflow-y: auto;
  padding: 12px;
  border-radius: 16px;
  background: #f7f9ff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-empty {
  color: var(--text-muted);
  text-align: center;
}

.chat-bubble {
  max-width: 70%;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.08);
  box-shadow: 0 8px 16px rgba(13, 71, 161, 0.06);
  align-self: flex-start;
  display: grid;
  gap: 6px;
}

.chat-bubble.me {
  background: #0d47a1;
  color: #fff;
  align-self: flex-end;
}

.chat-bubble img {
  width: 220px;
  max-width: 100%;
  border-radius: 12px;
}

.chat-bubble p {
  margin: 0;
}

.chat-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  align-self: flex-end;
}

.chat-bubble:not(.me) .chat-time {
  color: #9aa7bd;
}

.chat-input {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.chat-input input[type="text"] {
  border: 1px solid rgba(13, 71, 161, 0.15);
  border-radius: 999px;
  padding: 12px 16px;
  font-family: inherit;
}

.chat-upload {
  position: relative;
  overflow: hidden;
}

.chat-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.chat-locked .chat-messages {
  opacity: 0.7;
}

.chat-locked .chat-input {
  opacity: 0.5;
  pointer-events: none;
}

/* Floating chat widget */
.chat-fab-wrapper {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-fab-button {
  background: #0d47a1;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-fab-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
}

.chat-fab-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-fab-home {
  right: 18px;
  bottom: 18px;
  align-items: flex-end;
  gap: 8px;
}

.chat-fab-home .chat-fab-bubble {
  max-width: 220px;
  background: rgba(255, 255, 255, 0.7);
  color: #0f172a;
  border: 1px solid rgba(207, 224, 255, 0.72);
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  border: 1px solid #cfe0ff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: chatBubblePulse 2.1s ease-in-out infinite;
}

.chat-fab-home .chat-fab-bubble:hover {
  color: #0d47a1;
  border-color: #aac8ff;
}

.chat-fab-home .chat-fab-robot {
  width: 76px;
  height: 76px;
  border: none;
  background: transparent;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px rgba(13, 71, 161, 0.35);
  animation: chatRobotFloat 2.4s ease-in-out infinite;
}

.chat-fab-home .chat-fab-robot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-fab-home .chat-fab-card {
  position: absolute;
  right: 88px;
  bottom: 10px;
  width: 340px;
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.74) 0%, rgba(243, 248, 255, 0.66) 100%);
  border: 1px solid rgba(13, 71, 161, 0.22);
  box-shadow: 0 20px 44px rgba(9, 30, 66, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 14px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.chat-fab-home.is-open .chat-fab-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-fab-card-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: rgba(13, 71, 161, 0.1);
  color: #0d47a1;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.chat-fab-card-minimize {
  position: absolute;
  top: 8px;
  right: 38px;
  border: none;
  background: rgba(13, 71, 161, 0.1);
  color: #0d47a1;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}

.chat-fab-card-title {
  color: #0d47a1;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}

.chat-fab-card-text {
  color: #1f2937;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 12px;
  padding-right: 18px;
}

.chat-fab-mini {
  border: 1px solid #cfe0ff;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.chat-fab-mini-messages {
  max-height: 280px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.chat-fab-mini-msg {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
}

.chat-fab-mini-msg.bot {
  align-self: flex-start;
  background: #eaf2ff;
  color: #0f172a;
}

.chat-fab-mini-msg.me {
  align-self: flex-end;
  background: #0d47a1;
  color: #fff;
}

.chat-fab-mini-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e1ebff;
}

.chat-fab-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px 0;
}

.chat-fab-mini-action-btn {
  border: 1px solid rgba(13, 71, 161, 0.28);
  background: rgba(255, 255, 255, 0.7);
  color: #0d47a1;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.chat-fab-mini-action-btn:hover {
  box-shadow: 0 6px 14px rgba(13, 71, 161, 0.16);
}

.chat-fab-mini-action-btn:active,
.chat-fab-mini-action-btn.is-pressed {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 2px 6px rgba(13, 71, 161, 0.22);
}

.chat-fab-mini-action-btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.chat-fab-mini-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid #c8dafd;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  color: #0f172a;
}

.chat-fab-mini-input input:focus {
  outline: none;
  border-color: #6ea1ff;
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.12);
}

.chat-fab-mini-input button {
  border: none;
  border-radius: 10px;
  padding: 0 12px;
  min-height: 36px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0d47a1 0%, #2e6fe0 100%);
  cursor: pointer;
}

@keyframes chatRobotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes chatBubblePulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14); }
  50% { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(13, 71, 161, 0.22); }
}

.chat-fab-panel {
  width: 360px;
  max-height: 560px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(13, 71, 161, 0.12);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-fab-panel.open {
  display: flex;
}

.chat-fab-header {
  padding: 14px 16px;
  background: #f5f8ff;
  border-bottom: 1px solid rgba(13, 71, 161, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-fab-title {
  font-weight: 700;
  color: #0b1c3b;
}

.chat-fab-subtitle {
  font-size: 12px;
  color: #52627a;
}

.chat-fab-close {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #52627a;
}

.chat-fab-panel .chat-messages {
  height: 260px;
}

@media (max-width: 768px) {
  .chat-fab-panel {
    width: 92vw;
    max-width: 380px;
  }

  .chat-fab-home {
    right: 12px;
    bottom: 12px;
  }

  .chat-fab-home .chat-fab-bubble {
    max-width: 180px;
    font-size: 12px;
    padding: 8px 10px;
  }

  .chat-fab-home .chat-fab-robot {
    width: 64px;
    height: 64px;
  }

  .chat-fab-home .chat-fab-card {
    right: 72px;
    bottom: 4px;
    width: min(320px, calc(100vw - 92px));
  }
}

.snap-frame {
  width: 100%;
  height: 520px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.1);
}

.invoice-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 32px rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.08);
}

.invoice-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(13, 71, 161, 0.08);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.invoice-status {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #0d47a1;
  font-weight: 700;
}

.invoice-items,
.invoice-totals,
.invoice-info {
  margin-top: 12px;
}

@media print {
  header.page-header,
  .site-footer,
  .cta-row,
  .navbar,
  .back-link,
  .auth-link {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .invoice-card {
    box-shadow: none;
    border: none;
  }
}

.qris-img {
  width: 240px;
  height: 240px;
  display: block;
  margin: 12px auto;
  border-radius: 16px;
  border: 1px solid rgba(13, 71, 161, 0.15);
  background: #fff;
}

.rating-card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.08);
}

.rating-pro {
  padding: 0;
  overflow: hidden;
}

.rating-hero {
  padding: 28px 26px;
  background: radial-gradient(circle at top left, rgba(37, 162, 224, 0.12), transparent 55%),
    linear-gradient(120deg, #0d47a1, #2f6bdc);
  color: #fff;
}

.rating-hero .subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.rating-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px 0;
}

.rating-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(13, 71, 161, 0.2);
  object-fit: cover;
}

.rating-provider h3 {
  margin: 0 0 4px;
}

.rating-provider p {
  margin: 0;
  color: var(--text-muted);
}

.rating-form {
  padding: 16px 26px 0;
}

.rating-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(13, 71, 161, 0.15);
  padding: 12px 14px;
  font-family: inherit;
}

.rating-photos {
  padding: 12px 26px 10px;
}

.rating-photos-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.rating-photos-head span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.rating-stars {
  padding: 10px 26px 0;
  justify-content: flex-start;
}

.rating-stars button {
  font-size: 2.2rem;
}

.photo-input-hidden {
  display: none !important;
}

.rating-card {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 28px;
}

.rating-photos .photo-grid {
  margin-top: 10px;
  margin-bottom: 6px;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 2.4rem;
}

.rating-stars button {
  background: none;
  border: none;
  cursor: pointer;
  color: #d9d9d9;
}

.rating-stars button.active {
  color: #f6a800;
}

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-thumb-btn {
  width: 110px;
  height: 110px;
  padding: 0;
  border: 1px solid rgba(13, 71, 161, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 10px 22px rgba(13, 71, 161, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.photo-thumb-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 71, 161, 0.28);
  box-shadow: 0 14px 28px rgba(13, 71, 161, 0.16);
}

.photo-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-viewer-card {
  width: min(900px, 94vw);
  padding: 18px;
}

.photo-viewer-body {
  padding-top: 6px;
}

.photo-viewer-image {
  max-width: 100%;
  max-height: min(78vh, 920px);
  width: auto;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 18px 36px rgba(13, 71, 161, 0.18);
}

.photo-add {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  border: 2px dashed var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.idcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.idcard-digital {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.12);
  border: 1px solid rgba(13, 71, 161, 0.12);
  background: #fff;
  margin-bottom: 16px;
}

.idcard-bg {
  width: 100%;
  display: block;
}

.idcard-overlay {
  position: absolute;
  inset: 0;
}

.idcard-photo {
  position: absolute;
  right: 8%;
  top: 12%;
  width: 20%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 18px rgba(13, 71, 161, 0.2);
}

.idcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.idcard-qr {
  position: absolute;
  left: 10%;
  bottom: 10%;
  width: 16%;
  background: #fff;
  padding: 4px;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(13, 71, 161, 0.15);
}

.idcard-qr img {
  width: 100%;
  display: block;
}

.idcard-data {
  position: absolute;
  left: 36%;
  top: 40%;
  width: 52%;
  display: grid;
  gap: 8px;
  color: #0b1c3b;
  font-size: 0.78rem;
}

.idcard-data div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  align-items: baseline;
}

.idcard-data span {
  color: #3d4b5f;
}

.idcard-data strong {
  font-weight: 700;
}

.idcard-mini {
  max-width: 520px;
  margin: 0 auto;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d47a1, #2f6bdc);
  color: #fff;
  padding: 18px;
  box-shadow: 0 16px 32px rgba(13, 71, 161, 0.2);
}

.idcard-mini-head {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 14px;
  border-radius: 14px;
}

.idcard-mini-head img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 6px;
}

.idcard-mini-head p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

.idcard-mini-head strong {
  font-size: 1rem;
}

.idcard-mini-body {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 96px 1fr 92px;
  gap: 14px;
  align-items: center;
  background: #fff;
  color: #0b1c3b;
  border-radius: 14px;
  padding: 14px;
}

.idcard-mini-photo img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid rgba(13, 71, 161, 0.15);
}

.idcard-mini-info {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
}

.idcard-mini-info div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 6px;
}

.idcard-mini-info span {
  color: #5b6b82;
}

.idcard-mini-info strong {
  font-weight: 700;
}

.idcard-mini-qr {
  text-align: center;
}

.idcard-mini-qr img {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  border: 1px solid rgba(13, 71, 161, 0.2);
}

.idcard-mini-qr p {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: #5b6b82;
}

@media (max-width: 700px) {
  .idcard-mini-body {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .idcard-mini-photo img {
    margin: 0 auto;
  }
  .idcard-mini-info div {
    grid-template-columns: 1fr;
  }
}

.idcard-card {
  background: #f7faff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  text-align: center;
}

.idcard-card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}

.idcard-card p {
  margin: 10px 0 0;
  font-weight: 600;
  color: var(--text-dark);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  box-shadow: 0 10px 24px rgba(13, 71, 161, 0.06);
}

.review-card h4 {
  margin: 0 0 6px;
}

.review-stars {
  color: #f6a800;
  font-weight: 700;
  margin-bottom: 6px;
}

.review-card .photo-grid {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.08);
}

.service-card p {
  color: var(--text-muted);
}

.single-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.95rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.24);
  border: 1px solid rgba(220, 38, 38, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.single-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(220, 38, 38, 0.3);
  filter: saturate(1.05);
}

.card-media {
  background: rgba(13, 71, 161, 0.05);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zigzag-list {
  display: grid;
  gap: 1.6rem;
}

.zigzag-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.2rem 1.4rem;
  display: block;
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.08);
  opacity: 0;
  animation: slide-in-left 850ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.zigzag-link {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 1.2rem;
  color: inherit;
  text-decoration: none;
  width: 100%;
}

.zigzag-card[data-align="right"] {
  animation-name: slide-in-right;
}

.zigzag-card[data-align="right"] .zigzag-media {
  order: 2;
}

.zigzag-card[data-align="right"] .zigzag-text {
  text-align: right;
}

.zigzag-card[data-align="right"] .zigzag-link {
  grid-template-columns: 1fr 120px;
}

.zigzag-card:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.zigzag-media {
  width: 110px;
  height: 110px;
  padding: 8px;
  background: rgba(13, 71, 161, 0.05);
  border-radius: 16px;
}

.zigzag-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.zigzag-text h3 {
  margin-bottom: 0.5rem;
}

.zigzag-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 100%;
}

.zigzag-card.delay-1 {
  animation-delay: 120ms;
}

.zigzag-card.delay-2 {
  animation-delay: 240ms;
}

.zigzag-card.delay-3 {
  animation-delay: 360ms;
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateX(-120px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateX(120px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

.service-card .icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 2.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.about-content h3 {
  margin: 1.2rem 0 0.9rem;
  font-size: 1.12rem;
  color: var(--text-dark);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--text-dark);
}

.feature-list li::before {
  content: "*";
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.6rem;
}

.about-provider-note {
  margin-top: 1.6rem;
  padding: 1.35rem 1.35rem 1.4rem;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.94)),
    radial-gradient(circle at top right, rgba(35, 118, 255, 0.12), transparent 34%);
  border: 1px solid rgba(13, 71, 161, 0.1);
  box-shadow:
    0 18px 40px rgba(23, 78, 166, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.about-provider-note h3 {
  margin-bottom: 0.7rem;
}

.about-provider-note p {
  margin-bottom: 1rem;
  max-width: 34ch;
}

.about-provider-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.provider-entry-btn {
  min-width: 260px;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d47a1, #2f72dd);
  border: 1px solid rgba(13, 71, 161, 0.08);
  color: #fff;
  box-shadow: 0 14px 28px rgba(26, 89, 191, 0.22);
}

.provider-entry-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(26, 89, 191, 0.28);
}

.provider-services-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.provider-services-note {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(13, 71, 161, 0.08);
  box-shadow: 0 18px 40px rgba(13, 31, 63, 0.06);
}

.provider-services-note.accent {
  background: linear-gradient(135deg, #0d47a1 0%, #2c77e5 100%);
}

.provider-services-note h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  color: #102544;
}

.provider-services-note p {
  margin: 0;
  color: #61718f;
  line-height: 1.7;
}

.provider-services-note.accent h2,
.provider-services-note.accent p {
  color: #ffffff;
}

.provider-services-catalog-page .provider-banner-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.provider-services-catalog-page .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.provider-services-catalog-page .provider-banner-tile {
  max-width: none;
  text-align: left;
  padding: 0.95rem 0.95rem 1.15rem;
}

.provider-services-catalog-page .provider-banner-tile .category-media {
  min-height: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: inset 0 0 0 1px rgba(13, 71, 161, 0.04);
}

.provider-services-catalog-page .provider-banner-tile .category-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.provider-services-catalog-page .provider-banner-tile h3 {
  margin: 0 0 0.38rem;
  font-size: 1rem;
  line-height: 1.25;
}

.provider-services-catalog-page .provider-banner-tile p {
  margin: 0;
  color: #6b7c97;
  font-size: 0.8rem;
  line-height: 1.5;
}

.contact-card {
  background: var(--primary);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-hero {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.category-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 71, 161, 0.85), rgba(13, 71, 161, 0.55), rgba(13, 71, 161, 0.2));
  z-index: 0;
}

.category-hero .navbar {
  padding: 1.2rem 6vw;
  position: relative;
  z-index: 1;
}

.category-hero-content {
  padding: 4.5rem 6vw 2.5rem;
  max-width: 680px;
  position: relative;
  z-index: 1;
}


.category-hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.category-hero-content .subtitle {
  margin-bottom: 0;
}

.service-education-shell {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-education-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 32px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid rgba(13, 71, 161, 0.08);
  box-shadow:
    0 26px 52px rgba(14, 44, 96, 0.08),
    0 10px 22px rgba(13, 71, 161, 0.06);
}

.service-education-visual {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 18px 36px rgba(13, 71, 161, 0.14),
    0 8px 18px rgba(13, 71, 161, 0.08);
}

.service-education-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.service-education-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.14;
  margin-bottom: 0.8rem;
}

.service-education-badge,
.service-education-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(13, 71, 161, 0.09);
  color: #0f5ec9;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-education-badge {
  margin-bottom: 1rem;
}

.service-education-subtitle {
  font-size: 1.03rem;
  font-weight: 600;
  color: #163252;
  margin-bottom: 0.9rem;
}

.service-education-description {
  color: var(--text-muted);
  max-width: 720px;
}

.service-education-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.25rem 0 1.5rem;
}

.service-education-benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(13, 71, 161, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #163252;
  font-size: 0.93rem;
  font-weight: 600;
}

.service-education-benefit::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b8ff, #0f5ec9);
  flex: 0 0 auto;
}

.service-education-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.service-education-primary {
  background: linear-gradient(135deg, #0f5ec9, #34b6ff);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 94, 201, 0.18);
}

.service-education-primary:hover {
  box-shadow: 0 22px 38px rgba(15, 94, 201, 0.22);
}

.service-education-content {
  display: grid;
  gap: 1.5rem;
}

.service-education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-education-card,
.service-education-security,
.service-education-faq {
  background: #ffffff;
  border-radius: 28px;
  padding: 1.55rem;
  border: 1px solid rgba(13, 71, 161, 0.08);
  box-shadow: 0 18px 34px rgba(13, 31, 63, 0.06);
}

.service-education-card-head {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.service-education-card-head h3 {
  font-size: 1.24rem;
  line-height: 1.3;
}

.service-education-card p,
.service-education-security-intro,
.service-faq-card p {
  color: var(--text-muted);
}

.service-education-list,
.service-education-steps {
  display: grid;
  gap: 0.82rem;
  padding-left: 1.15rem;
  color: #163252;
}

.service-education-list li::marker,
.service-education-steps li::marker {
  color: #0f5ec9;
  font-weight: 800;
}

.service-security-grid,
.service-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.service-security-card,
.service-faq-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff, #f2f7ff);
  border: 1px solid rgba(13, 71, 161, 0.08);
}

.service-faq-card {
  grid-template-columns: 1fr;
}

.service-security-index {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f5ec9, #31b4ff);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15, 94, 201, 0.18);
}

.service-security-card h4,
.service-faq-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.provider-list-anchor {
  position: relative;
  top: -24px;
}

.provider-marketplace-page {
  background:
    radial-gradient(circle at 0% 12%, rgba(40, 138, 255, 0.16), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(115, 168, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #f2f7ff 38%, #eef4fb 100%);
}

.provider-marketplace-page .category-hero {
  min-height: 300px;
  overflow: hidden;
}

.provider-marketplace-page .category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 20%),
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.14), transparent 18%);
  z-index: 0;
}

.provider-marketplace-page .category-hero::after {
  background:
    linear-gradient(180deg, rgba(8, 46, 120, 0.88) 0%, rgba(20, 83, 185, 0.70) 50%, rgba(99, 154, 232, 0.34) 100%);
}

.provider-marketplace-page .category-hero .navbar {
  width: min(92vw, 1480px);
  margin: 1rem auto 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 24px 48px rgba(4, 26, 78, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.provider-marketplace-page .category-hero .logo img {
  height: 76px;
  filter: drop-shadow(0 10px 18px rgba(4, 26, 78, 0.22));
}

.provider-marketplace-page .back-link {
  padding: 0.7rem 1.35rem;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.provider-marketplace-page .back-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.provider-marketplace-page .category-hero-content {
  padding: 2.3rem 6vw 2rem;
  max-width: 900px;
}

.provider-marketplace-page .category-hero .eyebrow {
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.82);
}

.provider-marketplace-page .category-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.98;
  margin-bottom: 0.95rem;
  text-wrap: balance;
  text-shadow: 0 18px 36px rgba(4, 26, 78, 0.18);
}

.provider-marketplace-page .category-hero-content .subtitle {
  max-width: 640px;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
}

.provider-marketplace-page .section {
  position: relative;
  margin-top: -34px;
  z-index: 2;
}

.provider-marketplace-page .service-education-hero,
.provider-marketplace-page .service-education-card,
.provider-marketplace-page .service-education-security,
.provider-marketplace-page .service-education-faq,
.provider-marketplace-page .mitra-card,
.provider-marketplace-page .mitra-intro {
  border-color: rgba(13, 71, 161, 0.07);
  box-shadow:
    0 28px 56px rgba(12, 32, 74, 0.08),
    0 10px 24px rgba(31, 98, 201, 0.05);
}

.provider-marketplace-page .service-education-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 255, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(25, 194, 255, 0.12), transparent 24%);
}

.provider-marketplace-page .service-education-card,
.provider-marketplace-page .service-education-security,
.provider-marketplace-page .service-education-faq {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
}

.provider-marketplace-page .service-education-kicker,
.provider-marketplace-page .service-education-badge {
  background: rgba(40, 104, 209, 0.09);
  color: #155fcb;
}

.provider-marketplace-page .service-education-copy h2,
.provider-marketplace-page .service-education-card-head h3,
.provider-marketplace-page .service-education-security h3,
.provider-marketplace-page .service-education-faq h3 {
  letter-spacing: -0.03em;
}

.provider-marketplace-page .service-education-primary {
  background: linear-gradient(135deg, #0a4eb3 0%, #1f82f3 68%, #44c4ff 128%);
  box-shadow: 0 22px 40px rgba(14, 84, 189, 0.22);
}

.provider-marketplace-page .service-education-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(20, 83, 185, 0.18);
  color: #0f4fae;
}

.provider-marketplace-page #btn-refresh-providers {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 83, 185, 0.14);
  color: #114a9d;
  box-shadow: 0 14px 28px rgba(13, 71, 161, 0.08);
}

.provider-marketplace-page #btn-refresh-providers:hover {
  background: #ffffff;
}

.provider-marketplace-page .mitra-intro {
  max-width: 980px;
  padding: 1.05rem 1.25rem;
  margin-bottom: 1.15rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.94));
  color: #49617c;
  font-size: 0.98rem;
}

.provider-marketplace-page .mitra-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  justify-items: center;
}

.provider-marketplace-page .mitra-card-white {
  width: 100%;
  max-width: 278px;
  border-radius: 20px;
  padding: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
  box-shadow:
    0 24px 44px rgba(12, 32, 74, 0.08),
    0 8px 18px rgba(31, 98, 201, 0.05);
}

.provider-marketplace-page .mitra-card-white:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 58px rgba(12, 32, 74, 0.12),
    0 14px 24px rgba(31, 98, 201, 0.07);
}

.provider-marketplace-page .mitra-card-media {
  position: relative;
  margin-bottom: 12px;
}

.provider-marketplace-page .mitra-card-white img {
  height: 124px;
  margin-bottom: 0;
  border-radius: 14px;
}

.provider-marketplace-page .mitra-service-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 26, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.provider-marketplace-page .mitra-card-body {
  display: grid;
  gap: 0.45rem;
}

.provider-marketplace-page .mitra-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.provider-marketplace-page .mitra-name-link {
  margin: 0;
  color: #0a2346;
  font-size: 0.94rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.provider-marketplace-page .mitra-card-desc {
  min-height: 34px;
  color: #5b7089;
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.provider-marketplace-page .mitra-location {
  color: #133d77;
  font-size: 0.8rem;
}

.provider-marketplace-page .mitra-meta {
  margin-top: 0;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(19, 61, 119, 0.08);
  display: grid;
  gap: 0.4rem;
  justify-content: start;
}

.provider-marketplace-page .mitra-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 193, 7, 0.16);
  color: #9c6400;
  font-size: 0.78rem;
}

.provider-marketplace-page .mitra-distance {
  color: #0f58bf;
  font-size: 0.78rem;
}

.provider-marketplace-page .mitra-source {
  color: #7a8da5;
  font-size: 0.72rem;
}

.provider-marketplace-page .mitra-actions {
  margin-top: 0.15rem;
}

.provider-marketplace-page .mitra-actions .btn {
  width: 100%;
  min-height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(20, 83, 185, 0.14);
  color: #104896;
  font-weight: 700;
  font-size: 0.84rem;
}

.provider-marketplace-page .mitra-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.provider-marketplace-page .mitra-load-more {
  min-width: 220px;
  min-height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0a4eb3 0%, #1f82f3 68%, #44c4ff 128%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(14, 84, 189, 0.18);
}

.provider-marketplace-page .mitra-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(14, 84, 189, 0.22);
}

@media (max-width: 980px) {
  .provider-marketplace-page .mitra-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 860px;
  }

  .service-education-hero,
  .service-education-grid,
  .service-security-grid,
  .service-faq-grid {
    grid-template-columns: 1fr;
  }

  .service-education-visual {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .provider-marketplace-page .mitra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 580px;
  }

  .provider-marketplace-page .mitra-card-white {
    max-width: 100%;
    padding: 10px;
    border-radius: 18px;
  }

  .provider-marketplace-page .mitra-card-white img {
    height: 112px;
    border-radius: 14px;
  }

  .provider-marketplace-page .mitra-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .provider-marketplace-page .mitra-rating {
    min-width: 0;
  }

  .provider-marketplace-page .category-hero {
    min-height: 248px;
  }

  .provider-marketplace-page .category-hero .navbar {
    width: calc(100vw - 22px);
    margin-top: 0.7rem;
    padding: 0.55rem 0.8rem;
  }

  .provider-marketplace-page .category-hero .logo img {
    height: 58px;
  }

  .provider-marketplace-page .category-hero-content {
    padding: 1.35rem 5vw 1.4rem;
  }

  .provider-marketplace-page .category-hero-content h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .provider-marketplace-page .section {
    margin-top: -18px;
  }

  .service-education-hero,
  .service-education-card,
  .service-education-security,
  .service-education-faq {
    border-radius: 24px;
  }

  .service-education-hero {
    padding: 1.35rem;
    gap: 1.35rem;
  }

  .service-education-actions {
    flex-direction: column;
  }

  .service-education-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.category-services {
  background: var(--bg-soft);
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-tile {
  background: var(--white);
  border-radius: 20px;
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: start;
  gap: 1rem;
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.08);
  opacity: 0;
  animation: slide-in-right 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  color: inherit;
  text-decoration: none;
}

.service-tile.delay-1 {
  animation-delay: 120ms;
}

.service-tile.delay-2 {
  animation-delay: 240ms;
}

.service-tile.delay-3 {
  animation-delay: 360ms;
}

.service-icon {
  width: 72px;
  height: 72px;
  padding: 8px;
  background: rgba(13, 71, 161, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-info h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.service-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.service-arrow {
  color: rgba(13, 71, 161, 0.7);
  font-size: 1.4rem;
  align-self: center;
}

.detail-hero {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.detail-hero-content {
  display: none;
}

.provider-profile-page .detail-hero {
  min-height: 240px;
  background:
    radial-gradient(circle at 8% 18%, rgba(103, 232, 249, 0.50), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(30, 136, 255, 0.36), transparent 34%),
    linear-gradient(135deg, #e6f8ff 0%, #d9efff 42%, #f7fbff 100%);
  color: #0b1f3a;
  overflow: hidden;
}

.provider-profile-page .detail-hero::after {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 136, 255, 0.22), transparent);
}

.provider-profile-page .detail-hero .navbar {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(239, 249, 255, 0.78)),
    radial-gradient(circle at 0% 0%, rgba(25, 194, 255, 0.20), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  margin: 1.5rem auto 0;
  width: min(88vw, 1480px);
  padding: 0.85rem 1.25rem;
  box-shadow:
    0 28px 70px rgba(13, 71, 161, 0.14),
    0 12px 34px rgba(25, 194, 255, 0.16);
  backdrop-filter: blur(16px);
}

.provider-profile-page .detail-hero .logo img {
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.10));
}

.provider-profile-page .detail-hero .nav-links a,
.provider-profile-page .detail-hero .nav-auth .nav-link,
.provider-profile-page .detail-hero .nav-auth span {
  color: #12345f;
  text-shadow: none;
}

.provider-profile-page .detail-hero .nav-links a:hover,
.provider-profile-page .detail-hero .nav-auth .nav-link:hover {
  color: #0d47a1;
}

.provider-profile-page .back-link {
  color: #ffffff;
  background: linear-gradient(135deg, #0d47a1 0%, #1e88ff 72%, #19c2ff 130%);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 36px rgba(13, 71, 161, 0.20);
}

.provider-profile-page .back-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #083b8c 0%, #1176f4 72%, #16b7f2 130%);
  border-color: rgba(255, 255, 255, 0.62);
}

.provider-profile-page main {
  background:
    radial-gradient(circle at 0% 20%, rgba(25, 194, 255, 0.22), transparent 28%),
    radial-gradient(circle at 100% 14%, rgba(30, 136, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #edf9ff 0%, #f7fbff 48%, #eef5fb 100%);
  color: #071a33;
  margin-top: -1px;
}

.provider-profile-page .detail-section {
  background: transparent;
  padding: 2rem 6vw;
}

.provider-profile-page .detail-section:first-child {
  padding-top: 1.7rem;
}

.provider-profile-page .detail-grid {
  gap: 1.5rem;
}

.provider-profile-page .detail-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.94));
  color: #071a33;
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid rgba(30, 136, 255, 0.16);
  box-shadow:
    0 24px 60px rgba(13, 71, 161, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.provider-profile-page .detail-card h2,
.provider-profile-page .detail-card h3 {
  color: #071a33;
  letter-spacing: -0.04em;
}

.provider-profile-page .detail-card p,
.provider-profile-page .detail-card li,
.provider-profile-page #Mitra-info {
  color: #17365f;
}

.provider-profile-page #Mitra-info strong {
  color: #071a33;
}

.provider-profile-page .detail-card.highlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(103, 232, 249, 0.54), transparent 34%),
    radial-gradient(circle at 92% 92%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #073b91 0%, #0d47a1 34%, #1e88ff 86%, #19c2ff 130%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow:
    0 30px 70px rgba(13, 71, 161, 0.22),
    0 16px 36px rgba(25, 194, 255, 0.18);
}

.provider-profile-page .detail-card.highlight::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.provider-profile-page .detail-card.highlight h3,
.provider-profile-page .detail-card.highlight p {
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.provider-profile-page .detail-card.highlight .btn {
  position: relative;
  z-index: 1;
  color: #0d47a1;
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.provider-profile-page .btn-outline {
  background: #ffffff;
  color: #0d47a1;
  border: 1px solid rgba(13, 71, 161, 0.22);
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
}

.provider-profile-page .btn-outline:hover {
  background: #eef7ff;
  border-color: rgba(13, 71, 161, 0.34);
}

.provider-profile-page .mitra-card-white,
.provider-profile-page .review-card,
.provider-profile-page .work-history-card,
.provider-profile-page .idcard-card {
  background: #ffffff;
  color: #071a33;
  border: 1px solid rgba(30, 136, 255, 0.10);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.provider-profile-page .mitra-card-white p,
.provider-profile-page .review-card p,
.provider-profile-page .work-history-card p,
.provider-profile-page .idcard-card p,
.provider-profile-page .subtitle,
.provider-profile-page .muted {
  color: #52677f;
}

.provider-profile-page .work-history-user strong,
.provider-profile-page .work-history-body strong,
.provider-profile-page .review-card h4 {
  color: #071a33;
}

@media (max-width: 760px) {
  .provider-profile-page .detail-hero {
    min-height: 176px;
  }

  .provider-profile-page .detail-hero .navbar {
    width: calc(100vw - 28px);
    margin-top: 1rem;
    border-radius: 28px;
  }

  .provider-profile-page .detail-section {
    padding: 1.1rem 1rem;
  }
}

.detail-hero .navbar {
  position: relative;
  z-index: 1;
}

.detail-section {
  background: var(--bg-soft);
  padding: 2.5rem 6vw;
}

.detail-media {
  display: none;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
}

.detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 71, 161, 0.65) 0%, rgba(13, 71, 161, 0.2) 45%, rgba(13, 71, 161, 0) 100%);
}

.detail-media-overlay {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  color: var(--white);
  max-width: 70%;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.detail-media-overlay h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.4rem;
}

.detail-media-overlay p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.detail-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.08);
}

.detail-card.highlight {
  background: var(--primary);
  color: var(--white);
}

.detail-card.highlight .btn {
  margin-top: 1rem;
}

.detail-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(13, 71, 161, 0.4);
}

.btn-outline:hover {
  background: rgba(13, 71, 161, 0.08);
}

.detail-list {
  display: grid;
  gap: 1.25rem;
}

.detail-group h3 {
  margin-bottom: 0.5rem;
}

.detail-group p,
.detail-group ul,
.detail-group ol {
  margin: 0;
}

.detail-group ul,
.detail-group ol {
  padding-left: 1.2rem;
}

.detail-items {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--text-muted);
}

.detail-items strong {
  color: var(--text-dark);
}

.muted {
  color: var(--text-muted);
}

.work-history-user {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.work-history-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(13, 71, 161, 0.08);
  box-shadow: 0 10px 22px rgba(13, 71, 161, 0.08);
  display: grid;
  gap: 10px;
}

.work-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.work-history-header > span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.work-history-user strong {
  font-weight: 700;
  color: var(--text-dark);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.work-history-body {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.work-history-body div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work-history-body span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.work-history-body strong {
  font-weight: 700;
  color: var(--text-dark);
}

.provider-profile-page #Mitra-work-history.mitra-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .provider-profile-page #Mitra-work-history.mitra-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-history-user strong {
    max-width: 100%;
  }
}

.work-history-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #f2f5fb;
  border: 1px solid rgba(13, 71, 161, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.work-history-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-footer {
  background: #0f2a4f;
  color: var(--white);
  padding: 40px 6vw;
  animation: footer-fade-up 0.9s ease both;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.06), transparent 40%),
              linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer.compact {
  padding: 32px 6vw;
}

.site-footer.compact .footer-main {
  gap: 1.6rem;
}

.site-footer.compact .footer-bottom {
  margin-top: 1.4rem;
}

.site-footer.lite {
  padding: 28px 6vw;
}

.site-footer.lite .footer-main {
  gap: 1.4rem;
}

.site-footer.lite .footer-text {
  font-size: 0.92rem;
}

.site-footer.lite .footer-title::after {
  background: rgba(255, 255, 255, 0.32);
  width: 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(360px, 1.2fr) minmax(220px, 0.95fr) minmax(220px, 0.95fr);
  gap: 2.5rem;
}

.footer-col {
  position: relative;
}

.footer-col:nth-child(2),
.footer-col:nth-child(3),
.footer-col:nth-child(4) {
  padding-top: 14px;
}

.footer-col:nth-child(1) .footer-title::after {
  animation-delay: 0.05s;
}

.footer-col:nth-child(2) .footer-title::after {
  animation-delay: 0.15s;
}

.footer-col:nth-child(3) .footer-title::after {
  animation-delay: 0.25s;
}

.footer-col:nth-child(4) .footer-title::after {
  animation-delay: 0.35s;
}

.footer-col:not(:first-child) {
  padding-left: 1.6rem;
}

.footer-col:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.footer-brand img,
.footer-logo {
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px;
}

.footer-title {
  font-size: 1.05rem;
  margin-bottom: 0;
  font-weight: 700;
}

.footer-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  transform-origin: left;
  animation: footer-underline 0.8s ease both;
}

.footer-col > .footer-title {
  margin-bottom: 0.8rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-col .footer-text strong {
  display: inline-block;
  min-width: 92px;
}

.footer-text.footer-social {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.footer-text.footer-social strong {
  min-width: 0;
}

.footer-text.footer-social a {
  justify-self: start;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.footer-text a {
  color: var(--white);
  font-weight: 600;
  position: relative;
}

.footer-text a:hover {
  text-decoration: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.footer-social i {
  font-size: 1.1rem;
  color: #9cc7ff;
  transition: transform 0.2s ease, text-shadow 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  color: #e8f1ff;
  transform: translateX(2px);
}

.footer-social a:hover i {
  color: #cfe2ff;
  transform: scale(1.08);
  text-shadow: 0 0 10px rgba(156, 199, 255, 0.55);
}

.site-footer.lite .footer-social i {
  color: #8ab6f0;
}

.footer-text a::after,
.footer-social a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-text a:hover::after,
.footer-social a:hover::after {
  transform: scaleX(1);
  background: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}


@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    right: 6vw;
    top: 70px;
    flex-direction: column;
    background: rgba(13, 71, 161, 0.98);
    padding: 1.2rem 1.6rem;
    border-radius: 16px;
    gap: 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-media {
    order: -1;
  }

  .contact-card {
    align-items: flex-start;
  }

  .banner-slide {
    grid-template-columns: 1fr;
  }

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

  .banner-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .footer-col:not(:first-child) {
    padding-left: 0;
  }

  .footer-col:not(:first-child)::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-store-badges {
    justify-content: flex-start;
  }

  .hero-playstore-badge {
    align-self: flex-start;
  }

  .hero-playstore-badge img {
    height: 42px;
  }

  .hero-appstore-badge img {
    height: 72px;
  }

  .navbar {
    padding: 1.2rem 5vw;
  }

  .logo img {
    height: 84px;
  }

  .hero {
    padding: 1.5rem 5vw 0;
  }

  .hero-video .hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .page-title {
    padding: 0.5rem 5vw 1.5rem;
  }

  .service-hero {
    padding: 0 5vw;
  }

  .service-hero img {
    width: min(100%, 240px);
    border-radius: 20px;
  }

  .section {
    padding: 3.5rem 5vw;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-slider {
    margin: 2rem 5vw 0;
  }

  .banner-gallery {
    margin: 2rem 5vw 0;
  }

  .banner-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .banner-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .mitra-grid {
    grid-template-columns: 1fr;
  }

  .banner-slide {
    padding: 2rem;
  }

  .zigzag-card,
  .zigzag-card[data-align="right"] {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .zigzag-card[data-align="right"] .zigzag-media,
  .zigzag-card[data-align="right"] .zigzag-text {
    order: initial;
    text-align: left;
  }

  .zigzag-media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .category-hero-content {
    padding: 4rem 5vw 2rem;
  }

  .service-tile {
    grid-template-columns: 1fr;
  }

  .service-arrow {
    display: none;
  }

  .detail-hero-content {
    padding: 4rem 5vw 1.6rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-col:not(:first-child) {
    padding-top: 1.2rem;
  }

  .footer-col:not(:first-child)::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 1px;
    display: block;
  }

  .site-footer {
    padding: 36px 6vw;
  }

  .footer-bottom {
    margin-top: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer {
    animation: none;
  }

  .footer-title::after {
    animation: none;
  }

  .footer-text a::after,
  .footer-social a::after,
  
.reduce-motion .site-footer,
.reduce-motion .footer-title::after,
.reduce-motion 

@media (max-width: 600px) {
  

@keyframes footer-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footer-underline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes banner-swipe {
  0% {
    transform: translateX(0);
  }
  16% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-100%);
  }
  36% {
    transform: translateX(-100%);
  }
  40% {
    transform: translateX(-200%);
  }
  56% {
    transform: translateX(-200%);
  }
  60% {
    transform: translateX(-300%);
  }
  76% {
    transform: translateX(-300%);
  }
  80% {
    transform: translateX(-400%);
  }
  96% {
    transform: translateX(-400%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes banner-row-left {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes banner-row-right {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4%);
  }
  100% {
    transform: translateX(0);
  }
}


.work-history-card p {
  margin: 0;
}

.work-history-card p + p {
  margin-top: 0.4rem;
}

.work-history-empty {
  white-space: nowrap !important;
  font-size: 0.85rem !important;
  color: var(--text-muted);
  line-height: 1.2;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Auth page: professional Google sign-in button */
.order-card .btn-google-auth {
  width: auto !important;
  min-width: 188px !important;
  max-width: 188px !important;
  height: 48px !important;
  padding: 0 0.95rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  color: #163f86 !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(13, 71, 161, 0.08);
}

.order-card .btn-google-auth:hover {
  box-shadow: 0 14px 30px rgba(13, 71, 161, 0.14);
  border-color: rgba(13, 71, 161, 0.18);
}

.order-card .btn-google-auth img,
.order-card .btn-google-auth .google-auth-icon {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  object-fit: contain;
  display: block;
  flex: 0 0 16px !important;
}

.order-card .btn-google-auth span {
  display: inline-block;
  line-height: 1.15;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .order-card .btn-google-auth {
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

.provider-web-shell {
  padding-bottom: 56px;
}

.provider-web-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.provider-web-grid {
  display: grid;
  gap: 24px;
}

.provider-web-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-web-card {
  background: #fff;
  border: 1px solid #d9e4f4;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(23, 43, 77, 0.08);
  padding: 28px;
}

.provider-web-card.compact {
  padding: 24px;
}

.provider-web-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.provider-web-head h2,
.provider-web-card h2,
.provider-web-card h3 {
  color: #10254d;
}

.provider-web-head p,
.provider-web-card p {
  color: #50627f;
  line-height: 1.7;
}

.provider-step,
.provider-summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.provider-step {
  color: #0d4aa5;
  background: #eaf2ff;
}

.provider-summary-pill {
  background: #eff7eb;
  color: #23753f;
}

.provider-form-grid {
  display: grid;
  gap: 22px;
}

.provider-form-section {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #f8fbff;
  border: 1px solid #d8e4f4;
  border-radius: 22px;
}

.provider-form-section h3 {
  margin: 0 0 4px;
}

.provider-form-section label,
.provider-inline-grid label {
  display: grid;
  gap: 8px;
  color: #10254d;
  font-weight: 700;
}

.provider-form-section input,
.provider-form-section select,
.provider-form-section textarea,
.provider-inline-grid input,
.provider-inline-grid select,
.provider-inline-grid textarea,
.pricing-item-controls input,
.pricing-service-card textarea {
  width: 100%;
  border: 1px solid #c8d6ea;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: #10254d;
}

.provider-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.provider-address-block {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d8e4f4;
  border-radius: 18px;
  background: #ffffff;
}

.provider-address-block h4 {
  margin: 0;
  color: #10254d;
  font-size: 18px;
}

.provider-doc-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-doc-status span {
  background: #eef5ff;
  color: #254f95;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.provider-help-text {
  margin: 0;
  font-size: 13px;
}

.provider-file-preview {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #d8e4f4;
  background: #fff;
}

.provider-file-preview.visible {
  display: flex;
}

.provider-file-preview img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #d8e4f4;
}

.provider-file-preview strong {
  color: #10254d;
  display: block;
  margin-bottom: 4px;
}

.provider-file-preview span {
  color: #50627f;
  font-size: 13px;
  line-height: 1.5;
}

.provider-form-actions {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.provider-form-actions.top-divider {
  border-top: 1px solid #d9e4f4;
  margin-top: 24px;
  padding-top: 24px;
}

.provider-checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #10254d;
  font-weight: 600;
}

.provider-checkbox-row input {
  margin-top: 4px;
}

.provider-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.provider-action-row.left {
  justify-content: flex-start;
}

.provider-status-message {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
  color: #30558f;
}

.provider-status-message.error {
  color: #c0392b;
}

.provider-status-message.success {
  color: #1b7a3e;
}

.agreement-points {
  display: grid;
  gap: 14px;
}

.agreement-point-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid #d8e4f4;
  border-radius: 20px;
}

.agreement-point-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0d4aa5, #2c77e5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.agreement-point-card h3 {
  margin: 0 0 6px;
}

.agreement-point-card p {
  margin: 0;
}

.agreement-page-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 168, 107, 0.12), transparent 28%),
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 52%, #f2f6fb 100%);
}

.agreement-page-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.agreement-hero {
  text-align: center;
  margin-bottom: 28px;
}

.agreement-eyebrow {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2e5fa8;
  font-weight: 800;
}

.agreement-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  color: #10254d;
}

.agreement-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #4f6484;
  font-size: 18px;
  line-height: 1.7;
}

.agreement-paper-wrap {
  display: flex;
  justify-content: center;
}

.agreement-paper-card {
  width: min(860px, 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  border: 1px solid #dbe6f5;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(16, 37, 77, 0.12);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.agreement-paper-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 31px, rgba(46, 95, 168, 0.06) 32px);
  background-size: 100% 32px;
  opacity: 0.32;
  pointer-events: none;
}

.agreement-paper-head,
.agreement-paper-body {
  position: relative;
  z-index: 1;
}

.agreement-paper-head {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px dashed #c8d6ea;
  margin-bottom: 22px;
}

.agreement-paper-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 14px 30px rgba(16, 37, 77, 0.08);
}

.agreement-paper-label {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #2e5fa8;
  font-weight: 800;
}

.agreement-paper-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  color: #10254d;
}

.agreement-paper-head p {
  margin: 0;
  color: #4f6484;
  line-height: 1.7;
}

.agreement-checklist {
  display: grid;
  gap: 14px;
}

.agreement-check-item {
  display: block;
}

.agreement-check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.agreement-check-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid #d8e4f4;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.agreement-check-item input:checked + .agreement-check-card {
  border-color: #2e5fa8;
  background: #eef5ff;
  box-shadow: 0 14px 28px rgba(46, 95, 168, 0.12);
  transform: translateY(-1px);
}

.agreement-check-number {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #f4f8ff;
  color: #2e5fa8;
  font-size: 18px;
  font-weight: 800;
  border: 1px solid #d8e4f4;
}

.agreement-check-item input:checked + .agreement-check-card .agreement-check-number {
  background: #2e5fa8;
  border-color: #2e5fa8;
  color: #fff;
}

.agreement-check-copy {
  display: grid;
  gap: 8px;
}

.agreement-check-copy strong {
  color: #10254d;
  font-size: 18px;
}

.agreement-check-copy small {
  color: #50627f;
  font-size: 15px;
  line-height: 1.7;
}

.agreement-final-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: #fff7e8;
  border: 1px solid #f0d7a4;
  color: #10254d;
  font-weight: 700;
}

.agreement-final-check input {
  margin-top: 3px;
}

.agreement-sign-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed #c8d6ea;
}

.agreement-sign-label {
  margin: 0 0 6px;
  color: #6d7d97;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.agreement-sign-row strong {
  color: #10254d;
  font-size: 18px;
}

.agreement-submit-btn {
  width: 100%;
  margin-top: 24px;
  min-height: 56px;
  font-size: 18px;
}

.provider-map-page {
  background:
    radial-gradient(circle at top left, rgba(231, 76, 60, 0.14), transparent 24%),
    linear-gradient(180deg, #fff5f3 0%, #fffaf9 42%, #fff4f1 100%);
}

.provider-map-header {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(135deg, #c92d23 0%, #e74c3c 54%, #ff806f 100%);
}

.provider-map-header::before {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.18), transparent 0, transparent 32%),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.12), transparent 0, transparent 24%);
}

.provider-map-card {
  border: 1px solid #f3c6bf;
  box-shadow: 0 22px 50px rgba(201, 45, 35, 0.10);
}

.provider-map-card h2 {
  color: #7a1f18;
}

.provider-map-card label,
.provider-map-card .map-info,
.provider-map-card .form-note {
  color: #6f4d48;
}

.provider-map-card input:focus,
.provider-map-card textarea:focus {
  border-color: rgba(231, 76, 60, 0.45);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.12);
  outline: none;
}

.provider-map-card .map-box {
  border: 1px solid #f3c6bf;
  box-shadow: 0 18px 34px rgba(201, 45, 35, 0.10);
}

.provider-map-actions .btn {
  min-height: 50px;
  border-radius: 16px;
}

.provider-map-ghost-btn {
  background: #fff5f3 !important;
  color: #c92d23 !important;
  border: 1px solid #f0b4ad !important;
  box-shadow: 0 12px 24px rgba(201, 45, 35, 0.08);
}

.provider-map-ghost-btn:hover {
  border-color: #e74c3c !important;
  box-shadow: 0 16px 30px rgba(201, 45, 35, 0.14);
}

.provider-map-primary-btn {
  background: linear-gradient(180deg, #ff6b5c 0%, #e74c3c 100%) !important;
  box-shadow: 0 16px 30px rgba(201, 45, 35, 0.22);
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-choice-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #d8e4f4;
  border-radius: 20px;
  background: #f8fbff;
  cursor: pointer;
}

.service-choice-card.active {
  border-color: #2c77e5;
  background: #eef5ff;
  box-shadow: 0 10px 28px rgba(44, 119, 229, 0.12);
}

.service-choice-card input {
  position: absolute;
  top: 16px;
  right: 16px;
}

.service-choice-title {
  color: #10254d;
  font-weight: 800;
  padding-right: 28px;
}

.service-choice-desc {
  color: #50627f;
  font-size: 14px;
  line-height: 1.6;
}

.provider-selected-summary {
  margin: 18px 0 10px;
  padding: 16px 18px;
  background: #10254d;
  color: #fff;
  border-radius: 18px;
  font-weight: 700;
}

.provider-guard-box {
  display: none;
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #f2c9c4;
  background: #fff6f4;
}

.provider-guard-box.visible {
  display: block;
}

.provider-guard-box h3 {
  margin: 0 0 8px;
  color: #a33528;
}

.provider-guard-box p,
.provider-guard-box li {
  color: #7a3c34;
}

.provider-guard-box ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.pricing-service-card {
  margin-top: 18px;
}

.pricing-service-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.pricing-service-head h3 {
  margin: 0 0 6px;
}

.pricing-service-head p {
  margin: 0;
}

.desc-grid {
  margin-bottom: 18px;
}

.pricing-items-wrap {
  display: grid;
  gap: 14px;
}

.pricing-item-row {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid #d8e4f4;
  border-radius: 20px;
}

.pricing-item-main p {
  margin: 6px 0 0;
  color: #50627f;
}

.pricing-item-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 170px) auto auto;
  gap: 12px;
  align-items: end;
}

.pricing-item-controls label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #10254d;
}

.pricing-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
}

.auth-state-card p {
  margin-top: 0;
}

.provider-pricing-page {
  background:
    radial-gradient(circle at top left, rgba(231, 76, 60, 0.14), transparent 24%),
    linear-gradient(180deg, #fff5f3 0%, #fffaf9 44%, #fff4f1 100%);
}

.provider-pricing-header {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(135deg, #c92d23 0%, #e74c3c 54%, #ff806f 100%);
}

.provider-pricing-header::before {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.18), transparent 0, transparent 32%),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.12), transparent 0, transparent 24%);
}

.provider-pricing-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.provider-pricing-main-card {
  background: #fff;
  border-radius: 30px;
  border: 1px solid #f1cdc8;
  box-shadow: 0 26px 60px rgba(201, 45, 35, 0.10);
  padding: 28px;
}

.provider-pricing-progress {
  height: 10px;
  background: #f2f2f2;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}

.provider-pricing-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff6b5c 0%, #e74c3c 100%);
}

.provider-pricing-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.provider-step-red {
  background: #fff1ee;
  color: #c92d23;
  border: 1px solid #f4c7c1;
}

.provider-summary-pill-red {
  background: linear-gradient(180deg, #ff6b5c 0%, #e74c3c 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(201, 45, 35, 0.20);
}

.provider-pricing-intro {
  margin-bottom: 20px;
}

.provider-pricing-intro h2 {
  margin: 0 0 10px;
  color: #7a1f18;
  font-size: clamp(30px, 4vw, 42px);
}

.provider-pricing-intro p {
  margin: 0;
  color: #6f4d48;
  line-height: 1.8;
}

.provider-pricing-subcard {
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid #f3c6bf;
  background: linear-gradient(180deg, #fff9f8 0%, #fff3f0 100%);
  box-shadow: 0 16px 34px rgba(201, 45, 35, 0.08);
}

.provider-pricing-subcard h3 {
  margin: 0 0 8px;
  color: #8b241b;
}

.provider-pricing-subcard p {
  margin: 0;
  color: #6f4d48;
  line-height: 1.7;
}

.provider-pricing-wizard-step {
  display: none;
}

.provider-pricing-wizard-step.active {
  display: block;
}

.provider-step-links {
  margin-top: 18px;
}

.provider-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 20px 0 6px;
}

.provider-step-actions-end {
  justify-content: flex-end;
}

.provider-form-actions-message {
  margin-top: 10px;
}

.provider-pricing-ghost-btn {
  background: #fff5f3 !important;
  color: #c92d23 !important;
  border: 1px solid #f0b4ad !important;
  box-shadow: 0 12px 24px rgba(201, 45, 35, 0.08);
}

.provider-pricing-ghost-btn:hover {
  border-color: #e74c3c !important;
  box-shadow: 0 16px 30px rgba(201, 45, 35, 0.14);
}

.provider-pricing-primary-btn {
  background: linear-gradient(180deg, #ff6b5c 0%, #e74c3c 100%) !important;
  box-shadow: 0 16px 30px rgba(201, 45, 35, 0.22);
}

.provider-selected-summary-red {
  background: linear-gradient(180deg, #ff6b5c 0%, #e74c3c 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(201, 45, 35, 0.20);
}

.provider-pricing-page .service-choice-card {
  border-color: #f3d5cf;
  background: #fff9f8;
}

.provider-pricing-page .service-choice-card.active {
  border-color: #e74c3c;
  background: #fff1ee;
  box-shadow: 0 14px 28px rgba(201, 45, 35, 0.14);
}

.provider-pricing-page .service-choice-title,
.provider-pricing-page .pricing-item-controls label,
.provider-pricing-page .pricing-service-head h3 {
  color: #7a1f18;
}

.provider-pricing-page .service-choice-desc,
.provider-pricing-page .pricing-item-main p,
.provider-pricing-page .pricing-service-head p {
  color: #6f4d48;
}

.provider-pricing-page .pricing-service-card {
  border: 1px solid #f1cdc8;
  box-shadow: 0 18px 38px rgba(201, 45, 35, 0.08);
}

.provider-pricing-page .pricing-item-row {
  background: #fff8f7;
  border-color: #f3d5cf;
}

@media (max-width: 900px) {
  .provider-web-grid.two-col,
  .service-choice-grid,
  .provider-inline-grid,
  .pricing-item-controls {
    grid-template-columns: 1fr;
  }

  .provider-web-head,
  .pricing-service-head {
    flex-direction: column;
  }

  .provider-pricing-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .provider-step-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .provider-step-actions-end {
    flex-direction: column;
  }
}
/* Vehicle Inspection customer flow */
.vehicle-inspection-page {
  min-height: 100vh;
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #071a38;
  background:
    radial-gradient(circle at 12% 8%, rgba(25, 194, 255, 0.26), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(30, 136, 255, 0.22), transparent 32%),
    linear-gradient(180deg, #eaf9ff 0%, #f7fbff 42%, #ffffff 100%);
}

.vi-hero {
  position: relative;
  overflow: hidden;
  padding: 28px clamp(18px, 6vw, 92px) 76px;
  background:
    linear-gradient(135deg, rgba(25, 194, 255, 0.95), rgba(30, 136, 255, 0.96)),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.34), transparent 28%);
  color: #ffffff;
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 46px;
  box-shadow: 0 28px 70px rgba(30, 136, 255, 0.22);
}

.vi-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.vi-hero-compact {
  padding-bottom: 54px;
}

.vi-nav,
.vi-hero-inner,
.vi-shell {
  position: relative;
  z-index: 1;
}

.vi-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vi-logo {
  display: inline-flex;
  align-items: center;
  width: 112px;
  min-height: 52px;
}

.vi-logo img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(6, 45, 96, 0.16));
}

.vi-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  color: #0b4ba8;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(7, 26, 56, 0.14);
}

.vi-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  max-width: 1180px;
  margin: 52px auto 0;
}

.vi-eyebrow {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.vi-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.vi-hero p:not(.vi-eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.vi-hero-card {
  min-width: 230px;
  padding: 26px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 56px rgba(5, 40, 88, 0.18);
}

.vi-hero-card span {
  display: block;
  font-size: 56px;
}

.vi-hero-card strong,
.vi-hero-card small {
  display: block;
}

.vi-hero-card strong {
  margin-top: 10px;
  font-size: 1.4rem;
}

.vi-hero-card small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.vi-shell {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 80px;
}

.vi-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(31, 74, 132, 0.12);
  backdrop-filter: blur(18px);
}

.vi-progress span {
  flex: 1 1 160px;
  padding: 13px 14px;
  border-radius: 20px;
  text-align: center;
  color: #58708f;
  font-weight: 800;
  background: rgba(245, 247, 250, 0.82);
}

.vi-progress span.active {
  color: #ffffff;
  background: linear-gradient(135deg, #19c2ff, #1e88ff);
  box-shadow: 0 14px 26px rgba(30, 136, 255, 0.22);
}

.vi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.vi-grid-tracking {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
}

.vi-card {
  border-radius: 34px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 236, 255, 0.84);
  box-shadow: 0 24px 70px rgba(28, 70, 118, 0.12);
}

.vi-section-title p {
  margin: 0 0 6px;
  color: #1e88ff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.vi-section-title h2 {
  margin: 0 0 20px;
  color: #071a38;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}

.vi-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vi-field-grid label {
  display: grid;
  gap: 8px;
  color: #10233f;
  font-weight: 800;
}

.vi-field-grid .full {
  grid-column: 1 / -1;
}

.vi-field-grid input,
.vi-field-grid select,
.vi-field-grid textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbeeff;
  border-radius: 18px;
  padding: 14px 16px;
  color: #10233f;
  background: #f8fbff;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vi-field-grid input:focus,
.vi-field-grid select:focus,
.vi-field-grid textarea:focus {
  border-color: #19c2ff;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(25, 194, 255, 0.14);
}

.vi-package-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.vi-package {
  width: 100%;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid #dbeeff;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(28, 70, 118, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vi-package:hover,
.vi-package.active {
  transform: translateY(-2px);
  border-color: #19c2ff;
  box-shadow: 0 18px 38px rgba(30, 136, 255, 0.16);
}

.vi-package.active {
  background: linear-gradient(135deg, rgba(25, 194, 255, 0.12), rgba(30, 136, 255, 0.1)), #ffffff;
}

.vi-package div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vi-package span,
.vi-package strong {
  color: #071a38;
  font-weight: 900;
}

.vi-package strong {
  color: #0b72e7;
}

.vi-package ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #60728a;
  line-height: 1.7;
  font-weight: 600;
}

.vi-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 24px;
  background: #f5faff;
  border: 1px solid #dbeeff;
}

.vi-submit-row span,
.vi-info-list span {
  display: block;
  color: #6a7d95;
  font-weight: 700;
}

.vi-submit-row strong,
.vi-info-list strong {
  display: block;
  color: #071a38;
  font-size: 1.1rem;
}

.vi-btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #19c2ff, #1e88ff);
  box-shadow: 0 18px 34px rgba(30, 136, 255, 0.26);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.vi-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.vi-message {
  min-height: 22px;
  color: #0b72e7;
  font-weight: 700;
}

.vi-message.error {
  color: #d93025;
}

.vi-summary {
  position: sticky;
  top: 18px;
}

.vi-summary > p {
  color: #5f7189;
  line-height: 1.75;
  font-weight: 600;
}

.vi-info-list {
  display: grid;
  gap: 12px;
}

.vi-info-list div {
  padding: 16px;
  border-radius: 20px;
  background: #f6fbff;
  border: 1px solid #dbeeff;
}

.vi-note,
.vi-payment-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b4ba8, #1e88ff);
  box-shadow: 0 18px 42px rgba(30, 136, 255, 0.2);
}

.vi-note p,
.vi-payment-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.vi-payment-box .vi-btn {
  margin-top: 12px;
  color: #0b4ba8;
  background: #ffffff;
}

.vi-muted {
  color: #6a7d95;
  font-weight: 700;
}

.vi-timeline {
  display: grid;
  gap: 14px;
}

.vi-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: #f7fbff;
  border: 1px solid #e3f1ff;
}

.vi-step-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #1e88ff;
  background: #ffffff;
  border: 1px solid #dbeeff;
  font-weight: 900;
}

.vi-step strong {
  color: #071a38;
}

.vi-step p {
  margin: 5px 0 0;
  color: #62768f;
  line-height: 1.55;
  font-weight: 600;
}

.vi-step.active {
  border-color: rgba(25, 194, 255, 0.72);
  background: linear-gradient(135deg, rgba(25, 194, 255, 0.1), rgba(30, 136, 255, 0.08)), #ffffff;
}

.vi-step.active .vi-step-dot,
.vi-step.done .vi-step-dot {
  color: #ffffff;
  background: linear-gradient(135deg, #19c2ff, #1e88ff);
  border-color: transparent;
}

.vi-report-card {
  margin-top: 24px;
}

.vi-score {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 18px;
  padding: 16px 22px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #19c2ff, #1e88ff);
  font-size: 2rem;
  font-weight: 900;
}

.vi-score span {
  font-size: 1rem;
}

.vi-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.vi-report-item {
  padding: 16px;
  border-radius: 20px;
  background: #f7fbff;
  border: 1px solid #dbeeff;
}

.vi-report-item p {
  color: #62768f;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .vi-hero {
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
  }

  .vi-hero-inner,
  .vi-grid,
  .vi-grid-tracking,
  .vi-field-grid {
    grid-template-columns: 1fr;
  }

  .vi-hero-card,
  .vi-summary {
    position: static;
  }

  .vi-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .vi-btn {
    width: 100%;
  }
}
