/* ── Indian River Tree Solutions ── */
:root {
  --green-900: #10261b;
  --green-800: #16301f;
  --green-600: #2d5a3d;
  --green: #2e7d4f;
  --orange: #f0842c;
  --orange-dark: #d96f1a;
  --cream: #f7f4ee;
  --ink: #182420;
  --muted: #5c6b62;
  --line: #e3ddd2;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
h1, h2, h3, .logo-text, .rating strong {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.1; margin-bottom: 8px; }

/* call bar (sits above the bottom tab bar on mobile) */
.callbar {
  position: fixed; bottom: calc(62px + env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 90;
  padding: 10px 14px;
  background: rgba(16,38,27,0.97);
}
.callbar-btn {
  display: block; text-align: center; background: var(--orange); color: #fff;
  font-weight: 700; font-size: 1.05rem; padding: 14px; border-radius: 12px;
  text-decoration: none;
}
@media (min-width: 820px) { .callbar { display: none; } }
body { padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
@media (min-width: 820px) { body { padding-bottom: 0; } }

/* bottom tab bar (app nav, mobile) */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #0f241a; border-top: 1px solid rgba(255,255,255,0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar .tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 2px 8px; text-decoration: none;
  color: rgba(255,255,255,0.55); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.tabbar .tab svg { width: 22px; height: 22px; }
.tabbar .tab.active { color: var(--orange); }
.tabbar .tab:active { transform: scale(0.94); }
@media (min-width: 820px) { .tabbar { display: none; } }

/* header tab active state */
#topnav a.active { color: var(--orange); }

/* floating corner quick menu */
.corner-fab {
  position: fixed; right: 16px; bottom: calc(130px + env(safe-area-inset-bottom)); z-index: 96;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.corner-fab svg { width: 24px; height: 24px; }
.corner-fab .fab-close { display: none; }
.corner-fab.open .fab-open { display: none; }
.corner-fab.open .fab-close { display: block; }
.corner-fab:active { transform: scale(0.94); }
.corner-menu {
  position: fixed; right: 16px; bottom: calc(192px + env(safe-area-inset-bottom)); z-index: 96;
  min-width: 200px; overflow: hidden;
  background: #fff; border-radius: 14px; border: 1px solid #e4ddd0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.corner-menu a {
  display: block; padding: 13px 18px; text-decoration: none;
  color: var(--ink); font-size: 0.95rem; font-weight: 600;
  border-bottom: 1px solid #f0ebe1;
}
.corner-menu a:last-child { border-bottom: none; }
.corner-menu a:active { background: #f6f1e7; }
.corner-menu .corner-call { background: var(--orange); color: #fff; }
@media (min-width: 820px) {
  .corner-fab { bottom: 24px; }
  .corner-menu { bottom: 86px; }
}

/* header left group: logo + reviews pill */
.header-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rev-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; text-decoration: none; white-space: nowrap;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.rev-pill-stars { color: #ffb92e; font-size: 0.72rem; letter-spacing: 1px; }
.rev-pill:active { transform: scale(0.96); }
@media (max-width: 430px) { .rev-pill-text { display: none; } .rev-pill { padding: 7px 10px; } }
@media (max-width: 819px) { .logo-text { display: none; } }
@media (min-width: 820px) { .header-left { gap: 18px; } }

/* quick tiles on home */
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.tile {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: #fff; border: 1px solid #e4ddd0; border-radius: 14px; padding: 18px 16px;
  color: var(--ink);
}
.tile svg { width: 30px; height: 30px; color: var(--orange); }
.tile strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; letter-spacing: 0.03em; text-transform: uppercase; }
.tile span { font-size: 0.85rem; color: #6d675c; line-height: 1.35; }
.tile:active { transform: scale(0.98); }
@media (min-width: 760px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }

/* solo review on home */
.rev-solo { max-width: 640px; margin: 0 auto 22px; text-align: left; }

/* compact service-area chips */
.areas-compact { margin-top: 14px; }
.areas-compact span { padding: 7px 13px; font-size: 0.85rem; }

/* page hero subline */
.page-hero-sub { margin-top: 14px; max-width: 620px; color: #dfe8e2; font-size: 1.05rem; line-height: 1.5; }
@media (min-width: 820px) { body { padding-bottom: 0; } }

/* header */
.header { background: var(--green-900); position: sticky; top: 0; z-index: 80; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 52px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.logo-text { color: #fff; font-size: 1.05rem; line-height: 1.05; letter-spacing: 0.04em; }
.logo-text strong { color: var(--orange); }
.nav { display: none; gap: 26px; align-items: center; }
.nav a { color: #d8e2da; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: #fff; }
.nav-cta {
  background: var(--orange) !important; color: #fff !important;
  padding: 9px 16px; border-radius: 9px; font-weight: 700;
}
@media (min-width: 820px) { .nav { display: flex; } }

/* hero */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background-size: cover; background-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,24,16,0.93) 0%, rgba(10,24,16,0.72) 55%, rgba(10,24,16,0.35) 100%);
}
.hero-content { position: relative; padding-top: 70px; padding-bottom: 70px; color: #fff; }
.stars { color: #ffb537; font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 14px; }
.stars span { color: #e7eee9; font-family: 'Inter'; font-weight: 600; letter-spacing: 0; font-size: 0.95rem; margin-left: 6px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 0.98; max-width: 700px; }
.hero-sub { margin: 18px 0 26px; max-width: 560px; font-size: 1.1rem; color: #dfe8e2; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.hero-badges span { font-size: 0.85rem; font-weight: 600; color: #cfe0d4; }
.hero-badges span::before { content: "✓"; color: var(--orange); margin-right: 7px; font-weight: 800; }

/* buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 11px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { border: 2px solid rgba(255,255,255,0.75); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-green { background: var(--green-800); color: #fff; }
.btn-green:hover { background: var(--green-600); }
.btn-outline-green { border: 2px solid var(--green-800); color: var(--green-800); }
.btn-outline-green:hover { background: #eef4ef; }

/* trust bar */
.trustbar { background: var(--green-800); color: #fff; }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 22px 20px;
}
.trustbar div { text-align: center; }
.trustbar strong { font-family: 'Barlow Condensed'; font-size: 1.7rem; color: var(--orange); display: block; line-height: 1; }
.trustbar span { font-size: 0.8rem; color: #c9d6cc; }
@media (min-width: 720px) { .trustbar-inner { grid-template-columns: repeat(4, 1fr); } }

/* sections */
.section { padding: 72px 0; }
.section-dark { background: var(--green-900); color: #fff; }
.section-dark h2 { color: #fff; }
.section-cream { background: var(--cream); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  font-weight: 700; color: var(--green); margin-bottom: 8px;
}
.eyebrow-light { color: var(--orange); }
.section-dark .eyebrow { color: var(--orange); }

/* services */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 34px; }
.svc {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  background: #fff;
}
.svc-icon { font-size: 1.7rem; margin-bottom: 12px; }
.svc h3 { font-size: 1.35rem; margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: 0.95rem; }
.discount-note { margin-top: 26px; color: var(--muted); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }

/* why */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
.why h3 { font-size: 1.3rem; color: var(--orange); margin-bottom: 6px; }
.why p { color: #c9d6cc; font-size: 0.97rem; }
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
.gallery img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.video-embed {
  margin-top: 34px; display: flex; flex-direction: column; gap: 22px; align-items: center;
  background: var(--cream); border-radius: var(--radius); padding: 26px;
}
.video-embed iframe { border-radius: 12px; }
.video-side { text-align: center; }
.video-side h3 { font-size: 1.6rem; margin-bottom: 8px; }
.video-side p { color: var(--muted); margin-bottom: 16px; max-width: 420px; }
@media (min-width: 820px) {
  .video-embed { flex-direction: row; justify-content: center; align-items: center; }
  .video-side { text-align: left; }
}

/* reviews */
.rev-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
.rev {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 14px rgba(16,38,27,0.07);
}
.rev-stars { color: #f5a623; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 10px; }
.rev p { font-size: 0.98rem; color: #33413a; }
.rev-name {
  display: block; margin-top: 14px; font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--green);
}
.rev-grid-wide { display: block; columns: 1; column-gap: 16px; margin-top: 30px; }
.rev-grid-wide .rev { margin-bottom: 16px; break-inside: avoid; }
@media (min-width: 760px) { .rev-grid-wide { columns: 3; } }
@media (min-width: 760px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.rev-note { margin-top: 26px; text-align: center; color: var(--muted); max-width: 640px; margin-left: auto; margin-right: auto; }

/* page hero (reviews) */
.page-hero {
  background: linear-gradient(rgba(10,24,16,0.88), rgba(10,24,16,0.88)), url('img/work-pine.jpg') center/cover;
  color: #fff; padding: 80px 0;
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; }
.rating-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.rating {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px; padding: 14px 20px; text-align: center;
}
.rating strong { display: block; font-size: 1.6rem; color: var(--orange); line-height: 1; }
.rating span { font-size: 0.8rem; color: #c9d6cc; }

/* areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.areas span {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
}
.areas-note { margin-top: 18px; color: #c9d6cc; font-size: 0.95rem; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-lines { margin-top: 22px; display: grid; gap: 10px; }
.cline {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--cream); border-radius: 12px; padding: 14px 18px;
}
.cline strong { font-size: 1.05rem; }
.cline span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-hours { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 5px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font: inherit; font-size: 1rem; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: transparent; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1fr 1fr; } }

/* footer */
.footer { background: var(--green-900); color: #c9d6cc; padding: 44px 0 20px; }
.footer-inner { display: grid; gap: 26px; padding-bottom: 26px; }
.footer strong { color: #fff; font-family: 'Barlow Condensed'; text-transform: uppercase; font-size: 1.2rem; letter-spacing: 0.04em; }
.footer p { font-size: 0.9rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #c9d6cc; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-copy { text-align: center; font-size: 0.78rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1fr auto; } }
.video-embed img { border-radius: 12px; width: 100%; max-width: 380px; aspect-ratio: 3/4; object-fit: cover; }
