/* McKinney Premier Tree Service: this site's own look. Not shared with other sites. */
:root {
  --forest: #1F4B33;
  --forest-deep: #16382A;
  --leaf: #8CC872;
  --moss: #E6F0E1;
  --cream: #F6F1E4;
  --sand: #EDE4CF;
  --bark: #6B4A2F;
  --rust: #B85A1E;
  --rust-dark: #9A4A16;
  --ink: #1C231F;
  --muted: #4F5A53;
  --line: #DCD4BF;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, Cambria, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: #fff; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--rust-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--forest-deep); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-top: 1.6em; }
h3 { font-size: 1.22rem; margin-top: 1.3em; }
p, ul, ol { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; }

.preview-banner { background: #FFF1C2; color: #5A4300; text-align: center; font-size: 14px; padding: 6px 12px; }

/* Header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; flex-shrink: 0; }
.brand img { width: 220px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--moss); color: var(--forest-deep); }
.nav-toggle { display: none; }
.top-call { flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px;
  border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-call { background: var(--rust); color: #fff; }
.btn-call:hover { background: var(--rust-dark); color: #fff; }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream), #fff); padding: 48px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--rust-dark); margin-bottom: 10px; }
.lead { font-size: 1.16rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-art img { width: 100%; border-radius: 22px; }

.intro { padding: 12px 0 8px; }
.intro p { font-size: 1.08rem; }

/* Service cards */
.services { padding: 24px 0 40px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.card h3 { margin-top: 10px; }
.card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card .icon { width: 44px; height: 44px; color: var(--forest); }
.more { font-weight: 700; text-decoration: none; }
.more::after { content: " \2192"; }

.pricing, .checklist, .area { padding: 8px 0 24px; }
.factors, .checks { padding-left: 0; list-style: none; }
.factors li, .checks li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.factors li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 12px; border-radius: 3px; background: var(--leaf); }
.checks li::before { content: "\2713"; position: absolute; left: 4px; top: 11px; color: var(--forest); font-weight: 800; }

/* Steps */
.steps-band { background: var(--moss); padding: 34px 0 40px; margin: 24px 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li { background: #fff; border-radius: var(--radius); padding: 22px 22px 10px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--forest); color: #fff; font-weight: 800; margin-bottom: 8px; }
.steps h3 { margin-top: 0; }

/* Local facts */
.local { background: var(--cream); padding: 30px 0 40px; margin-top: 24px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: #fff; border-radius: var(--radius); padding: 18px 20px 8px; border-left: 5px solid var(--leaf); }
.fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
.fact h3 { margin-top: 0; font-size: 1.1rem; }
.fact p { font-size: 15.5px; }

/* Inner pages */
.page-head { background: linear-gradient(180deg, var(--cream), #fff); padding: 26px 0 10px; }
.page-head.urgent { background: linear-gradient(180deg, #FBE7DA, #fff); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.prose { padding-bottom: 20px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose .checks { padding-left: 0; }
.sources { font-size: 15px; }
.fine { font-size: 14px; color: var(--muted); }

/* Emergency checklist */
.todo { list-style: none; padding-left: 0 !important; }
.todo label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.todo input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--forest); flex-shrink: 0; }
.todo label:has(input:checked) { background: var(--moss); text-decoration: line-through; color: var(--muted); }

/* DBH tool */
.tool { background: var(--moss); border-radius: var(--radius); padding: 6px 22px 12px; margin: 26px 0; }
.tool h2 { margin-top: .8em; }
.dbh-form label { display: grid; gap: 6px; font-weight: 700; max-width: 320px; }
.dbh-form input { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; }
.dbh-out { font-weight: 700; color: var(--forest-deep); margin-top: 12px; }

/* FAQ */
.faq { padding: 30px 0; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 24px; color: var(--forest); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 18px 6px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--forest); color: #EAF2E6; padding: 36px 0; margin-top: 24px; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-inner p { max-width: 560px; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--forest); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; padding: 10px 0 40px; width: min(1000px, 100% - 32px); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.quote label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.quote input, .quote textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; width: 100%; }
.quote input:focus, .quote textarea:focus, .dbh-form input:focus { outline: 3px solid var(--leaf); border-color: var(--forest); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opt { font-weight: 400; color: var(--muted); }
.chips { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.chip { display: inline-flex !important; margin: 0 !important; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { padding: 9px 14px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--leaf); }
.hp { position: absolute; left: -9999px; }
.form-alert { background: #FBE7DA; border-left: 5px solid var(--rust); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.next { background: var(--cream); border-radius: var(--radius); padding: 6px 22px 10px; align-self: start; }
.next h2 { font-size: 1.3rem; }
.inline-call { font-weight: 800; white-space: nowrap; }
.plain-links { padding-left: 1.2em; }

/* Footer */
.foot { background: var(--forest-deep); color: #D5E2D0; margin-top: 0; padding: 40px 0 90px; font-size: 15px; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-grid ul { list-style: none; padding: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-h { color: #fff; font-family: var(--sans); font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.foot-phone a { font-size: 1.4rem; font-weight: 800; text-decoration: none; }
.foot img { width: 220px; height: auto; }
.foot-note { border-top: 1px solid #2E5A43; margin-top: 20px; padding-top: 20px; color: #B9CBB3; }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .top-row { min-height: 64px; gap: 10px; }
  .brand img { width: 180px; }
  .top-call { display: none; }
  .nav-toggle { display: inline-flex; font: inherit; font-weight: 700; padding: 8px 14px; border: 2px solid var(--forest);
    border-radius: 999px; background: #fff; color: var(--forest); cursor: pointer; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column;
    padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open ul { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
  .hero { padding-top: 26px; }
  .hero-grid, .contact-grid, .foot-grid, .facts { grid-template-columns: 1fr; }
  .hero-art img { max-height: 200px; object-fit: cover; }
  .steps { grid-template-columns: 1fr; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .callbar a { padding: 15px 8px; text-align: center; font-weight: 800; text-decoration: none; font-size: 17px; }
  .callbar a:first-child { background: var(--rust); color: #fff; }
  .callbar a:last-child { background: var(--forest); color: #fff; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .cards, .grid2 { grid-template-columns: 1fr; }
  .cta-actions .btn, .hero-actions .btn { flex: 1 1 100%; }
}
