:root {
  --blue: #00adef;
  --blue-dark: #045c86;
  --yellow: #ffdf50;
  --ink: #141414;
  --muted: #5f6670;
  --paper: #ffffff;
  --soft: #eef7fb;
  --line: #d7e4ec;
  --green: #19a851;
  --shadow: 0 18px 50px rgba(10, 40, 60, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.nav a,
.button {
  text-decoration: none;
}

.nav a {
  padding: 10px 0;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 800;
  white-space: nowrap;
}

.button-blue {
  color: #fff;
  background: var(--blue-dark);
}

.button-green {
  color: #fff;
  background: var(--green);
}

.button-yellow {
  color: var(--ink);
  background: var(--yellow);
}

.button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 74px);
  min-height: calc(100vh - 88px);
  padding: clamp(48px, 7vw, 110px) clamp(18px, 6vw, 88px);
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(7, 81, 141, 0.96) 0%, rgba(0, 142, 214, 0.82) 48%, rgba(20, 20, 20, 0.78) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0 1px, transparent 1px 18px),
    url("images/hero-engine.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, center right;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -16vw;
  width: 48vw;
  min-width: 430px;
  aspect-ratio: 1;
  border: 42px solid rgba(255, 224, 51, 0.26);
  border-radius: 50%;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-line {
  max-width: 560px;
  margin: 24px 0 30px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
}

.hero-panel {
  align-self: center;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel img {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto 30px;
}

.hero-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}

.hero-panel span {
  color: var(--muted);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stats article {
  min-height: 150px;
  padding: 32px 18px;
  text-align: center;
  background: #fff;
}

.stats strong {
  display: block;
  color: var(--blue-dark);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
}

.section {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 6vw, 88px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.section h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-text {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 600;
}

.about-photo {
  display: block;
  width: 100%;
  margin-top: 24px;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-text p:first-child {
  margin-top: 0;
}

.soft {
  background: var(--soft);
}

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

.specials-photo {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.products-banner {
  display: block;
  width: 100%;
  max-height: 340px;
  margin-bottom: 36px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 600;
}

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

.product-card,
.branch-list article,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(10, 40, 60, 0.08);
}

.product-card {
  min-height: 320px;
  padding: 0 0 22px;
  overflow: hidden;
}

.product-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #f3f8fb);
  border-bottom: 6px solid var(--yellow);
}

.product-card h3,
.branch-list h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.product-card h3 {
  padding: 20px 20px 0;
}

.product-card p,
.branch-list address,
.contact-card p,
.cta-band p {
  margin: 0;
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

.product-card p {
  padding: 0 20px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.product-tags li {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 13px;
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

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

.product-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--yellow);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(10, 40, 60, 0.08);
}

.product-note strong {
  color: var(--blue-dark);
  font-size: 1.15rem;
}

.product-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.branch-list article,
.contact-card {
  padding: 26px;
}

.branch-list article {
  overflow: hidden;
}

.branch-photo {
  display: block;
  width: calc(100% + 52px);
  margin: -26px -26px 16px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.branch-card-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.branch-card-heading span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  color: var(--blue-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.branch-list article > a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.branch-list article > a + a {
  margin-left: 16px;
}

.map-link {
  color: var(--ink);
}

.contact-card a {
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.cta-band {
  padding: clamp(52px, 7vw, 86px) clamp(18px, 6vw, 88px);
  color: #fff;
  text-align: center;
  background: var(--blue-dark);
}

.cta-band p {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.86);
}

.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 20px;
}

.hours-block {
  padding: 26px;
  background: var(--blue-dark);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(10, 40, 60, 0.08);
}

.hours-block h3 {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
}

.hours-grid span:nth-child(odd) {
  color: var(--yellow);
  font-weight: 900;
  white-space: nowrap;
}

.hours-grid span:nth-child(even) {
  color: #fff;
  font-weight: 700;
}

.contact-card p + p {
  margin-top: 12px;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 18px 42px;
  color: #fff;
  text-align: center;
  background: var(--ink);
}

.footer img {
  width: 132px;
  height: auto;
  background: #fff;
  border-radius: 8px;
}

.footer p,
.footer small {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    position: static;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .stats,
  .product-grid,
  .branch-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 180px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.76rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .header-actions {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stats,
  .product-grid,
  .branch-list {
    grid-template-columns: 1fr;
  }

  .stats article {
    min-height: 126px;
  }
}
