/* ============================================================
   LYNX PLUMBING — Shared Design System
   build/assets/css/styles.css
   ============================================================ */

/* ============================================================
   1. FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Brand Colors --- */
  --forest:           #1C3D2E;
  --forest-dark:      #132B1F;
  --forest-mid:       #2A5940;
  --forest-light:     #3D7A58;
  --forest-faint:     #EAF2ED;

  --brass:            #B8842A;
  --brass-light:      #C9963C;
  --brass-faint:      #FBF5EA;

  /* --- Backgrounds --- */
  --bg:               #F4F0E8;
  --bg-alt:           #EDE9DF;
  --bg-deep:          #E5E0D4;

  /* --- Text --- */
  --ink:              #1A1A16;
  --ink-soft:         #3C3C32;
  --muted:            #7A7A6A;
  --muted-light:      #A8A89A;
  --on-dark:          #F4F0E8;

  /* --- Borders --- */
  --border:           #D4CFC4;
  --border-light:     #EAE5D9;

  /* --- Surfaces --- */
  --surface-1:        #FDFCF9;
  --surface-2:        #F4F0E8;

  /* --- Typography --- */
  --font-display:     'Oswald', Impact, sans-serif;
  --font-body:        'Outfit', system-ui, sans-serif;

  /* --- Fluid Type Scale --- */
  --text-xs:          0.75rem;
  --text-sm:          0.875rem;
  --text-base:        1rem;
  --text-md:          1.125rem;
  --text-lg:          1.25rem;
  --text-xl:          1.5rem;
  --text-2xl:         1.875rem;
  --text-3xl:         2.25rem;
  --text-4xl:         3rem;
  --text-5xl:         3.75rem;
  --text-hero:        clamp(2.75rem, 5.5vw, 4.75rem);
  --text-display:     clamp(2.25rem, 4.5vw, 3.75rem);
  --text-section:     clamp(1.75rem, 3vw, 2.5rem);

  /* --- Spacing --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Border Radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* --- Shadows (warm-tinted, never pure black) --- */
  --shadow-sm:  0 1px 3px rgba(26, 26, 22, 0.06), 0 1px 2px rgba(26, 26, 22, 0.04);
  --shadow-md:  0 4px 16px rgba(26, 26, 22, 0.08), 0 2px 6px rgba(26, 26, 22, 0.04);
  --shadow-lg:  0 16px 48px rgba(26, 26, 22, 0.12), 0 4px 12px rgba(26, 26, 22, 0.06);
  --shadow-xl:  0 32px 80px rgba(26, 26, 22, 0.16), 0 8px 24px rgba(26, 26, 22, 0.08);

  /* --- Motion --- */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:      180ms;
  --dur-base:      280ms;
  --dur-slow:      500ms;

  /* --- Z-Index Layers --- */
  --z-modal:      500;
  --z-header:     300;
  --z-mobile-cta: 200;
}

/* ============================================================
   3. CSS RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Reserve space for mobile sticky CTA bar */
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ============================================================
   4. BASE TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-display); }
h3 { font-size: var(--text-section); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 65ch;
}

p.wide {
  max-width: none;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

/* Eyebrow label — pill-shaped badge above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  background: var(--brass-faint);
  border: 1px solid rgba(184, 132, 42, 0.2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.eyebrow--light {
  color: rgba(244, 240, 232, 0.75);
  background: rgba(244, 240, 232, 0.08);
  border-color: rgba(244, 240, 232, 0.15);
}

/* ============================================================
   5. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: var(--space-12);
    padding-right: var(--space-12);
  }
}

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
  }
}

.section--sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .section--sm {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

.section--dark {
  background-color: var(--forest);
  color: var(--on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--on-dark);
}

.section--dark p {
  color: rgba(244, 240, 232, 0.72);
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--surface {
  background-color: var(--surface-1);
}

/* Section header block */
.section-header {
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: var(--space-16);
  }
}

.section-header--center {
  text-align: center;
}

.section-header--center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

.section-header .eyebrow {
  margin-bottom: var(--space-4);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-md);
  color: var(--muted);
}

/* ============================================================
   6. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: rgba(244, 240, 232, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition:
    background-color var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth);
}

.site-header.is-scrolled {
  background-color: rgba(244, 240, 232, 0.97);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 68px;
}

/* Logo */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 54px;
  width: auto;
}

/* Desktop nav */
.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
}

.header__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition:
    color var(--dur-fast) var(--ease-smooth),
    background-color var(--dur-fast) var(--ease-smooth);
}

.header__nav a:hover,
.header__nav a.is-active {
  color: var(--forest);
  background-color: var(--forest-faint);
}

/* Header right: phone + CTA */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.header__phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--forest);
  transition: color var(--dur-fast) var(--ease-smooth);
}

@media (min-width: 768px) {
  .header__phone {
    display: flex;
  }
}

.header__phone:hover {
  color: var(--forest-mid);
}

.header__phone svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

/* Hamburger button */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-smooth);
  position: relative;
  flex-shrink: 0;
}

.header__hamburger:hover {
  background-color: var(--forest-faint);
}

@media (min-width: 1024px) {
  .header__hamburger {
    display: none;
  }
}

.hamburger__line {
  width: 22px;
  height: 1.5px;
  background-color: var(--ink);
  border-radius: 2px;
  position: absolute;
  transition:
    transform var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out);
}

.hamburger__line:nth-child(1) { transform: translateY(-6px); }
.hamburger__line:nth-child(2) { transform: translateY(0); }
.hamburger__line:nth-child(3) { transform: translateY(6px); }

.header__hamburger.is-open .hamburger__line:nth-child(1) { transform: translateY(0) rotate(45deg); }
.header__hamburger.is-open .hamburger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.is-open .hamburger__line:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* ============================================================
   7. MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 299;
  background-color: rgba(19, 43, 31, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-12) var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-smooth);
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-weight: 500;
  color: var(--on-dark);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out),
    color var(--dur-fast) var(--ease-smooth);
  display: block;
  line-height: 1.2;
}

.mobile-nav__link:hover {
  color: var(--brass-light);
}

.mobile-nav.is-open .mobile-nav__link:nth-child(1) { opacity: 1; transform: none; transition-delay: 80ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(2) { opacity: 1; transform: none; transition-delay: 130ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(3) { opacity: 1; transform: none; transition-delay: 180ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(4) { opacity: 1; transform: none; transition-delay: 230ms; }

.mobile-nav__footer {
  margin-top: var(--space-12);
  border-top: 1px solid rgba(244, 240, 232, 0.15);
  padding-top: var(--space-8);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  transition-delay: 300ms;
  width: 100%;
}

.mobile-nav.is-open .mobile-nav__footer {
  opacity: 1;
}

.mobile-nav__phone {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--brass-light);
  display: block;
  margin-bottom: var(--space-4);
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--forest-dark);
  color: var(--on-dark);
  padding-top: var(--space-20);
  padding-bottom: var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(244, 240, 232, 0.1);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-16);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1) sepia(0.2) saturate(0.6) brightness(0.9);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(244, 240, 232, 0.55);
  max-width: 30ch;
}

.footer__phone-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--brass-light);
  transition: color var(--dur-fast) var(--ease-smooth);
}

.footer__phone-link:hover {
  color: var(--brass);
}

.footer__col-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.35);
  margin-bottom: var(--space-4);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__nav-list a {
  font-size: var(--text-sm);
  color: rgba(244, 240, 232, 0.6);
  transition: color var(--dur-fast) var(--ease-smooth);
  line-height: 1.4;
}

.footer__nav-list a:hover {
  color: var(--on-dark);
}

.footer__service-area {
  font-size: var(--text-sm);
  color: rgba(244, 240, 232, 0.55);
  line-height: 1.75;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(244, 240, 232, 0.3);
}

.footer__legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__legal-links a {
  font-size: var(--text-xs);
  color: rgba(244, 240, 232, 0.3);
  transition: color var(--dur-fast) var(--ease-smooth);
}

.footer__legal-links a:hover {
  color: rgba(244, 240, 232, 0.6);
}

/* ============================================================
   9. MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-mobile-cta);
  display: flex;
  align-items: center;
  background-color: var(--surface-1);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(26, 26, 22, 0.08);
  padding: var(--space-3) var(--space-4);
  gap: var(--space-3);
  height: 72px;
  /* Safe area inset for notched phones */
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  height: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none;
  }
}

.mobile-cta-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  height: 48px;
  border-radius: var(--radius-full);
  transition:
    transform var(--dur-fast) var(--ease-spring),
    background-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth);
  white-space: nowrap;
}

.mobile-cta-bar__btn:active {
  transform: scale(0.97);
}

.mobile-cta-bar__btn--call {
  background-color: var(--forest-faint);
  color: var(--forest);
  border: 1.5px solid rgba(28, 61, 46, 0.2);
}

.mobile-cta-bar__btn--call:hover {
  background-color: var(--forest);
  color: var(--on-dark);
}

.mobile-cta-bar__btn--book {
  background-color: var(--brass);
  color: #fff;
}

.mobile-cta-bar__btn--book:hover {
  background-color: var(--brass-light);
}

/* ============================================================
   10. LEAD CAPTURE MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background-color: rgba(19, 43, 31, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-smooth);
  padding: 0;
}

@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: var(--space-6);
  }
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background-color: var(--surface-1);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-xl);
  transform: translateY(48px);
  transition: transform var(--dur-slow) var(--ease-out);
  max-height: 92dvh;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .modal {
    border-radius: var(--radius-2xl);
    padding: var(--space-10) var(--space-10);
    transform: translateY(24px) scale(0.97);
  }
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

/* Drag handle (mobile only) */
.modal__handle {
  width: 40px;
  height: 4px;
  background-color: var(--border);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-6);
}

@media (min-width: 640px) {
  .modal__handle {
    display: none;
  }
}

.modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition:
    background-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    transform var(--dur-fast) var(--ease-spring);
}

.modal__close:hover {
  background-color: var(--bg-deep);
  color: var(--ink);
  transform: scale(1.08);
}

.modal__close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.modal__eyebrow {
  margin-bottom: var(--space-2);
}

.modal__heading {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.modal__subheading {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-8);
  max-width: none;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Modal success state */
.modal__success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.modal__success.is-visible {
  display: flex;
}

.modal__success-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: var(--forest-faint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__success-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 2;
}

.modal__success h3 {
  font-size: var(--text-xl);
}

.modal__success p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: none;
}

/* Modal error state */
.modal__error {
  display: none;
  padding: var(--space-4);
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: #991B1B;
  line-height: 1.5;
}

.modal__error.is-visible {
  display: block;
}

.modal__error a {
  font-weight: 600;
  color: #991B1B;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   11. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-fast) var(--ease-smooth),
    transform var(--dur-fast) var(--ease-spring),
    border-color var(--dur-fast) var(--ease-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97) !important;
}

/* Primary — brushed brass */
.btn--primary {
  background-color: var(--brass);
  color: #fff;
  box-shadow:
    0 1px 3px rgba(184, 132, 42, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  background-color: var(--brass-light);
  box-shadow:
    0 4px 16px rgba(184, 132, 42, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Secondary — forest outlined */
.btn--secondary {
  background-color: transparent;
  color: var(--forest);
  border: 1.5px solid rgba(28, 61, 46, 0.35);
}

.btn--secondary:hover {
  background-color: var(--forest-faint);
  border-color: var(--forest);
  transform: translateY(-1px);
}

/* Ghost — for use on dark backgrounds */
.btn--ghost-dark {
  background-color: rgba(244, 240, 232, 0.1);
  color: var(--on-dark);
  border: 1.5px solid rgba(244, 240, 232, 0.2);
}

.btn--ghost-dark:hover {
  background-color: rgba(244, 240, 232, 0.18);
  border-color: rgba(244, 240, 232, 0.35);
  transform: translateY(-1px);
}

/* Tel link styled as secondary */
.btn--tel {
  background-color: var(--forest-faint);
  color: var(--forest);
  border: 1.5px solid rgba(28, 61, 46, 0.15);
}

.btn--tel:hover {
  background-color: var(--forest);
  color: var(--on-dark);
  transform: translateY(-1px);
}

/* Size variants */
.btn--lg {
  font-size: var(--text-base);
  padding: 1rem 2rem;
}

.btn--sm {
  font-size: var(--text-xs);
  padding: 0.625rem 1.25rem;
}

/* Nested icon — button-in-button pattern */
.btn__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--space-1);
  flex-shrink: 0;
  transition:
    transform var(--dur-fast) var(--ease-spring),
    background-color var(--dur-fast) var(--ease-smooth);
}

.btn:hover .btn__icon {
  transform: translate(2px, -1px) scale(1.08);
  background-color: rgba(255, 255, 255, 0.22);
}

.btn__icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* Loading state */
.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.is-loading .btn-text {
  opacity: 0;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
}

/* CTA group — button + microcopy beneath */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.cta-group--center {
  align-items: center;
}

.cta-microcopy {
  font-size: var(--text-xs);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding-left: var(--space-1);
}

.cta-microcopy--light {
  color: rgba(244, 240, 232, 0.5);
}

.cta-microcopy::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background-color: var(--brass);
  flex-shrink: 0;
}

.cta-microcopy--light::before {
  background-color: var(--brass-light);
}

/* "Or call" phone number emphasis */
.cta-microcopy--call {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(244, 240, 232, 0.75);
  margin-top: var(--space-1);
}

.cta-microcopy--call a {
  color: var(--brass-light);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cta-microcopy--call a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .cta-microcopy--call {
    font-size: calc(var(--text-sm) * 1.5);
  }
}

/* Pair of CTAs side by side */
.cta-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

/* ============================================================
   12. FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
}

.form-label .required {
  color: var(--brass);
  margin-left: 2px;
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background-color: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  width: 100%;
  outline: none;
  transition:
    border-color var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-fast) var(--ease-smooth),
    background-color var(--dur-fast) var(--ease-smooth);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--forest-light);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--forest);
  background-color: var(--surface-1);
  box-shadow: 0 0 0 3px rgba(28, 61, 46, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-light);
}

.form-input.has-error,
.form-textarea.has-error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  font-size: var(--text-xs);
  color: #EF4444;
}

/* ============================================================
   13. HERO — FULL (Homepage)
   ============================================================ */
.hero-full {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--forest-dark);
}

/* CSS fallback gradient background */
.hero-full__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--forest-dark) 0%,
    var(--forest) 55%,
    var(--forest-mid) 100%
  );
  z-index: 0;
}

/* When real hero image is present */
.hero-full__bg.has-image {
  background-size: cover;
  background-position: center;
}

/* Dark overlay for image legibility */
.hero-full__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(19, 43, 31, 0.9) 0%,
    rgba(19, 43, 31, 0.65) 50%,
    rgba(28, 61, 46, 0.3) 100%
  );
}

/* Fine grain texture overlay — fixed, pointer-events-none */
.hero-full__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23f4f0e8'/%3E%3Crect x='0' y='0' width='1' height='1' fill='%23132B1F' opacity='0.5'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23132B1F' opacity='0.5'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.hero-full__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Asymmetric: content left, visual right — DESIGN_VARIANCE: 7 */
.hero-full__content {
  max-width: 640px;
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

@media (min-width: 1024px) {
  .hero-full__content {
    max-width: 58%;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.hero-full__eyebrow {
  margin-bottom: var(--space-5);
}

.hero-full__heading {
  color: var(--on-dark);
  margin-bottom: var(--space-6);
  font-style: italic;
}

@media (min-width: 1024px) {
  .hero-full__heading {
    font-style: normal;
  }
}

.hero-full__subheading {
  font-size: clamp(var(--text-md), 2vw, var(--text-lg));
  color: rgba(244, 240, 232, 0.7);
  margin-bottom: var(--space-10);
  line-height: 1.72;
  max-width: 52ch;
}

/* Inline phone below CTA */
.hero-full__phone {
  display: block;
  font-size: var(--text-sm);
  color: rgba(244, 240, 232, 0.5);
  margin-top: var(--space-4);
}

.hero-full__phone a {
  color: var(--brass-light);
  font-weight: 600;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.hero-full__phone a:hover {
  color: var(--brass);
}

/* Star rating block in hero */
.hero-stars {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background-color: rgba(244, 240, 232, 0.08);
  border: 1px solid rgba(244, 240, 232, 0.12);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}

.hero-stars__icons {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-stars__icons svg {
  width: 14px;
  height: 14px;
  fill: #F59E0B;
  stroke: none;
}

.hero-stars__google {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-stars__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(244, 240, 232, 0.78);
  letter-spacing: 0.02em;
}

/* ============================================================
   14. HERO — COMPACT (Inner pages)
   ============================================================ */
.hero-compact {
  position: relative;
  background-color: var(--forest);
  overflow: hidden;
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

@media (min-width: 768px) {
  .hero-compact {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }
}

.hero-compact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--forest-dark) 0%,
    var(--forest) 60%,
    var(--forest-mid) 100%
  );
  opacity: 0.92;
}

/* Brass accent line at base */
.hero-compact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--brass),
    var(--brass-light),
    transparent
  );
}

.hero-compact__inner {
  position: relative;
  z-index: 1;
}

.hero-compact__heading {
  color: var(--on-dark);
  margin-bottom: var(--space-4);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
}

.hero-compact__subheading {
  font-size: var(--text-md);
  color: rgba(244, 240, 232, 0.68);
  margin-bottom: var(--space-8);
  max-width: 58ch;
  line-height: 1.72;
}

@media (min-width: 1024px) {
  .hero-compact__layout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-12);
  }

  .hero-compact__subheading {
    margin-bottom: 0;
  }
}

/* ============================================================
   15. TRUST BAR
   ============================================================ */
.trust-bar {
  background-color: var(--surface-1);
  border-bottom: 1px solid var(--border-light);
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .trust-bar__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .trust-item {
    flex-direction: column;
    gap: var(--space-3);
  }
}

.trust-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--forest-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 1.5;
}

.trust-item__heading {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.trust-item__text {
  font-size: var(--text-sm);
  color: var(--muted);
  max-width: none;
  line-height: 1.55;
}

/* ============================================================
   16. SERVICES GRID — Asymmetric (DESIGN_VARIANCE: 7)
   ============================================================ */
.services-section {
  background-color: var(--bg);
}

.services-section__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

@media (min-width: 1024px) {
  .services-section__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--space-16);
  }
}

.services-section__heading {
  font-style: italic;
}

.services-section__view-all {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
  transition: gap var(--dur-fast) var(--ease-spring);
}

.services-section__view-all:hover {
  gap: var(--space-2);
}

.services-section__view-all svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* 12-column asymmetric grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

@media (min-width: 768px) {
  .service-card:nth-child(1) { grid-column: span 7; }
  .service-card:nth-child(2) { grid-column: span 5; }
  .service-card:nth-child(3) { grid-column: span 4; }
  .service-card:nth-child(4) { grid-column: span 4; }
  .service-card:nth-child(5) { grid-column: span 4; }
}

/* Double-bezel card architecture */
.service-card {
  position: relative;
  background-color: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow var(--dur-base) var(--ease-smooth),
    transform var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(28, 61, 46, 0.15);
}

/* Accent bar reveals on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--forest-light));
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-smooth);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background-color: var(--forest-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--forest);
  fill: none;
  stroke-width: 1.5;
}

.service-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
  flex: 1;
}

.service-card__cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--forest);
  margin-top: auto;
  transition: gap var(--dur-fast) var(--ease-spring);
}

.service-card:hover .service-card__cta {
  gap: var(--space-3);
}

.service-card__cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   17. HOW IT WORKS
   ============================================================ */
.how-it-works {
  background-color: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  /* Dashed connector removed */
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

/* Double-bezel step number */
.step__number-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--bg-deep);
  border: 1px solid var(--border);
  padding: 3px;
  flex-shrink: 0;
}

.step__number {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background-color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--on-dark);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.step__heading {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.step__text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.72;
  max-width: none;
}

/* ============================================================
   18. TESTIMONIALS
   ============================================================ */
.testimonials {
  position: relative;
  overflow: hidden;
}

/* Background image slot */
.testimonials-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--forest-dark);
  background-size: cover;
  background-position: center;
}

.testimonials-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19, 43, 31, 0.87);
}

.testimonials__inner {
  position: relative;
  z-index: 1;
}

.testimonials__heading {
  color: var(--on-dark);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.testimonials__subheading {
  color: rgba(244, 240, 232, 0.58);
  margin-bottom: var(--space-12);
  max-width: none;
}

/* Asymmetric 12-col testimonials grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonial card — double-bezel */
.testimonial-card {
  background-color: rgba(244, 240, 232, 0.05);
  border: 1px solid rgba(244, 240, 232, 0.1);
  border-radius: var(--radius-2xl);
  padding: 3px;
  height: 100%;
}

.testimonial-card__inner {
  background-color: rgba(244, 240, 232, 0.06);
  border-radius: calc(var(--radius-2xl) - 3px);
  padding: var(--space-8);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.testimonial-card__stars svg {
  width: 14px;
  height: 14px;
  fill: #F59E0B;
  stroke: none;
}

.testimonial-card__text {
  font-size: var(--text-sm);
  color: rgba(244, 240, 232, 0.82);
  line-height: 1.78;
  font-style: italic;
  flex: 1;
  max-width: none;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(184, 132, 42, 0.22);
  border: 1px solid rgba(184, 132, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--brass-light);
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(244, 240, 232, 0.88);
}

.testimonial-card__location {
  font-size: var(--text-xs);
  color: rgba(244, 240, 232, 0.4);
}

/* ============================================================
   19. SERVICE AREA
   ============================================================ */
.service-area {
  background-color: var(--bg-alt);
}

.service-area__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .service-area__layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-16);
  }
}

.service-area__heading {
  font-style: italic;
  margin-bottom: var(--space-5);
}

.service-area__text {
  margin-bottom: var(--space-8);
  font-size: var(--text-md);
}

.service-area__visual {
  background-color: var(--forest);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

.service-area__visual::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  padding-bottom: 80%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(61, 122, 88, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.service-area__visual-heading {
  font-size: var(--text-xl);
  color: var(--on-dark);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.service-area__visual-text {
  font-size: var(--text-sm);
  color: rgba(244, 240, 232, 0.62);
  line-height: 1.72;
  max-width: none;
  position: relative;
  z-index: 1;
}

/* ============================================================
   20. FINAL CTA STRIP
   ============================================================ */
.cta-strip {
  background-color: var(--forest);
  position: relative;
  overflow: hidden;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .cta-strip {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

.cta-strip::before {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -10%;
  width: 60%;
  padding-bottom: 60%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(42, 89, 64, 0.55) 0%, transparent 70%);
  pointer-events: none;
}

/* Top brass accent line */
.cta-strip::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 132, 42, 0.6),
    transparent
  );
}

.cta-strip__inner {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .cta-strip__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-12);
  }
}

@media (min-width: 768px) {
  .cta-strip__layout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-12);
  }
}

.cta-strip__heading {
  color: var(--on-dark);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.cta-strip__subtext,
.cta-strip__subheading {
  color: rgba(244, 240, 232, 0.62);
  font-size: var(--text-md);
  max-width: none;
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .cta-strip__subtext,
  .cta-strip__subheading {
    margin-bottom: 0;
  }
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .cta-strip__actions {
    flex-direction: column;
    align-items: flex-end;
  }
}

/* ============================================================
   21. SERVICE IMAGE COMPONENT
   ============================================================ */
.service-image-block {
  padding-top: var(--space-12);
  padding-bottom: var(--space-4);
}

.service-image-block__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .service-image-block__inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: var(--space-12);
  }
}

.service-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background-color: var(--forest-dark);
}

/* CSS fallback gradient per service */
.service-image.drain-image {
  background: linear-gradient(145deg, #1C3D2E 0%, #2A5940 65%, #1A3326 100%);
}

.service-image.leak-image {
  background: linear-gradient(145deg, #1A2E3A 0%, #1C3D2E 65%, #0F2B35 100%);
}

.service-image.water-heater-image {
  background: linear-gradient(145deg, #2E2A1C 0%, #3D3020 60%, #1C3D2E 100%);
}

.service-image.pipe-image {
  background: linear-gradient(145deg, #1C2A3D 0%, #1C3D2E 65%, #2A3040 100%);
}

.service-image.general-image {
  background: linear-gradient(145deg, #1C3D2E 0%, #3D7A58 65%, #2A5940 100%);
}

.service-image.about-image {
  background: linear-gradient(145deg, #1C3D2E 0%, #2A5940 65%, #132B1F 100%);
  aspect-ratio: 4 / 5;
}

.service-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative brass corner notch */
.service-image::after {
  content: '';
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  border-bottom: 2px solid rgba(184, 132, 42, 0.5);
  border-right: 2px solid rgba(184, 132, 42, 0.5);
  border-radius: 0 0 var(--radius-md) 0;
  pointer-events: none;
}

/* Aside content beside image */
.service-image-block__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Pull-quote card */
.pull-quote {
  background-color: var(--forest);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

.pull-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--brass);
  opacity: 0.45;
  position: absolute;
  top: var(--space-4);
  left: var(--space-5);
  pointer-events: none;
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: rgba(244, 240, 232, 0.9);
  line-height: 1.55;
  padding-top: var(--space-6);
  max-width: none;
  position: relative;
  z-index: 1;
}

.pull-quote__attr {
  display: block;
  font-size: var(--text-xs);
  color: rgba(244, 240, 232, 0.4);
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: var(--space-4);
  position: relative;
  z-index: 1;
}

/* Trust badge beside image */
.image-trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background-color: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
}

.image-trust-badge__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--brass-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.image-trust-badge__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.5;
}

.image-trust-badge__text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.image-trust-badge__text span {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ============================================================
   22. SERVICE PAGE SECTIONS
   ============================================================ */
.service-content-section {
  background-color: var(--bg);
}

.service-content-section + .service-content-section {
  padding-top: 0;
}

.service-section-heading {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  color: var(--forest);
}

/* Two-column layout: prose left, sticky aside right */
.service-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .service-content-layout {
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: var(--space-16);
  }
}

.service-prose p {
  font-size: var(--text-md);
  line-height: 1.82;
  margin-bottom: var(--space-5);
}

.service-prose p:last-child {
  margin-bottom: 0;
}

/* Signs list */
.signs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sign-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background-color: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-fast) var(--ease-smooth);
}

.sign-item:hover {
  border-color: rgba(28, 61, 46, 0.2);
  box-shadow: var(--shadow-sm);
}

.sign-item__bullet {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--brass);
  flex-shrink: 0;
  margin-top: 7px;
}

.sign-item__text {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: none;
}

/* CTA block on service pages */
.service-cta-block {
  background-color: var(--forest);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  position: relative;
  overflow: hidden;
}

.service-cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  padding-bottom: 70%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(61, 122, 88, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.service-cta-block__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--on-dark);
  font-style: italic;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.service-cta-block__text {
  font-size: var(--text-sm);
  color: rgba(244, 240, 232, 0.62);
  margin-bottom: var(--space-8);
  max-width: none;
  position: relative;
  z-index: 1;
  line-height: 1.65;
}

.service-cta-block .cta-pair {
  position: relative;
  z-index: 1;
}

/* Related services */
.related-services {
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-10);
  margin-top: var(--space-10);
}

.related-services__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-5);
}

.related-services__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.related-service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--forest);
  padding: var(--space-3) var(--space-5);
  background-color: var(--forest-faint);
  border: 1px solid rgba(28, 61, 46, 0.15);
  border-radius: var(--radius-full);
  transition:
    background-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    border-color var(--dur-fast) var(--ease-smooth),
    transform var(--dur-fast) var(--ease-spring);
}

.related-service-link:hover {
  background-color: var(--forest);
  color: var(--on-dark);
  border-color: var(--forest);
  transform: translateY(-2px);
}

.related-service-link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   23. SERVICES OVERVIEW — Stacked list
   ============================================================ */
.services-list {
  display: flex;
  flex-direction: column;
}

.services-list-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-10) 0;
  border-bottom: 1px solid var(--border-light);
  transition: padding-left var(--dur-base) var(--ease-smooth);
}

@media (min-width: 768px) {
  .services-list-item {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-12);
  }
}

.services-list-item:first-child {
  border-top: 1px solid var(--border-light);
}

.services-list-item__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.services-list-item__name {
  font-size: var(--text-2xl);
  color: var(--ink);
  line-height: 1.15;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.services-list-item:hover .services-list-item__name {
  color: var(--forest);
}

.services-list-item__desc {
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.72;
}

.services-list-item__uses {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.services-list-item__use-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--forest);
  background-color: var(--forest-faint);
  border: 1px solid rgba(28, 61, 46, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ============================================================
   24. ABOUT PAGE
   ============================================================ */
.about-story {
  background-color: var(--bg);
}

.about-story__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .about-story__layout {
    grid-template-columns: 0.85fr 1fr;
    align-items: start;
    gap: var(--space-20);
  }
}

.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--forest-dark) 0%, var(--forest) 65%, var(--forest-mid) 100%);
  position: relative;
  flex-shrink: 0;
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  border-bottom: 2px solid rgba(184, 132, 42, 0.5);
  border-right: 2px solid rgba(184, 132, 42, 0.5);
  border-radius: 0 0 var(--radius-md) 0;
  pointer-events: none;
}

.about-story__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-4);
}

.about-story__heading {
  font-style: italic;
  margin-bottom: var(--space-2);
}

/* Values section */
.values-section {
  background-color: var(--bg-alt);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background-color: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.value-card__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: rgba(28, 61, 46, 0.1);
  line-height: 1;
  letter-spacing: -0.04em;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.value-card__text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.72;
  max-width: none;
}

/* ============================================================
   25. CONTACT PAGE
   ============================================================ */
.contact-section {
  background-color: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--space-16);
  }
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-phone {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-phone__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-phone__number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.contact-phone__number:hover {
  color: var(--forest-mid);
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--muted-light);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.contact-meta__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-meta__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.contact-meta__value {
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Map placeholder */
.map-placeholder {
  background-color: var(--forest);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-5);
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  padding-bottom: 70%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(61, 122, 88, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.map-placeholder__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: rgba(184, 132, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.map-placeholder__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brass-light);
  fill: none;
  stroke-width: 1.5;
}

.map-placeholder__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--on-dark);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.map-placeholder__text {
  font-size: var(--text-base);
  color: rgba(244, 240, 232, 0.62);
  max-width: 32ch;
  position: relative;
  z-index: 1;
  line-height: 1.65;
}

/* ============================================================
   26. LEGAL PAGES (Disclosure, Privacy)
   ============================================================ */
.legal-page {
  background-color: var(--bg);
}

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-8);
}

.legal-content h2 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.legal-content p {
  font-size: var(--text-base);
  line-height: 1.82;
  color: var(--ink-soft);
  max-width: none;
  margin-bottom: var(--space-5);
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.legal-content li {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: var(--space-2);
}

.legal-content a {
  color: var(--forest);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-last-updated {
  font-size: var(--text-sm);
  color: var(--muted);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border-light);
  margin-top: var(--space-10);
}

/* ============================================================
   27. SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal][data-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-delay="3"] { transition-delay: 240ms; }
[data-reveal][data-delay="4"] { transition-delay: 320ms; }
[data-reveal][data-delay="5"] { transition-delay: 400ms; }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   28. KEYFRAMES
   ============================================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);    opacity: 1; }
  100% { transform: scale(1.6);  opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ============================================================
   29. UTILITIES
   ============================================================ */
/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Brass divider */
.divider-brass {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  opacity: 0.28;
  margin: 0;
}

/* Text colour utilities */
.text-brass   { color: var(--brass); }
.text-forest  { color: var(--forest); }
.text-muted   { color: var(--muted); }
.text-on-dark { color: var(--on-dark); }

/* Inline phone link */
.phone-link {
  color: var(--forest);
  font-weight: 600;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.phone-link:hover {
  color: var(--forest-mid);
}

.phone-link--brass {
  color: var(--brass);
}

.phone-link--brass:hover {
  color: var(--brass-light);
}

.phone-link--light {
  color: var(--brass-light);
}

.phone-link--light:hover {
  color: var(--on-dark);
}

/* ============================================================
   30. ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.modal:focus {
  outline: none;
}

/* ============================================================
   31. PRINT
   ============================================================ */
@media print {
  .site-header,
  .mobile-cta-bar,
  .modal-overlay,
  .mobile-nav {
    display: none !important;
  }
}

/* ============================================================
   32. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
