:root {
  --ink: #1f2328;
  --muted: #59636e;
  --paper: #fffaf0;
  --white: #ffffff;
  --line: #e8ddca;
  --red: #e4372f;
  --blue: #1769e0;
  --yellow: #f7c820;
  --green: #198d56;
  --shadow: 0 18px 50px rgba(31, 35, 40, 0.18);
}

* {
  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;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid rgba(232, 221, 202, 0.9);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 3px;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  padding: 4px;
  background: var(--red);
  border-radius: 6px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}

.brand-mark span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.nav-links {
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, 82vh);
  overflow: hidden;
  color: var(--white);
  background: #2d2218;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.76), rgba(18, 16, 14, 0.36) 48%, rgba(18, 16, 14, 0.02)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  padding: clamp(70px, 9vw, 110px) 0 52px;
  margin-left: clamp(18px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 10px;
  color: currentColor;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe27a;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.42);
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.17rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 56ch;
  margin-bottom: 24px;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.48);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

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

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) 0;
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 26px;
  padding-bottom: 18px;
}

.intro-item {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-item strong {
  font-size: 1.05rem;
}

.intro-item span,
.service-card p,
.steps p,
.contact-section p,
.site-footer {
  color: var(--muted);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 24px;
}

.section-heading .eyebrow {
  color: var(--green);
}

.photos {
  padding-top: 34px;
}

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

.photo-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 35, 40, 0.08);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-weight: 700;
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 35, 40, 0.08);
}

.service-card.red {
  border-top: 8px solid var(--red);
}

.service-card.blue {
  border-top: 8px solid var(--blue);
}

.service-card.yellow {
  border-top: 8px solid var(--yellow);
}

.service-icon {
  display: grid;
  grid-template-columns: repeat(2, 14px);
  gap: 4px;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  padding: 6px;
  border-radius: 7px;
  background: currentColor;
  color: var(--green);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.13);
}

.service-card.red .service-icon {
  color: var(--red);
}

.service-card.blue .service-icon {
  color: var(--blue);
}

.service-card.yellow .service-icon {
  color: var(--yellow);
}

.service-icon::before,
.service-icon::after {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 18px 0 0 rgba(255, 255, 255, 0.48);
}

.process {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
  padding: clamp(28px, 5vw, 46px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(228, 55, 47, 0.95), rgba(25, 141, 86, 0.95)),
    #25313b;
  border-radius: 8px;
}

.contact-section p {
  max-width: 62ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  padding: 24px 18px 34px;
  text-align: center;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer .credits {
  max-width: 900px;
  margin: 10px auto 0;
}

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 16, 14, 0.76), rgba(18, 16, 14, 0.42)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.06) 52%);
  }

  .hero-content {
    margin-left: 18px;
    padding-top: 82px;
  }

  h1 {
    max-width: 11ch;
  }

  .intro,
  .photo-grid,
  .service-grid,
  .process,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .nav-links {
    gap: 8px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 700px;
  }

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

  .button {
    min-height: 48px;
  }

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