:root {
  --primary: #4c1d95;
  --primary-dark: #2e1065;
  --base: #faf5ff;
  --secondary: #c4b5fd;
  --accent: #fbbf24;
  --ink: #111827;
  --muted: #4b5563;
  --line: rgba(76, 29, 149, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  font-size: clamp(32px, 8vw, 72px);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(26px, 5.6vw, 48px);
  letter-spacing: -0.035em;
}

h3,
h4 {
  font-size: clamp(22px, 3.6vw, 30px);
  letter-spacing: -0.02em;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(250, 245, 255, 0.92);
  backdrop-filter: blur(18px);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--primary);
  color: #fff;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

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

.desktop-nav a {
  font-size: 14px;
  font-weight: 700;
  color: #2f2450;
  text-decoration: none;
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 65px 0 auto 0;
  z-index: 39;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(46, 16, 101, 0.22);
}

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

.mobile-panel a {
  display: block;
  padding: 14px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.btn-primary,
.btn-secondary,
.header-phone-desktop,
.mobile-menu-phone,
.sticky-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.header-phone-desktop:hover,
.mobile-menu-phone:hover,
.sticky-call:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 20px 40px rgba(76, 29, 149, 0.25);
}

.btn-secondary {
  background: #111827;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(76, 29, 149, 0.82) 47%, rgba(76, 29, 149, 0.22) 100%), url("../images/hero-technician.jpg");
  background-position: center;
  background-size: cover;
}

.hero h1,
.hero h2,
.hero h3,
.hero p {
  color: #fff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
}

.stars {
  color: var(--accent);
  font-size: 24px;
  letter-spacing: 0.08em;
}

.gallery-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.gallery-icons img {
  width: auto;
  height: 52px;
  max-width: 132px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.benefit-glass {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  animation: organicMorph 10s ease-in-out infinite;
}

.benefit-glass li {
  color: #fff;
}

.section {
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.section-white {
  background: #fff;
}

.section-dark {
  background: var(--primary-dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li {
  color: #fff;
}

.section-dark .eyebrow {
  color: #fff;
}

.section-accent {
  background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
}

.heading-mark {
  width: 76px;
  height: 8px;
  margin-top: 18px;
  background: var(--secondary);
  animation: organicMorph 8s ease-in-out infinite;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(76, 29, 149, 0.08);
}

.card-dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.card-dark h3,
.card-dark p,
.card-dark li {
  color: #fff;
}

.icon-tile {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: #ede9fe;
  color: var(--primary);
  flex: 0 0 auto;
}

.icon-tile svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.9;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 122px;
  height: 122px;
  background: rgba(196, 181, 253, 0.28);
  animation: organicMorph 12s ease-in-out infinite;
}

.split-block {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split-block img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.models-list li,
.parts-list li,
.signs-list li,
.areas-list li {
  margin-bottom: 10px;
}

.review-viewport {
  overflow: hidden;
}

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

.review-slide {
  flex: 0 0 100%;
  padding: 8px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  font-weight: 900;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

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

.map-frame {
  width: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.18) contrast(1.05);
}

.site-footer {
  background: #10051f;
  color: #f5f3ff;
  padding: 58px 0 92px;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer li,
.site-footer a {
  color: #f5f3ff;
  font-size: 14px;
}

.site-footer .brand-name {
  color: #fff;
  font-size: 20px;
}

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

.sticky-call-wrap.is-visible {
  display: block !important;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: 100%;
  min-height: 62px;
  background: #111827;
  transform: translateY(0);
  animation: stickyIn 220ms ease both;
}

@keyframes organicMorph {
  0%, 100% {
    border-radius: 42% 58% 54% 46% / 48% 38% 62% 52%;
  }
  50% {
    border-radius: 58% 42% 44% 56% / 44% 60% 40% 56%;
  }
}

@keyframes stickyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .menu-toggle,
  .mobile-panel,
  .sticky-call-wrap,
  .sticky-call-wrap.is-visible {
    display: none !important;
  }

  .hero {
    min-height: 760px;
  }

  .split-block {
    grid-template-columns: 65fr 35fr;
  }

  .split-block.reverse {
    grid-template-columns: 35fr 65fr;
  }

  .split-block.reverse .split-image {
    order: -1;
  }

  .review-slide {
    flex-basis: 33.3333%;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 24px, 480px);
  }

  .hero {
    min-height: 910px;
    background-position: center top;
  }

  .section {
    padding: 56px 0;
  }

  .gallery-icons img {
    height: 44px;
    max-width: 104px;
  }

  .brand-name {
    font-size: 20px;
  }

  .site-footer {
    padding-bottom: 104px;
  }
}


/* Fix phone button text color on hover */
.btn-primary,
.btn-secondary,
.header-phone-desktop,
.mobile-menu-phone,
.sticky-call,
.btn-primary,
.btn-secondary,
.header-phone-desktop,
.mobile-menu-phone,
.sticky-call {
color: #ffffff !important;
}