@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600;700;800&display=swap");
/* Reilly's Tree Service — site styles
   Change the colors here to restyle the whole site. */
:root {
  --green-dark: #2f3a24;
  --green: #556b2f;
  --green-light: #f3ecdc;
  --accent: #b8641e;
  --accent-dark: #96501a;
  --text: #2b2620;
  --muted: #6d6456;
  --white: #ffffff;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Top bar + header */
.topbar { background: var(--green-dark); color: var(--white); font-size: .9rem; text-align: center; padding: 6px 12px; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; }
header.site { background: var(--white); border-bottom: 1px solid #e8dfcf; position: sticky; top: 0; z-index: 10; }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--green-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: auto; }
.footer-logo { width: 200px; height: auto; margin-bottom: 12px; }
.logo span { color: var(--accent); }
nav.main { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--text); font-weight: 600; }
nav.main a:hover, nav.main a.active { color: var(--green); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--white) !important; padding: 12px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--accent-dark); }
.btn.outline { background: transparent; border: 2px solid var(--white); }
.btn.outline:hover { background: rgba(255,255,255,.12); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: var(--white); padding: 80px 0; }
.hero p.lead { font-size: 1.2rem; max-width: 680px; opacity: .95; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero.small { padding: 56px 0; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--green-light); }
.section-intro { max-width: 720px; color: var(--muted); margin-bottom: 32px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border: 1px solid #e6dccb; border-radius: var(--radius); padding: 26px; }
.card h3 { color: var(--green-dark); }
.card ul { padding-left: 20px; margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-light); color: var(--green); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px; }

/* Testimonial */
blockquote { margin: 0; font-size: 1.2rem; font-style: italic; max-width: 760px; }
.quote-by { margin-top: 12px; font-weight: 700; color: var(--green-dark); }

/* CTA band */
.cta-band { background: var(--green-dark); color: var(--white); text-align: center; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* Areas list */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 16px; }
.areas li { background: var(--white); border: 1px solid #ddd1bb; border-radius: 999px; padding: 6px 14px; font-weight: 600; }

/* Form */
form.estimate { display: grid; gap: 14px; }
form.estimate label { font-weight: 600; display: block; margin-bottom: 4px; }
form.estimate input, form.estimate textarea { width: 100%; padding: 12px; border: 1px solid #d6cab4; border-radius: 8px; font: inherit; }
form.estimate textarea { min-height: 140px; }
.two-col { display: grid; gap: 40px; grid-template-columns: 1.3fr 1fr; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* Footer */
footer.site { background: #2a221a; color: #ddd1bb; padding: 40px 0 24px; font-size: .95rem; }
footer.site a { color: #ffffff; }
footer.site .grid { margin-bottom: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer.site h3 { color: var(--white); font-size: 1.05rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site .copy { border-top: 1px solid #4a3d2f; padding-top: 16px; text-align: center; }

/* Job photos gallery */
.gallery { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.gallery figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #e6dccb; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px; font-size: .95rem; color: var(--muted); }

/* Keep sticky header from covering section headings when jumping to them */
section[id] { scroll-margin-top: 90px; }

/* Job videos (Facebook embeds, vertical) */
.videos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.videos figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #e6dccb; }
.videos iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; background: #111; }
.videos figcaption { padding: 10px 14px; font-size: .95rem; color: var(--muted); }

/* Send us your tree photos */
.photo-quote { background: var(--white); border-top: 4px solid var(--accent); }
.tips { padding-left: 20px; margin: 0 0 16px; }
.tips li { margin-bottom: 6px; }
.pq-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.pq-preview:empty { display: none; }
.pq-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.pq-status { margin: 0; color: var(--muted); }
form.estimate input[type=file] { padding: 10px; background: var(--green-light); }

/* Hero video */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.hero-video { margin: 0; }
.hero-video iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 14px; background: #111; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.hero-video figcaption { margin-top: 10px; font-size: .95rem; opacity: .85; text-align: center; }
@media (max-width: 800px) {
  .hero { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-video { width: min(100%, 320px); margin: 0 auto; }
}

/* Blog */
.post { max-width: 760px; }
.post h2 { font-size: 1.5rem; margin-top: 1.6em; }
.post ul { padding-left: 22px; }
.post li { margin-bottom: 6px; }
.post-meta { margin: 0 0 12px; opacity: .85; }
.post-meta a { color: var(--white); }
.post-card { display: block; text-decoration: none; color: var(--text); }
.post-card:hover { border-color: var(--green); }
.post-card span { color: var(--green); font-weight: 700; }
.post-date { margin: 0 0 6px; font-size: .9rem; color: var(--muted); }
.hero-instant { margin: 14px 0 0; } .hero-instant a { color: inherit; }

/* Emergency & storm tree work (big call-out) */
.emergency { background: linear-gradient(135deg, #4a3826, #6e5236); color: var(--white); padding: 72px 0; }
.emergency-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.emergency-tag { display: inline-block; background: rgba(0,0,0,.25); padding: 6px 14px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.emergency h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.emergency-lead { font-size: 1.25rem; max-width: 640px; }
.btn.emergency-call { background: var(--white); color: #4a3826 !important; font-size: clamp(1.2rem, 3vw, 1.6rem); padding: 18px 30px; margin: 8px 0 24px; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.btn.emergency-call:hover { background: #f7efe0; }
.emergency-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 1.1rem; }
.emergency-list li::before { content: "\2714"; margin-right: 10px; font-weight: 700; }
.emergency-note { font-size: .98rem; opacity: .92; margin: 0; }
.emergency-note a { color: var(--white); font-weight: 700; }
.emergency-photo { margin: 0; }
.emergency-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
@media (max-width: 800px) {
  .emergency { padding: 52px 0; }
  .emergency-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn.emergency-call { display: block; text-align: center; }
}

/* Home hero with instant estimate tool */
.hero-est { padding: 64px 0 72px; }
.hero-est-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
.hero-est h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.hero-badge { display: inline-block; background: var(--accent); color: var(--white); font-weight: 700; padding: 5px 14px; border-radius: 999px; font-size: .9rem; letter-spacing: .03em; }
.hero-steps { margin: 18px 0 18px; padding-left: 22px; font-size: 1.15rem; display: grid; gap: 6px; }
.hero-trust { opacity: .9; font-size: .98rem; }
.hero-est .est { max-width: none; color: var(--text); }
.hero-est .est-card { box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.hero-est .est-card a:not(.btn) { color: var(--green); }
@media (max-width: 900px) {
  .hero-est { padding: 40px 0 52px; }
  .hero-est-grid { grid-template-columns: 1fr; gap: 24px; }

}

/* 5-day forecast strip (compact) */
.wx { padding: 6px 0; background: #f3ecdc; border-bottom: 1px solid #e8dfcf; font-size: .82rem; }
.wx[hidden] { display: none; }
.wx-grid { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.wx-copy { margin: 0; color: var(--muted); line-height: 1.3; }
.wx-copy strong { color: var(--green-dark); }
.wx-days { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.wx-day { display: inline-flex; align-items: center; gap: 4px; background: var(--white); border: 1px solid #e6dccb; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.wx-name { font-weight: 700; color: var(--green-dark); }
.wx-icon { font-size: .95rem; line-height: 1; }
.wx-temp { font-weight: 600; }
.wx-tag { font-size: .7rem; font-weight: 700; color: #1d4f91; background: #e4eefb; border-radius: 999px; padding: 0 6px; }
.wx-tag.wx-off { color: var(--muted); background: #eceeed; }
.wx-rain { border-color: #9dbbe6; background: #f3f8ff; }
@media (max-width: 800px) {
  .wx { font-size: .74rem; }
  .wx-days { gap: 4px; justify-content: space-between; width: 100%; }
  .wx-day { padding: 2px 6px; gap: 2px; }
  .wx-tag, .wx-lo { display: none; }
  .wx-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .wx-day { flex-direction: column; gap: 0; border-radius: 8px; padding: 2px 0; line-height: 1.25; }
}

/* Big upload button in the home hero */
.btn.upload-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-size: clamp(1.35rem, 3.2vw, 1.75rem); font-weight: 800; letter-spacing: .03em; padding: 20px 38px; margin: 10px 0 6px; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.btn.upload-btn small { font-size: .95rem; font-weight: 600; letter-spacing: 0; opacity: .95; }
.upload-ic { font-size: 1.6rem; line-height: 1; }
.hero-trust a { color: var(--white); font-weight: 700; }
.est-section { background: var(--green-light); padding: 48px 0; }
.est-section[hidden] { display: none; }
.est-section .est { margin: 0 auto; color: var(--text); }
@media (max-width: 800px) {
  .btn.upload-btn { display: flex; width: 100%; }
}

/* Bigger phone number in the top bar */
.topbar { font-size: .95rem; padding: 8px 12px; }
.topbar a[href^="tel:"] { font-size: 1.35rem; font-weight: 800; white-space: nowrap; margin-left: 4px; }
.topbar a[href^="tel:"]::before { content: "\260E\FE0E  "; font-size: 1.1rem; }
@media (max-width: 600px) { .topbar a[href^="tel:"] { display: block; font-size: 1.45rem; margin: 2px 0 0; } }

/* Firewood page */
.fw-price { text-align: center; }
.fw-amount { font-size: 2.2rem; font-weight: 800; color: var(--accent); margin: 0 0 .4em; }
.fw-note { margin-top: 24px; color: var(--muted); }

/* Firewood pickup area map */
.fw-map { margin: 18px 0 0; }
.fw-map iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: 0 8px 22px -14px rgba(0,0,0,.4); }
.fw-map figcaption { margin-top: 8px; font-size: .95rem; color: var(--muted); }

/* ---- Farm & field look ---- */
body { background: #fbf8f1; }
h1, h2, h3, .logo, .price, .fw-amount { font-family: "Roboto Slab", Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.hero { background: linear-gradient(160deg, #2f3a24 0%, #45562c 60%, #5b6b36 100%); }
section.alt { background: #f3ecdc; }
.card { background: #fffdf8; }
.topbar { background: #2f3a24; }
.cta-band { background: linear-gradient(160deg, #3d3020, #5a4630); }
.emergency { background: linear-gradient(160deg, #3d3020 0%, #5a4630 100%); }
.emergency-tag { background: #d9b26b; color: #3d3020; }
.btn.emergency-call { color: #4a3826 !important; }
.hero-badge { background: #d9b26b; color: #2f3a24; }
.est-section { background: #f3ecdc; }
.wx { background: #f3ecdc; }

/* ---- Green sections, red weather strip (replaces beige) ---- */
:root { --green-light: #e6eedd; }
body { background: #ffffff; }
section.alt, .est-section { background: #3d5a2a; color: #fff; }
section.alt h2, section.alt > .container > p, section.alt .post > h3, section.alt .post > p, section.alt .post > ul, section.alt .post > ol, section.alt .section-intro { color: #fff; }
section.alt .post > p a, section.alt .post li a, section.alt > .container > p a { color: #ffd9a8; }
section.alt .card, section.alt .card h2, section.alt .card p { color: var(--text); }
section.alt .card h3 { color: var(--green-dark); }
.card { background: #ffffff; }
.wx { background: #9e2a20; border-bottom-color: #7e2018; }
.wx-copy, .wx-copy strong { color: #fff; }
section.alt .areas li { color: var(--text); }
section.alt .quote-by { color: #ffd9a8; }
section.alt figcaption { color: var(--muted); }

/* Linked town chips and card headings */
.areas li a { color: inherit; text-decoration: none; }
.areas li:hover { border-color: var(--green); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

/* Review page */
.btn.review-btn { font-size: clamp(1.2rem, 3vw, 1.5rem); padding: 18px 32px; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
@media (max-width: 800px) { .btn.review-btn { display: block; text-align: center; width: 100%; } }

/* Social callouts (Contact page) */
.social-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.social-cta { display: inline-flex; align-items: center; gap: 8px; }
.cta-arrow { display: inline-block; font-size: 1.15rem; animation: cta-point 1.1s ease-in-out infinite; }
@keyframes cta-point { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .cta-arrow { animation: none; } }

