/* ============================================================
   Clarity Roofing Florida — clarityroofingfl.com
   Static site CSS — 1:1 port of the live WordPress/Elementor design
   Palette (live Elementor kit): blue #204184, dark #1B2842,
   body #696969, muted #DCDCDE, light #F2F6F9, white 17% #FFFFFF2B
   Type: Mulish 800 display (h1 72/-2px, h2 48, h3 36) + Inter 16 body
   Radius 3px, card shadow 0 30px 60px rgba(0,0,0,.1)
   ============================================================ */

:root {
  /* live kit colors (legacy var names kept so all pages resolve) */
  --navy:      #204184;   /* heading / button / accent blue */
  --navy-dark: #1B2842;   /* deep navy for gradients */
  --navy-mid:  #2a4f9c;   /* hover lighten */
  --gold:      #204184;   /* legacy accent alias — live uses the same blue */
  --gold-lt:   #2a4f9c;
  --white:     #ffffff;
  --off-white: #F2F6F9;
  --gray-lt:   #e4e9f0;
  --gray:      #8B8B8B;
  --muted:     #DCDCDE;
  --body-txt:  #696969;
  --white-17:  #FFFFFF2B;
  --stars:     #F0AD4E;
  --grad-dark: linear-gradient(135deg, #1B2842 0%, #204184 100%);
  --grad-blue: linear-gradient(135deg, #204184 0%, #1B2842 100%);
  --font:      'Inter', sans-serif;
  --font-display: 'Mulish', 'Inter', sans-serif;
  --radius:    3px;
  --shadow-card: 0 30px 60px rgba(0,0,0,0.10);
  --max-w:     1280px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body-txt);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography — live Elementor kit scale ── */
h1, h2, h3, h4, h5 { color: var(--navy); font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: 72px; font-weight: 800; line-height: 1em;   letter-spacing: -2px; }
h2 { font-size: 48px; font-weight: 800; line-height: 1.1em; letter-spacing: -2px; }
h3 { font-size: 36px; font-weight: 800; line-height: 1.2em; letter-spacing: -1px; }
h4 { font-size: 24px; font-weight: 600; line-height: 1.3em; }
h5 { font-size: 18px; font-weight: 800; line-height: 1.4em; }
h6, .eyebrow, .hero-eyebrow, .section-label {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 500; line-height: 1.5em;
  color: var(--navy); display: block; text-transform: none; letter-spacing: 0;
}
p  { font-size: 16px; }
@media (max-width: 1024px) {
  body { font-size: 15px; }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6, .eyebrow, .hero-eyebrow, .section-label { font-size: 15px; }
  p  { font-size: 15px; }
}
@media (max-width: 767px) {
  body { font-size: 14px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  h5 { font-size: 14px; }
  h6, .eyebrow, .hero-eyebrow, .section-label { font-size: 14px; }
  p  { font-size: 14px; }
}

/* ── Utilities ── */
.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}
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-white { color: var(--white); }
.text-navy  { color: var(--navy); }
.text-gold  { color: var(--navy); }
.centered   { text-align: center; }
.bg-navy    { background: var(--navy); }
.bg-off     { background: var(--off-white); }

/* Button — live kit: bg #204184, radius 3px, white text */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.3s, color 0.3s;
  border: 0;
  cursor: pointer;
}
.btn-primary  { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }
.btn-gold     { background: var(--navy); color: var(--white); }
.btn-gold:hover { background: var(--navy-dark); }
.btn-white    { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); }
.btn-outline  { border: 2px solid var(--navy); color: var(--navy); background: transparent; padding: 12px 28px; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ── Header / Nav — live: white bar, soft shadow, logo | menu | phone button ── */
.site-header {
  background: rgba(255,255,255,0.96);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px 10px rgba(0,0,0,0.05);
  padding: 5px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 16px;
}
.site-logo img { height: 49px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav > li { position: relative; }
.site-nav > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 400;
  color: var(--navy);
  transition: color 0.3s;
}
.site-nav > li > a:hover,
.site-nav > li > a.active { color: var(--navy-dark); font-weight: 600; }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ' ▾'; font-size: 0.65em; opacity: 0.5; }
/* Invisible bridge: keeps :hover alive while the cursor crosses the gap to the menu */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  min-width: 260px;
  box-shadow: 0 20px 50px rgba(27,40,66,0.16);
  z-index: 200;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.22s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s;
}
.dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--off-white);
  transition: background 0.12s, color 0.12s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--off-white); }

.nav-phone {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background 0.3s;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--navy-dark); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.28s, opacity 0.28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--navy-dark);
  padding: 16px 0 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav .sub a {
  padding-left: 40px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .m-cta {
  margin: 16px 24px 0;
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ── Hero — live: bg #F2F6F9, text col pads 2em, image 51vw × 650px to viewport edge ── */
.hero {
  background: var(--off-white);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}
.hero-content {
  padding: 32px 32px 32px 0;
}
.hero-eyebrow { margin-bottom: 14px; }
.hero-content h1 { color: var(--navy); margin-bottom: 22px; }
.hero-content p  { color: var(--body-txt); max-width: 520px; margin-bottom: 32px; line-height: 1.5; }
/* Image bleeds to right viewport edge — live: max-width 51vw, height 650px */
.hero-image {
  position: relative;
  overflow: hidden;
  margin-right: calc(-50vw + var(--max-w) / 2);
}
.hero-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── Icon strip (Installation / Repair / Renovations) —
      live: white cards, radius 3, deep shadow, icon left + text ── */
.hero-cards {
  background: var(--white);
  padding: 16px 0 112px;
}
.hero-cards .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-card-icon {
  width: 50px; height: 50px;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-icon svg { width: 44px; height: 44px; color: var(--navy); }
.hero-card h3 {
  color: var(--navy);
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.hero-card p { color: var(--body-txt); font-size: 14px; line-height: 1.6; }

/* ── About (challenge section) — live: heading block w/ wide right pad,
      then white stats card with photo overlapping from the right ── */
.about-strip { background: var(--white); }
/* inner pages (about/gallery/residential): classic two-column text+image rows */
.about-strip .container:has(> .about-text),
div.about-strip:has(> .about-image) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { color: var(--navy); margin-bottom: 20px; font-size: 36px; letter-spacing: -1px; }
.about-text p  { color: var(--body-txt); margin-bottom: 14px; }
.about-image { overflow: hidden; border-radius: var(--radius); }
.about-image img { width: 100%; height: 480px; object-fit: cover; object-position: center top; }
/* Homepage about — live layout: left column (heading + text + stats card),
   right column tall owner photo spanning the full height */
.home-about { background: var(--white); padding: 0 0 112px; }
.home-about .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.home-about-copy h2 { color: var(--navy); margin-bottom: 20px; text-align: left; }
.home-about-copy p  { color: var(--body-txt); margin-bottom: 14px; }
.home-stats {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-top: 28px;
  overflow: hidden;
}
.home-stats .stat-item { flex: 1; }
.home-stats .stat-item:last-child { border-right: none; }
.stat-item {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--off-white);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1em;
  color: var(--navy);
  display: block;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--body-txt); margin-top: 6px; display: block;
}
.home-about-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
}
/* inline stats row (about.html) */
.stats-row { display: flex; margin-top: 24px; }
.stats-row .stat-item { flex: 1; padding: 12px 8px; }
.stats-row .stat-item:last-child { border-right: none; }
.stats-row .stat-num { font-size: 36px; }

/* legacy alias (about.html uses .stats-band/.stat-item) */
.stats-band {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  overflow: hidden;
  margin-top: 48px;
  padding: 16px;
}
.stats-band .stat-item { flex: 1; }
.stats-band .stat-item:last-child { border-right: none; }

/* ── Dark gradient banner ── */
.dark-banner {
  background: var(--grad-dark);
  padding: 80px 0;
}
.dark-banner h2 {
  color: var(--white);
  padding: 0 32px;
  max-width: 1100px;
}

/* ── Services — live: centered head (max 720), 6 call-to-action cards:
      photo zone 275px grayscale→color on hover, white centered content ── */
.services-section { background: var(--white); padding: 80px 0 112px; }
.services-head { max-width: 720px; margin: 0 auto 24px; text-align: center; }
.services-head .section-label { margin-bottom: 8px; }
.services-section .container > .section-label { text-align: center; margin-bottom: 8px; }
.services-section .container > h2 { text-align: center; margin-bottom: 40px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.service-card-img {
  min-height: 275px;
  overflow: hidden;
  position: relative;
}
.service-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(1,1,1,0.17);
  pointer-events: none;
}
.service-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(0);
  transition: filter 0.6s, transform 0.6s;
}
.service-card:hover .service-card-img img { filter: saturate(1); transform: scale(1.04); }
.service-card-body {
  padding: 32px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card h3 {
  color: var(--navy);
  font-size: 23px; font-weight: 600; letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 14px;
}
.service-card p { color: var(--body-txt); font-size: 14px; line-height: 1.6; flex: 1; margin-bottom: 21px; }
.service-card .btn { align-self: center; }

/* ── Why Choose — live: photo texture bg + radial white overlay,
      3 cols (text 30% / worker cutout 39% / counter 30%), no boxes ── */
.why-section {
  position: relative;
  background-image: url('images/clarity-bg-texture.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(at bottom center, rgba(255,255,255,0.89) 0%, #ffffff 55%);
}
.why-section .container {
  position: relative;
  display: grid;
  grid-template-columns: 30% 1fr 30%;
  gap: 24px;
  align-items: center;
}
.why-left { padding: 16px; }
.why-left h2 { color: var(--navy); margin-bottom: 16px; }
.why-left p  { color: var(--body-txt); margin-bottom: 28px; }
.why-features { display: none; } /* live has no feature boxes here */
.why-worker { align-self: flex-end; }
.why-worker img { width: 100%; max-width: 500px; margin: 0 auto; }
.why-right {
  text-align: center;
  padding: 16px;
}
.why-years {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--navy);
  line-height: 1em;
  display: block;
}
.why-label {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--body-txt);
  display: block;
  margin-bottom: 14px;
}
.stars-row { color: var(--stars); font-size: 35px; letter-spacing: 4px; line-height: 1.2; }
.why-right p { color: var(--body-txt); font-size: 16px; margin-top: 12px; }

/* ── Save Money — live: blue bg + photo overlay 40%, content left 60%,
      bare white icon-boxes (no cards) ── */
.save-strip {
  background: var(--navy);
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.save-strip-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/clarity-bg-save-money.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.save-strip .container { position: relative; z-index: 2; }
.save-strip .save-inner { max-width: 60%; padding: 32px; }
.save-strip h2 { color: var(--white); margin-bottom: 16px; }
.save-strip .save-lede { color: var(--white); margin-bottom: 40px; }
.save-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.save-feat { display: flex; gap: 15px; align-items: flex-start; }
.save-feat-icon { flex-shrink: 0; }
.save-feat-icon svg { width: 35px; height: 35px; color: #FFFFFF; }
.save-feat h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  margin-bottom: 7px;
}
.save-feat p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── Testimonials — live: texture bg + radial overlay, photo 45% overlapping
      a floating white card (55%) holding a one-at-a-time carousel ── */
.testimonials-section {
  position: relative;
  background-image: url('images/clarity-bg-texture.jpg');
  background-size: cover;
  background-position: center;
  padding: 112px 0 80px;
}
.testimonials-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(at top center, rgba(255,255,255,0.8) 0%, #ffffff 65%);
}
.testimonials-section .container {
  position: relative;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
}
.testimonial-image { position: relative; z-index: 2; }
.testimonial-image img {
  width: calc(100% + 96px);
  max-width: none;
  height: 425px;
  object-fit: cover;
  border-radius: var(--radius);
}
.testimonials-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 64px;
  margin-top: 64px;
  z-index: 3;
}
.testi-quote-icon {
  position: absolute;
  top: -33px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 0;
  padding-top: 22px;
}
.testi-slide { display: none; text-align: center; }
.testi-slide.active { display: block; }
.testi-slide p {
  color: var(--body-txt);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testi-reviewer { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--navy);
  text-align: left;
}
.testi-role { font-size: 13px; color: var(--gray); text-align: left; }
.testi-nav {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 24px;
}
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--muted);
  transition: background 0.3s;
  padding: 0;
}
.testi-dot.active { background: var(--navy); }

/* legacy stacked cards (unused on home now, kept for safety) */
.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  margin-bottom: 20px;
}
.quote-mark { font-size: 4rem; color: var(--navy); opacity: 0.1; line-height: 1; position: absolute; top: 14px; left: 22px; font-family: Georgia, serif; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--gray-lt); flex-shrink: 0; }
.reviewer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.reviewer-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy); }
.stars-sm { color: var(--stars); font-size: 13px; }

/* ── FAQ — live: 70/30; accordion 28px pads, #F2F6F9 → active #204184;
      right rail: gradient CTA box + form box with 5px top border ── */
.faq-section { background: var(--white); padding: 0 0 80px; }
.faq-section .container {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 0;
  align-items: start;
}
.faq-list { padding: 32px; }
.faq-list h2 { color: var(--navy); margin-bottom: 0; }
.faq-divider { width: 50px; height: 3px; background: var(--navy); margin: 15px 0; }
details {
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
details summary {
  padding: 28px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4em;
  color: var(--navy);
  background: var(--off-white);
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.3s, color 0.3s;
}
details[open] summary { background: var(--navy); color: var(--white); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-size: 1.4rem; flex-shrink: 0; color: var(--navy); transition: transform 0.2s, color 0.3s; }
details[open] summary::after { transform: rotate(45deg); color: var(--white); }
details .faq-body { padding: 28px; background: var(--off-white); font-size: 16px; color: var(--body-txt); line-height: 1.5; border-radius: 0 0 var(--radius) var(--radius); }

.faq-rail { padding: 32px; }
.faq-cta-box {
  position: relative;
  background: var(--grad-blue);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-cta-box::after {
  content: '';
  position: absolute; inset: 0;
  background: url('images/clarity-bg-footer-pattern.png') bottom right no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.faq-cta-box > * { position: relative; z-index: 1; }
.faq-cta-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.faq-cta-icon svg { width: 26px; height: 26px; color: var(--white); }
.faq-cta-box small {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 7px;
}
.faq-cta-box h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600; letter-spacing: 0;
  color: var(--white);
  line-height: 1.3em;
  margin-bottom: 20px;
}
.faq-cta-box .btn { width: 100%; }

.faq-form-box {
  background: var(--off-white);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
  padding: 32px;
}
.faq-form-box h4 { color: var(--navy); margin-bottom: 16px; }
.contact-mini-form { display: flex; flex-direction: column; gap: 10px; }
.contact-mini-form input {
  padding: 12px 14px;
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.contact-mini-form input:focus { border-color: var(--navy); }

/* legacy alias (services.html uses .faq-contact-box) */
.faq-contact-box {
  background: var(--off-white);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.faq-contact-box small { font-size: 13px; color: var(--gray); }
.faq-contact-box h3 { color: var(--navy); margin: 10px 0 20px; font-size: 22px; letter-spacing: 0; }
.faq-contact-box .btn { width: 100%; margin-bottom: 24px; }
.faq-divider-sm { width: 100%; height: 1px; background: var(--gray-lt); margin-bottom: 24px; }
.faq-contact-box h4 { color: var(--navy); margin-bottom: 14px; font-size: 18px; }

/* ── Perfect solution band — live: blue + texture overlay, centered, no buttons ── */
.perfect-band {
  position: relative;
  background: var(--navy);
  padding: 112px 0;
  overflow: hidden;
}
.perfect-band::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/clarity-bg-texture.jpg') center/cover no-repeat;
  opacity: 0.3;
}
.perfect-band .container {
  position: relative;
  max-width: 840px;
  text-align: center;
}
.perfect-band h2 { color: var(--white); margin-bottom: 16px; }
.perfect-band p  { color: var(--white); }

/* ── CTA band (inner pages) — restyled to live gradient ── */
.cta-band {
  background: var(--grad-dark);
  padding: 60px 0;
}
.cta-band .container {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band-text h2 { color: var(--white); font-size: 36px; letter-spacing: -1px; }
.cta-band-text p  { color: var(--muted); margin-top: 8px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--white); color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--off-white); }

/* ── Footer — live: one gradient section w/ pattern:
      newsletter → 3-col links → copyright ── */
.site-footer {
  position: relative;
  background: var(--grad-dark);
  padding: 48px 0 0;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/clarity-bg-footer-pattern.png') bottom right no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }

.footer-newsletter {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 48px;
  text-align: center;
}
.footer-newsletter h3 {
  color: var(--muted);
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  background: var(--white);
  color: var(--navy-dark);
  outline: none;
}
.newsletter-form .btn { flex: 0 0 33%; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--white-17);
}
.footer-brand { padding-right: 15%; }
.footer-brand-logo { height: 49px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-col h4, .footer-col h5 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  letter-spacing: 0; text-transform: none;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: var(--muted); font-size: 14px; line-height: 1.6; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-contact-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.f-contact { display: flex; align-items: flex-start; gap: 10px; }
.f-contact svg { width: 18px; height: 18px; color: var(--white); flex-shrink: 0; margin-top: 2px; }
.f-contact a, .f-contact span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.f-contact a:hover { color: var(--white); }
.footer-social { display: flex; gap: 5px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white-17);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.3s;
}
.social-btn:hover { background: var(--navy); color: var(--white); }
.social-btn svg { width: 18px; height: 18px; }

.footer-bottom {
  padding: 16px 0 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: 13px; }
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-legal a { color: var(--white); font-size: 13px; }
.footer-legal a:hover { color: var(--gold-lt); }
.footer-legal a + a::before {
  content: '';
  display: inline-block;
  width: 4px; height: 12px;
  background: var(--navy);
  margin-right: 10px;
  vertical-align: middle;
}

/* ── Cookie consent (self-contained, matches live WPConsent banner) ── */
.consent-banner {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 9990;
  max-width: 420px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 16px 50px rgba(27,40,66,0.3);
  padding: 20px;
  display: none;
}
.consent-banner.show { display: block; }
.consent-banner h4 { font-size: 16px; color: var(--navy-dark); margin-bottom: 6px; }
.consent-banner p { font-size: 13px; color: var(--body-txt); line-height: 1.5; margin-bottom: 14px; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-actions .btn { padding: 9px 16px; font-size: 13px; }
.consent-reject { background: var(--off-white); color: var(--navy-dark); }
.consent-reject:hover { background: var(--gray-lt); }
@media (max-width: 480px) {
  .consent-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ── Page Hero (inner pages) — live style: light band, photo fading in from
      the right under a white gradient, navy Mulish h1 + gray subtitle ── */
.page-hero {
  background: var(--off-white);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--off-white) 30%, rgba(242,246,249,0.85) 55%, rgba(242,246,249,0.35) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--navy-dark); }
.page-hero .eyebrow { color: var(--navy); }
.page-hero h1 { color: var(--navy); margin-bottom: 14px; font-size: 54px; letter-spacing: -1.5px; }
.page-hero p  { color: var(--body-txt); font-size: 18px; font-family: var(--font-display); font-weight: 600; max-width: 620px; }
@media (max-width: 1024px) { .page-hero h1 { font-size: 40px; } }
@media (max-width: 767px)  { .page-hero h1 { font-size: 32px; } }

/* ── Service Detail (inner pages) ── */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}
.service-body h2 { color: var(--navy); margin-bottom: 16px; font-size: 34px; letter-spacing: -1px; }
.service-body h3 { color: var(--navy); margin: 28px 0 10px; font-size: 22px; letter-spacing: -0.5px; }
.service-body p  { color: var(--body-txt); margin-bottom: 14px; font-size: 16px; line-height: 1.6; }
.service-body .service-figure {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  margin: 6px 0 26px;
  box-shadow: var(--shadow-card);
}
.service-body ul { margin: 12px 0 20px; }
.service-body ul li {
  padding: 9px 0 9px 24px;
  position: relative;
  color: var(--body-txt);
  font-size: 15px;
  border-bottom: 1px solid var(--gray-lt);
}
.service-body ul li::before { content: '›'; position: absolute; left: 0; color: var(--navy); font-size: 1.1rem; font-weight: 700; }
.service-sidebar { position: sticky; top: 96px; }
.sidebar-cta {
  position: relative;
  background: var(--grad-blue);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 20px;
  color: var(--white);
  overflow: hidden;
}
.sidebar-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: url('images/clarity-bg-footer-pattern.png') bottom right no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.sidebar-cta > * { position: relative; z-index: 1; }
.sidebar-cta h4 { color: var(--white); margin-bottom: 10px; font-size: 22px; }
.sidebar-cta p  { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.sidebar-cta .btn { width: 100%; margin-bottom: 14px; background: var(--white); color: var(--navy); }
.sidebar-cta .btn:hover { background: var(--off-white); }
.sidebar-phone {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.5px;
}
.sidebar-phone a { color: var(--white) !important; }
.sidebar-phone svg { width: 16px; height: 16px; }
.sidebar-nav {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-nav h5 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800; letter-spacing: 0;
  text-transform: none; color: var(--navy); margin-bottom: 14px;
}
.sidebar-nav ul li { border-bottom: 1px solid var(--gray-lt); }
.sidebar-nav ul li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  font-size: 14px; font-weight: 500; color: var(--body-txt);
  transition: color 0.15s;
}
.sidebar-nav ul li a:hover { color: var(--navy); }
.sidebar-nav ul li a.active { color: var(--navy); font-weight: 700; }

/* ── Contact Section ── */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { color: var(--navy); margin-bottom: 20px; font-size: 40px; }
.contact-info p  { color: var(--body-txt); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.c-detail { display: flex; align-items: flex-start; gap: 14px; }
.c-detail-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-detail-icon svg { width: 18px; height: 18px; color: var(--white); }
.c-detail label { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--navy); margin-bottom: 2px; }
.c-detail a, .c-detail span { font-size: 15px; color: var(--body-txt); }
.contact-form-box {
  background: var(--off-white);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contact-form-box h3 { color: var(--navy); margin-bottom: 24px; font-size: 24px; letter-spacing: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.5px; color: var(--navy); margin-bottom: 5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 14px; font-size: 15px; margin-top: 6px; }
.form-success { display: none; padding: 14px; background: #e8f5e9; border-radius: var(--radius); color: #2e7d32; font-size: 14px; margin-top: 10px; }
.form-alt { font-size: 13px; color: var(--gray); text-align: center; margin-top: 12px; }
.form-alt a { color: var(--navy); font-weight: 600; white-space: nowrap; }

/* ── Legal pages ── */
.legal-body { max-width: 800px; }
.legal-body h2 { font-size: 24px; letter-spacing: -0.5px; color: var(--navy); margin: 32px 0 10px; }
.legal-body p, .legal-body li { color: var(--body-txt); line-height: 1.6; margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 12px; list-style: disc; }
.legal-body a { color: var(--navy); font-weight: 600; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gallery-item { overflow: hidden; aspect-ratio: 4/3; border-radius: var(--radius); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ── Texture statement band (live "We Bring Clarity" style):
      dark blue gradient + steel-frame photo, centered white copy ── */
.texture-band {
  position: relative;
  background: var(--grad-dark);
  padding: 96px 0;
  overflow: hidden;
}
.texture-band::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/clarity-bg-texture.jpg') center/cover no-repeat;
  opacity: 0.18;
}
.texture-band .container { position: relative; max-width: 1100px; text-align: center; }
.texture-band h2 { color: var(--white); margin-bottom: 18px; }
.texture-band p  { color: var(--muted); }
.texture-band p + p { margin-top: 12px; }

/* ── Zig-zag value rows (live About layout): heading column beside a
      stack of white icon cards ── */
.zig-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.zig-row + .zig-row { margin-top: 72px; }
.zig-head .eyebrow { margin-bottom: 8px; }
.zig-head h2 { margin-bottom: 14px; }
.zig-head p { color: var(--body-txt); }
.ibox-stack { display: flex; flex-direction: column; gap: 16px; }
.ibox {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.ibox-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.ibox-icon svg { width: 38px; height: 38px; color: var(--navy); }
.ibox h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.ibox p { color: var(--body-txt); font-size: 14px; line-height: 1.6; }
@media (max-width: 1024px) {
  .zig-row { grid-template-columns: 1fr; gap: 32px; }
  .zig-row + .zig-row { margin-top: 48px; }
  .zig-row .zig-head { order: -1; }
}

/* ── Statement section (live teamwork h5 pair) ── */
.statement-block { max-width: 900px; margin: 0 auto; text-align: center; }
.statement-block h5 { font-size: 22px; line-height: 1.45; letter-spacing: -0.25px; }
.statement-block h5 + h5 { margin-top: 24px; }
@media (max-width: 767px) { .statement-block h5 { font-size: 17px; } }

/* ── Fade-in animation ── */
@media (prefers-reduced-motion: no-preference) {
  html.js .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s, transform 0.55s; }
  html.js .fade-up.visible { opacity: 1; transform: none; }

  /* Elementor-style entrance animations (live parity). Elements carry
     data-anim + optional data-delay; initFade adds .animated in view. */
  html.js [data-anim] { opacity: 0; }
  html.js [data-anim].animated {
    opacity: 1;
    animation-duration: 1s;
    animation-fill-mode: both;
  }
  [data-anim="fadeInLeft"].animated  { animation-name: a-fadeInLeft; }
  [data-anim="fadeInRight"].animated { animation-name: a-fadeInRight; }
  [data-anim="fadeInUp"].animated    { animation-name: a-fadeInUp; }
  [data-anim="fadeIn"].animated      { animation-name: a-fadeIn; }
  [data-anim="zoomIn"].animated      { animation-name: a-zoomIn; }
  [data-anim="bounceInUp"].animated  { animation-name: a-bounceInUp; }
  [data-anim="bounceInLeft"].animated{ animation-name: a-bounceInLeft; }
}
@keyframes a-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes a-fadeInLeft { from { opacity: 0; transform: translate3d(-60px,0,0); } to { opacity: 1; transform: none; } }
@keyframes a-fadeInRight { from { opacity: 0; transform: translate3d(60px,0,0); } to { opacity: 1; transform: none; } }
@keyframes a-fadeInUp { from { opacity: 0; transform: translate3d(0,50px,0); } to { opacity: 1; transform: none; } }
@keyframes a-zoomIn {
  from { opacity: 0; transform: scale3d(0.55,0.55,0.55); }
  50% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
@keyframes a-bounceInUp {
  0% { opacity: 0; transform: translate3d(0,140px,0); }
  60% { opacity: 1; transform: translate3d(0,-14px,0); }
  75% { transform: translate3d(0,6px,0); }
  90% { transform: translate3d(0,-3px,0); }
  100% { opacity: 1; transform: none; }
}
@keyframes a-bounceInLeft {
  0% { opacity: 0; transform: translate3d(-140px,0,0); }
  60% { opacity: 1; transform: translate3d(14px,0,0); }
  75% { transform: translate3d(-6px,0,0); }
  90% { transform: translate3d(3px,0,0); }
  100% { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-content { padding: 48px 0 40px; }
  .hero-image { margin-right: -24px; margin-left: -24px; }
  .hero-image img { height: 600px; }
  .hero-cards .container { grid-template-columns: 1fr; }
  .hero-cards { padding-bottom: 48px; }
  .home-about { padding-bottom: 48px; }
  .home-about .container { grid-template-columns: 1fr; gap: 40px; }
  .home-about-photo img { height: 420px; }
  .about-strip .container:has(> .about-text),
  div.about-strip:has(> .about-image) { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 340px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-section .container { grid-template-columns: 1fr 1fr; }
  .why-worker { display: none; }
  .why-left, .why-right { padding: 32px 16px; }
  .save-strip { padding: 48px 0; }
  .save-strip .save-inner { max-width: 100%; padding: 16px; }
  .testimonials-section { padding: 48px 0; }
  .testimonials-section .container { grid-template-columns: 1fr; }
  .testimonial-image img { width: 100%; height: 300px; }
  .testimonials-content { margin-top: 48px; padding: 48px 32px; }
  .faq-section .container { grid-template-columns: 1fr; }
  .faq-list, .faq-rail { padding: 16px; }
  .perfect-band { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-detail-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .dark-banner { padding: 48px 0; }
  .services-section { padding: 48px 0; }
}

@media (max-width: 767px) {
  .site-nav, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .hero-image img { height: 320px; }
  .home-stats { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--off-white); }
  .home-stats .stat-item:last-child { border-bottom: none; }
  .home-about-photo img { height: 320px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-section .container { grid-template-columns: 1fr; }
  .save-feats { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { flex: 1; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-band-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-content { padding: 48px 16px 32px; }
  .testimonial-image img { height: 200px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 18px; }
}

/* ============================================================
   Accessibility Widget (self-contained, bottom-anchored)
   ============================================================ */
.acc-fab{position:fixed;right:20px;bottom:20px;z-index:9998;width:56px;height:56px;border-radius:50%;background:var(--navy);color:#fff;border:none;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 22px rgba(27,40,66,.35);transition:transform .2s,background .2s}
.acc-fab:hover{background:var(--navy-dark);transform:translateY(-2px)}
.acc-fab:focus-visible{outline:3px solid var(--navy-dark);outline-offset:3px}
.acc-fab svg{width:30px;height:30px}

.acc-panel{position:fixed;right:20px;bottom:88px;z-index:9999;width:340px;max-width:calc(100vw - 32px);max-height:calc(100vh - 120px);overflow-y:auto;background:#fff;border:1px solid var(--gray-lt);border-radius:12px;box-shadow:0 16px 50px rgba(27,40,66,.25);padding:18px;display:none}
.acc-panel.open{display:block}
.acc-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.acc-panel-head h2{font-size:1.05rem;letter-spacing:0;color:var(--navy);margin:0}
.acc-close{background:none;border:none;font-size:1.5rem;line-height:1;color:var(--gray);padding:2px 8px;border-radius:6px}
.acc-close:hover{color:var(--navy);background:var(--off-white)}
.acc-sub{font-size:.7rem;color:var(--gray);text-transform:uppercase;letter-spacing:.08em;margin:14px 0 8px;font-weight:600}
.acc-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.acc-btn{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:12px 8px;border:1.5px solid var(--gray-lt);border-radius:8px;background:#fff;color:var(--navy);font-size:.8rem;font-weight:500;line-height:1.25;transition:border-color .15s,background .15s}
.acc-btn svg{width:22px;height:22px;color:var(--navy);pointer-events:none}
.acc-btn span{pointer-events:none}
.acc-btn:hover{border-color:var(--navy);background:var(--off-white)}
.acc-btn:focus-visible{outline:3px solid var(--navy-dark);outline-offset:2px}
.acc-btn[aria-pressed="true"]{border-color:var(--navy);background:var(--navy);color:#fff}
.acc-btn[aria-pressed="true"] svg{color:#fff}
.acc-btn .lvl{font-size:.68rem;opacity:.85}
.acc-reset{width:100%;margin-top:14px;padding:11px;border:none;border-radius:8px;background:var(--off-white);color:var(--navy);font-weight:600;font-size:.85rem}
.acc-reset:hover{background:var(--gray-lt)}
.acc-reset:focus-visible{outline:3px solid var(--navy-dark);outline-offset:2px}
.acc-fineprint{font-size:.68rem;color:var(--gray);text-align:center;margin-top:10px;line-height:1.5}

/* ---- state classes applied to <html> ---- */
html.acc-text1{font-size:18px}
html.acc-text2{font-size:20px}
html.acc-text3{font-size:22px}

html.acc-readable *:not(.acc-fab):not(.acc-fab *){font-family:Verdana,Tahoma,Arial,sans-serif !important}

html.acc-spacing p,html.acc-spacing li,html.acc-spacing a,html.acc-spacing span,
html.acc-spacing h1,html.acc-spacing h2,html.acc-spacing h3,html.acc-spacing h4{
  letter-spacing:.06em !important;line-height:1.9 !important;word-spacing:.14em !important}

html.acc-links a:not(.acc-fab):not(.btn){text-decoration:underline !important;text-underline-offset:3px;color:#0b4fd6 !important;font-weight:600 !important}

html.acc-titles h1,html.acc-titles h2,html.acc-titles h3,html.acc-titles h4{
  outline:2px dashed var(--navy);outline-offset:3px;background:rgba(32,65,132,.06)}

html.acc-bigcursor,html.acc-bigcursor *{cursor:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M6 3l30 18-12 3 8 14-5 3-8-14-9 9z" fill="white" stroke="black" stroke-width="2" stroke-linejoin="round"/></svg>') 6 3,auto !important}

html.acc-noanim *,html.acc-noanim *::before,html.acc-noanim *::after{
  animation:none !important;transition:none !important;scroll-behavior:auto !important}

/* contrast modes — applied to page content only so the widget stays usable */
html.acc-dark #site-header,html.acc-dark main,html.acc-dark #site-footer{filter:invert(1) hue-rotate(180deg)}
html.acc-dark img,html.acc-dark video,html.acc-dark .page-hero-bg,html.acc-dark .save-strip-bg,html.acc-dark .service-card-img img{filter:invert(1) hue-rotate(180deg)}
html.acc-high #site-header,html.acc-high main,html.acc-high #site-footer{filter:contrast(1.45) saturate(1.3)}
html.acc-mono #site-header,html.acc-mono main,html.acc-mono #site-footer{filter:grayscale(1)}

/* reading guide */
.acc-guide{position:fixed;left:0;right:0;height:44px;background:rgba(32,65,132,.10);border-top:2px solid var(--navy);border-bottom:2px solid var(--navy);pointer-events:none;z-index:9997;display:none;top:0}
html.acc-guide-on .acc-guide{display:block}

@media (max-width:480px){
  .acc-panel{right:12px;left:12px;width:auto;bottom:84px}
  .acc-fab{right:16px;bottom:16px}
}
