/* Tex Painting — site stylesheet.
   Palette and type match the paid-ads landing page (tex-estimate) so the brand reads as one
   thing across the site, the ads page and the training portal. */

:root {
  --ground: #F4F6EF;
  --surface: #FFFFFF;
  --field: #F8FAF4;
  --panel: #E8ECE0;
  --line: #D8DECC;
  --line-2: #C3CBB2;
  --ink: #161A10;
  --ink-2: #4B5341;
  --ink-3: #6C7465;
  --green: #71B230;
  --green-ink: #3D6A10;
  --lime: #9DCA00;
  --lime-hi: #AFD824;
  --lime-ink: #141807;
  --band: #161A10;
  --band-surface: #21261A;
  --band-line: #343B29;
  --band-ink: #EEF2E6;
  --band-ink-2: #B7C0AA;
  --star: #C9A227;
  --err: #B42318;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22, 26, 16, .05), 0 18px 40px -22px rgba(22, 26, 16, .28);
  --shadow-lg: 0 2px 4px rgba(22, 26, 16, .06), 0 40px 80px -32px rgba(22, 26, 16, .38);
  --focus: #161A10;
  --maxw: 1180px;
  --gut: clamp(18px, 5vw, 44px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0E110B;
    --surface: #171B12;
    --field: #12150E;
    --panel: #20261A;
    --line: #2F3727;
    --line-2: #3D4633;
    --ink: #EBEFE3;
    --ink-2: #B8C0AC;
    --ink-3: #8B947F;
    --green: #86C443;
    --green-ink: #A6D766;
    --lime: #A8D41A;
    --lime-hi: #BCE23F;
    --lime-ink: #10130A;
    --band: #080A06;
    --band-surface: #141810;
    --band-line: #262D1C;
    --band-ink: #EEF2E6;
    --band-ink-2: #AEB7A2;
    --star: #D9B94A;
    --err: #F97066;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 40px -22px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .6), 0 40px 80px -32px rgba(0, 0, 0, .8);
    --focus: #EBEFE3;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 Archivo, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--green-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.2rem); font-weight: 800; letter-spacing: -.032em; }
h2 { font-size: clamp(1.75rem, 3.9vw, 2.7rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.14rem, 1.7vw, 1.35rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 760px; }
section { position: relative; }
.pad { padding-block: clamp(56px, 8.5vw, 108px); }
.pad-sm { padding-block: clamp(40px, 6vw, 68px); }

.lede { font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.55; color: var(--ink-2); }
.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-ink); margin: 0 0 14px;
}
.band .eyebrow { color: var(--lime); }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1.02rem/1 Archivo, system-ui, sans-serif; letter-spacing: -.012em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 22px -12px rgba(116, 150, 0, .8); }
.btn-primary:hover { background: var(--lime-hi); color: var(--lime-ink); }
.btn-dark { background: var(--ink); color: var(--ground); }
.btn-dark:hover { background: var(--ink-2); color: var(--ground); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.band .btn-ghost { color: var(--band-ink); border-color: var(--band-line); }
.band .btn-ghost:hover { background: var(--band-surface); color: var(--band-ink); border-color: var(--band-ink-2); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand b { font-size: 1.14rem; font-weight: 800; letter-spacing: -.03em; display: block; line-height: 1.05; }
.brand span { font-size: .7rem; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a {
  padding: 9px 13px; border-radius: 999px; font-size: .97rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { background: var(--panel); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--panel); }
.head-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.head-tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1rem; }
.head-tel:hover { color: var(--green-ink); }
.burger { display: none; }

@media (max-width: 1060px) {
  .site-nav { display: none; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-left: auto; border: 1.5px solid var(--line-2);
    border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer;
  }
  .head-cta .head-tel span { display: none; }
}
@media (max-width: 560px) { .head-cta .btn { display: none; } }

.mobile-nav { display: none; border-bottom: 1px solid var(--line); background: var(--surface); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 10px 0 18px; }
.mobile-nav a {
  display: block; padding: 13px 0; font-size: 1.06rem; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(34px, 5vw, 62px) clamp(44px, 6vw, 78px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 34ch; }
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 26px 0 0; }
.rating {
  display: inline-flex; align-items: center; gap: 8px; font-size: .95rem;
  color: var(--ink-2); font-weight: 600;
}
.rating b { color: var(--ink); font-weight: 800; }
.stars { color: var(--star); letter-spacing: .06em; font-size: .92rem; }

.hero-photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  aspect-ratio: 4 / 3; margin-top: 26px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- lead form ---------- */
.lead-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: clamp(20px, 2.6vw, 30px);
  position: sticky; top: 92px;
}
@media (max-width: 940px) { .lead-card { position: static; } }
.lead-card h2 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); margin-bottom: 6px; }
.lead-card .small { color: var(--ink-3); margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field label, .field .field-label { display: block; font-size: .87rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
/* The chip group is a radiogroup, so its caption is a span that labels it -- a bare <label>
   with no matching control would be announced as a broken form field. */
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--field); color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  font: 400 1.02rem/1.4 Archivo, system-ui, sans-serif;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--surface); }
.field input::placeholder { color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--field);
  font-size: .97rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.form-note { font-size: .84rem; color: var(--ink-3); margin-top: 12px; }
.form-err { color: var(--err); font-weight: 600; font-size: .94rem; margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 0 0 12px 12px;
  background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 700;
  transition: top .15s ease;
}
.skip:focus { top: 0; color: var(--ground); }

/* ---------- trust strip ---------- */
.trust {
  border-block: 1px solid var(--line); background: var(--surface);
}
.trust ul {
  list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap;
  gap: 10px clamp(18px, 3vw, 40px); align-items: center; justify-content: center;
}
.trust li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .95rem; font-weight: 600; color: var(--ink-2);
}
.trust svg { flex: 0 0 auto; color: var(--green); }

/* ---------- generic cards / grids ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-2); font-size: 1rem; }
.band .card { background: var(--band-surface); border-color: var(--band-line); }
.band .card p { color: var(--band-ink-2); }

.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.svc-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc-card .bd { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { color: var(--ink-2); font-size: .99rem; flex: 1; }
.svc-card .go { margin-top: 16px; font-weight: 700; color: var(--green-ink); font-size: .97rem; }

.num { font: 800 .95rem/1 Archivo, system-ui, sans-serif; color: var(--green-ink); letter-spacing: .06em; margin-bottom: 12px; display: block; }
.band .num { color: var(--lime); }

/* ---------- dark band ---------- */
.band { background: var(--band); color: var(--band-ink); }
.band h1, .band h2, .band h3 { color: var(--band-ink); }
.band p, .band .lede { color: var(--band-ink-2); }
.band a:not(.btn) { color: var(--lime); }

/* ---------- before / after ---------- */
.ba-wrap { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ba-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ba-wrap { grid-template-columns: 1fr; } }

.ba {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
}
.ba-view { position: relative; aspect-ratio: 4 / 3; overflow: hidden; touch-action: pan-y; }
.ba-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-view .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle::after {
  content: "⟺"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #161A10;
  display: grid; place-items: center; font-size: 1rem; box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none;
}
.ba-range:focus-visible { opacity: 0; }
.ba-view:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.ba-tag {
  position: absolute; top: 12px; padding: 5px 11px; border-radius: 999px;
  background: rgba(22, 26, 16, .72); color: #fff; font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(4px);
}
.ba-tag.l { left: 12px; }
.ba-tag.r { right: 12px; }
.ba-cap { padding: 14px 18px 16px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ba-cap b { font-size: 1rem; }
.ba-cap span { font-size: .88rem; color: var(--ink-3); }

/* ---------- reviews ---------- */
.rev {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px;
}
.rev blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); }
.rev footer { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.rev .av {
  width: 40px; height: 40px; border-radius: 50%; background: var(--panel); color: var(--ink-2);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex: 0 0 auto;
}
.rev .who b { display: block; font-size: .98rem; }
.rev .who span { font-size: .86rem; color: var(--ink-3); }
.rev-cols { columns: 3 300px; column-gap: clamp(14px, 2vw, 22px); }
.rev-cols .rev { break-inside: avoid; margin-bottom: clamp(14px, 2vw, 22px); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem); font-weight: 700; letter-spacing: -.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .ans { padding: 0 clamp(0px, 6vw, 80px) 24px 0; color: var(--ink-2); max-width: 70ch; }

/* ---------- areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas span {
  display: inline-flex; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: .95rem; font-weight: 600; color: var(--ink-2);
}
.band .areas span { background: var(--band-surface); border-color: var(--band-line); color: var(--band-ink-2); }

/* ---------- checklist ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.checks svg { margin-top: 4px; color: var(--green); }
.checks b { color: var(--ink); }
.band .checks li { color: var(--band-ink-2); }
.band .checks b { color: var(--band-ink); }
.band .checks svg { color: var(--lime); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 62px); align-items: center; }
.split.rev-order > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev-order > :first-child { order: 0; }
}
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btns { justify-content: center; margin-top: 26px; }

/* ---------- footer ---------- */
.site-foot { background: var(--band); color: var(--band-ink-2); padding-block: clamp(44px, 6vw, 72px) 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 44px); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--band-ink); margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--band-ink-2); text-decoration: none; font-size: .97rem; }
.site-foot a:hover { color: var(--lime); }
.foot-brand b { display: block; color: var(--band-ink); font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }
.foot-tel { font-size: 1.3rem !important; font-weight: 800; color: var(--band-ink) !important; letter-spacing: -.02em; }
.foot-bot {
  margin-top: clamp(30px, 4vw, 50px); padding-top: 22px; border-top: 1px solid var(--band-line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .88rem;
}

/* ---------- mobile sticky action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--ground) 92%, transparent);
    backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { width: 100%; }
  body { padding-bottom: 78px; }
}

/* ---------- breadcrumbs ---------- */
.crumbs { padding-top: 22px; font-size: .9rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(26px, 3.4vw, 44px) clamp(34px, 4.6vw, 58px); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { max-width: 56ch; margin-top: 18px; }
.page-hero .btns { margin-top: 26px; }

/* ---------- thank you ---------- */
.tick {
  width: 62px; height: 62px; border-radius: 50%; background: var(--lime); color: var(--lime-ink);
  display: grid; place-items: center; margin-bottom: 24px;
}
