*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #faf8f3;
  --bg2:     #f1ece1;
  --ink:     #23281f;
  --ink-sub: #5b6152;
  --green:   #3f5a3f;
  --green-dk:#2c412c;
  --tan:     #c98f4e;
  --line:    #e2dccb;
  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(250,248,243,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(35,40,31,0);
  transition: box-shadow 0.25s ease;
}

.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.nav-contact {
  display: flex;
  gap: 1.5rem;
}
.nav-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-sub);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 500;
}
.nav-contact a:hover { color: var(--green-dk); }
.nav-contact i { font-size: 13px; }

.nav-scrolled { box-shadow: 0 4px 14px rgba(35,40,31,0.08); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--green-dk);
  text-decoration: none;
}
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-logo-text { color: var(--green-dk); }
.nav-logo-text span { color: var(--ink-sub); font-weight: 500; font-size: 0.95rem; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}
.nav-links a {
  display: inline-block;
  color: var(--ink-sub);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  background: rgba(35,40,31,0.06);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(35,40,31,0.14); color: var(--green-dk); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ── HERO ── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  background:
    linear-gradient(rgba(250,248,243,0.78), rgba(250,248,243,0.78)),
    url("../images/pnw-landscaping-finished.jpg") center / cover no-repeat;
}

.hero-label {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  max-width: 780px;
  color: var(--green-dk);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-sub);
  max-width: 560px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.btn:hover {
  background: var(--green-dk);
  animation: btn-shake 0.4s ease;
}

@keyframes btn-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px) rotate(-1deg); }
  40% { transform: translateX(3px) rotate(1deg); }
  60% { transform: translateX(-2px) rotate(-0.5deg); }
  80% { transform: translateX(2px) rotate(0.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover { animation: none; }
}

.btn-full { width: 100%; border: none; cursor: pointer; }

/* ── SECTIONS ── */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--green-dk);
  white-space: nowrap;
}

.section-line {
  height: 1px;
  background: var(--line);
  flex: 1;
}

/* ── SERVICES ── */
.services-intro {
  color: var(--ink-sub);
  max-width: 640px;
  margin: -0.75rem 0 2.5rem;
}

.service-group { margin-bottom: 2.75rem; }
.service-group:last-child { margin-bottom: 0; }

/* highlighted big-jobs callout */
.big-jobs {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--green-dk);
  color: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.75rem;
}
.big-jobs .bj-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.6rem;
}
.big-jobs h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.big-jobs p {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin: 0;
}
@media (max-width: 600px) {
  .big-jobs { flex-direction: column; text-align: center; }
}

.service-group-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.service-group-title i { font-size: 1.15rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(35,40,31,0.08);
}

.service-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(63,90,63,0.09);
  color: var(--green);
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.service-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--green-dk);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-sub);
}

/* ── WORK / GALLERY ── */
.work-section { background: var(--bg2); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 8px;
  overflow: hidden;
}

.pair-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pair-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.pair-img:hover img { transform: scale(1.06); }

.pair-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(35,40,31,0.75);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.pair-tag-after { background: rgba(63,90,63,0.85); }

.work-single { border-radius: 8px; overflow: hidden; }
.work-single img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.35s ease;
}
.work-single:hover img { transform: scale(1.06); }

.work-caption {
  font-size: 0.88rem;
  color: var(--ink-sub);
  margin-top: 0.75rem;
}

/* ── PROCESS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-dk);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--ink-sub);
}

/* ── PHOTO DIVIDER ── */
.photo-divider { width: 100%; line-height: 0; }
.photo-divider img {
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
  display: block;
}

/* ── CONTACT ── */
.contact-section { background: var(--bg2); }

.contact-section .section-header {
  justify-content: center;
}
.contact-section .section-line { display: none; }

.contact-sub {
  color: var(--ink-sub);
  margin: 0 auto 2rem;
  max-width: 480px;
  text-align: center;
}

.contact-direct {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin: 0 auto 2rem;
}
.contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-dk);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-direct a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

.contact-form textarea { resize: vertical; }

/* ── FOOTER ── */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-logo {
  height: 44px;
  width: auto;
  margin: 0 auto 0.75rem;
  display: block;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-dk);
  margin-bottom: 0.4rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--ink-sub);
}
.footer-copy a { color: var(--ink-sub); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* header collapses to logo + hamburger; the menu drops in below full-width */
  .nav { flex-wrap: wrap; padding: 0.85rem 1.25rem; }
  .nav-logo { order: 1; }
  .nav-toggle { display: block; order: 2; }

  .nav-right {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
  }
  .nav.nav-open .nav-right { display: flex; }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .nav-links a {
    display: block;
    text-align: center;
    padding: 0.85rem;
    font-size: 1rem;
  }

  /* contact details sit under the links inside the open menu */
  .nav-contact {
    order: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .nav-contact a { font-size: 0.85rem; }

  .form-row { grid-template-columns: 1fr; }
}

/* ── SMOOTH ANCHOR SCROLL ── */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── BEFORE / AFTER SLIDER ── */
.ba-slider {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  user-select: none;
  background: var(--bg2);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag {
  position: absolute;
  top: 10px;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  padding: 3px 9px;
  border-radius: 3px;
  pointer-events: none;
}
.ba-tag-before { left: 10px; background: rgba(35,40,31,0.78); }
.ba-tag-after { right: 10px; background: rgba(63,90,63,0.88); }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-1px);
  background: rgba(255,255,255,0.92);
  z-index: 4;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--green-dk);
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  transition: box-shadow 0.2s ease;
}
.ba-slider:focus-within .ba-handle {
  box-shadow: 0 0 0 3px rgba(63,90,63,0.9), 0 2px 10px rgba(0,0,0,0.35);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 46px;
  height: 100%;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 46px;
  height: 600px;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

/* ── MOBILE CALL BAR ── */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 56px; }
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    border-top: 1px solid var(--line);
    background: rgba(250,248,243,0.97);
    backdrop-filter: blur(8px);
  }
  .mcta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 54px;
    padding: 0.9rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
  }
  .mcta-btn i { font-size: 18px; }
  .mcta-call { background: var(--green); color: #fff; }
  .mcta-est { color: var(--green-dk); }
  .mcta-est:active, .mcta-call:active { opacity: 0.9; }
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(20,22,18,0.92);
}
.lightbox[hidden] { display: none; }
.lb-img {
  max-width: 94vw;
  max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 12px 44px rgba(0,0,0,0.5);
}
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { background: rgba(0,0,0,0.65); }
.work-single img { cursor: zoom-in; }

/* ── TRUST STRIP ── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.1rem;
  padding: 1rem 1.5rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-sub);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-strip i { font-size: 16px; color: var(--green); }
.trust-strip .ts-dot { color: var(--line); }
@media (max-width: 480px) {
  .trust-strip .ts-dot { display: none; }
}

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-dk);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green); }
.faq-ico {
  color: var(--green);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.25rem; color: var(--ink-sub); }
.faq-a p { margin: 0; max-width: 660px; }

/* ── FOOTER CREDIT ── */
.footer-credit-line { font-size: 0.78rem; color: var(--ink-sub); margin-top: 0.5rem; }
/* Rush Webworks brand blue — keep this exact color on every site (light-bg variant) */
.footer-credit { color: #2b59ff; font-weight: 500; text-decoration: none; }
.footer-credit:hover { text-decoration: underline; }
