/* Base reset and element defaults (moved here from the retired legacy stylesheet) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #2b2b26;
  background: #f7f5f0;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-weight: 700; line-height: 1.25; color: #203327; }
h1 { font-size: 2.4rem; color: #ffffff; }
h2 { font-size: 1.9rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
strong { color: #203327; }
#quote-form { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
#quote-form label { font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; }
#quote-form input, #quote-form select, #quote-form textarea {
  padding: 0.6rem 0.7rem;
  border: 1px solid #cfc9b8;
  border-radius: 6px;
  font: inherit;
  width: 100%;
}

/* Burbank Landscaping Co. Written from the design brief in CLAUDE.md.
   This is the only stylesheet. */

:root {
  --ink: #232417;
  --olive: #565d1f;
  --paper: #f3efe3;
  --tint: #e6e2cc;
  --clay: #b4532a;
  --radius: 10px;
  --rule: 1px dotted rgba(86, 93, 31, 0.6);
  --head: 'Bitter', Georgia, 'Times New Roman', serif;
  --body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
}

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
a { color: var(--olive); }
img { max-width: 100%; }

/* In-text links stay underlined so they read as links */
.sec p a, .sec li a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olive);
  color: var(--paper);
}
.hd-in {
  position: relative;
  max-width: var(--wrap);
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.hd-logo {
  position: absolute;
  left: 24px;
  top: 0;
  display: block;
  line-height: 0;
  padding: 8px 10px 10px;
  background: var(--paper);
  border-radius: 0 0 var(--radius) var(--radius);
}
.hd-logo img { width: 92px; height: auto; display: block; }
.hd-nav {
  margin-left: auto;
  padding-left: 132px;
  display: flex;
  gap: 30px;
}
.hd-nav a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.hd-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hd-call {
  background: var(--clay);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: var(--radius);
}
.hd-call:hover { background: #9c4522; }
.hd-call-short { display: none; }
.hd-menu {
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  font: 500 15px var(--body);
  padding: 8px 4px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hx { background: var(--tint); }
.hx-band {
  position: relative;
  height: clamp(220px, 18vw, 260px);
  overflow: hidden;
}
.hx-band picture,
.hx-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hx-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--olive);
  opacity: 0.2;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hx-band-in {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
}
.hx-sign {
  max-width: 640px;
  padding: 18px 28px 20px;
  background: var(--olive);
  color: var(--paper);
  border-radius: var(--radius) var(--radius) 0 0;
}
.hx-sign h1 {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 44px);
  color: var(--paper);
}
.hx-sign.wide { max-width: 700px; }
.hx-sign.wide h1 { font-size: clamp(26px, 2.5vw, 36px); }
.hx-sign p {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.hx-body {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  grid-template-areas: "call form" "specs form";
  column-gap: 56px;
  align-items: start;
}
.hx-call {
  grid-area: call;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hx-call p { margin: 0; font-size: 16px; }
.hx-phone {
  display: inline-block;
  background: var(--clay);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  padding: 12px 22px;
  border-radius: var(--radius);
}
.hx-phone:hover { background: #9c4522; }

.hx-specs {
  grid-area: specs;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
.hx-specs p {
  margin: 0;
  padding: 12px 0 14px;
  border-top: var(--rule);
  font-size: 15.5px;
  line-height: 1.5;
}
.hx-specs strong { color: var(--olive); font-weight: 700; }
.hx-specs small { font-size: 13px; opacity: 0.8; }

.hx-form {
  grid-area: form;
  margin-top: -170px;
  position: relative;
  z-index: 3;
  padding: 22px 24px 24px;
  background: var(--paper);
  border-radius: var(--radius);
}
.hx-form-title {
  margin: 0 0 14px;
  font: 700 23px/1.2 var(--head);
}
.hx-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.hx-form .full { grid-column: 1 / -1; }
.hx-form label {
  display: block;
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 500;
}
.hx-form input,
.hx-form select,
.hx-form textarea {
  width: 100%;
  font: 400 16px var(--body);
  color: var(--ink);
  background: var(--tint);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 9px 12px;
}
.hx-form textarea { resize: vertical; min-height: 62px; }
.hx-form input:focus,
.hx-form select:focus,
.hx-form textarea:focus { outline: 2px solid var(--olive); outline-offset: 1px; }
.hx-submit {
  width: 100%;
  font: 700 17px var(--body);
  color: var(--paper);
  background: var(--clay);
  border: 0;
  border-radius: var(--radius);
  padding: 13px 18px;
  cursor: pointer;
}
.hx-submit:hover { background: #9c4522; }
.hx-status { margin: 0; min-height: 1.2em; font-size: 14px; }

/* ---------- Sections ---------- */
.sec { padding: 56px 0 60px; background: var(--paper); }
.sec.alt { background: var(--tint); }
.sec-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sec h2 {
  margin: 0 0 22px;
  padding-bottom: 14px;
  font-size: clamp(26px, 3vw, 34px);
  border-bottom: var(--rule);
}

/* Services: ruled rows, whole row is one link */
.sv-intro { margin: 0 0 8px; max-width: 760px; }
.sv-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 340px;
  column-gap: 32px;
  align-items: center;
  padding: 26px 0;
  border-bottom: var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.sv-row:last-child { border-bottom: 0; }
.sv-num {
  font: 700 54px/1 var(--head);
  color: var(--olive);
  align-self: start;
}
.sv-text h3 { margin: 0 0 8px; font-size: 23px; }
.sv-text p { margin: 0 0 10px; }
.sv-more { font-weight: 700; color: var(--olive); }
.sv-more::after { content: " \2192"; }
.sv-row:hover h3,
.sv-row:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; }
.sv-row:hover .sv-more { text-decoration: underline; text-underline-offset: 3px; }
.sv-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* How it works: plain numerals in ruled rows beside a portrait */
.btn-clay {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 26px;
  background: var(--clay);
  color: var(--paper);
  font: 700 17px var(--body);
  text-decoration: none;
  border-radius: var(--radius);
}
.btn-clay:hover { background: #9c4522; }
.hw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 64px;
  align-items: start;
}
.hw-main h2 { margin-bottom: 18px; }
.hw-intro { margin: 0 0 6px; max-width: 640px; }
.hw-steps { list-style: none; margin: 0; padding: 0; }
.hw-steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 18px;
  padding: 20px 0;
  border-bottom: var(--rule);
}
.hw-steps li:last-child { border-bottom: 0; }
.hw-num { font: 700 44px/1 var(--head); color: var(--olive); }
.hw-steps h3 { margin: 0 0 6px; font-size: 21px; }
.hw-steps p { margin: 0; }
.hw-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 8px;
}

/* Cost: dark band with plain figures, ruled table, image splits, checklist */
.sec.dark { background: var(--olive); color: var(--paper); }
.sec.dark h2 { color: var(--paper); border-bottom-color: rgba(243, 239, 227, 0.45); }
.cost-intro { margin: 0 0 30px; max-width: 760px; }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.fig { display: block; padding-top: 14px; border-top: 1px dotted rgba(243, 239, 227, 0.55); }
.fig-n { display: block; font: 700 clamp(34px, 4vw, 52px)/1.05 var(--head); }
.fig-l { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; }

.cost-table h3,
.rb-table h3,
.split h3,
.sec h3.cl-h { margin: 0 0 14px; font-size: 26px; }
.cost-table h3,
.rb-table h3 { margin-bottom: 20px; }
.ct { width: 100%; border-collapse: collapse; font-size: 16px; }
.ct th, .ct td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; line-height: 1.45; }
.ct thead th { border-bottom: 3px solid var(--olive); font: 700 15px var(--body); color: var(--olive); padding-bottom: 10px; }
.ct tbody tr { border-bottom: 1px solid rgba(86, 93, 31, 0.28); }
.ct tbody tr:last-child { border-bottom: 0; }
.ct tbody th { font: 700 18px/1.3 var(--head); width: 15%; }
.note { margin: 18px 0 0; font-size: 14px; line-height: 1.5; max-width: 900px; }

.split { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 56px; align-items: center; padding: 14px 0 34px; }
.split + .split { padding: 34px 0 14px; border-top: var(--rule); }
.split.flip { grid-template-columns: minmax(0, 1fr) 300px; }
.split.flip img { order: 2; }
.split img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); display: block; }
.split p { margin: 0 0 14px; }
.split ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.split li::marker { color: var(--olive); }
.split li { margin: 0 0 6px; }

.cl-intro { margin: 0 0 8px; max-width: 760px; }
.cl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.cl li { padding: 13px 0; border-bottom: var(--rule); }
.cost-table ~ .sec .btn-clay { margin-top: 28px; }
.cost-after { margin: 22px 0 0; max-width: 760px; }

/* Trust: ruled rows, heading left and text right */
.tr-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  column-gap: 56px;
  padding: 24px 0;
  border-bottom: var(--rule);
}
.tr-row:last-child { border-bottom: 0; }
.tr-row h3 { margin: 0; font-size: 23px; }
.tr-row p { margin: 0 0 10px; max-width: 720px; }
.tr-row .tr-fact { margin: 0; font-weight: 700; color: var(--olive); }

/* FAQ: always open, two columns on desktop */
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.qa-item { padding: 18px 0 8px; border-top: var(--rule); }
.qa-item:nth-child(-n+2) { border-top: 0; padding-top: 6px; }
.qa-item h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.qa-item p { margin: 0 0 12px; }

/* Rebate rules: light figures, two-column table, ruled lists */
.rb-intro { margin: 0 0 28px; max-width: 800px; }
.figs.lite .fig { border-top: var(--rule); }
.figs.lite .fig-n { color: var(--olive); }
.ct.two tbody th { width: 26%; }
.ct.two td { padding-right: 0; }
.rb-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.rb-grid h3 { margin: 0 0 6px; font-size: 24px; }
.rl { list-style: none; margin: 0; padding: 0; }
.rl li { padding: 13px 0; border-bottom: var(--rule); }
.rl li:last-child { border-bottom: 0; }
.rb-cta { margin: 30px 0 0; max-width: 760px; font-weight: 500; }
.rb-cols .btn-clay { margin-top: 18px; }

/* Local: three columns with a plain figure on top, then a ruled row */
.lc-intro { margin: 0 0 28px; max-width: 760px; }
.lc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.lc-col { padding-top: 14px; border-top: var(--rule); }
.lc-fig { display: block; font: 700 clamp(30px, 3.4vw, 44px)/1.05 var(--head); color: var(--olive); margin-bottom: 12px; }
.lc-col h3 { margin: 0 0 8px; font-size: 21px; }
.lc-col p { margin: 0; }
.lc-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 56px; margin-top: 36px; padding-top: 22px; border-top: var(--rule); }
.lc-row h3 { margin: 0; font-size: 23px; }
.lc-row p { margin: 0 0 12px; max-width: 720px; }

.tot-h { margin: 38px 0 8px !important; font-size: 26px; }
.tot-intro { margin: 0 0 8px; max-width: 760px; }
.cl.tot { margin-bottom: 4px; }

/* Service area and final call to action */
.sa p { margin: 0 0 14px; max-width: 760px; }
.sec.ink { background: var(--ink); color: var(--paper); }
.sec.ink h2 { color: var(--paper); border-bottom-color: rgba(243, 239, 227, 0.4); }
.cta-text { margin: 0 !important; max-width: 680px; font-size: 19px; }
.cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.cta-row .btn-clay { margin-top: 0; font-size: 20px; padding: 14px 28px; }
.cta-form { color: var(--paper); font-weight: 500; font-size: 17px; text-decoration: underline; text-underline-offset: 4px; }
.cta-form:hover { color: #fff; }

/* Footer */
.ft { background: var(--olive); color: var(--paper); padding: 48px 0 22px; }
.ft-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.9fr 1.2fr;
  column-gap: 40px;
}
.ft h2 { margin: 0 0 10px; padding: 0; border: 0; font-size: 20px; color: var(--paper); }
.ft .ft-h2b { margin-top: 24px; }
.ft p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; color: var(--paper); }
.ft a { color: var(--paper); }
.ft-phone a { font: 700 22px var(--head); text-decoration: none; }
.ft-phone a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-nav { display: flex; flex-direction: column; gap: 8px; }
.ft-nav a { font-size: 15.5px; text-decoration: none; }
.ft-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-svc { gap: 6px; }
.ft-svc a { font-size: 14.5px; }
.ft-map iframe { display: block; width: 100%; height: 240px; border: 0; border-radius: var(--radius); }
.ft-copy {
  max-width: var(--wrap);
  margin: 34px auto 0 !important;
  padding: 16px 24px 0;
  border-top: 1px dotted rgba(243, 239, 227, 0.5);
  font-size: 14px !important;
}

/* About / approach block (the rewritten intro, kept high on the page) */
.ab-lead p { margin: 0 0 14px; max-width: 800px; }
.ab-lead { margin-bottom: 8px; }
.ab-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 56px; align-items: start; margin-top: 18px; }
.ab-text { max-width: 800px; }
.ab-text h3, .ab-after h3 { margin: 18px 0 10px; font-size: 24px; }
.ab-text p, .ab-after p { margin: 0 0 14px; }
.ab-list { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.ab-list li { margin: 0 0 6px; }
.ab-list li::marker { color: var(--olive); }
.ab-photo { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); margin-top: 22px; display: block; }
.ab-after { max-width: 800px; margin-top: 10px; padding-top: 6px; border-top: var(--rule); }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 899px) {
  .hx-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "call" "form" "specs";
  }
  .hx-form { margin-top: 20px; }
  .hx-specs { grid-template-columns: 1fr; margin-top: 8px; }
  .hx-band { height: clamp(210px, 58vw, 300px); }
  .hx-sign, .hx-sign.wide { max-width: none; width: 100%; padding: 12px 18px 14px; }
  .hx-sign h1, .hx-sign.wide h1 { font-size: clamp(22px, 6vw, 36px); }
  .hx-sign p { font-size: 15px; }
}
@media (max-width: 899px) {
  .sv-row { grid-template-columns: 44px minmax(0, 1fr); row-gap: 14px; }
  .sv-row img { grid-column: 1 / -1; order: 3; }
  .sv-num { font-size: 40px; }
  .hw-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .hw-photo { max-width: 360px; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .split img, .split.flip img { order: 0; max-width: 300px; }
  .cl { grid-template-columns: 1fr; }
  .tr-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .qa-grid { grid-template-columns: minmax(0, 1fr); }
  .rb-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .lc-cols { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .ft-in { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .ab-grid { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .ab-photo { max-width: 300px; margin-top: 4px; }
  .lc-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .qa-item:nth-child(2) { border-top: var(--rule); padding-top: 18px; }
  .ct thead { display: none; }
  .ct, .ct tbody, .ct tr, .ct th, .ct td { display: block; width: 100%; }
  .ct tbody tr { padding: 16px 0; }
  .ct tbody th, .ct.two tbody th { width: 100%; padding: 0 0 6px; }
  .ct td { padding: 4px 0; }
  .ct td::before { content: attr(data-l) ": "; font-weight: 700; color: var(--olive); }
}
@media (max-width: 719px) {
  .sec { padding: 40px 0 44px; }
  .sv-row { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 22px 0; }
  .sv-num { font-size: 32px; }
  .sv-text h3 { font-size: 21px; }
  .hw-steps li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; }
  .hw-num { font-size: 32px; }
  .btn-clay { display: block; text-align: center; }
  .cta-text { font-size: 17px; }
  .ft-in { grid-template-columns: minmax(0, 1fr); }
  .ft { padding-top: 38px; }
  .hd-in { height: 56px; padding: 0 16px 0 104px; gap: 10px; }
  .hd-logo { left: 16px; padding: 6px 8px 8px; }
  .hd-logo img { width: 62px; }
  .hd-call { margin-left: auto; }
  .hd-menu { display: block; }
  .hd-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 18px;
    flex-direction: column;
    gap: 14px;
    background: var(--olive);
  }
  .hd-nav.open { display: flex; }
  .hd-call { padding: 9px 14px; }
  .hd-call-long { display: none; }
  .hd-call-short { display: inline; }
  .hx-form form { grid-template-columns: 1fr; }
  .hx-call { padding-top: 18px; }
  .hx-phone { font-size: 18px; }
}
