/* ============================================================
   RAWScapes Landscaping – Main Stylesheet
   ============================================================ */

/* ===== CSS Custom Properties ===== */
:root {
  --clr-green-dark:   #1a2e1a;
  --clr-green-mid:    #2d5a27;
  --clr-green-light:  #4a8c3f;
  --clr-green-accent: #6ab04c;
  --clr-earth:        #8b6914;
  --clr-cream:        #f5f0e8;
  --clr-white:        #ffffff;
  --clr-text:         #1e2320;
  --clr-text-muted:   #4a5249;
  --clr-border:       #dde5db;
  --clr-bg-alt:       #f0f4ee;
  --clr-error:        #c0392b;
  --clr-success:      #27ae60;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);

  --transition: 0.25s ease;
  --max-width:  1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg-alt);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-skip-ink: auto; }

a:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol { list-style: none; }

button { cursor: pointer; font-family: inherit; }

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--clr-green-mid);
  color: var(--clr-white);
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ===== Utility ===== */
.container {
  width: min(var(--max-width), 100% - 3rem);
  margin-inline: auto;
}

.section { padding-block: 6rem; }
.section-alt { background: var(--clr-bg-alt); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-green-light);
  margin-bottom: .6rem;
}

.section-intro {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-top: .75rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--clr-green-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:focus-visible { outline: 3px solid var(--clr-green-accent); outline-offset: 3px; }

.btn-primary {
  background: var(--clr-green-mid);
  color: var(--clr-white);
  border-color: var(--clr-green-mid);
}
.btn-primary:hover { background: var(--clr-green-dark); border-color: var(--clr-green-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--clr-white); }

.btn-full { width: 100%; text-align: center; }

/* ===== Navigation ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--clr-white);
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 10px rgba(0,0,0,.08);
}

#site-header.scrolled {
  background: var(--clr-white);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--clr-green-dark);
}

.logo-icon { font-size: 1.4rem; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-green-dark);
  line-height: 1;
}

.logo-text em { font-style: normal; color: var(--clr-green-accent); display: block; font-size: .85rem; letter-spacing: .08em; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--clr-green-dark);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--clr-green-mid); }

.nav-links a:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-cta {
  background: var(--clr-green-accent) !important;
  color: var(--clr-green-dark) !important;
  padding: .5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--clr-white) !important; }

.nav-trust {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: 1.5rem;
}

.nav-trust-item {
  font-size: .75rem;
  color: var(--clr-text-muted);
  letter-spacing: .02em;
  white-space: nowrap;
}

.nav-trust-item strong {
  font-family: var(--font-display);
  color: var(--clr-green-mid);
  font-size: 1.6rem;
  line-height: 1;
  vertical-align: middle;
  margin-right: .2rem;
}

@media (max-width: 768px) {
  .nav-trust { display: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .4rem;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-green-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(160deg, #0d1f0d 0%, #1a3a14 40%, #2d5a27 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(74,140,63,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(26,46,26,.8) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,.015) 2px, rgba(255,255,255,.015) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin-inline: auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-green-accent);
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--clr-white);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: transparent;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 2;
}

.hero-scroll span {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--clr-green-dark);
  padding-block: 2.5rem;
}

.hero-trust-bar .trust-bar-grid {
  padding-block: 1.2rem;
}

.trust-bar-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: .75rem 2.5rem;
  text-align: center;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--clr-green-accent);
  line-height: 1;
}

.trust-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--clr-green-mid), var(--clr-green-dark));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder-inner {
  text-align: center;
  color: rgba(255,255,255,.5);
}

.placeholder-icon { font-size: 4rem; display: block; margin-bottom: .5rem; }
.image-placeholder-inner p { font-size: .85rem; }

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--clr-green-accent);
  color: var(--clr-green-dark);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-label { font-size: .62rem; font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: .05em; }

.about-content { padding-right: 1rem; }

.about-highlights {
  margin-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .95rem;
  color: var(--clr-text-muted);
}

.check {
  color: var(--clr-green-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ===== Services — Circle Layout ===== */
.services-circle-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  min-height: 300px;
}

.service-bubble {
  width: 150px;
  height: 150px;
  transition: width 0.4s cubic-bezier(.4,0,.2,1), height 0.4s cubic-bezier(.4,0,.2,1);
}

.bubble-trigger {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--clr-green-light);
  background: var(--clr-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 1.2rem;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
}

.bubble-trigger:hover {
  border-color: var(--clr-green-mid);
  box-shadow: var(--shadow-md);
  transform: scale(1.08);
}

.bubble-trigger:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 3px;
}

.bubble-icon {
  color: var(--clr-green-light);
  display: block;
  line-height: 1;
  flex-shrink: 0;
}

.bubble-icon svg {
  width: 28px;
  height: 28px;
}

.bubble-label {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--clr-green-dark);
  line-height: 1.2;
  letter-spacing: .02em;
}

.bubble-description {
  font-size: .78rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
  margin-top: .3rem;
  max-width: 90%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease 0.3s, max-height 0.3s ease;
}

/* Expanded state (JS adds .is-expanded; CSS :focus-within works without JS) */
.service-bubble.is-expanded,
.service-bubble:focus-within {
  width: 280px;
  height: 280px;
  z-index: 10;
}

.service-bubble.is-expanded .bubble-trigger,
.service-bubble:focus-within .bubble-trigger {
  border-color: var(--clr-green-dark);
  background: var(--clr-green-mid);
  box-shadow: var(--shadow-lg);
  transform: none;
  gap: .5rem;
  padding: 1.5rem;
  justify-content: center;
}

.service-bubble.is-expanded .bubble-icon,
.service-bubble:focus-within .bubble-icon {
  color: var(--clr-green-accent);
}

.service-bubble.is-expanded .bubble-icon svg,
.service-bubble:focus-within .bubble-icon svg {
  width: 30px;
  height: 30px;
}

.service-bubble.is-expanded .bubble-label,
.service-bubble:focus-within .bubble-label {
  font-size: 1rem;
  margin-bottom: .2rem;
  color: var(--clr-white);
}

.service-bubble.is-expanded .bubble-description,
.service-bubble:focus-within .bubble-description {
  opacity: 1;
  max-height: 200px;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
}

/* ===== Services — Mobile (vertical stack) ===== */
@media (max-width: 768px) {
  .services-circle-layout {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .service-bubble.is-expanded,
  .service-bubble:focus-within {
    width: 260px;
    height: 260px;
  }
}

/* ===== Process ===== */
.process.section { padding-block: 3rem; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: steps;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 1rem .75rem;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--clr-border);
}

.process-step:last-child::after { display: none; }

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-green-accent);
  opacity: .4;
  line-height: 1;
  margin-bottom: .5rem;
}

.step-content h3 { color: var(--clr-green-dark); font-size: .95rem; }
.step-content p { color: var(--clr-text-muted); font-size: .82rem; }

/* ===== Contact & Quote Shared Layout ===== */
.contact-grid,
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2,
.quote-intro h2 { margin-bottom: 1rem; }

.contact-info p,
.quote-intro p { color: var(--clr-text-muted); margin-bottom: 1.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--clr-text-muted);
}

.contact-details a {
  color: var(--clr-green-mid);
  text-decoration: none;
  font-weight: 500;
}
.contact-details a:hover { text-decoration: underline; }
.contact-details a:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.contact-icon { font-size: 1.1rem; }

.quote-notes {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.quote-notes li {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--clr-text-muted);
  font-size: .95rem;
}

/* ===== Forms ===== */
.form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  border: 1px solid var(--clr-border);
}

.form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--clr-border);
  color: var(--clr-green-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--clr-text);
}

.required { color: var(--clr-error); }

.optional {
  font-weight: 400;
  color: var(--clr-text-muted);
  font-size: .8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 1px;
  border-color: var(--clr-green-light);
  box-shadow: 0 0 0 3px rgba(74,140,63,.2);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--clr-error);
}

.form-group select {
  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 fill='%235a6359' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.field-error {
  font-size: .8rem;
  color: var(--clr-error);
  min-height: 1.1em;
}

.form-success {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #eafaf1;
  border: 1px solid #a9dfbf;
  border-radius: var(--radius-sm);
  color: var(--clr-success);
  font-weight: 500;
  font-size: .95rem;
}

.form-error {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #fdecea;
  border: 1px solid #e0b4b4;
  border-radius: var(--radius-sm);
  color: var(--clr-error);
  font-weight: 500;
  font-size: .95rem;
}

/* ===== Photo Upload ===== */
.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  border: 2px dashed var(--clr-green-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: rgba(74,140,63,.08);
}

.upload-label:hover {
  border-color: var(--clr-green-mid);
  background: rgba(74,140,63,.08);
}

.upload-label-icon {
  font-size: 2.2rem;
  display: block;
}

.upload-label strong {
  color: var(--clr-green-mid);
  font-size: .95rem;
}

.upload-label-sub {
  font-size: .78rem;
  color: var(--clr-text-muted);
}

.file-list {
  list-style: none;
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.file-list li {
  font-size: .85rem;
  color: var(--clr-green-mid);
  padding: .3rem .6rem;
  background: rgba(74,140,63,.08);
  border-radius: var(--radius-sm);
}

/* No-JS upload: native input inside the styled box */
.upload-label-nojs {
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(74,140,63,.08);
}

.upload-label-nojs input[type="file"] {
  width: auto;
  margin-bottom: .4rem;
  background: rgba(74,140,63,.08);
  padding: .5rem;
  border-radius: var(--radius-sm);
  border: 10px;
}

.upload-label-nojs input[type="file"]::file-selector-button {
  background: green;
  color: black;
  border: 2px;
  padding: .5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
}

/* JS upload: hidden native input, styled drop area */
.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.upload-drop-area {
  cursor: pointer;
}

.upload-drop-area.drag-over {
  border-color: var(--clr-green-mid);
  background: rgba(74,140,63,.12);
}

.upload-area {
  position: relative;
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--clr-bg-alt);
}

.upload-area:hover,
.upload-area.drag-over {
  border-color: var(--clr-green-light);
  background: rgba(74,140,63,.06);
}

.upload-placeholder { pointer-events: none; }

.upload-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }

.upload-placeholder p { color: var(--clr-text-muted); font-size: .9rem; margin-bottom: .25rem; }
.upload-placeholder strong { color: var(--clr-green-mid); }
.upload-hint { font-size: .78rem !important; color: var(--clr-text-muted); }

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: .6rem;
  margin-top: .75rem;
}

.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: .75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.preview-remove:hover { background: var(--clr-error); }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #1a2e1a 0%, #0d1f0d 100%);
  color: rgba(255,255,255,.75);
  border-top: 3px solid var(--clr-green-accent);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  text-align: left;
}

.footer-brand .logo-text {
  display: block;
  color: var(--clr-green-accent);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .15rem;
}

.footer-brand p {
  font-size: .8rem;
  color: var(--clr-cream);
  margin: 0;
  opacity: .7;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  list-style: none;
}

.footer-contact li { font-size: .85rem; }

.footer-contact a {
  text-decoration: none;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--clr-green-accent); }
.footer-contact a:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}

.footer-bottom p { margin: 0; }

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
  .footer-brand { text-align: center; }
  .footer-contact ul { justify-content: center; }
  .footer-bottom { text-align: center; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-content { padding-right: 0; }
  .about-image-wrap { max-width: 400px; margin-inline: auto; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding-block: 4rem; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(26,46,26,.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .nav-links.is-open { display: flex; }

  .nav-links a { font-size: 1rem; padding: .4rem 0; color: #ffffff; }
  .nav-links a:hover { color: var(--clr-green-accent); }
  .nav-links .nav-cta { background: var(--clr-green-accent); color: var(--clr-green-dark); }
  .nav-cta { text-align: center; }

  .contact-grid,
  .quote-grid { grid-template-columns: 1fr; gap: 3rem; }

  .form-row { grid-template-columns: 1fr; }

  .trust-bar-grid { gap: 0; }
  .trust-divider { width: 100%; height: 1px; }
  .trust-item { padding: 1rem; }

  .process-steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .form-wrap { padding: 1.5rem; }
}

/* ===== Hero — photo background ===== */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* The gradient overlay now sits on top of the photo */
.hero::before {
  background-image:
    linear-gradient(160deg, rgba(13,31,13,.85) 0%, rgba(26,58,20,.75) 50%, rgba(45,90,39,.55) 100%);
}

/* ===== About — real photo ===== */
.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Gallery ===== */
.gallery { background: var(--clr-bg-alt); }

.gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-green-light) transparent;
}

.gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--clr-green-light);
  border-radius: 3px;
}

.gallery-item {
  flex: 0 0 auto;
  width: min(400px, 80vw);
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  scroll-snap-align: start;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 2px;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.93);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-inner {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}

.lightbox-counter {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  letter-spacing: .08em;
  margin: 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.25); }

.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 1rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 3px solid var(--clr-green-accent);
  outline-offset: 2px;
}

/* ===== Gallery responsive ===== */
@media (max-width: 600px) {
  .gallery-item { width: min(320px, 85vw); }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

/* ===== Gallery — project grouping ===== */
.gallery-project {
  margin-bottom: 3.5rem;
}

.gallery-project:last-child {
  margin-bottom: 0;
}

.gallery-project-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--clr-green-dark);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--clr-green-accent);
  display: inline-block;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-line { animation: none; }
  .hero-scroll { display: none; }
}
