:root {
  --navy-950: #06101f;
  --navy-900: #09182d;
  --navy-800: #0d2442;
  --navy-700: #12365f;
  --yellow-500: #f7c600;
  --yellow-400: #ffd83d;
  --ink: #101722;
  --muted: #5e6875;
  --line: #dce3eb;
  --surface: #ffffff;
  --surface-soft: #f3f6fa;
  --black: #05070a;
  --shadow: 0 22px 55px rgba(6, 16, 31, 0.16);
  --radius: 8px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(6, 16, 31, 0.94);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--yellow-500);
  color: var(--navy-950);
  border-radius: var(--radius);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 900;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 600;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(247, 198, 0, 0.44);
  border-radius: var(--radius);
  background: rgba(247, 198, 0, 0.12);
  color: var(--yellow-400);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-call svg,
.floating-call svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: clamp(640px, calc(100vh - var(--header-h) - 72px), 820px);
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-garage.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 16, 31, 0.96) 0%, rgba(6, 16, 31, 0.86) 36%, rgba(6, 16, 31, 0.46) 68%, rgba(6, 16, 31, 0.62) 100%),
    linear-gradient(180deg, rgba(6, 16, 31, 0.22), rgba(6, 16, 31, 0.74));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 690px) minmax(260px, 340px);
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: clamp(640px, calc(100vh - var(--header-h) - 72px), 820px);
  padding-block: 72px 54px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.34rem);
  line-height: 1.55;
  font-weight: 500;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow-500);
  color: var(--navy-950);
  box-shadow: 0 14px 28px rgba(247, 198, 0, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-dark {
  background: var(--navy-950);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--line);
}

.hero-phone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 24px;
  font-weight: 800;
}

.hero-phone span {
  color: rgba(255, 255, 255, 0.66);
}

.hero-phone a {
  color: var(--yellow-400);
  font-size: 1.12rem;
}

.trust-panel {
  display: grid;
  gap: 12px;
  align-self: end;
  padding: 16px;
  background: rgba(8, 21, 38, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.trust-badge {
  padding: 17px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--yellow-500);
  border-radius: var(--radius);
}

.trust-badge span,
.quick-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-badge strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 1.06rem;
  line-height: 1.25;
}

.quick-strip {
  background: var(--navy-800);
  color: #fff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.quick-grid > div {
  min-height: 96px;
  padding: 22px 24px;
  background: var(--navy-800);
}

.quick-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  line-height: 1.35;
}

.section {
  padding: 92px 0;
}

.booking-section,
.gallery-section {
  background: var(--surface-soft);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: 42px;
  align-items: start;
}

.section-intro,
.section-heading {
  max-width: 660px;
}

.section-intro h2,
.section-heading h2,
.why-copy h2,
.about-copy h2,
.contact-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.section-intro p,
.section-heading p,
.why-copy p,
.about-copy p,
.contact-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.booking-note {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--yellow-500);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 34px rgba(9, 24, 45, 0.08);
}

.booking-note strong,
.booking-note a {
  display: block;
}

.booking-note a {
  margin-top: 4px;
  color: var(--navy-700);
  font-weight: 900;
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 500;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(18, 54, 95, 0.12);
}

.form-submit {
  width: fit-content;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #0f7a38;
  font-weight: 800;
}

.section-heading {
  margin-bottom: 34px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(9, 24, 45, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 198, 0, 0.8);
  box-shadow: 0 22px 45px rgba(9, 24, 45, 0.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--yellow-500);
  color: var(--navy-950);
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.16rem;
  line-height: 1.2;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.why-section {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(6, 16, 31, 0.97), rgba(9, 24, 45, 0.92)),
    url("assets/service-bay.png") center/cover;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: center;
}

.why-copy h2,
.why-copy p {
  color: #fff;
}

.why-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.why-copy .btn {
  margin-top: 28px;
  background: var(--yellow-500);
  color: var(--navy-950);
}

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

.why-list div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.why-list strong,
.why-list span {
  display: block;
}

.why-list strong {
  color: #fff;
  line-height: 1.25;
}

.why-list span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.45;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 46px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  background: var(--yellow-500);
  border-radius: var(--radius);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.about-stats strong,
.about-stats span {
  display: block;
}

.about-stats strong {
  color: var(--navy-950);
  font-size: 1.35rem;
  line-height: 1;
}

.about-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-auto-rows: 260px;
  gap: 18px;
}

.gallery-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: 0 14px 35px rgba(9, 24, 45, 0.1);
}

.gallery-grid figure:first-child {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(6, 16, 31, 0.82);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--navy-950);
  color: #fff;
}

.contact-card h2,
.contact-card p {
  color: #fff;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.contact-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list dt {
  color: var(--yellow-400);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.contact-card .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.map-panel {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  padding: 34px 0;
  background: var(--black);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
}

.site-footer strong {
  display: block;
  font-size: 1rem;
}

.site-footer p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--yellow-500);
  color: var(--navy-950);
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(6, 16, 31, 0.24);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    inset: var(--header-h) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--navy-900);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
  }

  .header-call {
    display: none;
  }

  .hero-grid,
  .booking-layout,
  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-content: center;
  }

  .trust-panel {
    max-width: 560px;
    align-self: auto;
  }

  .quick-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-list {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-grid figure:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .map-panel {
    min-height: 420px;
  }

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

@media (max-width: 680px) {
  :root {
    --header-h: 70px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 16, 31, 0.94) 0%, rgba(6, 16, 31, 0.88) 54%, rgba(6, 16, 31, 0.76) 100%),
      linear-gradient(90deg, rgba(6, 16, 31, 0.5), rgba(6, 16, 31, 0.5));
  }

  .hero-grid {
    min-height: auto;
    padding-block: 44px 30px;
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn,
  .form-submit {
    width: 100%;
  }

  .trust-panel {
    display: grid;
    gap: 8px;
    max-width: 100%;
    padding: 8px;
  }

  .trust-badge {
    min-width: 0;
    padding: 12px 14px;
  }

  .quick-grid > div {
    min-height: 82px;
    padding: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .booking-form,
  .contact-card {
    padding: 20px;
  }

  .form-row,
  .about-stats,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-media::before {
    inset: 12px 0 -12px 12px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-grid figure:first-child {
    grid-column: span 1;
  }

  .map-panel {
    min-height: 330px;
  }

  .floating-call {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
