:root {
  --ink: #121417;
  --ink-soft: #4a4e54;
  --lime: #C6F432;
  --paper: #f6f3ec;
  --white: #fff;
  --line: rgba(18, 20, 23, 0.1);
  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }


.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px 22px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 23, 0.58) 0%, rgba(18, 20, 23, 0.18) 52%, rgba(18, 20, 23, 0.12) 100%),
    linear-gradient(180deg, rgba(18, 20, 23, 0.42) 0%, rgba(18, 20, 23, 0.12) 40%, rgba(18, 20, 23, 0.55) 100%);
  pointer-events: none;
}
.agent, .hero-copy { position: relative; z-index: 1; }

.agent {
  display: flex;
  align-items: center;
  gap: 10px;
}
.portrait {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.agent-text { line-height: 1.25; }
.agent-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.phone {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.phone:hover, .phone:focus { color: var(--lime); }

.hero-copy { padding-top: 28px; max-width: 36rem; }
.hero h1, .lede { text-shadow: 0 1px 14px rgba(18, 20, 23, 0.45); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 2.55rem);
  line-height: 1.12;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.lede {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}


.estimate {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 22px 20px 12px;
  background: var(--white);
}
#est-form { margin: 0; }
.f-block { margin: 0 0 22px; }
#est-form label,
.f-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
#est-form input[type="text"],
#est-form input[type="email"],
#est-form input[type="tel"],
#est-form input[type="number"],
#est-form input:not([type]),
#est-form input[inputmode="numeric"] {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
}
#est-form input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  background: var(--white);
}
.addr-wrap { position: relative; }
.addr-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 8;
  margin: 2px 0 0;
  padding: 4px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(18, 20, 23, 0.08);
  max-height: 220px;
  overflow: auto;
}
.addr-list li {
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
}
.addr-list li:hover,
.addr-list li:focus {
  background: var(--paper);
  outline: none;
}
.f-hint, .f-found {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}
.f-row2, .f-row3 {
  display: grid;
  gap: 12px;
}
.f-row2 { grid-template-columns: 1fr; }
.f-row3 { grid-template-columns: repeat(3, 1fr); }
.f-row2 + .f-row2 { margin-top: 12px; }
.f-counts { margin: -8px 0 22px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}
.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.chip:has(input:checked) {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--ink);
}
.chip:has(input:focus-visible) {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.f-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.f-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.f-privacy {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--ink-soft);
}
.f-privacy a { color: inherit; text-underline-offset: 2px; }

.est-submit {
  display: block;
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.est-submit:hover, .est-submit:focus { filter: brightness(0.97); }
.est-submit:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.est-submit:disabled { opacity: 0.65; cursor: wait; }

.f-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}
.f-status.is-error { color: #7a2e2e; }

.foot {
  text-align: center;
  padding: 8px 16px 20px;
  font-size: 11px;
}
.foot a {
  color: var(--ink-soft);
  text-decoration: none;
}
.foot a:hover, .foot a:focus { text-decoration: underline; }

@media (min-width: 700px) {
  .hero {
    min-height: 280px;
    padding: 18px 36px 26px;
  }
  .portrait { width: 52px; height: 52px; }
  .hero-copy { padding-top: 36px; }
  .estimate { padding: 28px 36px 16px; }
  .f-row2 { grid-template-columns: 1fr 1fr; }
}
