:root {
  --ink: #18232b;
  --muted: #5f6b73;
  --paper: #f6f3ee;
  --white: #ffffff;
  --line: rgba(24, 35, 43, 0.12);
  --accent: #b2452f;
  --accent-dark: #8d321f;
  --sage: #68745f;
  --wash: #ece7df;
}

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

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  color: var(--white);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-size: 30px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a,
.header-phone {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
}

.header-phone {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 18, 20, 0.84), rgba(15, 18, 20, 0.42) 46%, rgba(15, 18, 20, 0.16)),
    url("realisation-grand-volume.jpg") center/cover no-repeat;
}

.hero-inner {
  width: min(650px, 100%);
  padding: 180px 0 92px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow {
  padding: 0 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.kicker-light {
  color: rgba(255, 255, 255, 0.72);
}

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

h1 {
  margin-bottom: 16px;
  font-size: 54px;
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero p {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.proof {
  position: relative;
  z-index: 1;
  margin-top: -36px;
}

.proof-grid,
.card-grid,
.gallery-grid,
.contact-grid,
.two-cols {
  display: grid;
  gap: 16px;
}

.proof-grid {
  grid-template-columns: repeat(4, 1fr);
}

.proof article,
.card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: 25px;
}

.section {
  padding: 84px 0;
}

.two-cols {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.copy {
  color: var(--muted);
}

.copy p:last-child {
  margin-bottom: 0;
}

.section-head {
  margin-bottom: 28px;
}

.services-grid,
.benefits-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card p,
blockquote p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-section {
  background: var(--wash);
}

.gallery-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: 260px 260px;
}

.gallery-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
}

.gallery-card-large {
  grid-row: span 2;
}

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

.gallery-card figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-details a {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0 14px;
}

.quote-form textarea {
  min-height: 120px;
  padding-top: 14px;
}

.full,
.full-button {
  grid-column: 1 / -1;
}

.full-button {
  width: fit-content;
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer-row a {
  text-decoration: none;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.thank-you-card {
  max-width: 640px;
}

.thank-you-card h1 {
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding-top: 150px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 18px;
  }

  .proof-grid,
  .services-grid,
  .benefits-grid,
  .reviews-grid,
  .contact-grid,
  .two-cols,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
  }

  .gallery-card-large {
    grid-row: auto;
  }

  .section {
    padding: 64px 0;
  }

  .footer-row {
    display: grid;
  }
}
