/* =========================================================
   Avalon Home Access — Main Stylesheet
   Aging-in-Place · Home Accessibility · Mobility
   Colors: Navy Blue · White · Black  (matches Avalon Plumbing)
   Parent company: avalonindustriesllc.com
   Division / DBA: Avalon Home Access | Legal entity: Avalon Industries LLC
   ========================================================= */

/* --- Custom Properties --- */
:root {
  --navy:      #0d1f3c;
  --navy-mid:  #162d54;
  --navy-light:#1e3a6e;
  --navy-pale: #2a4a82;
  --black:     #0a0d14;
  --white:     #ffffff;
  --off-white: #f6f5f2;   /* very slightly warm — softer than the plumbing site */
  --gray-100:  #edeef1;
  --gray-200:  #d9dbe2;
  --gray-400:  #868ea1;
  --gray-600:  #566074;
  --gray-700:  #3c4257;
  --text:      #1a2233;
  --gold:      #b7791f;   /* single warm accent — used sparingly for emphasis */
  --gold-soft: #f4ecdd;
  --font-body: 'DM Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius:    6px;
  --shadow:    0 2px 12px rgba(13,31,60,.10);
  --shadow-md: 0 4px 24px rgba(13,31,60,.16);
  --max-w:     1200px;
  --transition: 180ms ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.03rem;          /* slightly larger base for an older-adult audience */
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy-pale); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--navy); }

/* --- Utility --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section--alt { background: var(--off-white); }
.section--navy { background: var(--navy); }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__header h2 { margin-bottom: .6rem; }
.section__header p { color: var(--gray-700); max-width: 640px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.section--navy .eyebrow { color: #d8b877; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1.25rem; z-index: 999; }
.skip-link:focus { left: 0; color: #fff; }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--gray-700); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.9rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); font-weight: 700; }
.btn--white:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy); }
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: #9c6518; border-color: #9c6518; color: #fff; }
.btn--sm { padding: .55rem 1.25rem; font-size: .9rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ============================
   HEADER & NAV
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  border-bottom: 2px solid rgba(255,255,255,.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
.logo img,
.logo .custom-logo,
.logo .custom-logo-link img { height: 60px; width: auto; display: block; }
.logo__img { height: 60px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: -.01em; }
.logo__name span { color: var(--gray-200); font-weight: 500; }
.logo__tagline { font-size: .64rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gray-400); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav__link { color: var(--gray-200); font-size: .95rem; font-weight: 500; padding: .5rem .9rem; border-radius: var(--radius); transition: background var(--transition), color var(--transition); }
.nav__link:hover, .nav__link.active, .nav__link[aria-current="page"] { background: var(--navy-light); color: var(--white); }
.nav__cta { margin-left: .5rem; }
.nav .menu { display: flex; align-items: center; gap: .2rem; }
.nav .menu-item a { color: var(--gray-200); font-size: .95rem; font-weight: 500; padding: .5rem .9rem; border-radius: var(--radius); display: inline-block; }
.nav .menu-item a:hover, .nav .current-menu-item a { background: var(--navy-light); color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================
   HERO
   ============================ */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-200);
  margin-bottom: .9rem;
  border: 1px solid rgba(255,255,255,.22);
  padding: .3rem .8rem;
  border-radius: 4px;
}
.hero__title { color: var(--white); margin-bottom: 1.25rem; }
.hero__title em { font-style: normal; color: var(--gray-200); font-weight: 400; }
.hero__desc { color: #c3cbdb; font-size: 1.15rem; max-width: 580px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__subcta { margin-top: 1.15rem; font-size: .95rem; color: var(--gray-400); }
.hero__phone { color: var(--white); font-weight: 700; text-decoration: none; }
.hero__phone:hover { text-decoration: underline; color: #fff; }

/* Hero side card — "The Avalon approach" */
.hero-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  padding: 1.75rem;
  min-width: 270px;
  max-width: 320px;
}
.hero-card__label { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 1rem; }
.hero-card__step { display: flex; gap: .85rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.09); }
.hero-card__step:first-of-type { border-top: none; padding-top: 0; }
.hero-card__num { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hero-card__step-title { font-size: .92rem; font-weight: 700; color: var(--white); }
.hero-card__step-desc { font-size: .82rem; color: var(--gray-400); line-height: 1.5; }

/* ============================
   TRUST BAR
   ============================ */
.trust-bar { background: var(--black); border-top: 2px solid rgba(255,255,255,.08); padding: .95rem 0; }
.trust-bar__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; }
.trust-bar__item { display: flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; letter-spacing: .02em; color: var(--gray-400); }
.trust-bar__item svg { color: var(--white); opacity: .6; flex-shrink: 0; }

/* ============================
   ABOUT / INTRO
   ============================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-grid--full { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.about-grid--with-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 3.5rem; max-width: 980px; margin: 0 auto; }
.about-grid--with-badge .about__text { flex: 1; min-width: 280px; }
.about__badge-seal { flex-shrink: 0; width: 220px; }
.about__badge-seal svg { width: 100%; height: auto; filter: drop-shadow(0 4px 16px rgba(0,0,0,.15)); }
.about__text h2 { margin-bottom: 1rem; }
.about__text p { color: var(--gray-700); margin-bottom: 1rem; }
.about__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.about__badge { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 4px; padding: .45rem .9rem; font-size: .82rem; font-weight: 600; color: var(--navy); }
.about__visual { background: linear-gradient(135deg, var(--black), var(--navy)); border-radius: 12px; padding: 2.5rem; color: var(--white); }
.about__stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about__stat-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: .25rem; }
.about__stat-label { font-size: .8rem; font-weight: 500; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; }

/* ============================
   SERVICE CARDS  (home "What We Do")
   ============================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.6rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--navy); transform: translateY(-2px); }
.service-card__icon { width: 46px; height: 46px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--white); }
.service-card__title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.service-card__desc { font-size: .92rem; color: var(--gray-700); line-height: 1.6; margin-bottom: 0; }

/* ============================
   HOW IT WORKS  (condensed, home)
   ============================ */
.hiw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.hiw-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: 1.85rem 1.6rem; }
.hiw-card__num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 1.15rem; }
.hiw-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .55rem; }
.hiw-card__desc { font-size: .9rem; color: var(--gray-600); line-height: 1.6; }

/* ============================
   PROCESS TIMELINE  (Our Process page — vertical)
   ============================ */
.timeline { max-width: 820px; margin: 0 auto; }
.timeline__step { position: relative; padding-left: 4.25rem; padding-bottom: 2.75rem; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step::before { /* connector line */
  content: '';
  position: absolute;
  left: 21px;
  top: 2.75rem;
  bottom: -.5rem;
  width: 2px;
  background: var(--gray-200);
}
.timeline__step:last-child::before { display: none; }
.timeline__marker {
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.timeline__step--accent .timeline__marker { background: var(--gold); }
.timeline__title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.timeline__body { color: var(--gray-700); }
.timeline__tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); border-radius: 4px; padding: .15rem .55rem; margin-bottom: .5rem; }

/* ============================
   CHECKLIST  (what the assessment covers)
   ============================ */
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .85rem 1.75rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; color: var(--gray-700); }
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ============================
   ASSESSMENT CALLOUT
   ============================ */
.callout {
  background: var(--gold-soft);
  border: 1px solid #e6d5b3;
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 2rem 2.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.callout h3 { color: var(--navy); margin-bottom: .6rem; }
.callout p { color: var(--gray-700); margin-bottom: 0; }
.callout p + p { margin-top: .75rem; }

/* ============================
   AUDIENCE GRID  (who we help)
   ============================ */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.audience-card { background: var(--white); border: 1px solid var(--gray-200); border-left: 3px solid var(--navy); border-radius: 0 10px 10px 0; padding: 1.5rem 1.6rem; }
.audience-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.audience-card__desc { font-size: .9rem; color: var(--gray-600); line-height: 1.6; }

/* ============================
   AREAS
   ============================ */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.area-card { background: var(--white); border-left: 4px solid var(--navy); border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
.area-card__state { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-pale); margin-bottom: .25rem; }
.area-card__name { font-size: 1rem; font-weight: 700; color: var(--navy); }

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero { background: linear-gradient(135deg, var(--black), var(--navy)); padding: 3.75rem 0; text-align: center; }
.page-hero .eyebrow { color: #d8b877; }
.page-hero h1 { color: var(--white); margin-bottom: .6rem; }
.page-hero p { color: #c3cbdb; max-width: 620px; margin: 0 auto; font-size: 1.08rem; }

/* ============================
   SERVICES PAGE
   ============================ */
.services-jumpnav { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 90; }
.services-jumpnav .container { display: flex; gap: 0; overflow-x: auto; }
.jumpnav__item { display: flex; align-items: center; gap: .45rem; padding: .95rem 1.25rem; font-size: .88rem; font-weight: 600; color: var(--gray-600); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s; }
.jumpnav__item:hover { color: var(--navy); border-bottom-color: var(--navy); }

.services-category { margin-bottom: 3.5rem; scroll-margin-top: 5rem; }
.services-category:last-child { margin-bottom: 0; }
.category-title { display: flex; align-items: center; gap: .75rem; font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 1.35rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gray-100); }
.category-title svg { color: var(--gold); flex-shrink: 0; }
.category-title span { background: var(--navy); color: var(--white); border-radius: 4px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.service-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.service-detail-card { background: var(--white); border: 1px solid var(--gray-200); border-left: 3px solid var(--navy); border-radius: 8px; padding: 1.75rem; display: flex; flex-direction: column; }
.service-detail-card:hover { box-shadow: var(--shadow-md); border-left-color: var(--gold); }
.service-detail-card__icon { width: 44px; height: 44px; background: var(--gray-100); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--navy); margin-bottom: 1rem; flex-shrink: 0; }
.service-detail-card h3 { color: var(--navy); margin-bottom: .6rem; font-size: 1.08rem; }
.service-detail-card p { color: var(--gray-700); font-size: .92rem; margin-bottom: 1rem; flex: 1; }

/* Why Avalon */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.why-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px; padding: 1.6rem; }
.why-card__icon { width: 46px; height: 46px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white); margin-bottom: 1rem; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.why-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* CTA banner */
.cta-banner { background: var(--navy); padding: 3.75rem 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: .6rem; }
.cta-banner p { color: rgba(255,255,255,.78); max-width: 520px; margin: 0 auto 1.85rem; font-size: 1.05rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================
   FAQ
   ============================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: 8px; margin-bottom: .85rem; background: var(--white); overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--gold); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item__body { padding: 0 1.4rem 1.3rem; color: var(--gray-700); font-size: .95rem; }
.faq-item__body p:first-child { margin-top: 0; }

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow); }
.contact-form h2 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-group label .req { color: #c0392b; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .7rem .9rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: .95rem; color: var(--text); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,31,60,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230d1f3c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.5rem; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; }
.form-note { font-size: .82rem; color: var(--gray-600); margin-top: .9rem; }
.form-alert { border-radius: 8px; padding: .9rem 1.15rem; font-size: .9rem; margin-bottom: 1.5rem; }
.form-alert--error { background: #fdecea; border: 1px solid #f5c6cb; color: #a12b21; }

.contact-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--navy); }
.contact-info-item { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .95rem; font-size: .92rem; color: var(--gray-700); }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 34px; height: 34px; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; margin-top: 1px; }
.contact-info-label { font-size: .72rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.contact-info-item a { color: var(--navy); font-weight: 600; }
.hours-grid { font-size: .9rem; color: var(--gray-700); }
.hours-row { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--gray-100); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { font-weight: 600; }
.emergency-note { background: var(--navy); border-radius: 8px; padding: 1.1rem 1.35rem; font-size: .9rem; color: var(--gray-400); }
.emergency-note strong { display: block; margin-bottom: .35rem; color: var(--white); }

/* Contact Form 7 overrides (only used if you install the CF7 plugin) */
.wpcf7-form p { margin-bottom: 1.25rem; }
.wpcf7-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form select, .wpcf7-form textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: .95rem; color: var(--text); background: var(--white); font-family: var(--font-body); appearance: none; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,31,60,.12); }
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-submit { background: var(--navy); color: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); padding: .85rem 2rem; font-weight: 600; font-size: 1rem; cursor: pointer; width: 100%; font-family: var(--font-body); transition: background var(--transition); }
.wpcf7-submit:hover { background: var(--navy-light); border-color: var(--navy-light); }
.wpcf7-not-valid-tip { color: #c0392b; font-size: .82rem; margin-top: .25rem; display: block; }

/* ============================
   THANK YOU PAGE
   ============================ */
.thankyou-section { min-height: 65vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.25rem; }
.thankyou-box { max-width: 560px; }
.thankyou-icon { width: 76px; height: 76px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--white); }
.thankyou-box h1 { font-size: 2rem; margin-bottom: .75rem; }
.thankyou-box p { color: var(--gray-700); margin-bottom: 1.5rem; }
.thankyou-next { background: var(--off-white); border: 1px solid var(--gray-200); border-radius: 10px; padding: 1.5rem; text-align: left; margin: 1.5rem 0 2rem; }
.thankyou-next h2 { font-size: 1.05rem; margin-bottom: .75rem; }
.thankyou-next ol { list-style: decimal; padding-left: 1.25rem; color: var(--gray-700); font-size: .95rem; }
.thankyou-next li { margin-bottom: .4rem; }

/* ============================
   GENERIC PAGE / CONTENT
   ============================ */
.page-content { max-width: 780px; margin: 0 auto; padding: 3.5rem 1.25rem; }
.page-content h2 { margin: 2rem 0 .75rem; }
.page-content h3 { margin: 1.5rem 0 .5rem; }
.page-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; color: var(--gray-700); }
.page-content ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: 1rem; color: var(--gray-700); }
.page-content li { margin-bottom: .4rem; }
.page-content a { text-decoration: underline; }

/* ============================
   FOOTER
   ============================ */
.site-footer { background: var(--black); color: var(--gray-400); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem 2rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand p { font-size: .88rem; line-height: 1.65; margin-top: .75rem; margin-bottom: 1rem; color: var(--gray-400); }
.footer-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-bottom: .25rem; }
.footer-logo img, .footer-logo .custom-logo-link img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .75; }
.footer-logo .logo__name { font-size: 1.15rem; font-weight: 800; color: var(--white); }
.footer-logo .logo__tagline { font-size: .62rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-400); }
.footer-contact-line { font-size: .88rem; display: flex; align-items: center; gap: .5rem; color: var(--gray-200); margin-bottom: .4rem; }
.footer-contact-line a { color: var(--gray-200); }
.footer-contact-line svg { color: var(--gray-400); flex-shrink: 0; }
.footer-heading { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: .9rem; }
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { font-size: .9rem; color: var(--gray-400); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max-w); margin: 1.25rem auto 0; padding: 0 1.25rem; font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-license { font-size: .78rem; color: rgba(255,255,255,.3); max-width: var(--max-w); margin: 1rem auto 0; padding: .75rem 1.25rem 0; line-height: 1.65; border-top: 1px solid rgba(255,255,255,.05); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .about-grid--with-badge { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .about__badge-seal { width: 170px; align-self: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .section__header h2 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { font-size: 2rem; }
  .hero__desc { font-size: 1.05rem; }
  .hero-card { display: none; }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-mid);
    padding: 1rem;
    gap: .25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .nav.open { display: flex; }
  .nav .menu { flex-direction: column; align-items: stretch; width: 100%; gap: .25rem; }
  .nav__link, .nav .menu-item a { padding: .7rem 1rem; width: 100%; display: block; }
  .nav__cta { margin: .5rem 0 0; width: 100%; text-align: center; justify-content: center; }
  .hamburger { display: flex; }
  .site-header__inner { position: relative; flex-wrap: wrap; padding: .8rem 1rem; }
  .logo img, .logo .custom-logo-link img, .logo__img { height: 46px; }
  .logo__name { font-size: 1.15rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hiw-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar__inner { gap: .4rem .9rem; }
  .section__header h2 { font-size: 1.5rem; }
  .timeline__step { padding-left: 3.5rem; }
}

@media (max-width: 480px) {
  .section { padding: 2.75rem 0; }
  .hero { padding: 3rem 0; }
  .hero__title { font-size: 1.75rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .cta-banner__actions { flex-direction: column; }
  .cta-banner__actions .btn { width: 100%; justify-content: center; }
  .jumpnav__item { padding: .8rem .85rem; font-size: .82rem; }
  .hiw-card { padding: 1.35rem; }
  .trust-bar__item { font-size: .78rem; }
  .logo__name { font-size: 1.05rem; }
  .logo__tagline { font-size: .58rem; }
  .section__header h2 { font-size: 1.35rem; }
  .callout { padding: 1.5rem 1.4rem; }
  .footer-grid { gap: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
