:root {
  --bmw-black: #000;
  --surface-1: #080b10;
  --surface-2: #10141b;
  --surface-3: #161b23;
  --bmw-blue: #1c69d4;
  --bmw-blue-dark: #0653b6;
  --bmw-blue-soft: rgba(28, 105, 212, 0.18);
  --text: #f7f9fc;
  --text-soft: #c8d0dc;
  --text-muted: #8d98a8;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 22px 52px rgba(0, 0, 0, 0.38);
  --container: 1180px;
  --radius: 8px;
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 72% 0%, rgba(28, 105, 212, 0.22), transparent 62%),
    linear-gradient(180deg, #000 0%, #05070a 44%, #0b1018 100%);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(28, 105, 212, 0.72);
  outline-offset: 3px;
}

.page-wrap {
  width: min(100% - 32px, 1280px);
  margin: 16px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent),
    linear-gradient(160deg, rgba(0, 0, 0, 0.95), rgba(11, 15, 22, 0.96));
  box-shadow: var(--shadow-md);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.logo::first-letter {
  color: var(--bmw-blue);
}

.menu {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.menu a,
.nav a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--ease);
}

.menu a {
  position: relative;
  padding: 6px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--bmw-blue);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity var(--ease), transform var(--ease);
}

.menu a:hover,
.nav a:hover {
  color: #fff;
}

.menu a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.phone,
.phone-link {
  justify-self: end;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ease);
}

.phone:hover,
.phone-link:hover {
  color: #dbeaff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 56px 48px 34px;
}

.hero::before {
  content: "";
  position: absolute;
  right: 38%;
  top: 36px;
  width: 120px;
  height: 260px;
  pointer-events: none;
  border-left: 2px solid rgba(28, 105, 212, 0.66);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(115deg, transparent 18%, rgba(28, 105, 212, 0.58) 48%, transparent 56%);
  box-shadow: 0 0 34px rgba(28, 105, 212, 0.24);
  transform: skewX(-18deg);
}

.hero-left {
  position: relative;
  z-index: 1;
}

.kicker,
.hero-tag {
  margin: 0 0 18px;
  color: var(--bmw-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.lux-title {
  margin: 0;
  max-width: 820px;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 650;
}

.lead,
.lux-sub {
  margin: 20px 0 0;
  max-width: 560px;
  color: var(--text-soft);
  font-size: 20px;
}

.hero-right {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 76% 34%, rgba(28, 105, 212, 0.28), transparent 28%),
    linear-gradient(135deg, #05070a, #0a111b 52%, #020409);
  box-shadow: var(--shadow-sm);
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.86) contrast(1.08) saturate(0.98);
  transform: scale(1.02);
}

.hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.52)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), transparent 58%);
}

.btn-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn,
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease),
    background-color var(--ease),
    color var(--ease);
}

.btn:hover,
.card-btn:hover {
  transform: translateY(-2px);
}

.btn:active,
.card-btn:active {
  transform: translateY(0);
}

.btn[disabled],
.btn.is-disabled,
.card-btn[disabled],
.card-btn.is-disabled {
  pointer-events: none;
  opacity: 0.48;
  box-shadow: none;
}

.btn.is-loading,
.card-btn.is-loading {
  pointer-events: none;
  color: transparent;
  position: relative;
}

.btn.is-loading::after,
.card-btn.is-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-primary,
.btn-primary-bmw {
  color: #fff;
  background: linear-gradient(135deg, var(--bmw-blue), var(--bmw-blue-dark));
  box-shadow: 0 12px 28px rgba(28, 105, 212, 0.28);
}

.btn-primary:hover,
.btn-primary-bmw:hover {
  box-shadow: 0 18px 38px rgba(28, 105, 212, 0.36);
}

.btn-secondary,
.btn-outline {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-large {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.services-grid,
.card-grid-3,
.people-grid,
.reviews-grid,
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.services-grid {
  padding: 0 48px;
}

.service-card,
.card,
.kv-item,
.review,
.person,
.before-after,
.cta-final,
.hero-premium,
.prices,
.request-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 44%),
    linear-gradient(160deg, rgba(18, 22, 30, 0.86), rgba(7, 10, 15, 0.94));
  box-shadow: var(--shadow-sm);
}

.service-card {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.service-card:hover,
.card:hover,
.kv-item:hover,
.review:hover,
.person:hover,
.before-after:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 105, 212, 0.46);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.service-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 650;
}

.service-card p {
  position: relative;
  z-index: 2;
  max-width: 76%;
  margin: 18px 0 22px;
  color: var(--text-soft);
  font-size: 16px;
}

.card-btn {
  position: relative;
  z-index: 2;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  border-color: rgba(28, 105, 212, 0.55);
  background: rgba(28, 105, 212, 0.14);
  box-shadow: none;
}

.card-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 70%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(0.94) brightness(0.78);
  transition: opacity var(--ease), transform var(--ease);
}

.service-card:hover .card-bg {
  opacity: 0.46;
  transform: scale(1.03);
}

.icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  position: relative;
  color: var(--bmw-blue);
}

.icon-auto {
  border: 2px solid currentColor;
  clip-path: polygon(50% 4%, 88% 18%, 82% 76%, 50% 96%, 18% 76%, 12% 18%);
}

.icon-auto::after {
  content: "I";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}

.icon-service::before,
.icon-service::after {
  content: "";
  position: absolute;
  background: currentColor;
  transform-origin: center;
}

.icon-service::before {
  width: 32px;
  height: 7px;
  left: 7px;
  top: 20px;
  border-radius: 999px;
  transform: rotate(42deg);
}

.icon-service::after {
  width: 16px;
  height: 16px;
  right: 1px;
  top: 3px;
  border: 3px solid currentColor;
  background: transparent;
  border-radius: 50%;
}

.icon-detailing::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 26px;
  height: 32px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 6px 6px;
}

.icon-detailing::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 0;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 48px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.trust-item {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  font-size: 15px;
}

.trust-item span {
  color: var(--text-muted);
  font-size: 14px;
}

.consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 48px 0;
  padding: 24px;
  border: 1px solid rgba(28, 105, 212, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(28, 105, 212, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.consult h3 {
  margin: 0;
  font-size: 28px;
}

.consult p {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 16px;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  margin-top: 34px;
  padding: 30px 48px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #fff;
}

.footer p,
.footer a {
  margin: 6px 0;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}

.footer a:hover,
.copyright a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  transition: border-color var(--ease), background-color var(--ease);
}

.socials a:hover {
  border-color: var(--bmw-blue);
  background: var(--bmw-blue-soft);
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 48px 24px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
}

.copyright a {
  color: var(--text-muted);
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

body > .site-header,
body > main,
body > .footer {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

body > .site-header {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent),
    rgba(0, 0, 0, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

body > main {
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent),
    linear-gradient(160deg, rgba(0, 0, 0, 0.95), rgba(11, 15, 22, 0.96));
}

body > .footer {
  display: block;
  margin-top: 0;
  margin-bottom: 16px;
  padding: 26px 0;
  border: 1px solid var(--line);
  border-top-color: rgba(28, 105, 212, 0.28);
  border-radius: 0 0 var(--radius) var(--radius);
}

.section {
  padding: 78px 0;
}

.section-sm {
  padding: 48px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

body > main .section.hero {
  display: block;
  padding: 34px 0 0;
}

.hero-premium,
.card,
.kv-item,
.review,
.person,
.before-after,
.cta-final,
.prices,
.request-form {
  padding: 24px;
}

.hero-premium {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px);
  border-color: rgba(28, 105, 212, 0.24);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.68) 46%, rgba(0, 0, 0, 0.18) 100%),
    radial-gradient(circle at 78% 34%, rgba(28, 105, 212, 0.36), transparent 30%),
    linear-gradient(135deg, #05070a, #0a111b 56%, #020409);
}

.hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(116deg, transparent 49%, rgba(28, 105, 212, 0.5) 50%, transparent 52%),
    linear-gradient(116deg, transparent 62%, rgba(255, 255, 255, 0.18) 63%, transparent 64%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: min(740px, 62vw) auto;
  background-position: right -42px center;
  opacity: 0.76;
  filter: brightness(0.84) contrast(1.1) saturate(0.95);
  pointer-events: none;
}

.hero-premium > * {
  position: relative;
  z-index: 1;
}

.hero-auto::after {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 45%),
    url("assets/images/hero-bmw.webp");
}

.hero-service::after {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 45%),
    url("assets/images/service-master-2.webp");
}

.hero-detailing::after {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 45%),
    url("assets/images/detailing-3.webp");
}

.section-title,
.lux-title {
  margin: 0 0 18px;
  line-height: 1.08;
}

.section-title {
  font-size: 34px;
}

.lux-title {
  font-size: 56px;
}

.lux-sub,
.text-muted,
.person .meta,
.review .meta,
.before-after .meta {
  color: var(--text-soft);
}

.hero-tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--bmw-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badges,
.kv {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.badges {
  margin-top: 24px;
}

.hero-after-badges {
  margin-top: 18px;
}

.badges span {
  padding: 7px 12px;
  border: 1px solid rgba(28, 105, 212, 0.42);
  border-radius: 999px;
  color: #fff;
}

.kv > * {
  flex: 1 1 320px;
}

.kv-item,
.card,
.review,
.person,
.before-after {
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.kv-item h3,
.card h3,
.person h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.kv-item p,
.card p,
.review p,
.person p,
.before-after p {
  color: var(--text-soft);
}

.case-box {
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(28, 105, 212, 0.38);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(28, 105, 212, 0.16), transparent 68%),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.case-box {
  position: relative;
  overflow: hidden;
}

.case-box::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -72px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(28, 105, 212, 0.26), transparent 68%);
  pointer-events: none;
}

.case-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-label::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 1px solid rgba(28, 105, 212, 0.72);
  border-radius: 7px;
  background:
    linear-gradient(180deg, transparent 52%, rgba(28, 105, 212, 0.92) 52% 66%, transparent 66%),
    linear-gradient(90deg, transparent 22%, rgba(255, 255, 255, 0.8) 22% 32%, transparent 32% 45%, rgba(255, 255, 255, 0.8) 45% 55%, transparent 55% 68%, rgba(255, 255, 255, 0.8) 68% 78%, transparent 78%);
}

.case-box p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
}

.case-box strong {
  color: #fff;
  font-size: 1.08em;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(28, 105, 212, 0.14), transparent 42%),
    linear-gradient(160deg, rgba(18, 22, 30, 0.92), rgba(7, 10, 15, 0.96));
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 105, 212, 0.48);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.related-icon {
  color: var(--bmw-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.related-card h3 {
  margin: 18px 0 10px;
  font-size: 26px;
}

.related-card p {
  margin: 0 0 22px;
  color: var(--text-soft);
}

.before-after-pairs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.before-after {
  position: relative;
}

.photo-stage {
  position: absolute;
  top: 36px;
  left: 36px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-stage-after {
  border-color: rgba(28, 105, 212, 0.58);
  background: rgba(28, 105, 212, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 20px;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.price-row strong,
.card h4 {
  color: var(--bmw-blue);
}

.detailing-price-card {
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(28, 105, 212, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(28, 105, 212, 0.11), transparent 42%),
    linear-gradient(160deg, rgba(18, 22, 30, 0.9), rgba(7, 10, 15, 0.96));
  box-shadow: var(--shadow-sm);
}

.detailing-price-card .section-heading {
  margin-bottom: 18px;
}

.detailing-price-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1.12;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--text);
}

.price-table th,
.price-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}

.price-table th:first-child,
.price-table td:first-child {
  width: 38%;
  text-align: left;
  white-space: normal;
}

.price-table th {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(28, 105, 212, 0.18), rgba(28, 105, 212, 0.05)),
    rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-table td {
  color: var(--text-soft);
  font-weight: 700;
}

.price-table td[colspan] {
  color: #fff;
  text-align: center;
  background: rgba(28, 105, 212, 0.06);
}

.price-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.price-table tbody tr:hover {
  background: rgba(28, 105, 212, 0.08);
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.price-actions p {
  margin: 0;
}

.repair-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.repair-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(150px, auto) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 48%),
    rgba(255, 255, 255, 0.025);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}

.repair-row:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 105, 212, 0.46);
  background-color: rgba(28, 105, 212, 0.055);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.repair-row-accent {
  border-color: rgba(28, 105, 212, 0.42);
  background:
    linear-gradient(90deg, rgba(28, 105, 212, 0.16), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.repair-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(28, 105, 212, 0.42);
  border-radius: 999px;
  color: var(--bmw-blue);
  background: rgba(28, 105, 212, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.repair-copy h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.repair-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.repair-row > strong {
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}

.repair-row .btn {
  white-space: nowrap;
}

.real-photo {
  width: 100%;
  height: 190px;
  margin-bottom: 12px;
  object-fit: cover;
  border-radius: var(--radius);
}

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(28, 105, 212, 0.48);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--bmw-blue), var(--bmw-blue-dark));
  box-shadow: 0 18px 42px rgba(28, 105, 212, 0.36);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}

.floating-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(28, 105, 212, 0.42);
}

.floating-wa:active {
  transform: translateY(0);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}

textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--bmw-blue);
  box-shadow: 0 0 0 4px rgba(28, 105, 212, 0.18);
  outline: 0;
}

.is-error,
[aria-invalid="true"] {
  border-color: #d32f2f;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  body > .site-header,
  body > main,
  body > .footer {
    width: min(100% - 20px, 1280px);
  }

  .page-wrap {
    width: min(100% - 20px, 1280px);
    margin-block: 10px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .menu {
    justify-content: flex-start;
    gap: 20px;
  }

  .phone {
    justify-self: start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 42px 22px 24px;
  }

  .hero::before {
    display: none;
  }

  .hero h1,
  .lux-title {
    font-size: 42px;
  }

  .hero-right {
    min-height: 300px;
  }

  .hero-premium {
    min-height: 460px;
  }

  .hero-premium::after {
    background-size: min(620px, 78vw) auto;
    background-position: right -120px bottom;
    opacity: 0.48;
  }

  .repair-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .repair-row > strong,
  .repair-row .btn {
    grid-column: 2;
    justify-self: start;
  }

  .price-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-grid,
  .card-grid-3,
  .people-grid,
  .reviews-grid,
  .before-after-grid,
  .before-after-pairs,
  .related-grid,
  .trust-row,
  .footer,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .trust-row,
  .consult,
  .footer,
  .copyright {
    margin-left: 22px;
    margin-right: 22px;
    padding-left: 0;
    padding-right: 0;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .consult {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
}

@media (max-width: 640px) {
  body > .site-header,
  body > main,
  body > .footer {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .page-wrap {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .logo {
    font-size: 28px;
  }

  .menu a,
  .phone,
  .phone-link {
    font-size: 14px;
  }

  .menu {
    gap: 14px;
  }

  .kicker,
  .hero-tag {
    font-size: 12px;
  }

  .hero h1,
  .lux-title {
    font-size: 34px;
  }

  .lead,
  .lux-sub {
    font-size: 17px;
  }

  .section {
    padding: 56px 0;
  }

  .section.hero {
    padding-top: 18px;
  }

  .hero-premium {
    min-height: 560px;
    padding: 30px 22px;
    justify-content: flex-start;
  }

  .hero-premium::after {
    background-size: 560px auto;
    background-position: center bottom -42px;
    opacity: 0.36;
  }

  .badges span {
    width: 100%;
  }

  .repair-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .repair-row > strong,
  .repair-row .btn {
    grid-column: auto;
    justify-self: stretch;
  }

  .repair-number {
    width: 38px;
    height: 38px;
  }

  .detailing-price-card {
    padding: 18px;
  }

  .detailing-price-card h3 {
    font-size: 24px;
  }

  .btn,
  .card-btn {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
  }

  .service-head h2 {
    font-size: 24px;
  }

  .service-card {
    min-height: 230px;
  }

  .service-card p {
    max-width: 100%;
    font-size: 15px;
  }

  .card-bg {
    width: 72%;
    opacity: 0.22;
  }

  .section-title {
    font-size: 28px;
  }

  .footer,
  .copyright {
    margin-left: 0;
    margin-right: 0;
    padding: 22px;
  }

  body > .footer {
    padding: 22px 0;
  }

  .floating-wa {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
  }
}
