/* === CSS VARIABLES — BYLER === */
:root {
  --color-primary:    #BD0003;
  --color-secondary:  #140D0D;
  --color-accent:     #828484;
  --color-neutral:    #7C7C84;
  --color-bg:         #FFFFFF;
  --color-text:       #2a2a2a;
  --color-cta:        #BD0003;
  --color-cta-text:   #FFFFFF;
  --color-dark:       #140D0D;
  --color-light:      #f4f4f4;
  --color-white:      #ffffff;
  --font-heading:     'Montserrat', sans-serif;
  --font-body:        'Open Sans', sans-serif;
  --radius:           4px;
  --max-width:        1200px;
  --section-pad:      4.5rem 1.5rem;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === BASE === */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1rem;
}

/* === ACCESSIBILITY === */
.skip-link {
  position: absolute;
  left: 0;
  top: -100%;
  z-index: 1000;
  background: var(--color-secondary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { top: 0; }
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
main:focus { outline: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1rem, 2vw, 1.3rem); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* === EYEBROW === */
.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.eyebrow-light { color: rgba(255,255,255,0.7); }
.eyebrow-dark { color: var(--color-primary); }

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--color-cta);
  color: var(--color-cta-text);
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-white);
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: var(--color-white);
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.6);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}
.text-link {
  color: var(--color-primary);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}
.text-link:hover { text-decoration: underline; }

/* === UTILITY BAR === */
.utility-bar {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 0.45rem 0;
  font-family: var(--font-body);
}
.utility-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-bar a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.utility-bar a:hover { color: var(--color-primary); }
.utility-contact { display: flex; gap: 2rem; }
.utility-social { display: flex; gap: 1.25rem; }

/* === NAV === */
.site-nav {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-logo { display: block; width: auto; }
.brand-logo--nav { height: 80px; }
.brand-logo--footer { height: 64px; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-cta {
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
}

/* === NAV DROPDOWN (Services) === */
.nav-has-dropdown { position: relative; }
.nav-caret {
  font-size: 0.7em;
  display: inline-block;
  transition: transform 0.2s;
}
.nav-has-dropdown:hover .nav-caret,
.nav-has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  background: var(--color-white);
  border: 1px solid #e6e6e6;
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 30px rgba(0,0,0,0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li { display: block; }
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-secondary);
}
.nav-dropdown a:hover { color: var(--color-primary); background: var(--color-light); }
.nav-dropdown-all {
  border-top: 1px solid #ececec;
  margin-top: 0.3rem;
  padding-top: 0.15rem;
}
.nav-dropdown-all a { color: var(--color-primary); }

/* === NAV — MOBILE MENU (desktop defaults) === */
.nav-menu { display: contents; }
.nav-toggle { display: none; }
.nav-submenu-toggle { display: none; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 560px;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(189,0,3,0.04) 40px,
      rgba(189,0,3,0.04) 41px
    ),
    linear-gradient(135deg, #140D0D 0%, #2a1a1a 50%, #1a0d0d 100%);
}
.hero-red-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--color-primary);
}
.hero-image-block {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(to right, #140D0D, transparent),
    linear-gradient(135deg, #2d1a1a 0%, #3a2020 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-placeholder {
  color: rgba(255,255,255,0.15);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-image-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  opacity: 0.3;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
}
.hero-content { max-width: 580px; }
.hero-content .eyebrow { margin-bottom: 1rem; }
.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.hero-content h1 span { color: var(--color-primary); }
.hero-subhead {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 520px;
  line-height: 1.7;
}
.proof-bullets {
  list-style: none;
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.proof-bullets li {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
  font-family: var(--font-body);
}
.proof-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === PROBLEM === */
.problem {
  background: var(--color-light);
  padding: var(--section-pad);
}
.problem-head {
  text-align: center;
  margin-bottom: 3rem;
}
.problem-head h2 { margin-bottom: 0.75rem; }
.problem-head p {
  color: #5c5e5e;
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.95rem;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.problem-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
}
.problem-card:hover { border-top-color: var(--color-primary); }
.problem-icon {
  width: 48px;
  height: 48px;
  background: #fff0f0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.problem-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.problem-card p { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* === AUTHORITY === */
.authority {
  background: var(--color-white);
  padding: var(--section-pad);
}
.authority-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}
.authority-image {
  position: relative;
}
.authority-image-block {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #767676;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  border: 1px solid #ddd;
}
.authority-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(189,0,3,0.3);
}
.authority-content .eyebrow { margin-bottom: 0.5rem; }
.authority-content h2 { margin-bottom: 1rem; }
.authority-content > p {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.credential-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.credential-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-secondary);
}
.credential-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-secondary);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === PLAN === */
.plan {
  background: var(--color-secondary);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.plan-bg-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
}
.plan-head {
  text-align: center;
  margin-bottom: 3rem;
}
.plan-head h2 { color: var(--color-white); margin-bottom: 0.5rem; }
.plan-head p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.plan-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.plan-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 2px;
  background: rgba(189,0,3,0.3);
  z-index: 0;
}
.plan-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
}
.plan-step h3 { color: var(--color-white); margin-bottom: 0.5rem; font-size: 1rem; }
.plan-step p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.6; }
.plan-cta { text-align: center; }

/* === RESULT === */
.result {
  background: var(--color-white);
  padding: var(--section-pad);
}
.result-head {
  text-align: center;
  margin-bottom: 3rem;
}
.result-head h2 { margin-bottom: 0.5rem; }
.result-head p { color: #6a6a6a; font-size: 0.95rem; }
.transformation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.before, .after {
  padding: 2rem;
  border-radius: var(--radius);
}
.before {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-left: 4px solid #ccc;
}
.after {
  background: #fff8f8;
  border: 1px solid #f0d0d0;
  border-left: 4px solid var(--color-primary);
}
.before h3, .after h3 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.before h3 { color: #6a6a6a; }
.after h3 { color: var(--color-primary); }
.before ul, .after ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.before li, .after li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
}
.before li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #767676;
  font-weight: 700;
}
.after li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.urgency-bar {
  background: var(--color-light);
  border-left: 4px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 1rem;
}
.urgency-bar p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-secondary);
}

/* === CTA STRIP === */
.cta-strip {
  background: var(--color-primary);
  padding: 2.5rem 1.5rem;
}
.cta-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip-inner p {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex: 1;
}
.btn-cta-strip {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-cta-strip:hover { opacity: 0.92; }

/* === SERVICES GRID === */
.services {
  background: var(--color-light);
  padding: var(--section-pad);
}
.services-head {
  text-align: center;
  margin-bottom: 3rem;
}
.services-head h2 { margin-bottom: 0.5rem; }
.services-head p { color: #6a6a6a; font-size: 0.9rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-bottom-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.service-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.service-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}
.service-card p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--color-white);
  padding: var(--section-pad);
}
.testimonials-head {
  text-align: center;
  margin-bottom: 3rem;
}
.testimonials-head h2 { margin-bottom: 0.5rem; }
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.25;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}
.testimonial-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
}
.testimonial-reviewer strong {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--color-secondary);
  display: block;
}
.testimonial-reviewer span {
  font-size: 0.8rem;
  color: #6a6a6a;
}

/* === ACCORDION === */
.accordions {
  background: var(--color-light);
  padding: var(--section-pad);
}
.accordions-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.accordions-head h2 { margin-bottom: 0.5rem; }
.accordion-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
details {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid #e5e5e5;
  overflow: hidden;
}
details[open] {
  border-color: var(--color-primary);
}
summary {
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-secondary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 1rem;
}
details[open] summary::after { content: '−'; }
.accordion-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  border-top: 1px solid #f0f0f0;
}
.accordion-body ul {
  margin: 0.75rem 0 0 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.accordion-body ul li { font-size: 0.88rem; }

/* === CITYBLOCK === */
.locations-grid {
  background: var(--color-white);
  padding: var(--section-pad);
}
.locations-grid h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}
.locations-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}
.locations-column h3 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}
.locations-column details {
  margin: 0.4rem 0;
  border: 1px solid #eee;
  border-radius: var(--radius);
  background: #fafafa;
}
.locations-column summary {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.locations-column summary::after { font-size: 1rem; }
.locations-column ul {
  padding: 0.5rem 1rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-top: 1px solid #eee;
}
.locations-column li a {
  font-size: 0.85rem;
  color: var(--color-primary);
  transition: text-decoration 0.15s;
}
.locations-column li a:hover { text-decoration: underline; }

/* === PRE-FOOTER CTA === */
.prefooter-cta {
  position: relative;
  background: var(--color-secondary);
  padding: 4rem 1.5rem;
  overflow: hidden;
}
.prefooter-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(189,0,3,0.06) 30px,
    rgba(189,0,3,0.06) 31px
  );
}
.prefooter-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}
.prefooter-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.prefooter-inner h2 {
  color: var(--color-white);
  flex: 1;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
.prefooter-inner h2 span { color: var(--color-primary); }
.prefooter-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === FOOTER === */
.site-footer {
  background: #0d0808;
  padding: 3.5rem 1.5rem 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.68);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-nav-links a:hover { color: var(--color-primary); }
.footer-contact-item {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.86);
  transition: color 0.2s;
}
.footer-contact-item a:hover { color: var(--color-primary); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
}

/* === CITY PAGE HERO VARIANT === */
.hero-city-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(189,0,3,0.15);
  border: 1px solid rgba(189,0,3,0.3);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .utility-inner { flex-direction: column; gap: 0.3rem; font-size: 0.72rem; }

  /* --- mobile nav / hamburger menu --- */
  .nav-inner { gap: 0.5rem; }
  .nav-logo { margin-right: auto; }
  .brand-logo--nav { height: 60px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px 10px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-secondary);
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 16px 26px rgba(0,0,0,0.16);
    padding: 0.25rem 0 0.75rem;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    z-index: 90;
  }
  .nav-menu.is-open { display: block; }

  .nav-links {
    display: block;
    gap: 0;
  }
  .nav-links > li {
    border-bottom: 1px solid #eee;
    position: relative;
  }
  .nav-links > li > a {
    display: block;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
  }
  .nav-caret { display: none; }

  .nav-submenu-toggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 51px;
    background: none;
    border: none;
    border-left: 1px solid #eee;
    cursor: pointer;
  }
  .nav-submenu-toggle::before,
  .nav-submenu-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 2px;
    background: var(--color-secondary);
    transform: translate(-50%, -50%);
  }
  .nav-submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.2s ease;
  }
  .nav-has-dropdown.is-expanded .nav-submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(0);
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--color-light);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav-dropdown::before { display: none; }
  .nav-has-dropdown.is-expanded .nav-dropdown { display: block; }
  .nav-dropdown li { border-bottom: 1px solid #e4e4e4; }
  .nav-dropdown li:last-child { border-bottom: none; }
  .nav-dropdown a {
    padding: 0.75rem 1.5rem 0.75rem 2.25rem;
    font-size: 0.88rem;
    white-space: normal;
  }
  .nav-dropdown-all { margin-top: 0; padding-top: 0; }

  .nav-menu .nav-cta {
    display: block;
    margin: 0.9rem 1.5rem 0.25rem;
    text-align: center;
  }

  .hero-image-block { display: none; }
  .problem-cards { grid-template-columns: 1fr; }
  .authority-inner { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .plan-steps { grid-template-columns: 1fr; }
  .plan-steps::before { display: none; }
  .transformation { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-cards { grid-template-columns: 1fr; }
  .locations-columns { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .prefooter-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  html, .testimonial-track { scroll-behavior: auto !important; }
}

/* === GUIDES === */
.guide {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4.5rem;
}
.guide-breadcrumb {
  font-size: 0.78rem;
  color: #6a6a6a;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.guide-breadcrumb a { color: var(--color-primary); }
.guide-header { margin-bottom: 2.5rem; border-bottom: 3px solid var(--color-primary); padding-bottom: 1.75rem; }
.guide-header .eyebrow { margin-bottom: 0.4rem; }
.guide-kicker { font-size: 0.85rem; color: #6a6a6a; margin-bottom: 0.5rem; }
.guide-kicker a { color: var(--color-primary); font-weight: 600; }
.guide-header h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); line-height: 1.15; }
.guide-standfirst { margin-top: 1rem; font-size: 1.05rem; line-height: 1.7; color: #3a3a3a; }
.guide-body { font-size: 1rem; line-height: 1.8; color: #333; }
.guide-body > h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  margin: 2.75rem 0 1rem;
  padding-top: 0.5rem;
}
.guide-body > h3 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.guide-body p { margin-bottom: 1.25rem; }
.guide-body ul, .guide-body ol { margin: 0 0 1.5rem 1.4rem; }
.guide-body ul { list-style: disc; }
.guide-body ol { list-style: decimal; }
.guide-body li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.guide-body a { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.guide-body strong { color: var(--color-secondary); }
.guide-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.75rem;
  font-size: 0.92rem;
}
.guide-body th, .guide-body td {
  border: 1px solid #ddd;
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.guide-body th { background: var(--color-light); font-family: var(--font-heading); font-size: 0.82rem; }
.guide-body blockquote {
  border-left: 4px solid var(--color-primary);
  background: var(--color-light);
  padding: 1rem 1.25rem;
  margin: 0 0 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.guide-body blockquote p:last-child { margin-bottom: 0; }
.guide-body .guide-keytakeaway {
  background: var(--color-light);
  border: 1px solid #e2e2e2;
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 2rem 0;
}
.guide-body .guide-keytakeaway p:last-child { margin-bottom: 0; }
.guide-services, .guide-related {
  margin-top: 2.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--color-light);
  border-radius: var(--radius);
}
.guide-services h2, .guide-related h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 0.85rem;
}
.guide-services ul, .guide-related ul { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.guide-services a, .guide-related a { color: var(--color-primary); font-weight: 600; }
.guide-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e2e2;
  text-align: center;
}
.guide-cta p { font-size: 0.95rem; color: #444; max-width: 560px; margin: 0 auto 1.25rem; line-height: 1.7; }

/* Guides hub */
.guides-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.guides-hub-card {
  border: 1px solid #e4e4e4;
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.guides-hub-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.guides-hub-card h3 a { color: var(--color-secondary); }
.guides-hub-card p { font-size: 0.9rem; color: #555; line-height: 1.65; margin-bottom: 0.9rem; }
.guides-hub-card ul { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.guides-hub-card ul a { font-size: 0.85rem; color: var(--color-primary); font-weight: 600; }
@media (max-width: 700px) { .guides-hub-grid { grid-template-columns: 1fr; } }

/* Related guides on service pages */
.service-guides { padding: 3rem 0; background: var(--color-light); }
.service-guides-list {
  list-style: none;
  margin: 2rem auto 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.service-guides-list li {
  border-left: 3px solid var(--color-primary);
  padding: 0.25rem 0 0.25rem 1rem;
}
.service-guides-list a { color: var(--color-secondary); font-weight: 700; }
.service-guides-list span { display: block; font-size: 0.88rem; color: #555; margin-top: 0.2rem; line-height: 1.6; }

/* === CONTACT FORM === */
.contact-form {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--color-secondary);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid #d6d6d6;
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.contact-form button.btn-primary {
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
}
@media (max-width: 900px) {
  .contact-form { padding: 1.5rem; }
}

/* === REAL PHOTOS — HERO PANEL === */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #140D0D 0%, rgba(20,13,13,0.55) 30%, rgba(20,13,13,0.1) 60%);
}

/* === REAL PHOTOS — AUTHORITY / FACILITY PANEL === */
.authority-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === REAL PHOTOS — OVERVIEW SECONDARY IMAGE === */
.overview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.overview-image-block {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
}
.overview-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .overview-inner { grid-template-columns: 1fr; }
  .overview-image-block { height: 300px; }
}

/* === TESTIMONIAL CAROUSEL === */
.testimonials-head { position: relative; }
.testimonials-head .text-link { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; }
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track .testimonial-card {
  flex: 0 0 clamp(260px, 32%, 340px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.testimonial-track .testimonial-quote {
  max-height: 220px;
  overflow-y: auto;
}
.carousel-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: var(--color-white);
  color: var(--color-secondary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.carousel-arrow:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }
@media (max-width: 768px) {
  .testimonial-track .testimonial-card { flex-basis: 82%; }
  .carousel-arrow { display: none; }
}

/* === CENTERPIECE HERO + FORMS (SKILL-SBBC Section 1 / SKILL-HTML-PAGE 5A) === */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}
.hero-inner--split .hero-content { max-width: none; }
.hero-content .pill-heading {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--color-white);
  background: rgba(189, 0, 3, 0.22);
  border: 1px solid rgba(189, 0, 3, 0.55);
  border-radius: var(--radius);
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.hero-oneliner {
  color: var(--color-white);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 1.1rem;
}
.hero-inner--split .hero-subhead { max-width: none; margin-bottom: 1.25rem; }
.hero-subhead strong { color: var(--color-white); }
.hero-price {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--color-primary);
  padding: 0.6rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-content .proof-bullets { margin-bottom: 0; }
.proof-bullets li strong { color: var(--color-white); }
.hero-form-card {
  background: var(--color-white);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
}
.hero-qualifier {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-secondary);
  margin-bottom: 0.9rem;
}
.hero-form { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-form .btn-primary {
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-heading);
}
.hero-phone { margin-top: 0.85rem; text-align: center; font-size: 0.9rem; }
.hero-phone a { color: var(--color-primary); font-weight: 700; }
@media (max-width: 900px) {
  .hero-inner--split { grid-template-columns: 1fr; gap: 2rem; }
}

/* === PRICING (SKILL-SBBC 4A) === */
.pricing { background: var(--color-light); padding: var(--section-pad); }
.pricing-inner { max-width: 760px; margin: 0 auto; }
.pricing h2 { margin-bottom: 1.25rem; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; background: var(--color-white); }
.price-table th, .price-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ddd;
  font-size: 0.93rem;
}
.price-table th { font-family: var(--font-heading); font-size: 0.82rem; width: 38%; background: #fafafa; }
.pricing-note { color: #444; margin-bottom: 0.9rem; line-height: 1.7; font-size: 0.95rem; }
.pricing-note a { color: var(--color-primary); font-weight: 700; }
.price-factors { list-style: disc; margin: 0 0 1.4rem 1.3rem; color: #444; font-size: 0.93rem; line-height: 1.7; }
.price-factors li { margin-bottom: 0.3rem; }

/* === GUIDE CARD (SKILL-SBBC 6A) === */
.guide-card { background: var(--color-white); border-top: 1px solid #e4e4e4; border-bottom: 1px solid #e4e4e4; padding: 1.1rem 0; text-align: center; }
.guide-card p { font-size: 0.98rem; color: #333; }
.guide-card a { color: var(--color-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* === FOOTER FORM (SKILL-HTML-PAGE 15A) === */
.contact-footer-form { background: var(--color-light); padding: var(--section-pad); }
.contact-footer-form h2 { text-align: center; margin-bottom: 1.5rem; }
.contact-footer-form-card { max-width: 560px; margin: 0 auto; background: var(--color-white); border-top: 4px solid var(--color-primary); border-radius: var(--radius); padding: 1.5rem; }

/* === CITY PAGES: BREADCRUMB, LOCAL FACTORS, NEARBY CITIES (SKILL-CITYLINKS) === */
.city-breadcrumb { background: var(--color-secondary); padding: 0.7rem 0; font-size: 0.82rem; }
.city-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; list-style: none; color: rgba(255,255,255,0.78); }
.city-breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: rgba(255,255,255,0.45); }
.city-breadcrumb a { color: var(--color-white); text-decoration: underline; text-underline-offset: 2px; }
.local-factors { max-width: 760px; margin: 0 auto; }
.local-factors h3 { font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.local-factors p { margin-bottom: 1rem; color: #444; font-size: 0.98rem; line-height: 1.75; }
.local-factors ul { list-style: disc; margin: 0 0 1rem 1.3rem; color: #444; line-height: 1.7; }
.nearby-cities { background: var(--color-light); padding: 2.25rem 0; }
.nearby-cities h2 { font-size: 1.25rem; margin-bottom: 1rem; text-align: center; }
.nearby-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.nearby-chips a { display: inline-block; background: var(--color-white); border: 1px solid #d9d9d9; border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.86rem; font-weight: 600; color: var(--color-primary); }
.nearby-chips a:hover { border-color: var(--color-primary); }

/* Guides hub: complete guides by service */
.guides-service-guides { margin-top: 3rem; }
.guides-service-guides p { color: #555; margin-bottom: 1rem; }
.guides-service-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.5rem; }
.guides-service-list a { color: var(--color-primary); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 700px) { .guides-service-list { grid-template-columns: 1fr; } }
