/* =========================================================
   HOME
   Sections are ordered the way a buyer reads: what this is,
   what is available now, proof it has been done before, then
   how to start a conversation.
   ========================================================= */

.home-section {
  padding: 64px 0;
}

.home-section--tint {
  background: #faf8f4;
}

.home-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.home-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a7b1f;
}

.home-head h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
}

.home-head p {
  margin: 0;
  color: #5c5c5c;
  font-size: 16px;
}

/* ---------- Hero ---------- */

.home-hero {
  position: relative;
  overflow: hidden;
  background: #1c1c1c;
}

.home-hero__media {
  position: relative;
  height: 560px;
}

.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.home-hero__media img.is-active {
  opacity: 1;
}

.home-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0.12) 78%
  );
}

.home-hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.home-hero__content {
  max-width: 620px;
  color: #fff;
}

.home-hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.1;
  color: #fff;
}

.home-hero__lede {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.home-hero__note {
  margin: 0 0 26px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

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

/* ---------- Buttons ---------- */

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.home-btn--primary {
  background: var(--brand-yellow, #e1b12c);
  color: #1c1c1c;
}

.home-btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.home-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.home-btn--dark {
  background: #1c1c1c;
  color: #fff;
}

.home-btn--outline {
  border-color: #d8d2c4;
  color: #1c1c1c;
}

.home-btn--outline:hover {
  border-color: #1c1c1c;
}

/* ---------- Intro ---------- */

.home-intro {
  max-width: 820px;
}

.home-intro h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.25;
}

.home-intro p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.7;
  color: #444;
}

/* ---------- Featured project ---------- */

.home-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border: 1px solid #ece7dc;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.06);
}

.home-feature__media {
  position: relative;
  min-height: 380px;
}

.home-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-feature__body {
  padding: 36px;
}

.home-feature__body h3 {
  margin: 0 0 6px;
  font-size: 26px;
}

.home-feature__where {
  margin: 0 0 18px;
  font-size: 14px;
  color: #7a7a7a;
}

.home-points {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.home-points li {
  position: relative;
  padding: 0 0 0 26px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #3c3c3c;
}

.home-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-yellow, #e1b12c);
}

/* ---------- Offer cards ---------- */

.home-grid {
  display: grid;
  gap: 20px;
}

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

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

.home-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #ece7dc;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.home-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.home-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #5c5c5c;
}

.home-card__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #9a7b1f;
}

/* ---------- Completed projects ---------- */

.home-project {
  overflow: hidden;
  border: 1px solid #ece7dc;
  border-radius: 16px;
  background: #fff;
}

.home-project__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f1ede4;
}

.home-project__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-project__body {
  padding: 16px 18px 20px;
}

.home-project__body h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.home-project__body p {
  margin: 0;
  font-size: 13px;
  color: #7a7a7a;
}

/* ---------- Assurances ---------- */

.home-assurances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.home-assurance {
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ece7dc;
}

.home-assurance strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.home-assurance span {
  font-size: 14px;
  line-height: 1.55;
  color: #5c5c5c;
}

/* ---------- Testimonial ---------- */

.home-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.home-quote blockquote {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.65;
  color: #2c2c2c;
}

.home-quote figcaption {
  font-size: 14px;
  color: #7a7a7a;
}

/* ---------- Closing CTA ---------- */

.home-close {
  padding: 48px;
  border-radius: 20px;
  background: #1c1c1c;
  color: #fff;
  text-align: center;
}

.home-close h2 {
  margin: 0 0 10px;
  font-size: 30px;
  color: #fff;
}

.home-close p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.home-close .home-actions {
  justify-content: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .home-feature {
    grid-template-columns: 1fr;
  }

  .home-feature__media {
    min-height: 260px;
  }

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

  .home-assurances {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-hero h1 {
    font-size: 36px;
  }

  .home-hero__media {
    height: 480px;
  }
}

@media (max-width: 600px) {
  .home-section {
    padding: 44px 0;
  }

  /* Let the hero grow with its content on phones. A fixed height clipped the
     buttons once the headline wrapped to three lines, and would clip sooner
     on a narrow handset or with a larger system font. */
  .home-hero__media {
    height: auto;
    min-height: 460px;
  }

  .home-hero__inner {
    position: relative;
    z-index: 1;
    padding: 52px 0 44px;
  }

  .home-hero h1 {
    font-size: 30px;
  }

  .home-hero__lede {
    font-size: 16px;
  }

  .home-hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.52) 50%,
      rgba(0, 0, 0, 0.68) 100%
    );
  }

  .home-grid--3,
  .home-grid--projects,
  .home-assurances {
    grid-template-columns: 1fr;
  }

  .home-feature__body {
    padding: 26px 22px;
  }

  .home-close {
    padding: 34px 22px;
  }

  .home-quote blockquote {
    font-size: 17px;
  }

  .home-actions .home-btn {
    flex: 1 1 100%;
  }
}
