/* Coconut Cowboy Tree Service. Tokens come from the truck-lettering logo: gulf blue outline,
   sunset orange and sun yellow letters, palm green fronds, sand. */
:root {
  --ink: #12222d;
  --mute: #4a5a64;
  --gulf: #0c4a68;
  --gulf-deep: #082f43;
  --sky: #3aa6dd;
  --sun: #f39a1e;
  --sun-hi: #ffc93c;
  --palm: #2e7d32;
  --sand: #fbf6ec;
  --paper: #ffffff;
  --line: #e4dccb;
  --radius: 10px;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
a, button, summary, select { touch-action: manipulation; -webkit-tap-highlight-color: rgba(243,154,30,.25); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
picture source { display: none; }
a { color: var(--gulf); text-underline-offset: 3px; }
a:hover { color: var(--palm); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 99; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.lead { font-size: 1.2rem; color: var(--mute); max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px;
  font: 700 1.1rem/1 var(--display); text-decoration: none; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: background .2s, transform .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-hi); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-ink { background: var(--gulf); color: #fff; }
.btn-ink:hover { background: var(--gulf-deep); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--gulf-deep); color: #dbe9f1; font-size: .95rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav a, .nav .dd-btn { display: block; padding: 10px 12px; font: 600 1rem var(--display); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.nav a:hover, .nav .dd-btn:hover { color: var(--gulf); background: var(--sand); }
.dd-btn::after { content: ""; display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.dd { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; list-style: none; margin: 0; box-shadow: 0 14px 30px rgba(18,34,45,.12); }
.nav li:hover > .dd, .nav li:focus-within > .dd, .nav li.open > .dd { display: block; }
.dd a { font: 500 1rem var(--body); }
.head-call { display: flex; align-items: center; gap: 12px; }
.head-phone { font: 800 1.25rem var(--display); color: var(--gulf); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: var(--sand); border-radius: 8px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 1080px) {
  .menu-btn { display: grid; place-items: center; }
  .head-call .btn { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; max-height: calc(100vh - 120px); overflow: auto; overscroll-behavior: contain; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .dd { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav li:hover > .dd, .nav li:focus-within > .dd { display: none; }
  .nav li.open > .dd { display: block; }
}
@media (max-width: 560px) { .topbar .hide-sm { display: none; } .logo img { width: 120px; } .head-phone { font-size: 1.05rem; } }

/* Hero */
.hero { background: var(--gulf); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero h1 { color: #fff; }
.hero .kicker { font: 700 .95rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--sun-hi); margin-bottom: 14px; }
.hero p { color: #d7e7f0; font-size: 1.2rem; max-width: 56ch; }
.hero-phone { display: inline-block; font: 800 clamp(2rem, 4.4vw, 3rem)/1 var(--display); color: var(--sun-hi); text-decoration: none; margin: 6px 0 22px; }
.hero-phone:hover { color: #fff; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.hero-quote { position: absolute; left: -28px; bottom: 24px; max-width: 300px; background: var(--paper); color: var(--ink); padding: 14px 16px; border-radius: var(--radius); box-shadow: 0 16px 34px rgba(0,0,0,.25); font-size: .98rem; line-height: 1.45; }
.hero-quote .stars { color: var(--sun); letter-spacing: 2px; }
.hero-quote cite { display: flex; align-items: center; gap: 8px; font-style: normal; font-weight: 600; margin-top: 6px; font-size: .9rem; color: var(--mute); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; color: #e9f3f8; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--sun-hi); flex: none; margin-top: 4px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 0; }
  .hero-media { order: -1; margin: 0 -20px; }
  .hero-media img { border-radius: 0; aspect-ratio: 4 / 3; object-position: center 35%; }
  .hero-quote { position: relative; z-index: 1; left: auto; bottom: auto; margin: -36px 20px 0; max-width: none; }
  .checks { grid-template-columns: 1fr; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--gulf); color: #fff; }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #d7e7f0; font-size: 1.15rem; }
.page-hero img { border-radius: 14px; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 15%; }
.crumbs { font-size: .92rem; margin-bottom: 12px; color: #b9d3e1; }
.crumbs a { color: #fff; }
@media (max-width: 800px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero picture { order: -1; } .page-hero img { aspect-ratio: 16 / 10; } }

/* Trust band */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust li { display: flex; gap: 12px; align-items: center; font: 700 1.05rem/1.25 var(--display); }
.trust svg { width: 34px; height: 34px; color: var(--palm); flex: none; }
@media (max-width: 860px) { .trust ul { grid-template-columns: 1fr 1fr; } }

/* Services */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.head-row p { margin: 0; max-width: 54ch; color: var(--mute); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 28px); }
.service { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); border-bottom: 4px solid var(--sun); }
.svc-media { display: block; overflow: hidden; }
.svc-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .35s ease; }
.service:hover .svc-media img { transform: scale(1.03); }
.service h3 { margin: 0; padding: 18px 20px 0; }
.service h3 a { text-decoration: none; color: inherit; }
.svc-toggle { display: none; }
.svc-body { padding: 6px 20px 22px; }
.svc-body p { margin: 0; color: var(--mute); }
.more { display: inline-block; margin-top: 12px; font: 700 1.05rem var(--display); color: var(--gulf); text-decoration: none; }
.more::after { content: " \2192"; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; gap: 10px; }
  .service { border-bottom: 1px solid var(--line); }
  .svc-head { display: grid; grid-template-columns: 76px 1fr 48px; align-items: center; gap: 12px; position: relative; padding: 8px; }
  .svc-media { pointer-events: none; }
  .svc-media img { aspect-ratio: 1; border-radius: 6px; }
  .service h3 { padding: 0; font-size: 1.2rem; }
  .service h3 a { pointer-events: none; }
  .svc-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: var(--gulf); cursor: pointer; }
  .svc-toggle::before { content: ""; position: absolute; inset: 0; }
  .svc-toggle svg { width: 22px; height: 22px; transition: transform .2s; }
  .service.open .svc-toggle svg { transform: rotate(180deg); }
  .svc-body { display: none; padding: 0 16px 16px; }
  .service.open .svc-body { display: block; }
  .service.open { border-color: var(--sun); }
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { border-radius: 14px; width: 100%; object-fit: cover; }
.split .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split .pair img { aspect-ratio: 3 / 4; }
.stamp { display: inline-block; font: 800 1.15rem var(--display); color: var(--palm); border: 2px solid var(--palm); border-radius: 999px; padding: 6px 16px; transform: rotate(-2deg); margin-bottom: 18px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Big review */
.big-review { background: var(--gulf-deep); color: #fff; }
.big-review .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.big-review img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.big-review blockquote { margin: 0; font: 600 clamp(1.35rem, 2.6vw, 1.9rem)/1.4 var(--display); }
.big-review cite { display: flex; align-items: center; gap: 10px; margin-top: 18px; font: 400 1rem var(--body); color: #c4dbe7; font-style: normal; }
.big-review .stars { color: var(--sun-hi); font-size: 1.3rem; letter-spacing: 3px; }
@media (max-width: 820px) { .big-review .wrap { grid-template-columns: 1fr; } .big-review img { aspect-ratio: 16 / 10; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.steps img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.steps .txt { padding: 18px 20px 22px; }
.steps h3::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 1.05rem; }
.steps p { margin: 0; color: var(--mute); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.strip figure { margin: 0; }
.strip figcaption { font-size: .9rem; color: var(--mute); margin-top: 6px; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; } }

/* Review cards */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.review .stars { color: var(--sun); letter-spacing: 2px; font-size: 1.1rem; }
.review p { margin: 10px 0 16px; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--mute); }
.review footer b { color: var(--ink); }
.g { width: 22px; height: 22px; flex: none; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.town-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.town-list a { display: block; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; font: 700 1.05rem var(--display); text-decoration: none; color: var(--ink); }
.town-list a:hover { border-color: var(--sun); color: var(--gulf); }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .97rem; }
@media (max-width: 820px) { .areas { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font: 700 1.12rem/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--gulf); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 20px 16px; color: var(--mute); }

/* Article (service + town pages) */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 12px; width: 100%; max-height: 560px; object-fit: cover; }
.prose figcaption { font-size: .92rem; color: var(--mute); margin-top: 6px; }
.answer { font-size: 1.2rem; background: var(--paper); border-left: 5px solid var(--sun); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.2rem; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.card li:last-child a { border-bottom: 0; }
.call-card { background: var(--gulf); color: #fff; border: 0; }
.call-card h3 { color: #fff; }
.call-card p { color: #d7e7f0; }
.call-card .hero-phone { font-size: 1.9rem; margin: 0 0 14px; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

/* Form */
.cta { background: var(--gulf); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #d7e7f0; }
form.quote { background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 30px); border-radius: 14px; display: grid; gap: 14px; }
.quote label { display: grid; gap: 6px; font-weight: 600; }
.quote input, .quote select, .quote textarea { font: inherit; padding: 12px 14px; min-height: 48px; border: 1px solid #c9bfa9; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.quote textarea { min-height: 110px; resize: vertical; }
.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote .note { font-size: .92rem; color: var(--mute); margin: 0; }
.hp { position: absolute; left: -5000px; }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .quote .row { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; }
.gallery img { border-radius: 10px; width: 100%; }
.gallery figcaption { font-size: .92rem; color: var(--mute); margin-top: 6px; }

/* Footer */
.site-footer { background: var(--gulf-deep); color: #c4dbe7; padding: 56px 0 110px; font-size: .98rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .logo-f { background: #fff; display: inline-block; padding: 8px 10px; border-radius: 10px; margin-bottom: 14px; }
.site-footer .logo-f img { width: 140px; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; font-size: .9rem; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .site-footer { padding-bottom: 56px; } }

/* Sticky call bar (phones) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--gulf-deep); padding: 8px; gap: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
.callbar a { min-height: 50px; font-size: 1rem; padding: 10px; }
@media (min-width: 900px) { .callbar { display: none; } }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .svc-media img { transition: none; } }
.center { text-align: center; }
.mt { margin-top: 28px; }
