@import "../src/widgets.css";

:root {
  --bg: #f4f2eb;
  --ink: #17241c;
  --muted: #3e5146;
  --paper: #fffcf6;
  --accent: #c65a2e;
  --line: #ddd4c4;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", "Avenir Next", sans-serif;
  --radius: 18px;
  --green: #1e4a34;
}

.hero-split {
  display: grid;
  gap: 1.2rem;
  padding: 1.4rem 0 0.5rem;
  align-items: center;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.hero-frame {
  position: relative;
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}
.hero-frame figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: #fffcf6;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  max-width: 14rem;
  font-size: 0.92rem;
}
.call-link { font-size: 1.35rem; font-weight: 700; text-decoration: none; }

.services { display: grid; gap: 0.75rem; }
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.1rem;
}
.service svg { width: 30px; height: 30px; }
.service h3 { margin: 0.6rem 0 0.3rem; font-size: 1.55rem; }
.service p { margin: 0; color: var(--muted); }

.estimate-band {
  background: var(--green);
  color: #f4faf6;
}
.estimate-band .kicker,
.estimate-band .lede,
.estimate-band .fine { color: #d5e6db; }
.estimate-band legend { color: #d5e6db; }
.estimate {
  display: grid;
  gap: 1.2rem;
}
.estimate .choice span {
  background: transparent;
  color: #f4faf6;
  border-color: rgba(244, 250, 246, 0.35);
}
.estimate .choice input:checked + span {
  background: #f4faf6;
  color: var(--green);
  border-color: #f4faf6;
}
.estimate .choice input:focus-visible + span { outline-color: #f4faf6; }
.estimate input,
.estimate select,
.estimate textarea { background: #f7fbf8; color: #17241c; }
.quote-card {
  background: #16392a;
  border-radius: 20px;
  padding: 1.1rem;
}
.quote-card .kicker { margin-bottom: 0.2rem; }
.quote-price {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.quote-card .btn { background: #f4faf6; color: var(--green); width: 100%; }

.compares { display: grid; gap: 1rem; }
.compare-card figcaption { color: var(--muted); margin-top: 0.45rem; }
.packages { display: grid; gap: 0.75rem; }
.package {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.package h3 { margin: 0 0 0.3rem; font-size: 2rem; }
.package .price { font-size: 1.2rem; margin: 0 0 0.4rem; }
.package p { margin: 0; color: var(--muted); }
.package.is-featured { background: var(--green); color: #f4faf6; }
.package.is-featured p { color: #d5e6db; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0.8rem 0; }
.chips li {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.owner {
  display: grid;
  gap: 1rem;
  align-items: center;
}
.owner img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.phone-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  background: var(--ink);
  color: #f4faf6;
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
}
.phone-banner strong { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 520; }

@media (min-width: 860px) {
  .hero-split { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; padding-top: 2rem; }
  .hero-frame img { aspect-ratio: 5 / 6; max-height: 680px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .estimate { grid-template-columns: 1fr 280px; align-items: start; }
  .quote-card { position: sticky; top: calc(var(--chrome, 0px) + var(--header-h) + 16px); }
  .compares { grid-template-columns: 1.2fr 0.8fr; }
  .packages { grid-template-columns: repeat(3, 1fr); }
  .owner { grid-template-columns: 240px 1fr; }
  .area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
}
