:root {
  --ink: #111827;
  --muted: #4b5563;
  --panel: #ffffff;
  --soft: #f6f5fb;
  --line: #e5e7eb;
  --primary: #7a72aa;
  --primary-dark: #64607f;
  --accent: #5178ca;
  --accent-dark: #355ca8;
  --gold: #f8c23a;
  --dark: #101421;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fbfbfd;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, .brand-text {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 { font-size: 39px; font-weight: 900; }
h2 { font-size: 31px; font-weight: 900; }
h3, h4 { font-size: 22px; font-weight: 850; }
p, li, a, button, input, textarea { font-size: 16px; }

@media (min-width: 768px) {
  h1 { font-size: clamp(56px, 6vw, 82px); }
  h2 { font-size: clamp(38px, 4vw, 58px); }
}

.site-shell { position: relative; isolation: isolate; }

.geo-layer {
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  transition: transform .2s linear;
}

.geo-a {
  width: 42vw;
  height: 42vw;
  left: -18vw;
  top: 18vh;
  background: var(--primary);
  clip-path: polygon(18% 0, 100% 10%, 82% 100%, 0 88%);
}

.geo-b {
  width: 34vw;
  height: 34vw;
  right: -14vw;
  top: 52vh;
  background: var(--accent);
  clip-path: polygon(0 14%, 92% 0, 100% 72%, 20% 100%);
}

.geo-c {
  width: 28vw;
  height: 28vw;
  left: 56vw;
  top: 9vh;
  background: var(--primary-dark);
  clip-path: polygon(8% 8%, 100% 0, 82% 92%, 0 100%);
}

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

.clip-card {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.section-pad { padding: 72px 0; }

@media (min-width: 768px) { .section-pad { padding: 104px 0; } }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(17,24,39,.08);
  backdrop-filter: blur(18px);
}

.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-text {
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.desktop-nav { display: none !important; }
.desktop-phone { display: none !important; }
.mobile-menu-toggle { display: inline-flex !important; }

@media (min-width: 768px) {
  .desktop-nav { display: flex !important; }
  .desktop-phone { display: inline-flex !important; }
  .mobile-menu-toggle, .mobile-panel { display: none !important; }
  .header-row { flex-wrap: wrap; padding: 8px 0; }
  .brand { order: 1; }
  .desktop-phone { order: 2; }
  .desktop-nav { order: 3; width: 100%; justify-content: center; }
}

@media (min-width: 1024px) {
  .header-row { flex-wrap: nowrap; padding: 0; }
  .desktop-nav { order: 2; width: auto; }
  .desktop-phone { order: 3; }
}

.desktop-nav {
  align-items: center;
  gap: 18px;
}

.desktop-nav a, .mobile-panel a:not(.btn-primary) {
  color: #1f2937;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
}

.desktop-nav a:hover, .mobile-panel a:hover { color: var(--accent-dark); }

.mobile-menu-toggle {
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hamburger-lines, .hamburger-lines::before, .hamburger-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  content: "";
  position: relative;
}

.hamburger-lines::before { position: absolute; top: -7px; }
.hamburger-lines::after { position: absolute; top: 7px; }

.mobile-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 74px;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 22px 16px 28px;
  box-shadow: 0 22px 60px rgba(17,24,39,.18);
}

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

.mobile-panel nav {
  display: grid;
  gap: 16px;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 22px;
  color: #ffffff !important;
  background: var(--accent);
  border: 2px solid var(--accent);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  overflow: visible;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255,255,255,.66);
  animation: pulseGlow 1.8s infinite;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

@keyframes pulseGlow {
  0% { opacity: .18; transform: scale(.98); }
  50% { opacity: .74; transform: scale(1.04); }
  100% { opacity: .18; transform: scale(.98); }
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: stretch;
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(10,13,24,.93) 0%, rgba(20,24,42,.83) 47%, rgba(20,24,42,.35) 100%), url('../images/hero-technician.png');
  background-size: cover;
  background-position: center;
}

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

.hero-grid {
  display: grid;
  align-items: center;
  gap: 34px;
  padding: 62px 0 58px;
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .65fr); padding: 94px 0; }
}

.stars {
  color: var(--gold);
  font-size: 24px;
  letter-spacing: 4px;
  font-weight: 900;
  margin: 18px 0 12px;
}

.hero-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-icons img {
  width: auto;
  height: 48px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.94);
  padding: 6px 9px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  color: #ffffff;
  border-left: 5px solid var(--gold);
  background: rgba(122,114,170,.35);
  padding: 8px 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-cta-line {
  margin: 28px 0 18px;
  font-weight: 850;
  color: #ffffff;
}

.hero-benefits {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(18px);
  padding: 28px;
  color: #ffffff;
}

.hero-benefit {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.hero-benefit:last-child { border-bottom: 0; }

.hero-benefit svg {
  width: 46px;
  height: 46px;
  padding: 9px;
  background: rgba(81,120,202,.94);
  color: #fff;
}

.intro-text {
  background: #ffffff;
  margin-top: -34px;
  position: relative;
  z-index: 5;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(17,24,39,.12);
  border-left: 8px solid var(--primary);
}

.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); }

.accent-slash {
  width: 74px;
  height: 8px;
  margin: 18px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.section-head.center .accent-slash { margin-left: auto; margin-right: auto; }

.reasons-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
}

.reason-card, .service-card, .review-card, .faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(17,24,39,.08);
}

.reason-card { padding: 24px; min-height: 210px; }
.reason-card img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 16px; }
.reason-card p, .service-card p, .review-card p, .faq-item p { color: var(--muted); }

.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #ffffff;
  padding: 30px;
  display: grid;
  gap: 22px;
  align-items: center;
}

.cta-band h2, .cta-band p { color: #ffffff; }

@media (min-width: 860px) {
  .cta-band { grid-template-columns: 1fr auto; padding: 38px 46px; }
}

.service-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card { padding: 24px; }
.service-card img { width: 62px; height: 62px; object-fit: contain; margin-bottom: 16px; }

.info-block {
  display: grid;
  gap: 24px;
  align-items: center;
  margin: 28px 0;
}

@media (min-width: 900px) {
  .info-block { grid-template-columns: 65% 35%; }
  .info-block.reverse { grid-template-columns: 35% 65%; }
  .info-block.reverse .info-media { order: 1; }
  .info-block.reverse .info-content { order: 2; }
}

.info-content {
  background: #ffffff;
  border-left: 8px solid var(--accent);
  padding: 28px;
  box-shadow: 0 16px 50px rgba(17,24,39,.08);
}

.info-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.reviews-wrap {
  background: var(--dark);
  color: #ffffff;
  overflow: hidden;
}

.reviews-wrap h2, .reviews-wrap h3 { color: #ffffff; }
.reviews-wrap .section-head p { color: #dbe3ff; }

.review-viewport { overflow: hidden; }

.review-track {
  display: flex;
  transition: transform .35s ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 24px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: none;
  min-height: 310px;
}

@media (min-width: 900px) {
  .review-card { flex-basis: 33.333%; }
}

.review-name { font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }

.review-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.process-list {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 16px 50px rgba(17,24,39,.07);
}

.process-item::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.local-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .local-grid { grid-template-columns: repeat(3, 1fr); }
}

.local-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 16px 0 0; }
.pill-list li { background: var(--soft); color: #1f2937; padding: 8px 12px; font-weight: 800; border-left: 4px solid var(--accent); }

.faq-grid { display: grid; gap: 14px; }
.faq-item { padding: 22px; }

.footer {
  background: #0f1320;
  color: #d8ddea;
  font-size: 14px;
  padding: 52px 0 92px;
}

.footer p, .footer a, .footer li { color: #d8ddea; font-size: 14px; }
.footer h3, .footer .brand-text { color: #ffffff; }
.footer a { text-decoration: none; }
.footer a:hover { color: #ffffff; }

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16,20,33,.96);
  transform: translateY(110%);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.mobile-sticky-call a {
  width: 100%;
  min-height: 52px;
}

@media (max-width: 767px) {
  .brand-text { font-size: 24px; max-width: calc(100vw - 92px); overflow: hidden; text-overflow: ellipsis; }
  .mobile-sticky-call.is-visible { display: block !important; transform: translateY(0); opacity: 1; }
}

@media (min-width: 768px) {
  .mobile-sticky-call { display: none !important; visibility: hidden !important; }
}

.payment-row {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .payment-row { grid-template-columns: repeat(3, 1fr); }
}

.payment-card {
  padding: 20px;
  background: #ffffff;
  border: 2px solid var(--line);
  font-weight: 900;
  text-align: center;
}

.dark-angled {
  background: linear-gradient(135deg, #181b2c, #282542 60%, #1f376f);
  color: #ffffff;
}

.dark-angled h2, .dark-angled h3, .dark-angled p, .dark-angled li { color: #ffffff; }

.dark-angled .process-item p { color: var(--muted); }

.models-line {
  color: #4b5563;
  font-size: 16px;
}

.hidden-visually {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
