/* =========================================================
   Chaffin Family Lawn Services — Unified Stylesheet
   Palette: green (from logo) + warm earth + ink
   Built to be portable to Elementor via class hooks.
   ========================================================= */

/* ---- Tokens ---- */
:root {
  /* Brand */
  --green-700: #2E7D22;
  --green-600: #3F9E2E;
  --green-500: #4CB731;  /* logo green */
  --green-400: #6BC94E;
  --green-100: #E7F5E2;

  /* Neutrals */
  --ink-900:   #131714;
  --ink-700:   #2A2F2B;
  --ink-500:   #55605A;
  --ink-300:   #9CA6A0;
  --ink-100:   #E4E8E4;
  --paper:     #FBFAF6;
  --paper-white:#FFFFFF;
  --paper-dark:#0F1310;

  /* Accents */
  --sun-500:   #F4A72B; /* warm accent for CTA hover */
  --shadow-md: 0 8px 24px rgba(15, 19, 16, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 19, 16, 0.14);

  /* Type: unified Poppins family, matching the CFLS logo lockup */
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  --f-brand: "Poppins", "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --gap-1: .5rem;
  --gap-2: 1rem;
  --gap-3: 1.5rem;
  --gap-4: 2rem;
  --gap-5: 3rem;
  --gap-6: 4.5rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul { padding-left: 1.2rem; }

/* ---- Type scale ---- */
h1, h2 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 .6em;
  line-height: 1.1;
}
h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-900);
  margin: 0 0 .6em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.4rem); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

p { margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--ink-500); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: .8rem;
}
.eyebrow--light { color: var(--green-400); }

.hl { color: var(--green-600); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: 1.25rem; }
section { padding: var(--gap-6) 0; }
.section-tight { padding: var(--gap-5) 0; }

/* ---- Utility bar ---- */
.util {
  background: var(--ink-900);
  color: var(--paper);
  font-size: .85rem;
}
.util .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: .55rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.util a { color: var(--paper); }
.util a:hover { color: var(--green-400); text-decoration: none; }
.util-left { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.util-right { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.util-right strong { color: var(--paper-white); }

/* ---- Header / Nav ---- */
.header {
  background: var(--paper-white);
  border-bottom: 1px solid var(--ink-100);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .9rem;
  gap: 2rem;
}
.logo { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo img { height: 58px; width: auto; }
.logo-text {
  font-family: var(--f-brand);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-900);
  line-height: 1;
  text-align: left;
}
.logo-text span {
  display: block;
  color: var(--green-600);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .215em;
  text-transform: uppercase;
  margin-top: .28rem;
}

.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: .98rem;
}
.nav a:hover { color: var(--green-700); text-decoration: none; }
.nav a.active { color: var(--green-700); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  padding: .5rem;
  color: var(--ink-900);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.nav-toggle:hover { background: var(--ink-50, #f5f5f5); }
.nav-toggle .icon-close { display: none; }
.nav-toggle .icon-open { display: block; }
body.nav-open .nav-toggle .icon-close { display: block; }
body.nav-open .nav-toggle .icon-open { display: none; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 19, 0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity .25s ease;
}
body.nav-open .nav-backdrop {
  display: block;
  opacity: 1;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary,
a.btn-primary,
a.btn-primary:visited {
  background: var(--green-600);
  color: #ffffff;
  font-weight: 700;
}
.btn-primary:hover,
a.btn-primary:hover {
  background: var(--green-700);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-900);
}
.btn-secondary:hover {
  background: var(--ink-900);
  color: var(--paper-white);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--paper-white);
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover {
  background: var(--paper-white);
  color: var(--ink-900);
  text-decoration: none;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--paper-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--paper-white);
  color: var(--paper-white);
  text-decoration: none;
}
.btn-block { width: 100%; justify-content: center; text-align: center; }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: var(--gap-6) 0 var(--gap-5);
  background:
    radial-gradient(circle at 15% 20%, rgba(76,183,49,.10) 0, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(76,183,49,.06) 0, transparent 40%),
    var(--paper);
  border-bottom: 1px solid var(--ink-100);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gap-5);
  align-items: center;
}
.hero-copy .eyebrow { color: var(--green-700); }
.hero h1 { margin-bottom: 1rem; }
.hero .lede { max-width: 46ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hero-note { color: var(--ink-500); font-size: .95rem; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--ink-100);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* When the hero-media slot holds a form card instead of a photo */
.hero-media:has(.hero-form) {
  aspect-ratio: auto;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}
.hero-form {
  padding: 1.75rem 1.75rem 1.5rem;
}
.hero-form h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.form-card-lede {
  color: var(--ink-500);
  font-size: .95rem;
  margin-bottom: 1.25rem;
}
.form-foot {
  color: var(--ink-500);
  font-size: .85rem;
  margin: .85rem 0 0;
  text-align: center;
}
.hero-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: var(--paper-white);
  padding: .8rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-900);
  display: flex; align-items: center; gap: .6rem;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); }

/* Compact hero used on inner pages */
.hero-compact {
  padding: var(--gap-5) 0 var(--gap-4);
  background:
    radial-gradient(circle at 80% 30%, rgba(76,183,49,.08) 0, transparent 45%),
    var(--paper);
  border-bottom: 1px solid var(--ink-100);
}
.hero-compact h1 { margin-bottom: .5rem; }
.hero-compact .lede { max-width: 60ch; }

/* ---- Section head ---- */
.section-head { max-width: 720px; margin-bottom: var(--gap-4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .6rem; }
.section-head p { color: var(--ink-500); font-size: 1.1rem; }

/* ---- Service cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--paper-white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  border-color: var(--green-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--ink-500); margin-bottom: 0; }
.card ul {
  color: var(--ink-500);
  margin: .5rem 0 0;
  padding-left: 1.15rem;
}
.card ul li { margin-bottom: .25rem; }

/* ---- Service pillars (services page) ---- */
.pillar {
  background: var(--paper-white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
.pillar-head h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.pillar-head p { color: var(--ink-500); font-size: .95rem; margin: 0; }
.pillar-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem 1.5rem;
  padding: 0;
  list-style: none;
}
.pillar-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-700);
}
.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

/* ---- Service area ---- */
.area-band {
  background: var(--green-100);
  padding: var(--gap-5) 0;
}
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.area-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  background: var(--paper-white);
  border: 1px solid rgba(76,183,49,.25);
}
.area-map img {
  display: block;
  width: 100%;
  height: auto;
}
.area-copy {
  min-width: 0;
}
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-list li {
  background: var(--paper-white);
  border-radius: var(--radius-sm);
  padding: .55rem .85rem;
  color: var(--ink-900);
  font-weight: 500;
  border: 1px solid rgba(76,183,49,.25);
}
@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .area-map { max-width: 560px; margin-inline: auto; width: 100%; }
}
.area-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.area-card {
  background: var(--paper-white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.area-card h3 {
  margin: 0 0 .6rem 0;
  font-size: 1.2rem;
  color: var(--ink-900);
}
.area-card p {
  margin: 0 0 .75rem 0;
  color: var(--ink-700);
  line-height: 1.55;
}
.area-card p:last-child { margin-bottom: 0; }
.area-card-cities {
  font-size: .92rem;
  color: var(--ink-500);
  border-top: 1px solid var(--ink-100);
  padding-top: .75rem;
  margin-top: .75rem;
}
@media (max-width: 900px) { .area-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .area-cards { grid-template-columns: 1fr; } }

/* ---- Why us ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .why-grid--3 { grid-template-columns: 1fr; } }
.why {
  padding: 1.4rem 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--paper-white);
  border: 1px solid var(--ink-100);
}
.why h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.why p { color: var(--ink-500); margin: 0; }

/* ---- Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  position: relative;
  background: var(--paper-white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem 1.5rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 1.4rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--paper-white);
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.steps li h3 { margin-top: .25rem; font-size: 1.15rem; }
.steps li p { color: var(--ink-500); margin: 0; }

/* ---- Photo strip ---- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ---- About: family cards ---- */
.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.family {
  background: var(--paper-white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}
.family h4 {
  color: var(--green-700);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .25rem;
}
.family h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.family p { color: var(--ink-500); margin: 0; }

/* ---- Split image + text ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-4);
  align-items: center;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- CTA panel (dark) ---- */
.cta {
  background: var(--paper-dark);
  color: var(--paper-white);
  padding: var(--gap-6) 0;
}
.cta > .container > div:not(.form-card) h2 { color: var(--paper-white); }
.cta > .container > div:not(.form-card) .hl { color: var(--green-400); }
.cta > .container > div:not(.form-card) .lede { color: rgba(255,255,255,.75); }
.cta .container {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--gap-5);
  align-items: center;
}
.cta-info { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.cta-info li {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.85);
}
.cta-info li strong { color: var(--paper-white); }
.cta-info svg { color: var(--green-400); }

.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- Contact form ---- */
.form-card {
  background: var(--paper-white);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.form-card, .form-card p, .form-card h3, .form-card label { color: var(--ink-900); }
.form-card h3 { margin-bottom: .3rem; }
.form-card .lede { font-size: 1rem; margin-bottom: 1.4rem; color: var(--ink-500); }
.form-card label { color: var(--ink-700); }

.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.form-row.two-col { grid-template-columns: 1fr 1fr; }
label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--ink-700);
}
label .req { color: #B4232F; }
input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(76,183,49,.18);
}
textarea { min-height: 120px; resize: vertical; }

.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .35rem .75rem;
  margin-top: .35rem;
}
.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-700);
  cursor: pointer;
  margin: 0;
  padding: .55rem .7rem;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color .15s ease, background .15s ease;
  line-height: 1.35;
}
.checkbox-grid input { margin-top: 3px; }
.checkbox-grid label:hover { border-color: var(--green-500); }
.checkbox-grid input { margin: 0; accent-color: var(--green-600); }

/* ---- Contact bar (contact page) ---- */
.contact-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: var(--gap-4);
}
@media (max-width: 640px) {
  .contact-bar { grid-template-columns: 1fr; }
}
.contact-bar .card { padding: 1.25rem 1.35rem; min-width: 0; }
.contact-bar .card h3 {
  font-family: var(--f-display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: .4rem;
}
.contact-bar .card a {
  color: var(--ink-900);
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: inline-block;
  max-width: 100%;
}

/* ---- Toggle pills (multi-select) ---- */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .35rem;
}
.pill { display: inline-flex; margin: 0; padding: 0; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.pill span {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink-100);
  background: var(--paper-white);
  color: var(--ink-700);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: .92rem;
  line-height: 1.2;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
  user-select: none;
}
.pill:hover span { border-color: var(--green-500); color: var(--ink-900); }
.pill input:checked + span {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #ffffff;
  font-weight: 600;
}
.pill input:focus-visible + span {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}
.contact-bar .card a:hover { color: var(--green-700); }

/* ---- Footer ---- */
.footer {
  background: var(--paper-dark);
  color: rgba(255,255,255,.75);
  padding: var(--gap-5) 0 var(--gap-3);
}
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: var(--green-400); text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer h4 {
  color: var(--paper-white);
  font-family: var(--f-sans);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .5rem; }
.footer-brand p { max-width: 34ch; }
.footer-brand .logo-text { color: var(--paper-white); }
.footer-brand .logo-text span { color: var(--green-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; order: -1; }
  .pillar { grid-template-columns: 1fr; }
  .pillar-list { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cta .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .header .container { position: relative; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .util-right { display: none; }

  /* Slide-out drawer */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    background: var(--paper-white);
    box-shadow: -8px 0 32px rgba(0, 0, 0, .15);
    z-index: 100;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 1.5rem 2rem;
    gap: 0;
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }

  .nav a:not(.btn) {
    display: block;
    padding: 1rem .25rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink-900);
    border-bottom: 1px solid var(--ink-100);
  }
  .nav a:not(.btn):hover { color: var(--green-700); background: transparent; }
  .nav a:not(.btn).active { color: var(--green-700); }
  .nav .btn { margin-top: 1.5rem; width: 100%; padding: 1rem 1.4rem; font-size: 1rem; }

  /* Phone links block for drawer footer */
  .nav::after {
    content: '';
    display: block;
    height: 1rem;
  }

  body.nav-open { overflow: hidden; }

  /* Position toggle button visibly above drawer */
  .nav-toggle { position: relative; z-index: 110; }
}
