:root {
  --ink: #111827;
  --muted: #4B5563;
  --deep: #0B0A16;
  --indigo: #24264F;
  --violet: #6B4BD8;
  --ribbon: #EEE9F7;
  --gold: #F6B84B;
  --panel: #FFFFFF;
  --line: rgba(36, 38, 79, 0.16);
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #FFFFFF;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, .brand-word {
  font-family: var(--font-heading);
}

h1 {
  font-size: clamp(30px, 7vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(25px, 5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h3, h4 {
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.25;
}

p, li, td, th, a, button, summary, input, textarea {
  font-size: 16px;
}

.site-shell {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 80;
  background: #FFFFFF;
  color: #111827;
  padding: 0.75rem 1rem;
  border-radius: 0 0 1rem 0;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 10, 22, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(238, 233, 247, 0.14);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #FFF0B8);
  color: var(--deep);
  box-shadow: 0 12px 35px rgba(246, 184, 75, 0.32);
}

.brand-word {
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: none !important;
}

.desktop-phone {
  display: none !important;
}

.mobile-menu-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(238, 233, 247, 0.22);
  border-radius: 15px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 72px 1rem auto 1rem;
  z-index: 70;
  border-radius: 26px;
  background: #FFFFFF;
  color: #111827;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  padding: 1rem;
}

.mobile-panel.open {
  display: block;
}

.mobile-panel a {
  color: #111827;
}

.mobile-panel .mobile-call {
  white-space: nowrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link:hover, .nav-link:focus {
  color: #FFFFFF;
}

.btn-primary, .btn-secondary, .btn-light, .desktop-phone, .mobile-call, .sticky-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  background: var(--gold);
  color: #111827;
  box-shadow: 0 16px 34px rgba(246, 184, 75, 0.28);
}

.btn-primary:hover, .btn-secondary:hover, .btn-light:hover, .desktop-phone:hover, .mobile-call:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: #111827;
  background: #FFFFFF;
  border: 1px solid rgba(36, 38, 79, 0.14);
}

.desktop-phone {
  color: #FFFFFF;
  background: rgba(107, 75, 216, 0.45);
  border: 1px solid rgba(238, 233, 247, 0.22);
  white-space: nowrap;
}

.mobile-call {
  width: 100%;
  color: #FFFFFF !important;
  background: var(--indigo);
}

.hero-section {
  position: relative;
  color: #FFFFFF;
  background:
    radial-gradient(circle at 72% 35%, rgba(107, 75, 216, 0.45), transparent 30%),
    radial-gradient(circle at 18% 12%, rgba(246, 184, 75, 0.14), transparent 22%),
    linear-gradient(135deg, #0B0A16 0%, #1A1735 48%, #24264F 100%);
}

.hero-section:before {
  content: "";
  position: absolute;
  inset: -22% -10% auto auto;
  width: min(75vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 233, 247, 0.28), rgba(107, 75, 216, 0.12) 38%, transparent 70%);
  animation: irisPulse 7s ease-in-out infinite;
}

@keyframes irisPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-section h1, .hero-section h2, .hero-section h3 {
  color: #FFFFFF;
}

.hero-eyebrow {
  color: #FFFFFF;
  background: rgba(238, 233, 247, 0.12);
  border: 1px solid rgba(238, 233, 247, 0.22);
  border-radius: 999px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 22px;
}

.trust-icons img {
  width: auto;
  height: 50px;
  max-width: 31%;
  object-fit: contain;
  border-radius: 16px;
  background: #FFFFFF;
  padding: 0.35rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.hero-media {
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(238, 233, 247, 0.22);
}

.hero-media img, .image-card img, .wide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(238, 233, 247, 0.16);
  border-radius: 24px;
  color: #FFFFFF;
}

.section-pad {
  padding: 4.5rem 0;
}

.ribbon-section {
  background: var(--ribbon);
}

.dark-section {
  background: var(--deep);
  color: #FFFFFF;
}

.dark-section h2, .dark-section h3, .dark-section h4 {
  color: #FFFFFF;
}

.dark-section p, .dark-section li {
  color: rgba(255, 255, 255, 0.84);
}

.content-card {
  background: #FFFFFF;
  color: #111827;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(36, 38, 79, 0.08);
}

.content-card h3, .content-card h4 {
  color: #111827;
}

.content-card p, .content-card li {
  color: #374151;
}

.icon-tile {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #EEE9F7, #FFFFFF);
  color: var(--indigo);
  flex: 0 0 auto;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.25rem;
  color: #111827;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(36, 38, 79, 0.12);
}

.service-card ul {
  margin-top: 0.85rem;
  padding-left: 1.1rem;
}

.split-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.image-card {
  min-height: 280px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(36, 38, 79, 0.16);
}

.process-step {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--indigo);
  color: #FFFFFF;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #FFFFFF;
}

.model-table {
  min-width: 760px;
  width: 100%;
  border-collapse: collapse;
}

.model-table th, .model-table td {
  text-align: left;
  vertical-align: top;
  padding: 1rem;
  border-bottom: 1px solid rgba(36, 38, 79, 0.12);
}

.model-table th {
  color: #111827;
  background: #EEE9F7;
}

.review-viewport {
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 350ms ease;
}

.review-slide {
  min-width: 100%;
  padding: 0.5rem;
}

.review-card {
  height: 100%;
  border-radius: 26px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: #111827;
  box-shadow: 0 18px 45px rgba(36, 38, 79, 0.08);
}

.review-card p {
  color: #374151;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(36, 38, 79, 0.12);
}

.faq details {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: #111827;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  background: #0B0A16;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer p, .site-footer a, .site-footer li {
  font-size: 14px;
}

.site-footer h3, .site-footer h4 {
  color: #FFFFFF;
}

.site-footer a {
  color: #FFFFFF;
}

.sticky-call {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: 100%;
  min-height: 62px;
  border-radius: 22px 22px 0 0;
  background: var(--gold);
  color: #111827 !important;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.22);
  transform: translateY(110%);
  opacity: 0;
  white-space: nowrap;
}

.sticky-call.visible {
  display: flex !important;
  transform: translateY(0);
  opacity: 1;
}

.section-anchor {
  scroll-margin-top: 90px;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
  }

  .desktop-phone {
    display: inline-flex !important;
  }

  .mobile-menu-button, .mobile-panel {
    display: none !important;
  }

  .sticky-call, .sticky-call.visible {
    display: none !important;
  }

  .split-row {
    grid-template-columns: minmax(0, 65%) minmax(260px, 35%);
  }

  .split-row.reverse {
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
  }

  .split-row.reverse .image-card {
    order: -1;
  }

  .review-slide {
    min-width: 33.3333%;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  .section-pad {
    padding: 3.25rem 0;
  }

  .desktop-nav, .desktop-phone {
    display: none !important;
  }

  .mobile-menu-button {
    display: inline-flex !important;
  }

  .site-shell {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep mobile header fixed at the top */
@media (max-width: 767px) {
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
  }

  body {
    padding-top: 74px;
  }

  .mobile-panel {
    top: 74px;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
}