/* ===================================================================
   RB Home Repairs — Stylesheet
   Colors sampled from logo: deep navy + parchment cream
   Type: Playfair Display (serif, matches logo) + Inter (body) + Montserrat (tracked tagline)
   =================================================================== */

:root {
  /* Brand */
  --navy: #093866;
  --navy-600: #0A3B6B;
  --navy-700: #062B4E;
  --navy-800: #04203B;
  --navy-500: #1B477A;
  --navy-100: #DCE5EE;
  --navy-50:  #EEF2F7;

  /* Accent — warmer cream tones from logo type */
  --cream: #F2EDDD;
  --cream-50: #FAF7ED;
  --cream-100: #F6F1E2;
  --paper: #FBF8F0;

  /* Neutrals */
  --ink: #0C1E33;
  --slate: #4A5666;
  --mute: #7E8794;
  --line: #E6DFCC;
  --line-2: #EDE6D0;
  --white: #FFFFFF;
  --shadow-line: rgba(9, 56, 102, .08);

  --rust: #B5562B; /* small accent for star ratings */

  /* Type */
  --ff-display: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ff-track: 'Montserrat', 'Inter', sans-serif;

  /* Spacing & radii */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(9,30,51,.04), 0 1px 1px rgba(9,30,51,.03);
  --shadow: 0 8px 28px -10px rgba(9,30,51,.14), 0 2px 4px rgba(9,30,51,.05);
  --shadow-lg: 0 32px 70px -22px rgba(9,30,51,.28), 0 10px 22px -12px rgba(9,30,51,.10);

  --ease: cubic-bezier(.2,.7,.2,1);
  --container: 1200px;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
/* Wrap long words instead of forcing overflow */
h1, h2, h3, h4, p, a, li, span, label { overflow-wrap: break-word; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ----------------------------- Type ----------------------------- */
.display-1, .display-2, h1, h2, h3, h4 {
  font-family: var(--ff-display);
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--navy);
  font-weight: 600;
  text-wrap: balance;
}
.display-1 { font-size: clamp(1.9rem, 5.6vw, 4.5rem); font-weight: 600; letter-spacing: -0.015em; }
.display-2 { font-size: clamp(1.55rem, 4vw, 3.1rem); font-weight: 600; }
h1 { font-size: clamp(1.7rem, 4.3vw, 3.3rem); }
h2 { font-size: clamp(1.4rem, 2.7vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { color: var(--slate); }
.lead { font-size: clamp(1.06rem, 1.2vw, 1.18rem); color: var(--slate); line-height: 1.65; max-width: 60ch; }

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-family: var(--ff-track);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  max-width: 100%;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .eyebrow { letter-spacing: 0.14em; font-size: 0.7rem; }
  .eyebrow::before { width: 18px; }
}
.eyebrow--cream { color: var(--cream); }
.eyebrow--cream::before { background: var(--cream); }

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left:  max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
@media (min-width: 640px) {
  .container { padding-left: 28px; padding-right: 28px; }
}
@media (min-width: 1024px) {
  .container { padding-left: 40px; padding-right: 40px; }
}
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section--cream { background: var(--cream-50); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--cream-50); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--cream); }
.section--navy p { color: rgba(242,237,221,.78); }

.row { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.row--2 { grid-template-columns: 1fr; }
.row--3 { grid-template-columns: 1fr; }
.row--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 740px) {
  .row--2 { grid-template-columns: 1fr 1fr; }
  .row--3 { grid-template-columns: repeat(3, 1fr); }
  .row--4 { grid-template-columns: repeat(4, 1fr); }
}
.row--2-asym { grid-template-columns: 1fr; }
@media (min-width: 880px) { .row--2-asym { grid-template-columns: 5fr 7fr; align-items: center; } }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .display-2 { margin-top: 14px; }

.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 26px; } .mt-5 { margin-top: 36px; } .mt-6 { margin-top: 48px; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--ff-body);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--navy); color: var(--cream); }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--cream { background: var(--cream); color: var(--navy); }
.btn--cream:hover { background: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy-100); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn--ghost-cream { background: transparent; color: var(--cream); border-color: rgba(242,237,221,.35); }
.btn--ghost-cream:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn svg { width: 16px; height: 16px; }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  min-height: 64px;
}
/* Ensure logo + hamburger always have safe breathing room on narrow phones */
.site-header > .container {
  padding-left:  max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__word { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__word .nm { font-family: var(--ff-display); font-size: 1.1rem; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.brand__word .sb { font-family: var(--ff-track); font-size: 0.6rem; color: var(--slate); letter-spacing: 0.22em; text-transform: uppercase; margin-top: 3px; white-space: nowrap; }
@media (max-width: 480px) {
  .brand__word .sb { display: none; }
  .brand__word .nm { font-size: 1rem; }
  .brand__mark { width: 36px; height: 36px; }
}

.nav { display: none; gap: 28px; align-items: center; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--navy);
  transition: width .25s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--navy); }
@media (min-width: 920px) { .nav { display: flex; } }

.header-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.header-phone svg { width: 16px; height: 16px; }
@media (min-width: 760px) { .header-phone { display: inline-flex; } }

/* Hide CTA button on small screens — sticky-call covers the phone CTA */
.header-cta .btn { display: none; }
@media (min-width: 560px) { .header-cta .btn { display: inline-flex; } }

.nav-toggle {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  flex-shrink: 0;
  z-index: 51;
}
.nav-toggle:hover { background: var(--cream); border-color: var(--navy-100); }
.nav-toggle svg { width: 22px; height: 22px; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.nav-toggle .icon-close { position: absolute; opacity: 0; transform: rotate(-45deg); }
.nav-toggle.is-open .icon-open  { opacity: 0; transform: rotate(45deg); }
.nav-toggle.is-open .icon-close { opacity: 1; transform: rotate(0); }
@media (min-width: 920px) { .nav-toggle { display: none; } }

/* Body lock when mobile menu is open */
body.menu-open { overflow: hidden; touch-action: none; }
body.menu-open .sticky-call { display: none; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: 49;
  padding: 24px clamp(20px, 4vw, 40px) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  font-size: 1.25rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  font-weight: 600;
}
.mobile-menu a::after {
  content: "→";
  font-family: var(--ff-body);
  color: var(--navy-500);
  font-size: 1.1rem;
}
.mobile-menu a:last-child {
  border-bottom: 0;
  margin-top: 16px;
  background: var(--navy);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: 999px;
  justify-content: center;
  gap: 10px;
}
.mobile-menu a:last-child::after { content: ""; }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--cream);
  padding: clamp(80px, 11vw, 160px) 0 clamp(110px, 14vw, 200px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/hero-toolset-view.jpg");
  background-size: cover; background-position: center 35%;
  z-index: -2;
  filter: saturate(.85) contrast(1.02);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(4,32,59,.92) 0%, rgba(6,43,78,.78) 38%, rgba(9,56,102,.45) 70%, rgba(9,56,102,.55) 100%),
    linear-gradient(180deg, rgba(4,32,59,.10) 0%, rgba(4,32,59,.45) 75%, rgba(4,32,59,.85) 100%);
  z-index: -1;
}
.hero__inner { position: relative; max-width: 760px; }
.hero__title {
  font-family: var(--ff-display);
  color: var(--cream);
  font-size: clamp(2rem, 6.4vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 22px;
  font-weight: 600;
  text-wrap: pretty;
}
.hero__title em { font-style: italic; color: #E2D8B6; }
.hero__sub {
  margin-top: 22px; max-width: 56ch;
  color: rgba(242,237,221,.88);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
}
.hero__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta {
  margin-top: 56px;
  display: grid; gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .hero__meta { grid-template-columns: repeat(4, 1fr); } }
.hero__meta-num { font-family: var(--ff-display); font-size: clamp(2rem, 3.2vw, 2.6rem); color: var(--cream); font-weight: 600; }
.hero__meta-num span { color: #E2D8B6; }
.hero__meta-lbl { font-family: var(--ff-track); font-size: 0.7rem; color: rgba(242,237,221,.6); text-transform: uppercase; letter-spacing: 0.2em; margin-top: 6px; }

/* ----------------------------- Trust strip ----------------------------- */
.trust {
  padding: 22px 0;
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
}
.trust__inner {
  display: flex; gap: 26px 40px; align-items: center; justify-content: center;
  flex-wrap: wrap;
  font-family: var(--ff-track);
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--slate);
}
.trust__item { display: inline-flex; align-items: center; gap: 10px; }
.trust__item svg { width: 16px; height: 16px; color: var(--navy); }
.stars { display: inline-flex; gap: 2px; color: var(--rust); }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* ----------------------------- Page heads (subpages) ----------------------------- */
.page-head {
  position: relative; isolation: isolate;
  background: var(--navy);
  color: var(--cream);
  padding: clamp(100px, 12vw, 170px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(.9) contrast(1.02);
}
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(4,32,59,.92) 0%, rgba(6,43,78,.74) 42%, rgba(9,56,102,.45) 75%, rgba(9,56,102,.55) 100%),
    linear-gradient(180deg, rgba(4,32,59,.15) 0%, rgba(4,32,59,.45) 60%, rgba(4,32,59,.85) 100%);
}
.page-head__inner { position: relative; max-width: 820px; }
.page-head__crumbs { display: flex; gap: 8px; font-family: var(--ff-track); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(242,237,221,.55); }
.page-head__crumbs a { color: rgba(242,237,221,.85); }
.page-head__crumbs span { color: rgba(242,237,221,.4); }
.page-head .display-1 { margin-top: 22px; color: var(--cream); }
.page-head__sub { margin-top: 22px; font-size: 1.1rem; color: rgba(242,237,221,.85); max-width: 60ch; line-height: 1.65; }

/* per-page hero images */
.page-head--about::before    { background-image: url("../img/owner.jpg"); background-position: center 25%; }
.page-head--services::before { background-image: url("../img/pergola-fence.jpg"); background-position: center 45%; }
.page-head--gallery::before  { background-image: url("../img/verandah.webp"); background-position: center; }
.page-head--contact::before  { background-image: url("../img/work-vehicle.webp"); background-position: center 60%; }

/* ----------------------------- Section heads ----------------------------- */
.section-head .eyebrow + .display-2 { margin-top: 18px; }

/* ----------------------------- Service cards ----------------------------- */
.svc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr 1fr; } }

.svc-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.06);
  background: var(--navy);
  color: var(--cream);
  padding: 28px 26px 26px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 340px;
}
.svc-card::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .6s var(--ease);
  z-index: -2;
  filter: saturate(.92) contrast(1.02);
}
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,32,59,.25) 0%, rgba(4,32,59,.62) 50%, rgba(4,32,59,.94) 100%),
    linear-gradient(95deg, rgba(4,32,59,.45) 0%, rgba(4,32,59,.10) 55%, rgba(4,32,59,.35) 100%);
  z-index: -1;
}
.svc-card:hover::before { transform: scale(1.06); }
.svc-card:hover { transform: translateY(-3px); border-color: rgba(242,237,221,.30); box-shadow: var(--shadow-lg); }
.svc-card__num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--ff-display); font-size: 1.05rem; color: rgba(242,237,221,.55); font-weight: 600;
}
.svc-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(242,237,221,.12);
  color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(242,237,221,.20);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.svc-card__icon svg { width: 24px; height: 24px; stroke-width: 1.7; }
.svc-card h3 { margin-top: auto; font-family: var(--ff-display); color: var(--cream); }
.svc-card p { font-size: 0.95rem; color: rgba(242,237,221,.85); }
.svc-card ul { margin-top: 8px; display: grid; gap: 6px; }
.svc-card li { font-size: 0.88rem; color: rgba(242,237,221,.75); position: relative; padding-left: 18px; }
.svc-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cream); position: absolute; left: 4px; top: 9px; }

/* per-card photo backgrounds */
.svc-card--maintenance::before { background-image: url("../img/hero-toolset-view.jpg"); background-position: center 50%; }
.svc-card--carpentry::before   { background-image: url("../img/pergola-fence.jpg"); background-position: center 50%; }
.svc-card--decks::before       { background-image: url("../img/verandah.webp"); background-position: center 50%; }
.svc-card--guttering::before   { background-image: url("../img/guttering.jpg"); background-position: center 50%; }
.svc-card--fencing::before     { background-image: url("../img/pergola-fence.jpg"); background-position: center 30%; }
.svc-card--sealing::before     { background-image: url("../img/owner.jpg"); background-position: center 30%; }
.svc-card--yard::before        { background-image: url("../img/lawn-finished.jpg"); background-position: center 50%; }
.svc-card--other::before       { background-image: url("../img/garden-beds.webp"); background-position: center 50%; }
.svc-card--tip::before         { background-image: url("../img/trailer-kit.webp"); background-position: center 50%; }
.svc-card--gutter::before      { background-image: url("../img/guttering.jpg"); background-position: center 30%; }

/* ----------------------------- Feature row (alt) ----------------------------- */
.feature {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature--rev .feature__art { order: 2; }
.feature__art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/6;
  background: var(--navy-50);
  box-shadow: var(--shadow);
}
.feature__art img { width: 100%; height: 100%; object-fit: cover; }
.feature__art--wide { aspect-ratio: 4/3; }
.feature__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, transparent 50%, rgba(9,56,102,.10) 100%);
  pointer-events: none;
}
.feature__body { max-width: 56ch; }
.feature__body p { margin-top: 18px; line-height: 1.7; }
.feature__body .display-2 { margin-top: 16px; }

/* ----------------------------- Reviews ----------------------------- */
.reviews { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.review__stars { display: inline-flex; gap: 2px; color: var(--rust); }
.review__stars svg { width: 16px; height: 16px; fill: currentColor; }
.review p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--navy-700);
}
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.review__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 700; font-size: 0.95rem;
  border: 1px solid var(--line);
}
.review__name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.review__meta { font-size: 0.78rem; color: var(--mute); font-family: var(--ff-track); letter-spacing: 0.05em; }

/* ----------------------------- Gallery ----------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 18px;
}
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { display: flex; flex-direction: column; gap: 12px; }
.gallery__item a {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-50);
  aspect-ratio: 4/3;
  cursor: zoom-in;
}
.gallery__item a img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery__item a:hover img { transform: scale(1.05); }
.gallery__item a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(4,32,59,.45));
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery__item a:hover::after { opacity: 1; }
.gallery__caption {
  padding: 0 4px;
}
.gallery__caption .lbl {
  display: block;
  font-family: var(--ff-track);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-500);
}
.gallery__caption .ttl {
  display: block;
  margin-top: 6px;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
}
.gallery__caption .meta {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.45;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4,16,30,.92);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 96vw); max-height: 92vh; border-radius: 6px; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(242,237,221,.12); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(242,237,221,.25);
}
.lightbox__close:hover { background: rgba(242,237,221,.25); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(242,237,221,.10); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(242,237,221,.2); }
.lightbox__nav:hover { background: rgba(242,237,221,.22); }
.lightbox__prev { left: 22px; } .lightbox__next { right: 22px; }
@media (max-width: 700px) { .lightbox__nav { display: none; } }

/* ----------------------------- Process steps ----------------------------- */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: 30px 22px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
}
.step__num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.step h4 { margin-top: 16px; font-family: var(--ff-display); font-size: 1.2rem; color: var(--navy); font-weight: 600; }
.step p { margin-top: 8px; font-size: 0.93rem; }

/* ----------------------------- Coverage / chips ----------------------------- */
.chip-row { display: flex; gap: 8px 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.88rem; font-weight: 500;
  border: 1px solid var(--line);
}
.chip svg { width: 14px; height: 14px; color: var(--navy-500); }

/* ----------------------------- Contact ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info { display: grid; gap: 22px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.contact-item__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--cream); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.contact-item__icon svg { width: 22px; height: 22px; stroke-width: 1.6; }
.contact-item__lbl { font-family: var(--ff-track); font-size: 0.72rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.2em; }
.contact-item__val { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-top: 4px; }
.contact-item__val a { color: var(--navy); }
.contact-item__val a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.contact-form .grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 580px) { .contact-form .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); font-family: var(--ff-track); text-transform: uppercase; letter-spacing: 0.12em; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--paper);
  font-size: 0.97rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(9,56,102,.08);
}
.field textarea { resize: vertical; min-height: 140px; }
.honeypot { position: absolute; left: -9999px; }

/* ----------------------------- FAQ ----------------------------- */
.faq { display: grid; gap: 10px; max-width: 880px; margin-inline: auto; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--navy-100); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--ff-display); color: var(--navy);
  font-size: 1.05rem; font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--ff-body);
  font-size: 1.4rem; font-weight: 400;
  color: var(--navy);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 26px 22px; line-height: 1.65; }

/* ----------------------------- CTA banner ----------------------------- */
.cta-banner {
  position: relative; isolation: isolate;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
  overflow: hidden;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/lawn-finished.jpg") center/cover;
  opacity: .26;
  filter: saturate(.6);
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(4,32,59,.85), rgba(9,56,102,.55));
}
@media (min-width: 800px) { .cta-banner { grid-template-columns: 7fr 5fr; } }
.cta-banner h2 { color: var(--cream); }
.cta-banner p { color: rgba(242,237,221,.82); margin-top: 12px; max-width: 50ch; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  background: var(--navy-800);
  color: rgba(242,237,221,.7);
  padding: 64px 0 30px;
}
.site-footer h4 { color: var(--cream); font-family: var(--ff-display); font-size: 1.1rem; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer a { color: rgba(242,237,221,.7); }
.site-footer a:hover { color: var(--cream); }
.site-footer ul { display: grid; gap: 8px; }
.site-footer ul li { font-size: 0.92rem; }
.site-footer .brand .nm { color: var(--cream); }
.site-footer .brand .sb { color: rgba(242,237,221,.55); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(242,237,221,.1);
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(242,237,221,.5);
}

/* ----------------------------- Sticky mobile CTA ----------------------------- */
.sticky-call {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 48;
  background: var(--navy);
  color: var(--cream);
  border-radius: 999px;
  padding: 14px 22px;
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  align-items: center; justify-content: center; gap: 10px;
}
.sticky-call svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .sticky-call { display: inline-flex; } body { padding-bottom: 72px; } }

/* ----------------------------- Reveal on scroll ----------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ----------------------------- Utilities ----------------------------- */
.muted { color: var(--mute); }
.center { text-align: center; }
.flex { display: flex; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.note { font-size: 0.85rem; color: var(--mute); }
