:root {
  color-scheme: dark;

  --bg: #141619;
  --panel: #1e2226;
  --panel-2: #272c32;
  --well: #0f1114;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --text: #eef0f2;
  --muted: #9aa2ab;
  --soft: #c6ccd2;
  --red: #e0162b;
  --red-glow: rgb(224 22 43 / 0.45);
  --amber: #ffb01f;
  --lamp-red: #ff3b3b;
  --unlit: #40464e;
  --chrome: linear-gradient(135deg, #8b939b 0%, #f4f6f8 18%, #a9b0b7 32%, #ffffff 46%, #6f777f 60%, #d9dde1 78%, #8b939b 100%);

  --display: 'Unbounded', 'Geologica', system-ui, sans-serif;
  --body: 'Geologica', system-ui, sans-serif;
  --gutter: 16px;
  --content: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

svg {
  flex: none;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.fill {
  fill: currentColor;
  stroke: none;
}

.ribbon {
  padding: 7px var(--gutter);
  background: #2a1418;
  color: #f2b8bf;
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-red {
  background: linear-gradient(180deg, #f0283c 0%, #c80f22 100%);
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--red-glow), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.btn-glass {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-dark {
  background: var(--panel-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: min(92svh, 820px);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0 0 auto;
  z-index: -2;
  width: 100%;
  height: 74%;
  object-fit: cover;
  object-position: 50% 40%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 55% at 90% 100%, rgb(224 22 43 / 0.32), transparent 60%),
    linear-gradient(180deg, rgb(20 22 25 / 0.6) 0%, rgb(20 22 25 / 0) 18%, rgb(20 22 25 / 0) 46%, rgb(20 22 25 / 0.85) 66%, var(--bg) 76%);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 14px var(--gutter);
}

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

.badge {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.5);
}

.badge img {
  display: block;
  width: 100%;
  height: 100%;
}

.badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgb(255 255 255 / 0.9) 47%, rgb(255 255 255 / 0.25) 53%, transparent 64%);
  mix-blend-mode: overlay;
  transform: translateX(-140%);
  animation: chrome-glint 1.8s cubic-bezier(0.25, 0.7, 0.2, 1) 0.6s forwards;
  pointer-events: none;
}

@keyframes chrome-glint {
  to {
    transform: translateX(140%);
  }
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
}

.brand-sub {
  color: var(--soft);
  font-size: 0.75rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  position: relative;
  display: block;
}

.lang select {
  height: 40px;
  padding: 0 32px 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
  font-size: 0.875rem;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lang select option {
  background: var(--panel);
}

.lang svg {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transform: translateY(-50%);
  pointer-events: none;
}

.top-book {
  display: none;
}

.hero-body {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: var(--content);
  margin: auto auto 0;
  padding: 0 var(--gutter) 40px;
}

h1 {
  max-width: 13ch;
  font-family: var(--display);
  font-size: clamp(1.85rem, 1.1rem + 4.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-text {
  max-width: 40ch;
  color: var(--soft);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-actions .btn {
  flex: 1 1 140px;
}

.hero-langs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-size: 0.875rem;
}

.lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--chrome);
  box-shadow: 0 0 10px rgb(255 255 255 / 0.4);
  flex: none;
}

main {
  display: grid;
  gap: 64px;
  padding-bottom: 48px;
}

.section {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-title {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.dash {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content);
  margin: -8px auto 0;
  padding: 0 var(--gutter);
}

.dash-panel {
  padding: 22px 16px 16px;
  border: 1.5px solid transparent;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 50% 0%, #2b3036 0%, #1a1d21 55%, #111316 100%) padding-box,
    var(--chrome) border-box;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9);
}

.dash-head {
  padding: 0 4px;
}

.dash-head h2 {
  font-family: var(--display);
  font-size: 1.3125rem;
  font-weight: 650;
  line-height: 1.2;
}

.dash-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.lamps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.lamp {
  --lamp: var(--amber);

  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  padding: 16px 4px 12px;
  border: 0;
  border-radius: 18px;
  background: var(--well);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05), inset 0 12px 24px rgb(0 0 0 / 0.5);
  cursor: pointer;
}

.lamp[data-tone='red'] {
  --lamp: var(--lamp-red);
}

.lamp-icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--unlit);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease, filter 0.25s ease;
}

.lamp-icon .fill {
  fill: var(--unlit);
  transition: fill 0.25s ease;
}

.lamp-label {
  color: var(--muted);
  font-size: 0.8125rem;
  transition: color 0.25s ease;
}

.lamp.is-lit .lamp-icon,
.lamp:hover .lamp-icon,
.lamp:focus-visible .lamp-icon {
  stroke: var(--lamp);
  filter: drop-shadow(0 0 3px var(--lamp)) drop-shadow(0 0 14px color-mix(in srgb, var(--lamp) 60%, transparent));
}

.lamp.is-lit .lamp-icon .fill,
.lamp:hover .lamp-icon .fill,
.lamp:focus-visible .lamp-icon .fill {
  fill: var(--lamp);
}

.lamp.is-lit .lamp-label,
.lamp:hover .lamp-label,
.lamp:focus-visible .lamp-label {
  color: var(--text);
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  list-style: none;
}

.bento li {
  display: flex;
}

.bento li[data-service='diag'],
.bento li[data-service='pdr'],
.bento li.is-plain {
  grid-column: span 2;
}

.tile {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-height: 220px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel);
  text-align: left;
  cursor: pointer;
}

.bento li[data-service='diag'] .tile {
  min-height: 250px;
}

.bento li[data-service='pdr'] .tile {
  min-height: 200px;
}

.tile-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tile:hover .tile-img {
  transform: scale(1.05);
}

.tile-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(15 17 20 / 0) 20%, rgb(15 17 20 / 0.55) 52%, rgb(15 17 20 / 0.96) 100%);
}

.tile-go {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tile-go svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 6px;
  padding: 16px;
}

.tile-name {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.25;
}

.bento li[data-service='diag'] .tile-name,
.bento li[data-service='pdr'] .tile-name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.tile-note {
  display: -webkit-box;
  overflow: hidden;
  color: var(--soft);
  font-size: 0.8125rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bento li[data-service='oil'] .tile-note,
.bento li[data-service='pads'] .tile-note {
  display: none;
}

.tile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tile-price {
  background: var(--text);
  color: var(--bg);
}

.is-plain .tile {
  min-height: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}

.is-plain .tile-shade {
  display: none;
}

.is-plain .tile-body {
  position: static;
  padding: 20px 64px 20px 20px;
}

.is-plain .tile-go {
  top: 50%;
  right: 16px;
  background: var(--panel-2);
  transform: translateY(-50%);
}

.is-plain .tile-note {
  color: var(--muted);
}

.usp {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
  width: auto;
  max-width: none;
  margin-inline: max(var(--gutter), calc((100% - var(--content)) / 2 + var(--gutter)));
  padding: 22px 20px;
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgb(224 22 43 / 0.22), transparent 55%),
    var(--panel);
  box-shadow: inset 0 0 0 1px rgb(224 22 43 / 0.22);
}

.usp-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--well);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.usp-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #ff4a5c;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.usp h2 {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 650;
  line-height: 1.25;
}

.usp p {
  margin-top: 8px;
  color: var(--soft);
}

.also-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.also-list li {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9375rem;
}

.also-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
}

.steps {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 18px 18px 18px 78px;
  border-radius: 20px;
  background: var(--panel);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 50%;
  left: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, #30353b, #15181b) padding-box,
    var(--chrome) border-box;
  font-family: var(--display);
  font-weight: 700;
  transform: translateY(-50%);
}

.steps h3 {
  font-size: 1.0625rem;
  font-weight: 650;
}

.steps p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.social {
  display: grid;
  gap: 10px;
}

.social-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  border-radius: 22px;
  background: var(--panel);
  text-decoration: none;
}

.social-card h3 {
  font-size: 1.0625rem;
  font-weight: 650;
}

.social-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.stars {
  display: flex;
  gap: 4px;
}

.stars svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #8d959e;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.insta {
  background:
    radial-gradient(120% 140% at 100% 0%, rgb(193 53 132 / 0.2), transparent 55%),
    var(--panel);
  transition: filter 0.15s ease;
}

.insta:hover {
  filter: brightness(1.08);
}

.insta > svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
}

.insta-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contacts {
  display: grid;
  gap: 10px;
}

.map {
  min-height: 260px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.5) contrast(0.95);
}

.contact-info {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border-radius: 24px;
  background: var(--panel);
}

.contact-info h2 {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 650;
}

.contact-address {
  font-size: 1.0625rem;
  font-weight: 600;
}

.contact-info h3 {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.hours {
  display: grid;
  gap: 4px;
  padding: 0;
  list-style: none;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.contact-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.footer {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 8px var(--gutter) calc(112px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer img {
  border-radius: 50%;
}

.quickbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 56px 56px;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgb(20 22 25 / 0.86);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.quickbar.is-visible {
  transform: none;
}

.quick-book {
  min-height: 56px;
}

.quick-icon {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.quick-icon svg {
  width: 24px;
  height: 24px;
}

dialog {
  width: 100%;
  max-width: 560px;
  max-height: 94dvh;
  margin: auto auto 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 28px 28px 0 0;
  background: #1b1e22;
  color: var(--text);
  box-shadow: 0 -20px 60px rgb(0 0 0 / 0.6);
}

dialog[open] {
  animation: sheet-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

dialog::backdrop {
  background: rgb(8 9 11 / 0.66);
  backdrop-filter: blur(6px);
}

@keyframes sheet-in {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}

.sheet {
  padding: 10px var(--gutter) 0;
}

.sheet-grip {
  display: block;
  width: 40px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.18);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sheet-head h2 {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 650;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--panel-2);
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

form {
  display: grid;
  gap: 22px;
}

.group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.group legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.scroller {
  display: flex;
  gap: 8px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 2px var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.pill,
.day {
  position: relative;
  flex: none;
  scroll-snap-align: start;
}

.pill input,
.day input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill > span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9375rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pill input:checked + span {
  background: var(--text);
  box-shadow: none;
  color: var(--bg);
  font-weight: 650;
}

.pill input:disabled + span,
.day input:disabled + .day-box {
  opacity: 0.32;
  cursor: not-allowed;
}

.pill input:focus-visible + span,
.day input:focus-visible + .day-box {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.day-box {
  display: grid;
  justify-items: center;
  gap: 1px;
  width: 64px;
  padding: 10px 0;
  border-radius: 18px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background 0.15s ease;
}

.day-name,
.day-month {
  color: var(--muted);
  font-size: 0.6875rem;
  white-space: nowrap;
}

.day-num {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
}

.day input:checked + .day-box {
  background: linear-gradient(180deg, #f0283c 0%, #c80f22 100%);
  box-shadow: 0 10px 22px -10px var(--red-glow);
}

.day input:checked + .day-box .day-name,
.day input:checked + .day-box .day-month {
  color: rgb(255 255 255 / 0.82);
}

.parts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.part {
  display: flex;
}

.part > span {
  display: grid;
  justify-items: center;
  width: 100%;
  min-height: 58px;
  padding: 8px 4px;
  border-radius: 16px;
}

.part b {
  font-weight: 600;
}

.part small {
  color: var(--muted);
  font-size: 0.75rem;
}

.part input:checked + span small {
  color: rgb(20 22 25 / 0.7);
}

.field {
  display: grid;
  gap: 6px;
}

.field > span:first-child {
  color: var(--muted);
  font-size: 0.8125rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--well);
  color: var(--text);
  font-size: 1rem;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #c9ced3;
  outline: none;
  box-shadow: 0 0 0 3px rgb(201 206 211 / 0.16);
}

.field input[aria-invalid='true'] {
  border-color: #ff4a5c;
}

.phone {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
}

.error {
  color: #ff7a8a;
  font-size: 0.8125rem;
}

.error:empty {
  display: none;
}

.sheet-foot {
  position: sticky;
  bottom: 0;
  margin: 0 calc(var(--gutter) * -1);
  padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgb(27 30 34 / 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.summary {
  margin-bottom: 10px;
  color: var(--soft);
  font-size: 0.875rem;
  text-align: center;
}

.submit {
  width: 100%;
  min-height: 58px;
  font-size: 1.0625rem;
}

.success {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 8px 0 calc(28px + env(safe-area-inset-bottom));
  text-align: center;
}

.success-mark {
  width: 76px;
  height: 76px;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-mark circle {
  stroke: rgb(255 255 255 / 0.16);
}

.success-mark path {
  stroke: var(--text);
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: draw-check 0.5s 0.15s ease-out forwards;
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}

.success h3 {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 650;
}

.success p {
  max-width: 34ch;
  color: var(--muted);
}

.receipt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  width: 100%;
  margin: 8px 0 6px;
  padding: 18px;
  border-radius: 18px;
  background: var(--well);
  font-size: 0.9375rem;
  text-align: left;
}

.receipt dt {
  color: var(--muted);
}

.receipt dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.success .btn {
  min-width: 180px;
}

@media (min-width: 720px) {
  dialog {
    margin: auto;
    border-radius: 28px;
  }

  .sheet-grip {
    display: none;
  }

  .sheet {
    padding-top: 24px;
  }

  .social {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
  }

  .top {
    padding-top: 22px;
  }

  .top-book {
    display: inline-flex;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.9375rem;
  }

  .badge {
    width: 56px;
    height: 56px;
  }

  .hero {
    min-height: min(100svh, 860px);
  }

  .hero-img {
    top: 31%;
    right: -4%;
    left: auto;
    width: 70%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: 50% 50%;
    filter: grayscale(1) contrast(1.08);
    transform: translateY(-50%);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  }

  .hero {
    background: #050506;
  }

  .hero-shade {
    background:
      radial-gradient(45% 35% at 90% 82%, rgb(224 22 43 / 0.2), transparent 70%),
      linear-gradient(180deg, rgb(5 5 6 / 0) 62%, var(--bg) 100%);
  }

  h1 {
    font-size: clamp(2.5rem, 1rem + 3.4vw, 4rem);
  }

  .hero-body {
    padding-bottom: 150px;
  }

  .hero-actions .btn {
    flex: none;
    min-width: 190px;
  }

  .dash {
    margin-top: -110px;
  }

  .dash-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: center;
    padding: 26px;
  }

  .lamps {
    grid-template-columns: repeat(6, 1fr);
    margin-top: 0;
  }

  main {
    gap: 96px;
  }

  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px) auto;
  }

  .bento li[data-service='diag'] {
    grid-row: span 2;
  }

  .bento li.is-plain {
    grid-column: span 4;
  }

  .bento .tile,
  .bento li[data-service] .tile {
    min-height: 0;
  }

  .bento li[data-service='diag'] .tile-name {
    font-size: 1.75rem;
  }

  .bento li[data-service='oil'] .tile-note,
  .bento li[data-service='pads'] .tile-note {
    display: -webkit-box;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps li {
    padding: 82px 24px 24px;
  }

  .steps li::before {
    top: 24px;
    left: 24px;
    transform: none;
  }

  .contacts {
    grid-template-columns: 1.4fr 1fr;
  }

  .map,
  .map iframe {
    min-height: 440px;
  }

  .quickbar {
    display: none;
  }

  .footer {
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .badge::after {
    display: none;
  }

  dialog[open],
  .success-mark path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .tile-img,
  .quickbar,
  .btn,
  .lamp-icon {
    transition: none;
  }
}
