/* Jose Landscaping & Gardening
   Palette from the business's own yard sign (brick-red border, white panel, dark lettering)
   and the decomposed-granite tones in its photos. */
:root {
  --paper: #f5efe4;
  --sand: #eadfcb;
  --card: #fffdf8;
  --ink: #1c2a29;
  --muted: #55605a;
  --line: rgba(28, 42, 41, .14);
  --field: #c9c0ae;
  --moss: #26391f;
  --on-moss: #f5efe4;
  --on-moss-2: #d9bc8f;
  --brick: #a93b26;
  --brick-dk: #8b2f1d;
  --open: #3c7a2a;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; }
p { margin: 0; }
svg { flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }

.kicker { font-weight: 600; font-size: .95rem; color: var(--brick); margin-bottom: 14px; }

/* the "sign" mark: white panel, brick border, like the yard sign */
.mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  background: #fff; border: 3px solid var(--brick); border-radius: 8px;
  font: 400 1.35rem/1 var(--serif); color: var(--ink); padding-top: 2px;
}

/* ─── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 8px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: var(--brick-dk); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-wide { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--brick); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1.5px; min-height: 44px;
}
.text-link svg { width: 17px; height: 17px; }

/* ─── header ─────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.brand-txt span { font-size: .85rem; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-weight: 500; border-radius: 6px;
}
.nav a:hover { background: var(--sand); }
.top-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 8px; text-decoration: none; font-weight: 600;
}
.top-call:hover { background: var(--ink); color: var(--paper); }

/* ─── hero ───────────────────────────────────────────── */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.45rem, 5.4vw, 4.15rem); line-height: 1.04; }
.lead { margin-top: 22px; font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--muted); }
.facts li, .facts a { display: inline-flex; align-items: center; gap: 8px; }
.facts a { min-height: 44px; text-decoration-color: var(--field); text-underline-offset: 3px; }
.facts a:hover { color: var(--ink); }
.facts svg { width: 18px; height: 18px; color: var(--brick); }

.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; border-radius: 6px; background: var(--sand); }
.hero-photo figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.sign {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink);
  border: 3px solid var(--brick); border-radius: 7px;
  padding: 7px 13px; font-weight: 600; font-size: .92rem; line-height: 1.2;
  transform: rotate(-2deg); box-shadow: 0 2px 0 rgba(28, 42, 41, .18);
}
.sign .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.sign[data-state="open"] .dot { background: var(--open); }
.sign[data-state="closed"] .dot { background: var(--brick); }

/* ─── work ───────────────────────────────────────────── */
.work { background: var(--moss); color: var(--on-moss); padding: clamp(64px, 8vw, 104px) 0; }
.work .kicker { color: var(--on-moss-2); }
.work-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.work-note { margin-top: 18px; color: rgba(245, 239, 228, .78); max-width: 26em; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.svc h3 { font-weight: 600; font-size: .95rem; color: var(--on-moss-2); padding-bottom: 10px; }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li {
  font-family: var(--serif); font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.25;
  padding: 11px 0; border-top: 1px solid rgba(245, 239, 228, .18);
}
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.shot { margin: 0; }
.shot:nth-child(even) { margin-top: 36px; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; background: #33492b; }
.shot figcaption { margin-top: 10px; font-size: .92rem; color: rgba(245, 239, 228, .8); }
.shots:focus-visible { outline-color: var(--on-moss-2); }

/* ─── quote form ─────────────────────────────────────── */
.quote { padding: clamp(64px, 8vw, 104px) 0; }
.quote-in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-copy { position: sticky; top: 104px; }
.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; color: var(--muted); }
.steps li::before { content: counter(s); font: 400 1.35rem/1 var(--serif); color: var(--brick); }
.steps strong { color: var(--ink); font-weight: 600; }
.contact { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px 40px; }
.contact dt { font-size: .85rem; color: var(--muted); }
.contact dd { margin: 2px 0 0; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; text-decoration-color: var(--field); text-underline-offset: 3px; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.form > .field, fieldset + .field { margin-top: 20px; }
.field label, legend { font-weight: 600; font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; margin-left: 4px; }
input[type="text"], textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--field); border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: #8a8f88; }
input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(169, 59, 38, .2); }
[aria-invalid="true"] { border-color: var(--brick) !important; }
fieldset { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--field); border-radius: 999px; background: #fff;
  font-size: .95rem; font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color .12s, color .12s, border-color .12s;
}
.chip label:hover { border-color: var(--ink); }
.chip input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + label { outline: 3px solid var(--brick); outline-offset: 2px; }

.preview { margin-top: 24px; background: var(--sand); border-radius: 12px; padding: 14px 14px 16px; }
.preview-to { font-size: .82rem; color: var(--muted); text-align: center; margin-bottom: 12px; }
.bubble {
  margin-left: auto; width: fit-content; max-width: 92%;
  background: var(--brick); color: #fff;
  padding: 11px 15px; border-radius: 20px 20px 5px 20px;
  font-size: .98rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
}
.bubble .ph { opacity: .62; }
.form-error { margin-top: 14px; color: var(--brick-dk); font-weight: 600; }
.form .btn-wide { margin-top: 16px; min-height: 56px; font-size: 1.05rem; }
.fine { margin-top: 12px; font-size: .86rem; color: var(--muted); text-align: center; }
.desk { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.desk a { color: var(--ink); }
.desk-h { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.desk-h svg { color: var(--open); }
.desk-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.desk-btns .btn { min-height: 46px; padding: 0 16px; font-size: .95rem; }

/* ─── footer ─────────────────────────────────────────── */
.foot { background: var(--ink); color: var(--paper); padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: start; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.foot-brand p { color: rgba(245, 239, 228, .75); line-height: 1.5; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links svg { width: 18px; height: 18px; color: var(--on-moss-2); }
.foot-hours { color: rgba(245, 239, 228, .75); line-height: 1.7; }
.foot-base { margin-top: 40px; }
.foot-base p { padding-top: 20px; border-top: 1px solid rgba(245, 239, 228, .15); font-size: .85rem; color: rgba(245, 239, 228, .6); }

/* ─── mobile call/text dock ──────────────────────────── */
.dock { display: none; }

/* ─── 404 ────────────────────────────────────────────── */
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: 16px; padding: 24px; max-width: 560px; margin: 0 auto; }
.nf h1 { font-size: 2.4rem; line-height: 1.1; }
.nf a { color: var(--brick); font-weight: 600; }

/* ─── responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .quote-in { grid-template-columns: 1fr; }
  .quote-copy { position: static; }
}
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-photo { max-width: 640px; }
  .work-top { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .shots {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scroll-padding-inline: var(--gut);
    scrollbar-width: thin; scrollbar-color: rgba(245, 239, 228, .35) transparent;
  }
  .shot { flex: 0 0 72%; scroll-snap-align: start; }
  .shot:nth-child(even) { margin-top: 0; }
  .foot-in { grid-template-columns: 1fr; gap: 20px; }

  .dock {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
    transition: transform .2s ease;
  }
  .dock a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; border-radius: 8px; font-weight: 600; text-decoration: none;
    border: 2px solid var(--ink); color: var(--ink);
  }
  .dock .dock-text { background: var(--brick); border-color: var(--brick); color: #fff; }
  .dock-off .dock { transform: translateY(110%); }
}
@media (max-width: 560px) {
  .top-in { min-height: 64px; gap: 12px; }
  .brand-txt strong { font-size: 1.08rem; }
  .brand-txt span { font-size: .8rem; }
  .mark { width: 36px; height: 36px; font-size: 1.2rem; }
  .top-call { padding: 0 12px; }
  .top-call span { display: none; }
  .top-call::after { content: "Call"; }
  .cta { margin-top: 24px; }
  .cta .btn { flex: 1 1 100%; }
  .cta .btn-line { display: none; }  /* the bottom dock carries Call on phones */
  .lead { margin-top: 16px; }
  .facts { margin-top: 22px; padding-top: 14px; gap: 0 18px; font-size: .9rem; }
  .facts li { min-height: 32px; }
  .facts a { min-height: 44px; }
  .row2 { grid-template-columns: 1fr; }
  .sign { top: 12px; left: 12px; font-size: .85rem; padding: 6px 11px; }
  .svc { gap: 0 20px; }
  .svc li { font-size: 1.02rem; padding: 9px 0; }
  .chip label { padding: 0 14px; font-size: .92rem; }
}
@media (max-width: 360px) {
  .svc { grid-template-columns: 1fr; }
  .svc-col + .svc-col { margin-top: 22px; }
  .brand-txt span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
