/* ==========================================================================
   JM Landscaping — styles.css
   Mobile-first. All colors, type and spacing come from the tokens in :root.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color — deep palm green, warm limestone off-white, sand-gold accent */
  --green-950: #0E2418;
  --green-900: #173B28;
  --green-800: #1E4B33;
  --green-700: #26603F;
  --green-100: #E3EBDF;
  --green-50:  #EFF3EA;

  --sand-500: #D9B36C;   /* accent — buttons, stars, highlights on dark */
  --sand-600: #C79C4E;   /* accent hover */
  --sand-100: #F4E9D2;

  --cream:    #F7F3EA;   /* page background */
  --paper:    #FFFFFF;   /* cards */
  --ink:      #16241B;   /* body text */
  --ink-soft: #4B5A50;   /* secondary text (6.4:1 on cream) */
  --line:     #E2DCCD;

  --error:    #A8321E;
  --error-bg: #FBEDEA;

  --on-dark:      #FFFFFF;
  --on-dark-soft: rgba(255, 255, 255, 0.82);

  /* Type */
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;

  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-h3:   1.25rem;
  --fs-h2:   clamp(1.85rem, 1.4rem + 2vw, 2.9rem);
  --fs-h1:   clamp(2.5rem, 1.6rem + 4.4vw, 4.75rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: 1.25rem;
  --container: 76rem;

  /* Shape & depth */
  --radius-sm: 0.625rem;
  --radius:    1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14, 36, 24, 0.06), 0 2px 8px rgba(14, 36, 24, 0.05);
  --shadow:    0 4px 12px rgba(14, 36, 24, 0.06), 0 16px 40px rgba(14, 36, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 36, 24, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
  --focus: 0 0 0 3px var(--cream), 0 0 0 5px var(--green-700);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--green-950);
}

p { margin: 0 0 var(--space-4); }

img {
  display: block;
  max-width: 100%;
  height: auto;
  /* Shows as a soft green block until the real photo is dropped in;
     transparent color hides broken-image alt text visually (screen readers still read it) */
  background: var(--green-100);
  color: transparent;
}

a { color: var(--green-700); }

ul { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius-sm);
}

section[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

.sprite { display: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--green-900);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: var(--space-4); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* ---------- 3. Shared components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--sand-500);
}
.eyebrow .icon { display: none; }

.eyebrow--light { color: var(--sand-500); }

.section-head { margin-bottom: var(--space-7); max-width: 40rem; }
.section-head--split { max-width: none; display: grid; gap: var(--space-4); }
.section-title { font-size: var(--fs-h2); margin-bottom: var(--space-4); }
.section-head .section-title { margin-bottom: 0; }
.section-intro { color: var(--ink-soft); font-size: var(--fs-md); max-width: 32rem; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon[aria-hidden] { transform: translateX(2px); }

.btn--primary { background: var(--green-800); color: var(--on-dark); }
.btn--primary:hover { background: var(--green-900); box-shadow: var(--shadow-sm); }

.btn--accent { background: var(--sand-500); color: var(--green-950); }
.btn--accent:hover { background: var(--sand-600); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.6); color: var(--on-dark); background: rgba(14, 36, 24, 0.2); }
.btn--ghost-light:hover { background: var(--on-dark); color: var(--green-950); border-color: var(--on-dark); }

.btn--sm { min-height: 2.75rem; padding: 0.55rem 1rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 3.5rem; padding: 0.9rem 1.75rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }

.btn--accent:focus-visible,
.btn--ghost-light:focus-visible { box-shadow: 0 0 0 3px var(--green-950), 0 0 0 5px var(--sand-500); }

.checklist { display: grid; gap: var(--space-3); margin: var(--space-5) 0 var(--space-6); }
.checklist li { display: flex; align-items: flex-start; gap: var(--space-3); font-weight: 500; }
.checklist .icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  stroke-width: 2.6;
}

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: var(--space-3) var(--space-3) 0;
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  max-width: var(--container);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled .site-header__bar { box-shadow: var(--shadow); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--green-950);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo strong { font-weight: 800; }
.logo__mark {
  width: auto;
  height: 2.5rem;
  background: none;
}
.logo--light { color: var(--on-dark); }
.logo--light .logo__mark { height: 3rem; }

.site-header__actions { display: flex; align-items: center; gap: var(--space-2); }

.site-header__phone { display: none; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-950);
  cursor: pointer;
}
.menu-toggle .icon { width: 1.35rem; height: 1.35rem; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }
.no-js .menu-toggle { display: none; }

/* Mobile nav: a dropdown panel under the header bar (JS). Without JS it is a plain row. */
.site-nav a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.site-nav a:hover { background: var(--green-50); color: var(--green-800); }
.site-nav .btn { color: var(--on-dark); margin-top: var(--space-2); }
.site-nav .btn:hover { background: var(--green-900); color: var(--on-dark); }

.no-js .site-header__bar { flex-wrap: wrap; }
.no-js .site-nav { order: 3; width: 100%; }
.no-js .site-nav__list { display: flex; flex-wrap: wrap; }
.no-js .site-nav__quote { display: none; }

.js .site-nav {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.js .site-nav__list { display: grid; gap: var(--space-1); }
.js .site-nav__quote .btn { width: 100%; }

/* Phones: tighten the header so logo + Call Now + menu fit on one row */
@media (max-width: 479px) {
  .site-header { padding: var(--space-2) var(--space-2) 0; }
  .site-header__bar { gap: var(--space-2); padding-left: var(--space-3); }
  .site-header__actions { gap: 0.375rem; }
  .logo { gap: 0.4rem; font-size: 0.95rem; }
  .logo__mark { height: 2.2rem; }
  .site-header__actions .btn--sm { padding-inline: 0.8rem; gap: 0.35rem; }
}
@media (max-width: 359px) {
  .logo__text { font-size: 0.85rem; }
  .site-header__actions .btn--sm .icon { display: none; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding: calc(var(--header-h) + var(--space-8)) 0 calc(var(--space-8) + 3rem);
  color: var(--on-dark);
  overflow: hidden;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__media img { object-fit: cover; object-position: center; background: var(--green-900); }

/* Overlay: darkest behind the copy (bottom/left), lighter over the photo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(14, 36, 24, 0.92) 0%, rgba(14, 36, 24, 0.55) 45%, rgba(14, 36, 24, 0.25) 100%);
}

.hero__inner { max-width: calc(var(--container) + var(--gutter) * 2); }
.hero .eyebrow { margin-bottom: var(--space-5); }

.hero__title {
  max-width: 13ch;
  margin-bottom: var(--space-5);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--on-dark);
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: var(--space-6);
  font-size: var(--fs-lg);
  color: var(--on-dark-soft);
}

.hero__actions { display: flex; flex-direction: column; gap: var(--space-3); }
.hero__actions .btn { width: 100%; }

/* ---------- 6. Trust bar ---------- */
.trust { position: relative; z-index: 2; margin-top: -3rem; }

.trust__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
  padding: var(--space-5);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.trust__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--ink-soft);
}
.trust__item strong {
  display: block;
  margin-bottom: 0.1rem;
  font-family: var(--font-head);
  font-size: var(--fs-base);
  color: var(--green-950);
}
.trust__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--green-700);
}
.trust__icon .icon { width: 1.4rem; height: 1.4rem; }

/* ---------- 7. Services ---------- */
.services__grid { display: grid; gap: var(--space-5); }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.service-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-7) var(--space-5) var(--space-5);
}
.service-card__body h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.service-card__body p { color: var(--ink-soft); flex: 1; }

.service-card__icon {
  position: absolute;
  top: -1.75rem;
  left: var(--space-5);
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--green-800);
  color: var(--sand-500);
}
.service-card__icon .icon { width: 1.5rem; height: 1.5rem; }

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  min-height: 2.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-800);
  text-decoration: none;
}
.service-card__link .icon { transition: transform 0.2s var(--ease); }
.service-card__link:hover .icon { transform: translateX(4px); }
.service-card__link:hover { color: var(--green-950); }

/* ---------- 8. About ---------- */
.about { background: var(--green-50); }
.about__grid { display: grid; gap: var(--space-7); align-items: center; }

.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about__card {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--green-900);
  color: var(--on-dark-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.about__card strong {
  display: block;
  font-family: var(--font-head);
  font-size: var(--fs-md);
  color: var(--on-dark);
}
.about__card-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand-500);
  color: var(--green-950);
}

.about__content > p:not(.eyebrow) { color: var(--ink-soft); font-size: var(--fs-md); }

/* ---------- 9. Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }

.gallery__link {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--on-dark);
  text-decoration: none;
}
.gallery__link img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__link:hover img,
.gallery__link:focus-visible img { transform: scale(1.05); }

.gallery__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4) var(--space-4);
  background: linear-gradient(to top, rgba(14, 36, 24, 0.85), transparent);
  font-family: var(--font-head);
  font-weight: 700;
}
.gallery__caption .icon { opacity: 0.85; }

/* Lightbox */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: var(--space-4);
  border: 0;
  background: transparent;
  color: var(--on-dark);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 24, 16, 0.92); }

.lightbox__figure { margin: 0; max-width: 72rem; }
.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--green-900);
}
.lightbox__caption { margin-top: var(--space-3); text-align: center; font-family: var(--font-head); font-weight: 600; }

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color 0.2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { box-shadow: 0 0 0 3px var(--sand-500); }
.lightbox__close { top: var(--space-4); right: var(--space-4); }
.lightbox__nav { bottom: var(--space-5); }
.lightbox__nav--prev { left: calc(50% - 3.5rem); }
.lightbox__nav--next { right: calc(50% - 3.5rem); }
.lightbox .icon { width: 1.5rem; height: 1.5rem; }

/* ---------- 10. Reviews ---------- */
.reviews__grid { display: grid; gap: var(--space-4); }

.review {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.review__stars { display: flex; gap: 0.15rem; color: var(--sand-600); margin-bottom: var(--space-4); }
.review__stars .icon { fill: currentColor; stroke: none; width: 1.15rem; height: 1.15rem; }
.review__text { flex: 1; margin: 0 0 var(--space-5); font-size: var(--fs-md); line-height: 1.6; }
.review__text p { margin: 0; }
.review__author { margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: var(--fs-sm); }
.review__author strong { display: block; font-family: var(--font-head); font-size: var(--fs-base); color: var(--green-950); }

/* ---------- 11. Quote form ---------- */
.quote { background: var(--green-900); color: var(--on-dark-soft); }
.quote__grid { display: grid; gap: var(--space-7); align-items: start; }
.quote .section-title { color: var(--on-dark); }
.quote__intro > p:not(.eyebrow) { font-size: var(--fs-md); max-width: 30rem; }

.quote__contact { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.quote__contact li { display: flex; align-items: center; gap: var(--space-3); }
.quote__contact .icon { color: var(--sand-500); }
.quote__contact a { color: var(--on-dark); font-weight: 700; text-decoration: none; }
.quote__contact a:hover { text-decoration: underline; }
.quote__contact a:first-of-type[href^="tel"] { font-family: var(--font-head); font-size: var(--fs-lg); }
.quote a:focus-visible { box-shadow: 0 0 0 3px var(--green-900), 0 0 0 5px var(--sand-500); }

.quote__card {
  padding: var(--space-5);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-row { display: grid; gap: 0 var(--space-4); }
.field { margin-bottom: var(--space-4); }

.field label {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--green-950);
}
.req { color: var(--error); }
.optional { font-weight: 500; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-base); /* 16px+ prevents iOS zoom on focus */
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E4B33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;
}
.field input::placeholder,
.field textarea::placeholder { color: #7A857D; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #C9C1AE; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  background-color: var(--paper);
  box-shadow: 0 0 0 3px rgba(38, 96, 63, 0.18);
  border-radius: var(--radius-sm);
}

.field [aria-invalid="true"] { border-color: var(--error); background-color: var(--error-bg); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(168, 50, 30, 0.18); }

.field__error { margin: var(--space-1) 0 0; font-size: var(--fs-sm); font-weight: 500; color: var(--error); }
.field__error:empty { display: none; }

.form-note { font-size: var(--fs-sm); color: var(--ink-soft); }
.form-status { font-weight: 500; color: var(--error); }
.form-status:empty { display: none; }

.quote-form button[disabled] { opacity: 0.7; cursor: progress; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { padding: var(--space-6) var(--space-2); text-align: center; }
.form-success:focus { outline: none; box-shadow: none; }
.form-success h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.form-success p { color: var(--ink-soft); margin: 0; }
.form-success__icon {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
}
.form-success__icon .icon { width: 2rem; height: 2rem; stroke-width: 2.4; }

/* ---------- 12. Service area ---------- */
.area__grid { display: grid; gap: var(--space-7); align-items: center; }
.area__content > p:not(.eyebrow) { color: var(--ink-soft); font-size: var(--fs-md); }

.area__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin-top: var(--space-5); }
.area__list li { display: flex; align-items: center; gap: var(--space-2); font-weight: 500; }
.area__list .icon { color: var(--green-700); }

.area__map {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--green-100);
}
.area__map iframe { display: block; width: 100%; height: 22rem; border: 0; }

/* ---------- 13. Footer ---------- */
.site-footer {
  padding: var(--space-8) 0 calc(var(--space-6) + 4.5rem); /* room for the mobile call button */
  background: var(--green-950);
  color: var(--on-dark-soft);
  font-size: var(--fs-sm);
}
.site-footer__grid { display: grid; gap: var(--space-6); }
.site-footer__brand p { margin-top: var(--space-4); max-width: 20rem; }
.site-footer__title {
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand-500);
}
.site-footer__list { display: grid; gap: var(--space-2); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:focus-visible { box-shadow: 0 0 0 3px var(--green-950), 0 0 0 5px var(--sand-500); }
.site-footer__list a { display: inline-block; padding-block: 0.2rem; }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__bottom p { margin: 0; }

/* ---------- 14. Floating call button (mobile) ---------- */
.call-fab {
  position: fixed;
  right: var(--space-4);
  bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 3.5rem;
  padding: 0 1.35rem 0 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--sand-500);
  color: var(--green-950);
  font-family: var(--font-head);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.call-fab .icon { width: 1.35rem; height: 1.35rem; stroke-width: 2.2; }
.call-fab:focus-visible { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--green-900); }

/* ---------- 15. Scroll reveal (only when JS is on) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.services__grid > :nth-child(3n+2),
.reviews__grid > :nth-child(3n+2),
.gallery__grid > :nth-child(3n+2) { transition-delay: 80ms; }
.services__grid > :nth-child(3n+3),
.reviews__grid > :nth-child(3n+3),
.gallery__grid > :nth-child(3n+3) { transition-delay: 160ms; }
.service-card:hover { transition-delay: 0s; }

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
  .services__grid,
  .reviews__grid,
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row--2 { grid-template-columns: repeat(2, 1fr); }
  .area__list { grid-template-columns: repeat(3, 1fr); }
  .quote__card { padding: var(--space-6); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; }
  .trust__list { grid-template-columns: repeat(4, 1fr); padding: var(--space-6); }
  .trust__item { flex-direction: row; align-items: center; gap: var(--space-3); }
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: var(--space-7); }
  .section-head--split .section-intro { justify-self: end; }
  .about__card { left: auto; right: -1rem; bottom: 2rem; max-width: 20rem; }
  .area__map iframe { height: 26rem; }
  .call-fab { display: none; }
  .site-footer { padding-bottom: var(--space-6); }
}

@media (min-width: 1024px) {
  .site-header { padding-top: var(--space-4); }

  /* Desktop nav inline in the header bar */
  .menu-toggle { display: none; }
  .js .site-nav,
  .no-js .site-nav {
    position: static;
    order: 0;
    width: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .js .site-nav__list,
  .no-js .site-nav__list { display: flex; gap: 0; }
  .site-nav a { padding: var(--space-2) var(--space-3); font-size: 0.95rem; }
  .site-nav__quote { display: none; }
  .no-js .site-header__bar { flex-wrap: nowrap; }

  .site-header__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: var(--space-2);
    line-height: 1.25;
    text-decoration: none;
  }
  .site-header__phone-number { font-family: var(--font-head); font-weight: 800; color: var(--green-950); }
  .site-header__phone-hours { font-size: 0.8rem; color: var(--ink-soft); }
  .site-header__phone:hover .site-header__phone-number { color: var(--green-700); }

  .hero { align-items: center; padding-bottom: calc(var(--space-8) + 4rem); }
  .hero::after {
    background:
      linear-gradient(100deg, rgba(14, 36, 24, 0.9) 0%, rgba(14, 36, 24, 0.6) 42%, rgba(14, 36, 24, 0.1) 75%),
      linear-gradient(to top, rgba(14, 36, 24, 0.5), transparent 40%);
  }

  .services__grid,
  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }

  .about__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }

  /* Gallery: a featured tile plus five, for a less template-like rhythm */
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery__item:first-child img { aspect-ratio: auto; }

  .quote__grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-8); }
  .quote__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
  .quote__card { padding: var(--space-7); }

  .area__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-8); }

  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__nav--prev { left: var(--space-5); }
  .lightbox__nav--next { right: var(--space-5); }
  .lightbox__img { max-height: 82vh; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover,
  .service-card:hover,
  .gallery__link:hover img { transform: none; }
}
