/* =========================================================
   Tree Removal Hamilton — site styles
   Plain CSS, no build step. Edit freely.
   Colours and fonts live in the variables below, so one
   change re-themes the whole site.
   ========================================================= */

:root {
  /* brand greens */
  --brand:        #71951e;   /* {{BRAND_COLOR}} logo green: accents, rules, icons */
  --brand-strong: #5b7a16;   /* buttons and links (passes contrast with white) */
  --brand-dark:   #4a6511;   /* hover for buttons and links */
  --brand-light:  #a6c95a;   /* green on dark backgrounds */
  --brand-tint:   #eef3e1;   /* pale green wash */
  --accent:       #f2b84b;   /* warm amber, used sparingly */

  /* neutrals, warmed slightly toward the greens */
  --ink:          #1a2a20;   /* headings and body text */
  --ink-soft:     #4f5b52;   /* secondary text */
  --line:         #e5e1d5;   /* hairlines and borders */
  --bg:           #ffffff;
  --bg-alt:       #f6f4ee;   /* alternating section background */
  --bg-dark:      #13201a;   /* footer and dark bands */
  --bg-darker:    #0e1813;

  --max:          1160px;    /* page width */
  --measure:      74ch;      /* comfortable line length for reading */
  --radius:       14px;
  --radius-sm:    10px;
  --shadow-sm:    0 1px 2px rgba(19,32,26,.06), 0 2px 8px rgba(19,32,26,.05);
  --shadow-md:    0 6px 16px rgba(19,32,26,.08), 0 18px 40px rgba(19,32,26,.08);

  --font-head: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* footer always sits at the bottom, even on short pages */
body {
  min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site-footer { margin-top: auto; }

::selection { background: var(--brand-tint); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); font-weight: 800; margin-bottom: .6em; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4em; letter-spacing: -.012em; }
p  { margin-bottom: 1.05rem; color: var(--ink-soft); }
a  { color: var(--brand-strong); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--brand-strong);
  color: #fff;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--brand-strong);
  font-weight: 700; font-size: .98rem; line-height: 1.2;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover {
  background: var(--brand-dark); border-color: var(--brand-dark); color: #fff;
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(74,101,17,.25);
}
.btn--ghost { background: transparent; color: var(--brand-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.btn--light { color: #fff; border-color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); box-shadow: none; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #f6c86c; border-color: #f6c86c; color: var(--ink); box-shadow: 0 8px 20px rgba(242,184,75,.3); }
.btn--lg { padding: 16px 32px; font-size: 1.04rem; }

/* phone buttons get a small handset icon */
.btn.wc-phone::before, .nav__call::before {
  content: ""; width: 1em; height: 1em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* a row of buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.cta-row--center { justify-content: center; }
/* in-text calls to action are quieter than the hero and the closing band */
.section .cta-row .btn:not(.btn--lg) { background: transparent; color: var(--brand-strong); box-shadow: none; }
.section .cta-row .btn:not(.btn--lg):hover { background: var(--brand-strong); color: #fff; }
.section .cta-row .btn:not(.btn--lg):first-child { background: var(--brand-strong); color: #fff; }
.section .cta-row .btn:not(.btn--lg):first-child:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.wrap > .btn { margin-top: 10px; }

.muted { color: var(--ink-soft); font-size: .92rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
          backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.6), 0 4px 18px rgba(19,32,26,.05);
}
.site-header::before { /* thin brand stripe across the very top */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-strong), var(--brand) 60%, var(--accent));
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 24px 12px; max-width: var(--max); margin: 0 auto;
}
.nav__logo img { max-height: 50px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav__links > li > a:not(.nav__call) {
  position: relative; color: var(--ink); font-weight: 600; font-size: .96rem; padding: 6px 0;
}
.nav__links > li > a:not(.nav__call)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__links > li > a:not(.nav__call):hover { color: var(--brand-strong); text-decoration: none; }
.nav__links > li > a:not(.nav__call):hover::after { transform: scaleX(1); }

/* services dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::before { /* small caret */
  content: ""; position: absolute; right: -14px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .55;
}
.has-dropdown > a { margin-right: 10px; }
.dropdown {
  display: none; position: absolute; top: calc(100% + 10px); left: -14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 280px; padding: 8px; box-shadow: var(--shadow-md);
}
/* invisible bridge so hover is not lost on the way into the menu */
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; display: none; }
.has-dropdown:hover::after { display: block; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .95rem; color: var(--ink); font-weight: 500; }
.dropdown a:hover { background: var(--brand-tint); color: var(--brand-dark); text-decoration: none; }

.nav__call {
  display: inline-flex; align-items: center; gap: .45em;
  background: var(--brand-strong); color: #fff !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: background .18s ease, transform .18s ease;
}
.nav__call:hover { background: var(--brand-dark); text-decoration: none; transform: translateY(-1px); }

/* mobile nav */
.nav__toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink);
}
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: var(--shadow-md); }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 0; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav__links > li > a:not(.nav__call) { display: block; padding: 13px 0; }
  .nav__links > li > a:not(.nav__call)::after { display: none; }
  .has-dropdown > a::before { display: none; }
  .has-dropdown::after { display: none !important; }
  .dropdown { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; }
  .dropdown li { border-bottom: 0; }
  .dropdown a { padding: 7px 10px; color: var(--ink-soft); }
  .nav__call { justify-content: center; width: 100%; padding: 13px 18px; }
  .nav__toggle { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,24,19,.92) 0%, rgba(14,24,19,.78) 42%, rgba(14,24,19,.35) 75%, rgba(14,24,19,.2) 100%),
    linear-gradient(0deg, rgba(14,24,19,.55) 0%, rgba(14,24,19,0) 35%);
}
.hero__inner {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 11vw, 132px) 24px clamp(84px, 11vw, 136px);
}
.hero .hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700;
  color: #fff !important; margin-bottom: 0;
}
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242,184,75,.22); }
.hero h1 { color: #fff; margin: 20px 0 18px; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero p { color: rgba(255,255,255,.88); font-size: 1.2rem; max-width: 44ch; }
.hero__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* thin brand rule along the bottom edge of the hero */
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 1;
  background: linear-gradient(90deg, var(--brand-strong), var(--brand) 60%, var(--accent));
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.82); }
.section__lead { max-width: var(--measure); }
.section__lead p:first-child, p.section__lead { font-size: 1.12rem; }
.center { text-align: center; }
.center .section__lead, .center.section__lead { margin-left: auto; margin-right: auto; }

/* keep long reading text at a comfortable width */
.section .wrap > p { max-width: var(--measure); }
.section .wrap.center > p, .section .center > p { margin-left: auto; margin-right: auto; }

/* short accent rule above section headings */
.section > .wrap:not(.article) > h2::before,
.section > .wrap > .center > h2::before,
.cta-band h2::before {
  content: ""; display: block; width: 46px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  margin-bottom: 18px;
}
.section > .wrap.center > h2::before, .section > .wrap > .center > h2::before,
.section > .wrap > h2.center::before, .cta-band h2::before { margin-left: auto; margin-right: auto; }

/* first section on pages without a photo hero gets a soft page header */
.site-header + .section:not(.hero) {
  background:
    radial-gradient(900px 300px at 85% -10%, rgba(113,149,30,.14), transparent 70%),
    linear-gradient(180deg, var(--brand-tint) 0%, var(--bg) 340px);
}

/* full-width photos between sections */
.section--photo { padding: 8px 0; }
.photo, .section--photo img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover;
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-md);
}
.section--photo + .section { padding-top: clamp(48px, 6vw, 72px); }
@media (max-width: 700px) { .photo, .section--photo img { aspect-ratio: 4 / 3; } }

/* two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* card grids */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before { /* brand edge that grows in on hover */
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d9d4c4; }
.card:hover::before { transform: scaleX(1); }
.section--alt .card { background: #fff; }
.card h3 { margin-bottom: .45em; }
.card p { font-size: 1rem; }
.card p:last-child { margin-bottom: 0; }
/* "Learn more" links sit at the bottom of the card */
.card > a:last-child {
  margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .96rem;
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.card > a:last-child:hover { text-decoration: none; gap: 10px; }

/* service and area link lists */
.linklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; list-style: none; margin-top: 8px; }
.linklist a {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-weight: 650;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.linklist a::before { /* map pin */
  content: ""; width: 18px; height: 18px; flex: none; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.linklist a::after { content: "\2192"; margin-left: auto; color: var(--brand); transition: transform .18s ease; }
.linklist a:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.linklist a:hover::after { transform: translateX(3px); }
/* service links get a leaf instead of a pin */
.linklist a[href="tree-removal"]::before, .linklist a[href="stump-removal"]::before,
.linklist a[href="tree-trimming"]::before, .linklist a[href="tree-and-deep-root-fertilization"]::before,
.linklist a[href="insects-and-diseases"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3s-9-1-13.5 3.5C3.4 9.6 3.6 14 5.2 16.4L3 18.6 4.4 20l2.2-2.2C9 19.4 13.4 19.6 16.5 16.5 21 12 20 3 20 3zm-3.9 5.3-7.4 7.4-1.4-1.4 7.4-7.4 1.4 1.4z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3s-9-1-13.5 3.5C3.4 9.6 3.6 14 5.2 16.4L3 18.6 4.4 20l2.2-2.2C9 19.4 13.4 19.6 16.5 16.5 21 12 20 3 20 3zm-3.9 5.3-7.4 7.4-1.4-1.4 7.4-7.4 1.4 1.4z'/%3E%3C/svg%3E");
}

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .97rem; }
th { background: var(--bg-alt); font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq details:hover { border-color: #d9d4c4; }
.faq details[open] { border-color: var(--brand); box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; font-weight: 700; font-family: var(--font-head); font-size: 1.08rem;
  padding: 18px 44px 18px 0; list-style: none; position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand-dark); font-size: 1.25rem; font-weight: 600; line-height: 1;
  transition: background .18s ease, color .18s ease;
}
.faq details[open] summary::after { content: "\2013"; background: var(--brand-strong); color: #fff; }
.faq details > p { padding-bottom: 18px; margin-bottom: 0; }

/* ---------- closing call-to-action band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(113,149,30,.45), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(242,184,75,.16), transparent 70%),
    var(--bg-dark);
  color: #fff; text-align: center; padding: clamp(64px, 8vw, 96px) 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 60ch; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.cta-band .cta-row { margin-top: 30px; }
.cta-band .btn.wc-phone { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); box-shadow: none; }
.cta-band .btn.wc-phone:hover { background: #fff; border-color: #fff; color: var(--ink); }
.cta-band .muted { color: rgba(255,255,255,.7) !important; font-size: .9rem; margin-top: 16px !important; }

/* ---------- estimate and contact forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 32px; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand-strong), var(--brand) 60%, var(--accent));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fcfbf8; color: var(--ink);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: #d3cdbb; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(113,149,30,.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-card .btn, .form-card button[type="submit"] { width: 100%; padding: 16px 26px; font-size: 1.05rem; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
  color: rgba(255,255,255,.78); padding: 64px 0 28px;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-strong), var(--brand) 60%, var(--accent));
}
.site-footer h4 { color: #fff; margin-bottom: 16px; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer p { color: rgba(255,255,255,.72) !important; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.78); font-size: .95rem; transition: color .15s ease; }
.site-footer a:hover { color: var(--brand-light); text-decoration: none; }
.site-footer .wc-phone { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom p { color: rgba(255,255,255,.5) !important; margin: 0; font-size: .85rem; }
.footer-disclaimer { font-size: .82rem !important; color: rgba(255,255,255,.5) !important; margin-top: 12px; line-height: 1.55; }

/* ---------- article pages (about, FAQ, team, legal) ---------- */
.article { max-width: 840px; }
.article h1 { margin-bottom: 18px; }
.article h2 { margin-top: 48px; font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.article h2::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--brand); margin-bottom: 14px; }
.article h3 { margin-top: 28px; }
.article ul, .article ol { margin: 0 0 1.1rem 1.3em; color: var(--ink-soft); }
.article li { margin-bottom: .5rem; padding-left: .2em; }
.article li::marker { color: var(--brand); }
.article__lead p:first-child { font-size: 1.18rem; color: var(--ink); }
.article__date { margin-top: -4px; }
.faq-page h2 { font-size: 1.35rem; margin-top: 40px; }
.contact-list { list-style: none; margin: 24px 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.team-grid { margin-top: 24px; }
.team-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-strong); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.team-card .role { color: var(--brand-strong); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }

/* phone link: class is a stable hook for WhatConverts dynamic number insertion */
.wc-phone { font-weight: 700; }

/* respect visitors who turn animations off */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover, .btn:hover, .linklist a:hover { transform: none; }
}

/* headings inside the contact and estimate layouts */
.split h1 { margin-bottom: 18px; }

/* small screens: tighter hero label, even shading behind the text */
@media (max-width: 600px) {
  .hero .hero__eyebrow { font-size: .72rem; letter-spacing: .06em; padding: 6px 12px 6px 10px; }
  .hero::after { background: linear-gradient(180deg, rgba(14,24,19,.72), rgba(14,24,19,.86)); }
  .hero__cta .btn { width: 100%; }
}
