:root {
  --bg: #06080b;
  --bg-soft: #0e1620;
  --panel: rgba(10, 16, 22, 0.82);
  --text: #f4f7fb;
  --muted: #aab7c6;
  --blue: #1b9cf0;
  --blue-strong: #0a6dcf;
  --yellow: #ffcc1f;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  background: #0c0c0c;
  color: var(--text);
  overflow-x: hidden;
}

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

.page-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem clamp(1.25rem, 3vw, 3rem) 5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.5rem;
  background: #0c0c0c;
  border-radius: 0.75rem;
}

.brand-logo {
  display: block;
  width: clamp(150px, 22vw, 230px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.35));
  border-radius: 0.5rem;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.topbar-links a:hover,
.topbar-links a:focus-visible {
  color: var(--text);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: end;
  padding-top: 4rem;
}

.hero-copy,
.split-copy,
.feature-panel,
.map-column,
.contact-copy-panel,
.contact-actions-panel {
  min-width: 0;
}

.hero-content-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 56rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.justify-center {
  justify-content: center;
}

.margin-center {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy h1,
.section-heading h2,
.split-copy h2,
.contact-card h2 {
  margin: 0;
  font-family: "Teko", sans-serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  max-width: 18ch;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
}

.hero-text,
.split-copy p,
.instagram-text,
.contact-card p,
.service-card p,
.feature-panel p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 40rem;
  margin: 1.2rem 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: #fff;
  box-shadow: 0 14px 35px rgba(15, 143, 232, 0.25);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 0 clamp(1.25rem, 3vw, 3rem) 5rem;
}

.panel-shell {
  margin-inline: clamp(1.25rem, 3vw, 3rem);
}

.hero-card,
.service-card,
.feature-panel,
.contact-card,
.instagram-section {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: 1.75rem;
}

.hero-card {
  padding: 1.6rem;
}

.hero-card-label,
.hours-title,
.feature-title {
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.8;
  font-size: 0.98rem;
}

.hero-hours {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.hero-hours p {
  margin: 0.2rem 0;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.split-copy h2,
.contact-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  min-height: 15rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
}

.service-card h3 {
  margin: 0 0 1rem;
  font-size: 1.22rem;
}

.accent-blue {
  background:
    linear-gradient(180deg, rgba(15, 143, 232, 0.18), rgba(10, 17, 24, 0.92)),
    var(--panel);
}

.accent-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(10, 17, 24, 0.92)),
    var(--panel);
}

.accent-yellow {
  background:
    linear-gradient(180deg, rgba(255, 203, 23, 0.24), rgba(10, 17, 24, 0.94)),
    var(--panel);
}

.accent-outline {
  border-color: rgba(15, 143, 232, 0.5);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
  min-width: 0;
}

.feature-panel {
  padding: 1.6rem;
}

.garage-gallery-row {
  grid-column: 1 / -1;
  min-width: 0;
}

.garage-gallery-carousel {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  min-width: 0;
}

.garage-gallery-viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.garage-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.garage-gallery-track::-webkit-scrollbar {
  display: none;
}

.garage-gallery-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.garage-gallery-item {
  min-height: 180px;
  aspect-ratio: 1 / 1;
}

.garage-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.carousel-arrow-prev {
  left: 0.5rem;
}

.carousel-arrow-next {
  right: 0.5rem;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.map-column {
  padding-top: 7.2rem;
}

.map-embed {
  display: block;
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.map-link {
  display: table;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.feature-line {
  width: 4rem;
  height: 3px;
  margin: 1rem 0;
  background: linear-gradient(90deg, var(--yellow), var(--blue));
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-card-profile {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.about-photo {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.about-card h2 {
  margin: 0 0 1rem;
  font-family: "Teko", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.about-body {
  display: grid;
  gap: 0.95rem;
}

.about-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-card-wide {
  grid-column: span 2;
}

.form-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-embed {
  display: block;
  width: 100%;
  min-height: 1200px;
  border: 0;
  border-radius: 1rem;
  background: #fff;
}

.form-help {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-help a {
  color: var(--blue);
  text-decoration: underline;
}

.review-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(10, 16, 22, 0.92)),
    var(--panel);
  box-shadow: var(--shadow);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-name,
.review-rating,
.review-text,
.review-meta {
  margin: 0;
}

.review-name {
  font-weight: 700;
  color: var(--text);
}

.review-rating {
  font-weight: 700;
  color: var(--yellow);
}

.review-text {
  color: var(--text);
  line-height: 1.7;
}

.review-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.instagram-section {
  padding: clamp(1.75rem, 4vw, 2.4rem);
  text-align: center;
}

.instagram-text {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

.contact-section {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.contact-layout {
  margin-top: 1.75rem;
  align-items: center;
}

.contact-copy-panel,
.contact-actions-panel {
  padding: 0;
}

.contact-copy-panel p,
.contact-actions-panel p {
  margin: 0;
}

.contact-copy-panel h2 {
  margin: 0 0 0.75rem;
  font-family: "Teko", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.contact-note {
  margin-top: 1rem !important;
  color: var(--muted);
  line-height: 1.7;
}

.contact-actions-panel {
  display: flex;
  justify-content: flex-start;
}

.contact-actions-panel .contact-actions {
  margin-top: 0;
  width: auto;
  justify-content: flex-start;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.3rem);
}

@media (max-width: 1040px) {
  .hero-content,
  .split-section,
  .contact-card,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .split-copy h2 {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.02;
  }

  .split-copy,
  .garage-gallery-row,
  .garage-gallery-carousel,
  .garage-gallery-viewport,
  .garage-gallery-track {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .map-column {
    padding-top: 0;
  }

  .garage-gallery-carousel {
    padding-inline: 0;
  }

  .garage-gallery-track {
    grid-auto-columns: 100%;
  }

  .carousel-arrow {
    top: auto;
    bottom: -3.75rem;
    transform: none;
  }

  .carousel-arrow-prev {
    left: 0;
  }

  .carousel-arrow-next {
    right: 0;
  }

  .garage-gallery-item {
    min-height: 140px;
  }

  .garage-gallery-row {
    grid-column: auto;
  }

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

  .about-card-wide {
    grid-column: auto;
  }

  .about-card-profile {
    grid-template-columns: 1fr;
  }

  .about-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-bottom: 3.5rem;
  }

  .hero-content {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .split-copy h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 1.02;
    max-width: 100%;
    word-break: break-word;
    hyphens: auto;
  }

  .split-copy {
    overflow-wrap: anywhere;
  }

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

  .garage-gallery-track {
    grid-auto-columns: 100%;
  }

  .garage-gallery-item {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .garage-gallery-carousel {
    padding-bottom: 4.5rem;
  }

  .carousel-arrow {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .carousel-arrow-prev {
    left: 0.25rem;
  }

  .carousel-arrow-next {
    right: 0.25rem;
  }

  .button {
    width: 100%;
  }
}
