.home-essential { background: #fff; }
.home-essential main { color: #163a34; }
.home-essential :is(.home-hero, .home-contact) { letter-spacing: 0; }
.home-essential :is(.home-hero, .home-contact) :where(h1, h2, p, figure) { margin: 0; letter-spacing: 0; }
.home-essential .home-hero { position: relative; isolation: isolate; overflow: hidden; background: #173f38; }
.home-hero__city { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(13, 47, 40, .96) 0%, rgba(13, 47, 40, .9) 35%, rgba(13, 47, 40, .48) 65%, rgba(13, 47, 40, .12) 100%); }
.home-hero__inner { width: min(1200px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .9fr; gap: 54px; align-items: end; min-height: 520px; }
.home-hero__copy { align-self: center; padding: 36px 0; min-width: 0; }
.home-essential .home-eyebrow { margin-bottom: 20px; color: #8c672a; font-size: 13px; line-height: 1.5; font-weight: 700; text-transform: uppercase; }
.home-essential .home-hero .home-eyebrow { color: #f0d29b; }
.home-essential .home-hero h1 { color: #fff; font-size: 68px; line-height: 1.08; font-weight: 750; }
.home-essential .home-hero__intro { margin-top: 24px; color: #fff; font-size: 24px; line-height: 1.4; font-weight: 700; }
.home-essential .home-hero__lead { margin-top: 14px; color: #edf3ef; max-width: 510px; font-size: 20px; line-height: 1.6; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.home-essential .home-hero .button { background: #f0d29b; color: #132f2d; border-color: #f0d29b; min-height: 54px; padding: 15px 24px; font-size: 16px; text-align: center; }
.home-essential .home-hero .button:hover { background: #ffe5b7; border-color: #ffe5b7; }
.home-hero__search { color: #fff; font-size: 16px; text-underline-offset: 5px; }
.home-essential .home-hero__phone { margin-top: 22px; color: #e5ece7; font-size: 15px; }
.home-hero__phone a { color: #fff; text-underline-offset: 4px; }
.home-hero__portrait { display: grid; justify-items: center; min-width: 0; padding-top: 24px; }
.home-hero__portrait img { display: block; width: 420px; max-width: 100%; height: 380px; object-fit: contain; object-position: center bottom; }
.home-hero__portrait figcaption { width: 100%; text-align: center; padding: 18px 12px 20px; color: #fff; background: rgba(12, 42, 36, .82); }
.home-hero__portrait figcaption strong { display: block; font-size: 21px; line-height: 1.4; }
.home-hero__portrait figcaption span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; }
.home-contact { background: #fff; padding: 44px 0 62px; scroll-margin-top: 125px; }
.home-contact__inner { width: min(1200px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.2fr; gap: 80px; align-items: start; }
.home-contact__copy { min-width: 0; padding-top: 8px; }
.home-essential .home-contact h2 { color: #173f38; font-size: 42px; line-height: 1.15; margin-bottom: 24px; }
.home-contact__copy p { font-size: 18px; line-height: 1.7; color: #51635d; }
.home-essential .home-contact__copy p + p { margin-top: 16px; }
.home-contact__phone { display: inline-block; margin-top: 26px; color: #173f38; font-size: 24px; font-weight: 700; text-underline-offset: 6px; }
.home-contact .contact-form { padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; width: 100%; max-width: none; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-contact .form-row--full { grid-column: 1 / -1; }
.home-contact .form-row { min-width: 0; }
.home-contact label { color: #173f38; }
.home-contact :is(input, select, textarea) { width: 100%; min-height: 48px; background: #f8faf9; border-color: #cdd9d2; color: #14352d; }
.home-contact textarea { min-height: 104px; resize: vertical; }
.home-contact .form-trap { position: absolute; width: 1px; min-height: 1px; height: 1px; }
.home-contact .privacy-check input { width: 18px; min-height: 18px; }
.home-contact .privacy-check { font-size: 14px; line-height: 1.5; }
.home-contact .button--primary { background: #24584b; border-color: #24584b; color: #fff; min-height: 52px; font-size: 16px; }
.home-contact .button--primary:hover { background: #173f38; border-color: #173f38; }
.home-contact .form-note { font-size: 12px; color: #63736c; }
.home-essential :is(.home-hero, .home-contact) a:focus-visible { outline: 3px solid #b28232; outline-offset: 5px; }

@media (max-width: 1100px) {
  .home-hero__inner { width: calc(100% - 48px); gap: 24px; grid-template-columns: 1.12fr .9fr; }
  .home-essential .home-hero h1 { font-size: 56px; }
  .home-hero__portrait img { height: 380px; }
  .home-contact__inner { width: calc(100% - 48px); gap: 42px; }
}

@media (max-width: 700px) {
  .home-hero__inner { width: calc(100% - 40px); min-height: auto; grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr); gap: 0 12px; padding: 26px 0 24px; }
  .home-hero::before { background: linear-gradient(180deg, rgba(13, 47, 40, .93), rgba(13, 47, 40, .77) 55%, rgba(13, 47, 40, .3)); }
  .home-hero__copy { display: contents; }
  .home-hero__copy > * { grid-column: 1 / -1; }
  .home-essential .home-hero h1 { grid-column: 1; grid-row: 2; font-size: 38px; align-self: end; }
  .home-essential .home-hero .home-eyebrow { grid-row: 1; margin-bottom: 16px; }
  .home-essential .home-hero__intro { grid-column: 1; grid-row: 3; font-size: 17px; margin-top: 12px; align-self: start; }
  .home-essential .home-hero__lead { grid-row: 4; font-size: 17px; margin-top: 22px; max-width: 440px; }
  .home-hero__actions { grid-row: 5; gap: 16px; margin-top: 22px; }
  .home-essential .home-hero .button { width: auto; min-height: 50px; padding: 12px 20px; }
  .home-essential .home-hero__phone { grid-row: 6; margin-top: 16px; font-size: 14px; }
  .home-hero__portrait { grid-column: 2; grid-row: 2 / span 2; padding-top: 0; width: 100%; align-self: end; }
  .home-hero__portrait img { height: 190px; width: 100%; }
  .home-hero__portrait figcaption { display: none; }
  .home-contact { padding: 44px 0 50px; scroll-margin-top: 95px; }
  .home-contact__inner { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-essential .home-contact h2 { font-size: 34px; margin-bottom: 18px; }
  .home-contact__copy p { font-size: 17px; }
  .home-contact__phone { margin-top: 18px; font-size: 22px; }
  .home-contact .contact-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-essential { scroll-behavior: auto; }
}
