:root {
  --primary-color: #e73c2b;
  --primary-dark: #bb2c20;
  --secondary-color: #0f2036;
  --secondary-soft: #183553;
  --ink: #162033;
  --muted: #64748b;
  --line: #dbe3ea;
  --light-bg: #f5f7fa;
  --white: #ffffff;
  --section-pad: clamp(5.5rem, 9vw, 8.5rem);
  --content-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--light-bg);
  font-family: Oxanium, Arial, sans-serif;
}

img {
  max-width: 100%;
}

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

p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--secondary-color);
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(3.75rem, 8vw, 7.4rem);
}

h2 {
  font-size: clamp(2.35rem, 4.3vw, 4.2rem);
}

h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.site-header {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: var(--secondary-color);
  color: var(--white);
}

.site-header-static {
  position: relative;
  background: var(--secondary-color);
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.homepage-topbar {
  grid-template-columns: 1fr auto 1fr;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 700;
}

.header-brand {
  display: none;
  padding: 1rem 1rem 0;
}

.brand strong,
.header-contact a,
.eyebrow {
  color: var(--primary-color) !important;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.header-contact a {
  font-size: 1.7rem;
  font-weight: 800;
}

.site-header-compact .topbar {
  grid-template-columns: auto auto;
  justify-content: space-between;
  border-bottom: 0;
}

.secondary-site-header .standard-topbar {
  grid-template-columns: 1fr auto 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header-compact .brand {
  align-items: flex-start;
}

.secondary-site-header .brand {
  align-items: center;
}

.site-header-compact .nav-menu {
  display: none;
}

.secondary-site-header .nav-menu {
  display: flex;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.header-actions.secondary-mobile-actions {
  display: none;
}

.header-actions .button {
  min-height: 44px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 0.95rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  /* min-height: clamp(520px, 48vw, 720px); */
  display: flex;
  align-items: center;
  padding: clamp(7rem, 11vw, 10rem) clamp(1.5rem, 4vw, 3.5rem);
  /* background-color: var(--secondary-color); */
  background-image: url("assets/test.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-content {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.85);
}

.page-hero {
  padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 4vw, 3.5rem);
  background: linear-gradient(145deg, #08131f 0%, var(--secondary-color) 64%, #204678 100%);
  color: var(--white);
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero .eyebrow {
  color: var(--primary-color);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.25rem;
}

.hero .button-row {
  justify-content: flex-end;
}

.hero .button-primary {
  background: var(--white);
  color: var(--secondary-color);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  text-shadow: none;
}

.hero .button-primary:hover {
  background: var(--light-bg);
}

.hero .button-secondary {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-shadow: none;
}

.hero .button-secondary:hover {
  background: var(--secondary-soft);
}

.hero h1 {
  font-size: clamp(2.9rem, 6vw, 5.6rem);
}

.hero h2 {
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
}

.hero .eyebrow {
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
}

.eyebrow {
  margin-bottom: 0.55rem;
  font-family: Oxanium, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-row,
.centered-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  font-family: Oxanium, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.button-primary:hover {
  background: var(--primary-dark);
}

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

.button-secondary:hover {
  background: var(--secondary-soft);
}

.button-light {
  background: var(--white);
  color: var(--secondary-color);
}

.button-light:hover {
  background: var(--light-bg);
}

.mobile-header-actions {
  display: none;
}

.section {
  padding: var(--section-pad) clamp(1.5rem, 4vw, 3.5rem);
}

.section-inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.section-light {
  background: var(--light-bg);
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: linear-gradient(145deg, #08131f 0%, var(--secondary-color) 62%, #204678 100%);
  color: var(--white);
}

.section-dark h2,
.section-dark p {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
}

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

.section-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.section-copy .button {
  margin-top: 0.7rem;
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(2.5rem, 5vw, 4.25rem);
}

.section-heading p:not(.eyebrow) {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

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

.info-card {
  min-height: 190px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 32, 54, 0.08);
}

.info-card h3 {
  margin-bottom: 0.8rem;
}

.info-card p + p {
  margin-top: 0.75rem;
}

.section-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 32, 54, 0.16);
}

.shop-slideshow {
  display: grid;
  gap: 0.8rem;
}

.shop-slide-image {
  display: block;
  transition: opacity 0.35s ease;
}

.shop-slide-image.is-fading {
  opacity: 0;
}

.shop-slide-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.shop-slide-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.shop-slide-thumb:hover,
.shop-slide-thumb.is-active {
  opacity: 1;
}

.shop-slide-thumb:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.shop-slide-thumb.is-active {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.24);
}

.shop-slide-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.trust-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--light-bg);
}

.trust-card {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  position: relative;
  min-height: 190px;
  padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
}

.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  border-radius: 999px;
  background: rgba(15, 32, 54, 0.4);
}

.trust-logo {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.trust-number {
  color: var(--primary-color);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
}

.trust-item h2 {
  max-width: 220px;
  font-size: 1rem;
  line-height: 1.18;
}

.trust-item p {
  max-width: 235px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.vehicle-section {
  display: grid;
  gap: 2rem;
}

.vehicle-image {
  width: min(100%, 1120px);
  justify-self: center;
  display: block;
}

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

.reviews-section {
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  background: var(--light-bg);
}

.reviews-panel {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--primary-color);
}

.reviews-panel-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.reviews-heading {
  align-self: center;
  margin-bottom: 0;
}

.reviews-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.05;
}

.reviews-panel .section-heading h2 {
  color: var(--secondary-color);
}

.review-card {
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: clamp(1.5rem, 4vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 32, 54, 0.08);
}

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 100%;
}

.rating-value {
  color: var(--secondary-color);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
}

.rating-stars {
  display: inline-flex;
  flex: 0 1 auto;
  max-width: 100%;
  gap: 0.05em;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1;
  white-space: nowrap;
}

.rating-star {
  color: transparent;
  background: linear-gradient(90deg, var(--primary-color) var(--fill), #d8e0e8 var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
}

.review-count {
  color: var(--secondary-soft);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-section {
  background:
    linear-gradient(rgba(245, 247, 250, 0.94), rgba(245, 247, 250, 0.94)),
    repeating-linear-gradient(
      135deg,
      rgba(15, 32, 54, 0.08) 0,
      rgba(15, 32, 54, 0.08) 14px,
      rgba(15, 32, 54, 0.02) 14px,
      rgba(15, 32, 54, 0.02) 28px
    );
}

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

.service-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.8rem;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(
      180deg,
      rgba(15, 32, 54, 0.08) 0%,
      rgba(15, 32, 54, 0.5) 48%,
      rgba(8, 19, 31, 0.95) 100%
    ),
    var(--service-image),
    linear-gradient(160deg, #08131f 0%, var(--secondary-color) 68%, #204678 100%);
  background-position: center;
  background-size: cover;
  color: var(--white);
  box-shadow: 0 14px 32px rgba(15, 32, 54, 0.2);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 14rem;
  font-size: 1.35rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

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

.service-detail-card {
  min-height: 280px;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 32, 54, 0.08);
}

.service-detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  object-fit: cover;
}

.service-detail-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

.service-accordion-toggle {
  display: none;
}

.service-contact-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(15, 32, 54, 0.16);
}

.service-contact-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.service-contact-panel h3 {
  color: var(--secondary-color);
}

.service-contact-panel p {
  color: var(--muted);
}

.service-contact-panel a:not(.button) {
  color: var(--primary-color);
  font-size: 1.35rem;
  font-weight: 800;
}

.site-footer {
  padding: 4rem clamp(1.5rem, 4vw, 3.5rem) 2.5rem;
  background: var(--secondary-color);
  color: var(--white);
}

.footer-inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-weight: 700;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
  color: var(--white);
}

.site-footer h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.copyright {
  width: min(100%, var(--content-width));
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.w-100 {
  width: 100%;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

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

.justify-content-between {
  justify-content: space-between;
}

.justify-content-end {
  justify-content: flex-end;
}

.align-items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

@media (max-width: 900px) {
  :root {
    --section-pad: clamp(4.5rem, 10vw, 6rem);
  }

  .site-header {
    position: relative;
    background: var(--secondary-color);
  }

  .topbar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-brand {
    display: flex;
  }

  .homepage-topbar .brand {
    display: none;
  }

  .header-contact {
    align-items: center;
  }

  .site-header-compact .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .secondary-site-header .standard-topbar {
    grid-template-columns: 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .secondary-site-header .header-meta {
    display: none;
  }

  .site-header-compact .brand {
    align-items: center;
  }

  .site-header-compact .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .site-header-compact .header-actions .button {
    width: 100%;
  }

  .secondary-site-header .secondary-mobile-actions {
    display: grid;
  }

  .menu-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
  }

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

  .secondary-site-header .nav-menu {
    display: none;
  }

  .secondary-site-header .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--secondary-color);
  }

  .mobile-header-actions .button {
    min-height: 44px;
    padding: 0.75rem 0.7rem;
    font-size: 0.85rem;
  }

  .hero .button-row {
    display: none;
  }

  .about-section-image,
  .estimate-section-image {
    display: none;
  }

  .hero {
    min-height: 60vh;
    padding-top: 5rem;
    background-position: 20% center;
    background-size: cover;
  }

  .trust-card,
  .info-grid,
  .service-detail-grid,
  .split,
  .split-balanced,
  .reviews-panel-inner,
  .review-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-item {
    min-height: 175px;
    padding: 1.25rem 0.9rem;
  }

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

  .service-card {
    min-height: 190px;
    padding: 1rem;
  }

  .service-card h3 {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
  }

  .service-detail-grid {
    gap: 0.75rem;
  }

  .service-detail-card {
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .service-detail-card > .service-detail-image,
  .service-detail-card > h2 {
    display: none;
  }

  .service-accordion-toggle {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 0;
    background: var(--white);
    color: var(--secondary-color);
    font-family: Oxanium, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
  }

  .service-accordion-toggle::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--primary-color);
    font-size: 1.45rem;
    line-height: 1;
  }

  .service-accordion-toggle[aria-expanded="true"]::after {
    content: "-";
  }

  .service-accordion-panel {
    display: none;
    padding: 0 1rem 1.15rem;
  }

  .service-accordion-toggle[aria-expanded="true"] ~ .service-accordion-panel {
    display: block;
  }

  .service-accordion-panel .service-detail-image {
    display: none;
  }

  .trust-item::after {
    display: none;
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid rgba(15, 32, 54, 0.4);
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(15, 32, 54, 0.4);
  }

  .section-dark .split .section-copy {
    order: -1;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 3.2rem;
  }

  .hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .button {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }
}
