:root {
  --ink: #17211f;
  --muted: #66716d;
  --line: #dbe3df;
  --paper: #fbfcf9;
  --surface: rgba(255, 255, 255, 0.94);
  --green: #0f6b52;
  --green-dark: #0a4638;
  --mint: #dff7e8;
  --amber: #f4b84a;
  --sun: #fff0b8;
  --coral: #f26d5b;
  --sky: #8dd7f7;
  --blue: #246c8f;
  --shadow: 0 24px 70px rgba(15, 38, 32, 0.18);
  --color-shadow: 0 20px 54px rgba(36, 108, 143, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff8df 0, var(--paper) 28rem),
    var(--paper);
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, #fff0b8 0%, #dff7e8 42%, #dff1ff 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 225, 0.98) 0%, rgba(251, 252, 249, 0.9) 38%, rgba(223, 247, 232, 0.28) 70%, rgba(141, 215, 247, 0.34) 100%),
    linear-gradient(180deg, rgba(244, 184, 74, 0.22), rgba(15, 107, 82, 0.06));
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue) 58%, var(--coral));
  box-shadow: 0 10px 24px rgba(36, 108, 143, 0.26);
}

.brand-name {
  font-size: 1.22rem;
}

.phone-link {
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  padding: 9px 12px;
  box-shadow: 0 10px 24px rgba(15, 107, 82, 0.16);
}

.hero-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(92vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: 28px 0 72px;
}

.intro {
  max-width: 650px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  color: var(--green-dark);
  background: var(--sun);
  border: 1px solid rgba(244, 184, 74, 0.45);
  border-radius: 8px;
  padding: 8px 11px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: #10231f;
}

.lead {
  margin: 22px 0 0;
  max-width: 560px;
  color: #384540;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.55;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 107, 82, 0.18);
  background: rgba(255, 255, 255, 0.72);
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--green-dark);
}

.signal-row span:nth-child(1) {
  background: #fff0b8;
  border-color: rgba(244, 184, 74, 0.54);
}

.signal-row span:nth-child(2) {
  background: #dff7e8;
  border-color: rgba(15, 107, 82, 0.28);
}

.signal-row span:nth-child(3) {
  background: #dff1ff;
  border-color: rgba(36, 108, 143, 0.24);
}

.lead-form {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--amber), var(--green), var(--sky)) border-box;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: var(--shadow), var(--color-shadow);
  padding: clamp(18px, 3vw, 28px);
  backdrop-filter: blur(12px);
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.form-heading p {
  margin: 0;
  font-weight: 850;
  font-size: 1.2rem;
}

.form-heading span {
  color: #63370a;
  background: var(--sun);
  border: 1px solid rgba(244, 184, 74, 0.5);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: #4d5b56;
  font-size: 0.88rem;
  font-weight: 750;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea {
  resize: vertical;
  min-height: 88px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(141, 215, 247, 0.28);
}

.submit-button {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(36, 108, 143, 0.24);
  transition: filter 150ms ease, transform 150ms ease;
}

.submit-button:hover {
  filter: brightness(0.92);
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.submit-button svg {
  width: 22px;
  height: 22px;
}

.fineprint,
.form-status {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.form-status[data-tone="success"] {
  color: var(--green-dark);
  font-weight: 800;
}

.form-status[data-tone="error"] {
  color: #9b2d20;
  font-weight: 800;
}

.details {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.details article {
  border: 1px solid rgba(15, 107, 82, 0.12);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 38, 32, 0.08);
}

.details article:nth-child(1) {
  background: linear-gradient(180deg, #fff8d8, #fff);
  border-top-color: var(--amber);
}

.details article:nth-child(2) {
  background: linear-gradient(180deg, #e4f9ed, #fff);
  border-top-color: var(--green);
}

.details article:nth-child(3) {
  background: linear-gradient(180deg, #e2f4ff, #fff);
  border-top-color: var(--blue);
}

.details strong,
.details span {
  display: block;
}

.details strong {
  font-size: 1rem;
  margin-bottom: 6px;
}

.details span {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 880px) {
  .hero {
    min-height: auto;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(251, 252, 249, 0.97) 0%, rgba(251, 252, 249, 0.9) 44%, rgba(251, 252, 249, 0.56) 100%),
      linear-gradient(90deg, rgba(20, 32, 28, 0.08), rgba(20, 32, 28, 0.04));
  }

  .hero-media img {
    object-position: center bottom;
  }

  .topbar {
    padding: 16px 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 28px 0 48px;
  }

  .intro {
    max-width: none;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
  }

  .lead-form {
    max-width: 560px;
  }

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

@media (max-width: 560px) {
  .phone-link {
    font-size: 0.92rem;
  }

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

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .signal-row span {
    width: 100%;
  }
}
