/* ═══════════════════════════════════════════════════
   SHERMAN LANDSCAPE MAINTENANCE — main.css
   Brand: dark forest green + barn red + cream
═══════════════════════════════════════════════════ */

/* 1 ── Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* 2 ── Tokens */
:root {
  --gd:   #182e1a;
  --g:    #2a5230;
  --gm:   #3d7a45;
  --gl:   #6ba368;
  --red:  #b83025;
  --red2: #9e2920;
  --cream:#f4efe6;
  --dark: #0f1a10;
  --text: #1e2e20;
  --mut:  #5a6e5b;
  --wh:   #fff;
  --r:    10px;
  --rl:   18px;
  --max:  1160px;
  --sh:   0 4px 24px rgba(0,0,0,.12);
  --shl:  0 16px 60px rgba(0,0,0,.2);
}

/* 3 ── Type */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--wh);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }
h1 { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
em { font-style: italic; }
p  { color: var(--mut); }

/* 4 ── Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.sec-head { text-align: center; max-width: 580px; margin: 0 auto 3.5rem; }
.sec-head h2 { margin: .5rem 0 .9rem; color: var(--dark); }
.sec-head.light h2 { color: var(--wh); }
.sec-head.light p  { color: rgba(255,255,255,.62); }

/* 5 ── Eyebrows */
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gm);
  margin-bottom: .75rem;
}
.eyebrow.light { color: rgba(255,255,255,.55); }
.eyebrow-pill {
  display: inline-block;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.9);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .38rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* 6 ── Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.9rem;
  border-radius: var(--r);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn-red   { background: var(--red); color: var(--wh); border-color: var(--red); }
.btn-red:hover { background: var(--red2); border-color: var(--red2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,48,37,.36); }
.btn-green { background: var(--g); color: var(--wh); border-color: var(--g); }
.btn-green:hover { background: var(--gd); border-color: var(--gd); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--wh); border-color: rgba(255,255,255,.48); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--wh); }
.btn-full { width: 100%; }

/* 7 ── Brand mark */
.brand-mark {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  width: 52px;
  height: 52px;
}
.brand-mark.sm { width: 32px; height: 32px; }

/* 8 ── NAV */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 1.2rem 1.5rem;
  transition: background .3s, box-shadow .3s, padding .3s;
}
#nav.scrolled {
  background: var(--gd);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  padding: .8rem 1.5rem;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand { display: flex; align-items: center; gap: .7rem; color: var(--wh); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.brand-name { line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 500; transition: color .18s; }
.nav-links a:hover { color: var(--wh); }
.nav-portal { background: var(--red); color: var(--wh) !important; padding: .42rem 1.1rem; border-radius: var(--r); font-weight: 600 !important; }
.nav-portal:hover { background: var(--red2) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .3rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--wh); border-radius: 2px; transition: .28s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* 9 ── HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1920&q=90');
  background-size: cover;
  background-position: center 60%;
  animation: kzoom 18s ease-in-out infinite alternate;
}
@keyframes kzoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(18,40,20,.92) 0%, rgba(18,40,20,.72) 45%, rgba(18,40,20,.45) 100%);
}
.hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}
.hero-body h1 { color: var(--wh); max-width: 660px; margin-bottom: 1.2rem; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero-body h1 em { font-weight: 700; }
.hero-lead { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 520px; line-height: 1.8; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.4);
  z-index: 1;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* 10 ── TRUST */
.trust { background: var(--gd); padding: 2rem 1.5rem; }
.trust-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-stat { display: flex; flex-direction: column; align-items: center; padding: .8rem 2.8rem; gap: .18rem; }
.trust-n { font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 900; color: var(--wh); line-height: 1; }
.trust-l { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.trust-rule { width: 1px; height: 38px; background: rgba(255,255,255,.12); flex-shrink: 0; }

/* 11 ── SERVICES */
.services { padding: 6.5rem 1.5rem; background: var(--cream); }
.services-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.svc-card {
  position: relative;
  height: 400px;
  border-radius: var(--rl);
  overflow: hidden;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transition: transform .32s ease, box-shadow .32s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shl); }
.svc-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,12,.94) 0%, rgba(10,20,12,.5) 55%, rgba(10,20,12,.18) 100%);
  transition: background .32s;
}
.svc-card:hover .svc-veil { background: linear-gradient(to top, rgba(10,20,12,.97) 0%, rgba(10,20,12,.65) 55%, rgba(10,20,12,.28) 100%); }
.svc-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.8rem; }
.svc-icon { margin-bottom: .85rem; line-height: 0; }
.svc-icon svg { display: block; }
.svc-body h3 { color: var(--wh); margin-bottom: .5rem; font-size: 1.18rem; }
.svc-body p  { color: rgba(255,255,255,.7); font-size: .86rem; line-height: 1.62; }

/* 12 ── ABOUT */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.about-photo-col { position: relative; overflow: hidden; }
.about-photo-col img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 0;
  background: var(--red);
  color: var(--wh);
  padding: 1.1rem 1.75rem;
  text-align: center;
  border-radius: var(--rl) 0 0 var(--rl);
}
.badge-year { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; line-height: 1; }
.badge-word { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.about-copy { background: var(--wh); padding: 5.5rem 4rem; display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; }
.about-copy h2 { color: var(--dark); }
.about-lead { font-size: 1.05rem; color: var(--mut); line-height: 1.8; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: .4rem 0 .6rem; }
.check-list li { display: flex; align-items: flex-start; gap: .9rem; }
.check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--g); color: var(--wh); border-radius: 50%; font-size: .62rem; font-weight: 900; flex-shrink: 0; margin-top: 2px; }
.check-list strong { display: block; font-size: .93rem; color: var(--dark); margin-bottom: .12rem; }
.check-list span   { font-size: .86rem; color: var(--mut); }

/* 13 ── PROCESS */
.process { background: var(--gd); padding: 6.5rem 1.5rem; }
.steps { max-width: 920px; margin: 0 auto; display: flex; align-items: stretch; gap: 1rem; }
.step { flex: 1; text-align: center; padding: 2.2rem 1.8rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--rl); }
.step-n { display: block; font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--gl); opacity: .35; line-height: 1; margin-bottom: .8rem; }
.step h3 { color: var(--wh); font-size: 1.08rem; margin-bottom: .5rem; }
.step p  { color: rgba(255,255,255,.58); font-size: .86rem; line-height: 1.65; }
.step-arrow { font-size: 1.4rem; color: rgba(255,255,255,.2); display: flex; align-items: center; flex-shrink: 0; }

/* 14 ── QUOTE */
.quote-section { background: var(--g); padding: 6.5rem 1.5rem; }
.quote-wrap { display: grid; grid-template-columns: 1fr 1.45fr; gap: 5rem; align-items: center; }
.quote-copy h2 { color: var(--wh); margin: .5rem 0 1rem; }
.quote-copy p  { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.8; }
.contact-lines { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.6rem; }
.contact-lines a { color: rgba(255,255,255,.8); font-size: .92rem; font-weight: 500; transition: color .18s; }
.contact-lines a:hover { color: var(--wh); }
.quote-form { background: var(--wh); padding: 2.5rem; border-radius: var(--rl); box-shadow: var(--shl); display: flex; flex-direction: column; gap: 1.2rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: .38rem; }
.fg label { font-size: .8rem; font-weight: 600; color: var(--text); letter-spacing: .025em; }
.fg input, .fg select, .fg textarea { padding: .68rem .95rem; border: 1.5px solid #d8d8d8; border-radius: var(--r); font-size: .93rem; font-family: inherit; color: var(--text); background: var(--wh); transition: border-color .18s, box-shadow .18s; -webkit-appearance: none; }
.fg input::placeholder, .fg textarea::placeholder { color: #bbb; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--gm); box-shadow: 0 0 0 3px rgba(61,122,69,.12); }
.fg textarea { resize: vertical; }
.fg select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }

/* 15 ── FOOTER */
footer { background: var(--dark); padding: 3.2rem 1.5rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand strong { display: block; color: var(--wh); font-size: .93rem; }
.footer-brand span   { color: rgba(255,255,255,.38); font-size: .78rem; }
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(255,255,255,.5); font-size: .86rem; transition: color .18s; }
.footer-nav a:hover { color: var(--wh); }
.footer-contact { display: flex; align-items: center; gap: .6rem; }
.footer-contact a { color: rgba(255,255,255,.5); font-size: .86rem; transition: color .18s; }
.footer-contact a:hover { color: var(--wh); }
.footer-contact span { color: rgba(255,255,255,.18); }
.footer-copy { color: rgba(255,255,255,.22); font-size: .75rem; }

/* 16 ── REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.svc-card.reveal { transition-delay: calc(var(--d,0) * 80ms); }

/* 17 ── FULL-BLEED DESKTOP */
@media (min-width: 1025px) {
  .services { padding-left: 0; padding-right: 0; }
  .services .sec-head { padding-left: 1.5rem; padding-right: 1.5rem; }
  .services-grid { max-width: 100%; margin: 0; gap: 0; }
  .svc-card { height: 520px; border-radius: 0; }
  .svc-card:first-child { border-radius: var(--rl) 0 0 var(--rl); }
  .svc-card:last-child  { border-radius: 0 var(--rl) var(--rl) 0; }
}

/* 18 ── RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .about { grid-template-columns: 1fr; }
  .about-photo-col { height: 420px; }
  .about-photo-col img { height: 420px; }
  .about-copy { padding: 3.5rem 2.5rem; }
  .quote-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .quote-copy { text-align: center; }
  .contact-lines { align-items: center; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%; bottom: 0; width: 280px;
    background: var(--gd);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    transition: right .3s ease;
    box-shadow: -10px 0 48px rgba(0,0,0,.3);
    list-style: none;
    z-index: 300;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { height: 300px; }
  .trust-rule { display: none; }
  .trust-stat { width: 50%; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .row-2 { grid-template-columns: 1fr; }
  .about-copy { padding: 2.5rem 1.5rem; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .trust-stat { width: 100%; }
}
