:root {
  color-scheme: dark;
  --ink: #f3f5f6;
  --muted: #b2bac1;
  --paper: #111416;
  --surface: #191d20;
  --input: #121619;
  --line: #343c42;
  --field-line: #687781;
  --accent: #71cdff;
  --accent-hover: #a4e0ff;
  --accent-ink: #07202d;
  --soft-accent: #20323e;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none; }
body, h1, h2, h3, p { margin: 0; }
body { font-size: 1rem; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.container { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 56px; height: 56px; display: block; }
.brand-type { font-size: 1.15rem; font-weight: 800; letter-spacing: .025em; line-height: 1.15; }
.brand-type > span { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; font-weight: 400; letter-spacing: .1em; }
nav { display: flex; gap: clamp(18px, 3vw, 38px); color: var(--muted); font-size: .875rem; }
nav a:hover, .text-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: .875rem;
  font-weight: 700;
  text-align: center;
}
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: var(--field-line); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--surface); }
button:not(:disabled) { cursor: pointer; }
button:disabled { opacity: .55; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(295px, 1fr);
  align-items: center;
  gap: clamp(30px, 7vw, 95px);
  padding-block: clamp(48px, 8vw, 96px);
}
.hero-copy { display: grid; justify-items: start; gap: 21px; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .075em; }
h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.02; letter-spacing: -.055em; }
.intro { max-width: 32ch; color: var(--muted); font-size: clamp(16px, 1.9vw, 20px); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 1rem; font-weight: 700; }
.booking {
  padding: clamp(20px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.booking-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.booking-heading h2 { font-size: clamp(22px, 2.5vw, 27px); line-height: 1.14; letter-spacing: -.035em; }
.booking-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: var(--accent); background: var(--soft-accent); border-radius: 10px; }
.muted { color: var(--muted); }
#booking-phone .button { width: 100%; margin-top: 20px; font-size: 1rem; }
.booking-hours { font-size: .875rem; color: var(--muted); margin-top: 12px; }
fieldset { display: grid; gap: 13px; min-width: 0; margin: 0; padding: 0; border: 0; }
label { display: grid; gap: 6px; font-size: .875rem; font-weight: 700; }
label :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--field-line);
  border-radius: 6px;
  background: var(--input);
  color: var(--ink);
  padding: 9px 11px;
  font-size: 1rem;
  font-weight: 400;
}
label select {
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b2bac1' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
}
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; }
.form-note, .form-status { font-size: .875rem; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-status:not(:empty) { margin-top: 14px; }
.form-status[data-state="error"] { color: #ffb0a9; }
.form-status[data-state="success"] { color: #9bd9b3; }

.services { padding-block: clamp(35px, 6vw, 66px); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2, .contact-section h2 { font-size: clamp(31px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.1; }
.section-heading > p { max-width: 44ch; color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 26px 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-list li { padding: 22px clamp(0px, 2vw, 20px) 22px 0; border-bottom: 1px solid var(--line); }
.service-list li:nth-child(3n+2), .service-list li:nth-child(3n+3) { border-left: 1px solid var(--line); padding-left: clamp(12px, 2vw, 22px); }
.service-list h3 { font-size: clamp(19px, 2.25vw, 22px); letter-spacing: -.03em; line-height: 1.2; margin-bottom: 8px; }
.service-list p { color: var(--muted); }
.service-price { display: inline-block; margin-top: 12px; color: var(--accent); font-size: .875rem; font-weight: 700; }
.service-price, .price-description a { text-decoration: underline; text-underline-offset: 4px; }
.service-price:hover { color: var(--accent-hover); }

.pricing { padding-block: clamp(38px, 6vw, 72px); }
.tire-price-grid, .price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 28px; }
.price-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: clamp(17px, 2.4vw, 28px); }
.price-card-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 7px 14px; }
.price-card h3 { font-size: clamp(22px, 2.5vw, 27px); line-height: 1.2; letter-spacing: -.035em; }
.price-category { color: var(--accent); font-size: .875rem; font-weight: 700; }
.price-description, .price-note { font-size: .875rem; margin-top: 10px; }
.price-note { margin-top: 18px; max-width: 80ch; }
.price-table { border-collapse: collapse; width: 100%; margin-top: 18px; font-size: 1rem; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; color: var(--muted); font-size: .875rem; padding-bottom: 6px; }
.price-table :is(th, td) { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.price-table th { font-weight: 400; }
.price-table th:first-child { padding-left: 0; text-align: left; }
.price-table :is(th, td):last-child { padding-right: 0; }
.price-table thead th { color: var(--muted); font-size: .875rem; }
.price-table tbody td:last-child { font-weight: 700; color: var(--ink); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-card .operation-details { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 5px; }
.price-card summary { padding-block: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; }
.price-card summary:hover { color: var(--accent); }
.price-extras { display: grid; gap: 16px; margin-top: 22px; }
.price-extras > details { padding-block: 8px; }
.detail-hint { display: inline-block; margin-left: 12px; color: var(--muted); font-size: .875rem; font-weight: 400; }
.price-list { margin: 12px 0 0; font-size: 1rem; }
.price-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.price-list > div:last-child { border-bottom: 0; }
.price-list dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

.contact-section { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 28px; padding-block: clamp(39px, 7vw, 78px); border-top: 1px solid var(--line); }
.contact-copy { display: grid; gap: 10px; }
address { font-style: normal; font-size: 1.125rem; font-weight: 700; margin-top: 5px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 1rem; font-weight: 700; }
.social-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer { border-top: 1px solid var(--line); padding: 20px 0; font-size: .875rem; color: var(--muted); }
.footer .container { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; }
.footer-brand { color: var(--ink); font-weight: 800; letter-spacing: .045em; }

@media (max-width: 790px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .booking { width: min(100%, 500px); }
  .tire-price-grid, .price-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 555px) {
  .container { width: calc(100% - 34px); }
  .header-inner { min-height: 80px; gap: 10px; }
  .brand { gap: 7px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand-type { font-size: 1rem; }
  .brand-type > span { font-size: .7rem; letter-spacing: .07em; }
  .header .button { padding-inline: 12px; }
  nav { display: none; }
  h1 { font-size: clamp(38px, 9vw, 53px); }
  .hero { padding-block: 38px; gap: 28px; }
  .hero-copy { gap: 15px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li:nth-child(n) { border-left: 0; padding-inline: 0; }
  .contact-actions { width: 100%; }
  .price-table :is(th, td) { padding-inline: 5px; }
  .price-list > div { gap: 10px; font-size: .875rem; }
}
