/* Nicholas Navarre Services: Augusta, GA tree service demo */

:root {
  --sign: #08803F;      /* guide-sign green: the logo green deepened to carry white text (5.1:1) */
  --sign-dk: #066A33;
  --leaf: #099345;      /* logo green, logo only */
  --ink: #18201A;
  --muted: #4B554D;
  --moss: #E6E9E2;      /* Spanish moss gray */
  --line: #CBD1C6;
  --white: #FFFFFF;
  --post: #8E979A;
  --gold: #E3A72F;      /* stars only */
  --wrap: 1200px;
  --gut: 32px;
  --ground: 172px;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Overpass", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sign-dk); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.nowrap { white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px 11px; border-radius: 10px; border: 2px solid transparent; font: 700 1.0625rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { width: 19px; height: 19px; fill: currentColor; flex: none; margin-top: -2px; }
.btn--green { background: var(--sign); color: #fff; }
.btn--green:hover { background: var(--sign-dk); color: #fff; }
.btn--line { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--sign-dk); }
.btn--white:hover { background: var(--moss); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--sign-dk); }

/* Top bar */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 50px; height: auto; }
.brand__name { font: 700 1.375rem/1.05 var(--serif); letter-spacing: -0.01em; }
.brand__name span { color: var(--sign-dk); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--sign); color: var(--ink); }
.top__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px 8px; border-radius: 10px; background: var(--sign); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.top__phone svg { width: 18px; height: 18px; fill: currentColor; margin-top: -2px; }
.top__phone:hover { background: var(--sign-dk); color: #fff; }
.menu-btn { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); }
.scrim { position: fixed; inset: 0; background: rgba(16, 22, 18, .5); z-index: 40; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: var(--white); z-index: 50; padding: 84px 24px 24px; display: flex; flex-direction: column; overflow-y: auto; box-shadow: -10px 0 30px rgba(16, 22, 18, .2); }
.mobile-menu[hidden], .scrim[hidden] { display: none; }
.mobile-menu a { color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 600; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mobile-menu__call { margin-top: 22px; border: 0; background: var(--sign); color: #fff; text-align: center; border-radius: 10px; padding: 15px; }
body.menu-open .menu-btn { position: fixed; top: 15px; right: 16px; z-index: 60; }
.menu-btn span { transition: transform .2s ease, opacity .2s ease; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero: a real photo with a guide sign planted in front of it */
.hero { position: relative; }
.hero__photo { position: relative; height: clamp(460px, 64vh, 700px); background: #9DB7C9; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 22%; }
.hero__photo figcaption { position: absolute; left: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); bottom: 16px; font-size: .875rem; line-height: 1.3; color: #fff; background: rgba(16, 26, 20, .62); padding: 6px 10px 4px; border-radius: 6px; }
.hero__ground { background: var(--moss); min-height: var(--ground); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) min(560px, 46vw); gap: 48px; }
.sign-stand { position: absolute; right: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); bottom: 0; width: min(560px, 46vw); z-index: 2; }
.post { position: absolute; bottom: 0; width: 12px; height: calc(var(--ground) + 34px); background: linear-gradient(90deg, #7D8689, #A9B1B3 45%, #7D8689); z-index: -1; }
.post--l { left: 22%; }
.post--r { right: 22%; }
.sign-stand { padding-bottom: calc(var(--ground) + 34px); }

.sign { background: var(--sign); color: #fff; border-radius: 18px; padding: 7px; }
.sign--hero { box-shadow: 0 22px 44px -22px rgba(8, 28, 14, .7); }
.sign__in { border: 3px solid #fff; border-radius: 12px; padding: 30px 34px 32px; }
.sign h1 { font: 800 clamp(2.25rem, 3.5vw, 3.125rem)/1.04 var(--sans); letter-spacing: -0.008em; color: #fff; }
.sign__place { font: 600 1.5rem/1.2 var(--sans); margin: 12px 0 0; padding-bottom: 24px; border-bottom: 3px solid #fff; }
.sign__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.facts { list-style: none; margin: 0; padding: 30px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; align-content: center; min-height: var(--ground); }
.facts li { display: flex; flex-direction: column; border-left: 3px solid var(--sign); padding-left: 14px; }
.facts strong { font-weight: 700; font-size: 1.0625rem; line-height: 1.35; }
.facts span:not(.stars) { color: var(--muted); font-size: 1rem; }
.facts .stars { font-size: .9375rem; margin-right: 4px; }

/* Sections */
.sec { padding-block: 104px; }
.sec--moss { background: var(--moss); }
.h2 { font: 700 clamp(2.125rem, 3.4vw, 3rem)/1.08 var(--serif); letter-spacing: -0.012em; }
.lede { font-size: 1.1875rem; color: var(--muted); max-width: 38em; margin: 16px 0 0; }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 56px; align-items: end; margin-bottom: 40px; }
.head .lede { margin: 0; }

/* Clickable photos */
.shot { position: relative; display: block; padding: 0; border: 0; background: var(--moss); cursor: zoom-in; overflow: hidden; border-radius: 4px; }
.shot img { width: 100%; height: auto; transition: transform .35s ease; }
.shot:hover img { transform: scale(1.03); }
.tag { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--ink); font-size: .875rem; font-weight: 700; line-height: 1; padding: 7px 9px 5px; border-radius: 5px; }

/* What we do */
.job { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding-block: 48px; border-top: 1px solid var(--line); }
.job:last-child { padding-bottom: 0; }
.job h3 { font: 700 clamp(1.625rem, 2.3vw, 2rem)/1.12 var(--serif); letter-spacing: -0.01em; margin-bottom: 14px; }
.job__text p { margin-bottom: 0; }
.job__quote { margin-top: 24px; padding-left: 18px; border-left: 3px solid var(--sign); }
.job__quote p { font: italic 500 1.125rem/1.5 var(--serif); margin-bottom: 8px; }
.job__quote footer { font-size: .9375rem; color: var(--muted); }
.job__photos figcaption { font-size: .9375rem; color: var(--muted); margin-top: 10px; }
.strip { display: flex; gap: 10px; align-items: flex-start; }
.strip .shot { flex: var(--r) 1 0; min-width: 0; }
.job--slim { align-items: center; }
.job--slim .job__quote { margin-top: 0; }

/* Equipment */
.access__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.big-quote { margin-top: 34px; }
.big-quote p { font: italic 500 clamp(1.25rem, 1.7vw, 1.5rem)/1.5 var(--serif); margin-bottom: 12px; }
.big-quote footer { color: var(--muted); font-size: 1rem; }
.big-quote footer strong { color: var(--ink); }
.access__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 280px 250px; gap: 10px; }
.access__photos .shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--lift { grid-row: 1 / 3; }
.shot--lift img { object-position: 30% 50%; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery .shot img { aspect-ratio: 3 / 4; object-fit: cover; height: auto; }

/* Reviews */
.reviews__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.score { display: flex; align-items: center; gap: 18px; }
.score__num { font: 700 4.5rem/1 var(--serif); color: var(--sign-dk); margin: 0; }
.score__txt { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.big-quote--wide { margin: 0 0 48px; max-width: 54em; padding-left: 22px; border-left: 4px solid var(--sign); }
.big-quote--wide p { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.42; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.quotes blockquote { border-top: 1px solid var(--line); padding: 24px 0 28px; }
.quotes p { margin-bottom: 10px; }
.quotes footer { font-size: .9375rem; color: var(--muted); }
.quotes footer strong { color: var(--ink); }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.about__photos { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.about__photos img { border-radius: 4px; }
.about__photos figcaption { font-size: .9375rem; color: var(--muted); margin-top: 8px; }
.about__lead { font-size: 1.25rem; line-height: 1.55; margin-top: 22px; }
.years { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.years li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.years__y { font: 700 1.375rem/1.3 var(--serif); color: var(--sign-dk); }
.years__t q { font-style: italic; }

/* Service area */
.area__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.sign--list { max-width: 520px; margin-top: 34px; }
.sign--list .sign__in { padding: 18px 30px 20px; }
.places { list-style: none; margin: 0; padding: 0; }
.places li { display: flex; justify-content: space-between; gap: 20px; font: 800 1.75rem/1.2 var(--sans); padding: 9px 0 7px; }
.places li + li { border-top: 2px solid rgba(255, 255, 255, .35); }
.places li span:last-child { min-width: 2.2em; text-align: right; }
.area__note { margin: 18px 0 0; color: var(--muted); }
.area__photo { justify-self: center; width: fit-content; max-width: 100%; }
.area__photo img { border-radius: 4px; max-height: 620px; width: auto; }
.area__photo figcaption { font-size: 1rem; color: var(--muted); margin-top: 12px; max-width: 24em; }

/* Quote */
.quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.quote__urgent { margin: 20px 0 0; font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; margin-top: 30px; }
.hours caption { text-align: left; font: 700 1.375rem/1.3 var(--serif); padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.contact { list-style: none; padding: 0; margin: 28px 0 0; }
.contact li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 4px 0; }
.contact span { color: var(--muted); }
.contact a { overflow-wrap: anywhere; font-weight: 600; }
.form { background: var(--moss); border-radius: 0 0 14px 14px; padding: 34px 0 30px; border-top: 8px solid var(--sign); }
.form > * { margin-inline: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #9AA59C; border-radius: 8px; background: #fff; color: var(--ink); font: 400 1.0625rem/1.4 var(--sans); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sign); outline-offset: 1px; border-color: var(--sign); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.form__err { color: #B3261E; font-weight: 700; min-height: 1.4em; margin-bottom: 8px; }
.form__send { width: calc(100% - 60px); }
.form__small { font-size: .9375rem; color: var(--muted); margin-top: 12px; margin-bottom: 0; }

/* Footer */
.foot { background: var(--ink); color: #DDE3DC; padding: 56px 0 48px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 48px; align-items: start; }
.foot__brand { display: flex; gap: 18px; align-items: center; }
.foot__brand img { width: 72px; flex: none; }
.foot__brand p { margin: 0; line-height: 1.5; }
.foot__brand strong { font: 700 1.375rem/1.3 var(--serif); color: #fff; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; justify-items: start; }
.foot a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.foot a:hover { color: #BFE3C9; }
.foot :focus-visible { outline-color: #fff; }
.foot__copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9375rem; color: #AEB8AF; }

.sticky-book { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 20, 16, .96); color: #fff; }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; padding-inline: 84px; text-align: center; font-size: 1.0625rem; color: #E1E7E2; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__btn:hover { background: #fff; color: var(--sign-dk); }
.lightbox__btn:focus-visible { outline-color: #fff; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.sign :focus-visible { outline-color: #fff; }

/* Laptop */
@media (max-width: 1240px) {
  .nav { gap: 20px; }
}

/* Small laptop and tablet: the sign stands below the photo */
@media (max-width: 1120px) {
  .hero__photo { height: clamp(340px, 46vw, 520px); }
  .hero__photo figcaption { top: 12px; bottom: auto; }
  .hero__ground { min-height: 0; }
  .hero__grid { display: block; }
  .sign-stand { position: relative; right: auto; bottom: auto; width: auto; max-width: 640px; margin-top: -64px; }
  .sign-stand { padding-bottom: 30px; }
  .post { height: 30px; }
  .facts { min-height: 0; padding-top: 22px; }
}

/* Tablet */
@media (max-width: 1020px) {
  .nav, .top__phone { display: none; }
  .menu-btn { display: inline-flex; }
  .head, .job, .access__grid, .about__grid, .area__grid, .quote__grid { grid-template-columns: 1fr; }
  .head { gap: 14px; }
  .job { gap: 26px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about__photos { max-width: 620px; }
  .area__photo { justify-self: start; }
  .area__photo img { max-height: 520px; }
  .foot__in { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 17.5px; }
  .top__in { min-height: 66px; gap: 12px; }
  .brand img { width: 40px; }
  .brand__name { font-size: 1.1875rem; }
  .hero__photo { height: auto; aspect-ratio: 1 / 1; max-height: 74vh; }
  .hero__photo figcaption { top: 12px; bottom: auto; font-size: .8125rem; }
  .sign-stand { margin-top: -54px; }
  .sign { border-radius: 14px; padding: 5px; }
  .sign__in { border-radius: 10px; padding: 22px 18px 20px; }
  .sign h1 { font-size: 2.125rem; line-height: 1.06; }
  .sign__place { font-size: 1.25rem; padding-bottom: 18px; }
  .sign__acts { flex-direction: column; margin-top: 18px; gap: 10px; }
  .sign__acts .btn { width: 100%; min-height: 54px; }
  .post { height: 26px; width: 10px; }
  .sign-stand { padding-bottom: 26px; }
  .facts { grid-template-columns: 1fr; gap: 14px; padding: 18px 0 30px; }
  .sec { padding-block: 68px; }
  .job { padding-block: 36px; }
  .strip { flex-wrap: wrap; }
  .strip .shot.is-wide { flex: 1 1 100%; }
  .strip .shot.is-wide img { aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); }
  .access__photos { grid-template-rows: 200px 180px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .reviews__top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .score__num { font-size: 3.5rem; }
  .quotes { grid-template-columns: 1fr; }
  .area__photo img { max-height: 440px; }
  .years li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .places li { font-size: 1.375rem; }
  .sign--list .sign__in { padding: 12px 18px 14px; }
  .form { padding-top: 26px; }
  .form > * { margin-inline: 18px; }
  .form__send { width: calc(100% - 36px); }
  .contact li { grid-template-columns: 1fr; gap: 0; padding: 6px 0; }
  .contact span { font-size: .9375rem; }
  .foot { padding-bottom: 96px; }
  .sticky-book { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -14px rgba(16, 26, 20, .6); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; min-height: 54px; padding-inline: 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 74px; transform: none; }
  .lightbox__cap { bottom: 16px; padding-inline: 16px; font-size: 1rem; }
  .lightbox img { max-height: 68vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
