:root {
  color-scheme: light;
  --ink: #1c2428;
  --muted: #64737a;
  --paper: #f6f4ef;
  --surface: #ffffff;
  --line: #d9dedb;
  --green: #28635a;
  --green-dark: #17433c;
  --brick: #b95b42;
  --gold: #c9983f;
  --shadow: 0 22px 55px rgba(30, 43, 46, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(28, 36, 40, 0.12);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(28, 36, 40, 0.12);
  background: #fff;
}

.brand-mark img {
  position: absolute;
  top: -19%;
  left: -39%;
  width: 178%;
  height: auto;
  max-width: none;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a:hover {
  color: var(--green-dark);
}

.language-toggle,
.button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.language-toggle {
  padding: 0 16px;
  background: #e6ece8;
  color: var(--green-dark);
}

.language-toggle:hover {
  background: #d7e2dd;
}

.hero {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(16, 31, 31, 0.86), rgba(16, 31, 31, 0.48) 48%, rgba(16, 31, 31, 0.12)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2200&q=82") center / cover;
  color: #fff;
}

.hero-copy {
  max-width: 760px;
  padding-bottom: clamp(8px, 5vw, 52px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c276;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 630px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.primary:hover {
  background: #9f4935;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-panel {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  color: #f0c276;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.25rem;
}

.hero-panel a {
  color: rgba(255, 255, 255, 0.9);
}

.section,
.request-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(28, 36, 40, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(30, 43, 46, 0.12);
}

.service-card:focus-visible {
  outline: 3px solid rgba(201, 152, 63, 0.48);
  outline-offset: 3px;
}

.service-card img {
  height: clamp(220px, 24vw, 320px);
  object-fit: cover;
}

.service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-content p {
  margin-bottom: 24px;
  color: var(--muted);
}

.service-link {
  margin-top: auto;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.detail-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(430px, 64vh, 620px);
  align-items: end;
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 80px);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.detail-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 30, 0.9), rgba(13, 27, 30, 0.62) 52%, rgba(13, 27, 30, 0.18));
  content: "";
}

.detail-hero--auto {
  background-image: url("assets/auto-parts.jpg");
}

.detail-hero--audio {
  background-image: url("https://images.unsplash.com/photo-1595432541891-a461100d3054?auto=format&fit=crop&w=2200&q=84");
}

.detail-hero--rental {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=84");
}

.detail-hero-content {
  max-width: 880px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 750;
}

.back-link:hover {
  color: #fff;
}

.detail-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: 0.96;
}

.detail-hero-content > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.category-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: var(--surface);
}

.category-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.category-intro p:not(.eyebrow) {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.category-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.category-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #e1ebe6;
  color: var(--green-dark);
}

.category-card:nth-child(3n + 2) .category-icon {
  background: #f4e5df;
  color: #964631;
}

.category-card:nth-child(3n) .category-icon {
  background: #f5ecd9;
  color: #7d5c1f;
}

.category-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.category-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.category-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background: #e8eee9;
}

.detail-cta-copy {
  max-width: 760px;
}

.detail-cta-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #e8eee9;
}

.request-copy {
  position: sticky;
  top: 106px;
}

.request-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.request-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.request-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--green-dark);
}

.form-status.is-error {
  color: #a43d2c;
}

input,
select {
  height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 138px;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus,
.language-toggle:focus,
.button:focus {
  outline: 3px solid rgba(201, 152, 63, 0.34);
  outline-offset: 2px;
}

.contact-section {
  background: var(--surface);
}

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

.contact-block {
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--muted);
  font-style: normal;
}

.contact-block strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.contact-block a {
  color: var(--green-dark);
  font-weight: 750;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.86);
}

.footer a {
  font-weight: 750;
}

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

  .nav {
    grid-column: 1 / -1;
    justify-self: start;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: auto;
  }

  .services-grid,
  .request-section,
  .contact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .category-card {
    min-height: 0;
  }

  .detail-cta {
    grid-template-columns: 1fr;
  }

  .detail-cta .button {
    justify-self: start;
  }

  .request-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
    padding: 14px 16px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .language-toggle {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    padding: 42px 16px 34px;
  }

  .detail-hero {
    min-height: 460px;
    padding: 62px 16px 44px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .button {
    width: 100%;
  }

  .section,
  .request-section,
  .category-section,
  .detail-cta {
    padding: 48px 16px;
  }

  .category-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .category-icon {
    width: 44px;
    height: 44px;
  }

  .service-content,
  .contact-block {
    padding: 20px;
  }

  .footer {
    flex-direction: column;
    padding: 24px 16px;
  }
}
