:root {
  --bg-dark: #0a0d18;
  --bg-dark-2: #111827;
  --bg-soft: #f5f3ff;
  --purple-900: #381a73;
  --purple-700: #4a2f8f;
  --purple-500: #6d46c6;
  --purple-400: #8d6ae8;
  --orange-500: #f4a321;
  --orange-600: #e9900d;
  --orange-400: #ffbe5c;
  --blue-500: #1f77d1;
  --blue-700: #1559af;
  --blue-300: #9cc9ff;
  --text-dark: #111827;
  --text-light: #f3f4f6;
  --muted: #6b7280;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(26, 18, 53, 0.18);
  --shadow-soft: 0 16px 30px rgba(99, 79, 177, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 92, 220, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(36, 108, 208, 0.22), transparent 25%),
    linear-gradient(180deg, #090d17 0%, #12182b 35%, #141a2d 100%);
  color: var(--text-dark);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(158, 130, 255, 0.18), transparent 18%),
    radial-gradient(circle at 80% 15%, rgba(89, 166, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #090d17 0%, #12182b 26%, #f4f4f8 26%, #f9f8fc 100%);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  max-height: 78px;
  width: auto;
  object-fit: contain;
}

.brand-logo-footer {
  max-height: 58px;
}

.brand-wordmark {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.brand-dmv {
  color: #1f77d1;
  font-size: clamp(1.8rem, 1.6rem + 0.8vw, 2.5rem);
  text-transform: uppercase;
}

.brand-express {
  color: #f4a321;
  font-size: clamp(1.3rem, 1rem + 0.8vw, 2rem);
  position: relative;
  margin-left: 8px;
}

.brand-express::before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffca66, #f4a321);
  margin-bottom: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.procedure-menu {
  position: relative;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-primary {
  background: linear-gradient(135deg, #8a6ae8 0%, #6a49d0 32%, #3f6fe0 100%);
  color: white;
  box-shadow: 0 18px 30px rgba(98, 74, 196, 0.42);
}

.btn-primary:hover {
  box-shadow: 0 22px 34px rgba(98, 74, 196, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  box-shadow: 0 14px 24px rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 34px;
}

.hero-copy {
  padding-top: 14px;
}

.procedure-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  width: min(320px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  overflow-y: auto;
  display: none;
}

.procedure-panel.is-visible {
  display: block;
}

.procedure-panel-title {
  margin: 0;
  padding: 0.35rem 0.5rem 0.6rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.procedure-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
}

.procedure-list button,
.procedure-list a {
  display: block;
  min-height: 44px;
  padding: 0.95rem 1.7rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #8a6ae8 0%, #6a49d0 32%, #3f6fe0 100%);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 18px 30px rgba(98, 74, 196, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.procedure-list button:hover,
.procedure-list button:focus-visible,
.procedure-list a:hover,
.procedure-list a:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 22px 34px rgba(98, 74, 196, 0.5);
}

.procedure-list button:focus-visible,
.procedure-list a:focus-visible {
  outline: 3px solid rgba(156, 201, 255, 0.8);
  outline-offset: 2px;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.78rem;
  color: #e5d8ff;
  text-shadow: 0 0 14px rgba(197, 176, 255, 0.25);
}

.eyebrow-dark {
  color: #4b2a7d;
  text-shadow: none;
}

.hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 1.7rem + 3vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.subtitle {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 680px;
  font-weight: 500;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions .btn {
  text-decoration: none;
}

.hero-metrics {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.hero-metrics div {
  min-width: 130px;
}

.hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 1.5rem;
  width: min(100%, 540px);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.chip-blue {
  background: rgba(31, 119, 209, 0.18);
  color: #b7d7ff;
  border: 1px solid rgba(144, 196, 255, 0.4);
}

.chip-orange {
  background: rgba(244, 163, 33, 0.18);
  color: #ffd090;
  border: 1px solid rgba(255, 187, 75, 0.4);
}

.route-box {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.route-node {
  background: rgba(16, 22, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem;
}

.route-node span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}

.route-node strong {
  color: white;
  font-size: 1.05rem;
}

.route-line {
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(90, 116, 255, 0.9), rgba(244, 163, 33, 0.9));
}

.progress-block {
  margin-top: 1.75rem;
  padding: 1rem 0 0.35rem;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.progress-labels strong {
  color: white;
}

.progress-bar {
  margin-top: 0.9rem;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-500), var(--orange-500));
}

.promo-panel {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dfe7ff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 1.25rem + 1.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.promo-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.floating-card {
  position: absolute;
  right: -18px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  max-width: 220px;
}

.mini-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.floating-card strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.floating-card small {
  color: var(--muted);
}

.solutions,
.services,
.why-us,
.trust-section {
  padding: 56px 0 20px;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading-premium {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.section-intro {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
  font-weight: 500;
}

.trust-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-top: 2rem;
}

.trust-item {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(36, 29, 57, 0.08);
  border: 1px solid rgba(120, 107, 150, 0.10);
}

.trust-item.large {
  grid-row: span 2;
}

.trust-item.wide {
  grid-column: 2 / span 2;
}

.trust-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.trust-item.large img {
  height: 100%;
  min-height: 510px;
}

.trust-item figcaption {
  padding: 1rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.trust-item strong {
  color: var(--text-dark);
  font-size: 1.05rem;
}

.trust-item span {
  color: var(--muted);
  line-height: 1.6;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.reason-card {
  background: linear-gradient(180deg, #ffffff, #f5f1ff);
  border: 1px solid rgba(110, 90, 160, 0.12);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 18px 36px rgba(53, 34, 89, 0.08);
}

.reason-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.reason-icon.purple {
  background: rgba(109, 70, 198, 0.14);
  color: var(--purple-700);
}

.reason-icon.blue {
  background: rgba(31, 119, 209, 0.14);
  color: var(--blue-700);
}

.reason-icon.orange {
  background: rgba(244, 163, 33, 0.14);
  color: var(--orange-600);
}

.reason-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.client-message {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(109, 70, 198, 0.08), rgba(31, 119, 209, 0.08));
  border: 1px solid rgba(109, 70, 198, 0.12);
  border-radius: 22px;
  padding: 1.5rem 1.75rem;
}

.client-message p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 600;
}

.section-heading h2,
.service-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 1.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #ffffff;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.why-us .section-heading h2,
.trust-section .section-heading h2 {
  color: #111827;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border-radius: 26px;
  padding: 1.7rem 1.5rem 1.4rem;
  box-shadow: 0 18px 35px rgba(36, 29, 57, 0.08);
  border: 1px solid rgba(120, 107, 150, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(48, 34, 76, 0.12);
}

.premium-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9f7ff 100%);
  border: 1px solid rgba(125, 101, 179, 0.12);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(109, 70, 198, 0.1);
  color: var(--purple-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-blue {
  background: rgba(31, 119, 209, 0.1);
  color: var(--blue-700);
}

.badge-orange {
  background: rgba(244, 163, 33, 0.12);
  color: var(--orange-600);
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.icon-box.purple {
  background: rgba(109, 70, 198, 0.14);
  color: var(--purple-700);
}

.icon-box.blue {
  background: rgba(31, 119, 209, 0.14);
  color: var(--blue-700);
}

.icon-box.orange {
  background: rgba(244, 163, 33, 0.14);
  color: var(--orange-600);
}

.feature-card h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 1.1rem + 0.9vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #111827;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: #3f4758;
  line-height: 1.7;
  font-size: 1.08rem;
  font-weight: 500;
}

.mini-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.mini-list li {
  position: relative;
  padding-left: 1.1rem;
  color: #4a5263;
  font-size: 0.92rem;
  font-weight: 600;
}

.mini-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-500);
  font-size: 1.3rem;
  line-height: 1;
}

.service-cta-panel {
  margin-top: 2.2rem;
  background: linear-gradient(135deg, rgba(109, 70, 198, 0.09), rgba(31, 119, 209, 0.08));
  border: 1px solid rgba(109, 70, 198, 0.12);
  border-radius: 26px;
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 18px 36px rgba(42, 28, 67, 0.08);
}

.cta-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--purple-700);
  text-transform: uppercase;
  font-weight: 800;
}

.service-cta-panel h3 {
  margin: 0;
  font-size: clamp(1.2rem, 0.9rem + 0.8vw, 1.8rem);
  line-height: 1.3;
  color: #111827;
  letter-spacing: -0.04em;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 36px;
  padding-top: 44px;
}

.why-headline {
  margin: 0 0 1.6rem;
  color: #4b2a7d;
  font-size: clamp(2rem, 1.4rem + 1.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-transform: uppercase;
}

.service-list-intro {
  margin-bottom: 2rem;
}

.service-list-intro h3 {
  margin: 0;
  max-width: 780px;
  color: rgba(17, 24, 39, 0.9);
  font-size: clamp(2.2rem, 1.8rem + 2vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.service-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-list-item {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(81, 63, 124, 0.08);
  border-radius: 24px;
  padding: 1.4rem 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(109, 70, 198, 0.12);
  color: #4b2a7d;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.service-list-item h4 {
  margin: 0 0 0.7rem;
  color: #4b2a7d;
  font-size: clamp(1.6rem, 1.2rem + 0.7vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.service-list-item p {
  margin: 0;
  color: rgba(17, 24, 39, 0.8);
  font-size: 1rem;
  line-height: 1.7;
}

.site-footer {
  background: #0f1220;
  color: white;
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 32px;
  padding-bottom: 1.5rem;
}

.brand-footer {
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .services-grid,
  .footer-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0.75rem 0;
    min-height: auto;
    flex-wrap: wrap;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .procedure-menu {
    flex: 1;
  }

  .procedure-menu > .btn {
    width: 100%;
  }

  .btn {
    flex: 1;
  }

  .hero {
    padding-top: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
}
