:root {
  --ink: #18201d;
  --muted: #5e675f;
  --paper: #f7f3eb;
  --white: #fffdf8;
  --line: #dfd6c9;
  --green: #315947;
  --green-dark: #223d33;
  --gold: #c78b38;
  --clay: #b65e45;
  --blue: #446273;
  --shadow: 0 18px 50px rgba(24, 32, 29, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.93);
  border-bottom: 1px solid rgba(223, 214, 201, 0.85);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 43%, rgba(255, 255, 255, 0.8) 43% 57%, transparent 57%),
    linear-gradient(135deg, var(--green) 0 35%, var(--gold) 35% 65%, var(--clay) 65%);
  box-shadow: inset 0 0 0 1px rgba(24, 32, 29, 0.16);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-phones {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  font-weight: 700;
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 88px) clamp(50px, 8vw, 80px);
  background:
    linear-gradient(rgba(24, 32, 29, 0.35), rgba(24, 32, 29, 0.24)),
    url("assets/hero-painting.svg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 760px;
  color: var(--white);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.36);
}

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

.hero h1,
.section h2,
.process-band h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 6vw, 5.75rem);
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  text-shadow: none;
}

.button.primary {
  background: var(--gold);
  color: #17120b;
}

.button.secondary {
  border: 1px solid rgba(255, 253, 248, 0.72);
  color: var(--white);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin: 42px 0 0;
  background: rgba(255, 253, 248, 0.22);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 8px;
  overflow: hidden;
  text-shadow: none;
}

.quick-facts div {
  padding: 18px;
  background: rgba(24, 32, 29, 0.58);
}

.quick-facts dt {
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.78rem;
}

.quick-facts dd {
  margin: 3px 0 0;
  color: var(--white);
  font-size: 1.14rem;
  font-weight: 800;
}

.intro-band,
.section,
.process-band,
.contact-section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 88px);
}

.intro-band {
  background: var(--green-dark);
  color: var(--white);
}

.intro-content {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro-band p {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.45;
}

.vehicle-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.vehicle-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2,
.process-band h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

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

.service-item {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(24, 32, 29, 0.06);
}

.service-item span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-item h3 {
  margin: 16px 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-item p {
  margin: 0;
  color: var(--muted);
}

.process-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: #e8dfd2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(24, 32, 29, 0.16);
  font-size: 1.06rem;
}

.process-list strong {
  color: var(--clay);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.photo-placeholder {
  min-height: 340px;
  display: grid;
  place-items: end start;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 89, 71, 0.82), rgba(68, 98, 115, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.14) 0 1px, transparent 1px 42px);
  color: var(--white);
  overflow: hidden;
}

.photo-placeholder.accent {
  background:
    linear-gradient(135deg, rgba(182, 94, 69, 0.82), rgba(199, 139, 56, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 253, 248, 0.14) 0 1px, transparent 1px 46px);
}

.photo-placeholder.dark {
  background:
    linear-gradient(135deg, rgba(24, 32, 29, 0.84), rgba(49, 89, 71, 0.76)),
    repeating-linear-gradient(45deg, rgba(255, 253, 248, 0.12) 0 1px, transparent 1px 34px);
}

.photo-placeholder span {
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(24, 32, 29, 0.64);
  font-weight: 800;
}

.gallery-photo {
  position: relative;
  min-height: 340px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery-photo.tall {
  grid-row: span 2;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
  object-fit: cover;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  background: var(--green);
  color: var(--white);
}

.contact-section p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.08rem;
}

.contact-box {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 8px;
  font-style: normal;
}

.phone-list {
  display: grid;
  gap: 10px;
}

.phone-link {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.email-link,
.contact-box span {
  color: rgba(255, 253, 248, 0.78);
}

.email-link {
  width: fit-content;
  border-bottom: 1px solid rgba(255, 253, 248, 0.45);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 6vw, 88px);
  background: var(--ink);
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

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

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .intro-content,
  .services-grid,
  .process-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .photo-placeholder,
  .gallery-photo img {
    min-height: 260px;
  }

  .gallery-photo.tall {
    grid-row: auto;
  }
}

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

  .brand small,
  .header-call {
    font-size: 0.76rem;
  }

  .header-call {
    min-height: 38px;
    padding: 0 10px;
  }

  .hero {
    min-height: auto;
    padding: 72px 18px 42px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

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

  .section-heading,
  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}
