@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #15382a;
  --ink: #0f2419;
  --paper: #eef1ea;
  --orange: #ff7a1a;
  --orange-hi: #ff9142;
  --leaf: #2f7556;
  --mist: #c9dacb;
  --rule: rgba(15, 36, 25, 0.22);
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.5 var(--text);
  color: var(--ink);
  background: var(--ink);
}
main { background: var(--paper); }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 var(--pad); }

/* header */
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  max-width: 1040px;
  margin: 0 auto;
}
.mark { text-decoration: none; color: #fff; line-height: 1.05; display: block; }
.mark-name { display: block; font: 800 21px/1 var(--display); letter-spacing: -0.01em; }
.mark-sub { display: block; font: 500 14px/1.3 var(--text); color: var(--mist); letter-spacing: 0.04em; margin-top: 3px; }
.lang { display: flex; background: var(--pine); border: 2px solid var(--mist); border-radius: 8px; overflow: hidden; }
.lang button {
  font: 700 15px/1 var(--text);
  min-width: 52px; min-height: 48px;
  background: transparent; color: var(--mist);
  border: 0; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--mist); color: var(--pine); }
.lang button:hover:not([aria-pressed="true"]) { color: #fff; }
.lang button:focus-visible { outline: 3px solid var(--orange); outline-offset: -5px; }
.lang button[aria-pressed="true"]:focus-visible { outline-color: var(--pine); }

/* buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 20px;
  border-radius: 8px;
  font: 700 20px/1.1 var(--text);
  text-decoration: none;
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--orange); color: var(--ink); }
.btn-call:hover { background: var(--orange-hi); }
.btn-text { border: 2px solid #fff; color: #fff; }
.btn-text:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ink { background: var(--ink); color: #fff; margin-top: 14px; }
.btn-ink:hover { background: var(--pine); }
.btn-send { background: var(--pine); color: #fff; margin-top: 22px; }
.btn-send:hover { background: var(--ink); }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--pine);
  color: #fff;
  padding: 112px 0 48px;
}
.rings {
  position: absolute;
  top: -130px; right: -210px;
  width: 440px; height: 440px;
  pointer-events: none;
}
.rings .r { stroke-dasharray: 1; stroke-dashoffset: 0; animation: grow 1100ms var(--ease) backwards; }
.rings .r:nth-child(1) { animation-delay: 0ms; }
.rings .r:nth-child(2) { animation-delay: 90ms; }
.rings .r:nth-child(3) { animation-delay: 180ms; }
.rings .r:nth-child(4) { animation-delay: 270ms; }
.rings .r:nth-child(5) { animation-delay: 360ms; }
.rings .r:nth-child(6) { animation-delay: 450ms; }
.rings .r:nth-child(7) { animation-delay: 540ms; }
@keyframes grow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.hero-in { position: relative; }
.hero h1 {
  font: 800 clamp(2.5rem, 11.2vw, 4.75rem)/0.98 var(--display);
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 13ch;
}
.lede { margin-top: 20px; font-size: 1.25rem; line-height: 1.35; font-weight: 500; color: var(--mist); max-width: 30ch; text-wrap: pretty; }
.cta { display: grid; gap: 12px; margin-top: 32px; max-width: 460px; }
.hours { margin-top: 12px; font-size: 0.95rem; }
.btn-call { min-height: 68px; }

/* services */
.services { padding: 64px 0 56px; }
h2 {
  font: 800 clamp(2rem, 8.4vw, 3.25rem)/1.02 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 16ch;
}
.list { list-style: none; padding: 0; margin-top: 32px; }
.callrow { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.callrow .lbl { font-size: 1.05rem; font-weight: 600; }
.callrow .num { font: 800 1.65rem/1 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.list li {
  display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--rule);
  padding: 15px 0;
  font: 600 1.15rem/1.25 var(--text);
}
.list li:first-child { border-top: 2px solid var(--ink); }
.list svg { width: 28px; height: 28px; flex: none; color: var(--pine); }
.list.big li { font: 700 clamp(1.45rem, 6.4vw, 2rem)/1.1 var(--display); letter-spacing: -0.015em; padding: 20px 0; }
.list.big svg { width: 38px; height: 38px; }
@media (max-width: 719px) {
  .list.big li:last-child { border-bottom: 0; }
  .list.big + .list { margin-top: 24px; }
}
.more { margin-top: 22px; font-weight: 600; }

/* photo band: ready for Juan's own job photos */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 8px; padding-bottom: 56px; }
.photos figure { margin: 0; }
.photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

/* area */
.area { background: var(--ink); color: #fff; padding: 64px 0 56px; }
.places { list-style: none; padding: 0; margin-top: 30px; }
.places li {
  font: 800 clamp(1.9rem, 8.6vw, 3rem)/1.05 var(--display);
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 218, 203, 0.28);
}
.places li:first-child { border-top: 1px solid rgba(201, 218, 203, 0.28); }
.places li.all { color: var(--orange); border-bottom: 0; font-size: clamp(1.4rem, 6.2vw, 2rem); padding-top: 20px; }
.note { margin-top: 10px; color: var(--mist); max-width: 34ch; }

/* estimate */
.estimate { background: var(--orange); padding: 64px 0 56px; }
.estimate :focus-visible { outline-color: var(--ink); }
.est-lede { margin: 16px 0 28px; font-size: 1.15rem; font-weight: 500; max-width: 30ch; }
.sheet {
  background: var(--paper);
  border-radius: 8px;
  padding: 8px var(--pad) 26px;
  max-width: 560px;
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: 800 1.45rem/1.1 var(--display); letter-spacing: -0.01em; padding: 22px 0 8px; }
.tick, .pill { cursor: pointer; }
.tick {
  display: flex; align-items: center; gap: 14px;
  min-height: 54px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 600; font-size: 1.1rem; line-height: 1.3;
}
.tick input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box {
  width: 28px; height: 28px; flex: none;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  display: grid; place-items: center;
  transition: background 160ms var(--ease);
}
.box::after {
  content: "";
  width: 14px; height: 8px;
  border-left: 3px solid #fff; border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 160ms var(--ease);
}
.tick input:checked + .box { background: var(--pine); border-color: var(--pine); }
.tick input:checked + .box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.tick input:focus-visible + .box, .pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.prop { display: flex; flex-wrap: wrap; gap: 10px; }
.prop legend { width: 100%; }
.pill { flex: 1 1 0; }
.pill span {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px;
  border: 2px solid var(--ink); border-radius: 8px;
  font-weight: 700; font-size: 1.1rem;
  background: #fff;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.pill input:checked + span { background: var(--pine); border-color: var(--pine); color: #fff; }
.field { margin-top: 22px; }
.field label { display: block; font: 800 1.2rem/1.1 var(--display); margin-bottom: 8px; }
.field input {
  width: 100%; min-height: 54px; padding: 0 14px;
  font: 500 1.1rem var(--text); color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 8px;
  caret-color: var(--pine);
}
.field input::placeholder { color: #5b6e62; }
.field input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.estimate .btn-ink { max-width: 560px; }
.own { margin-top: 24px; font: 800 1.35rem/1.2 var(--display); max-width: 22ch; text-wrap: balance; }
.estimate .hours { color: var(--ink); }

/* footer */
.foot { background: var(--ink); color: var(--mist); padding: 36px 0 120px; }
.foot-name { font: 800 1.2rem var(--display); color: #fff; }
.foot-tel {
  display: inline-flex; align-items: center; min-height: 48px;
  font-size: 1.15rem; font-weight: 600;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
  font-variant-numeric: tabular-nums;
}
.foot-tel:hover { color: #fff; }
.foot :focus-visible { outline-color: var(--mist); }

/* sticky call + text */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: 3fr 2fr; gap: 10px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: var(--ink);
  box-shadow: 0 -6px 20px rgba(15, 36, 25, 0.22);
}
.sticky a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; border-radius: 8px;
  font: 700 19px/1 var(--text); text-decoration: none;
}
.sticky svg { width: 22px; height: 22px; flex: none; }
.s-call { background: var(--orange); color: var(--ink); white-space: nowrap; }
.s-call:hover { background: var(--orange-hi); }
.s-text { background: #fff; color: var(--ink); }
.s-text:hover { background: var(--paper); }
.s-num { font: 800 18px/1 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.s-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 359px) {
  .s-num { display: none; }
  .s-lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
.js .sticky { transform: translateY(110%); transition: transform 320ms var(--ease); }
.js .sticky.show { transform: none; }

@media (min-width: 720px) {
  :root { --pad: 32px; }
  body { font-size: 18px; }
  .hero { padding: 150px 0 80px; }
  .cta { grid-template-columns: 1fr 1fr; max-width: 780px; }
  .services .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .services h2, .services .more { grid-column: 1 / -1; }
  .services .list { margin-top: 36px; }
  .area .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
  .area .places { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; }
  .note { align-self: start; }
  .estimate .wrap { max-width: 640px; margin-left: max(0px, calc((100% - 1040px) / 2)); }
  .sticky { left: 50%; right: auto; width: 480px; transform: translateX(-50%); border-radius: 12px 12px 0 0; }
  .js .sticky { transform: translate(-50%, 110%); }
  .js .sticky.show { transform: translate(-50%, 0); }
}

@media (min-width: 1000px) {
  .rings { width: 640px; height: 640px; top: -80px; right: -60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rings .r { animation: none; }
  .js .sticky, .box, .box::after, .btn { transition: none; }
}
