/* ============================================================
   TEXAS TRUCK INJURY - main stylesheet
   Fonts: Montserrat (headings 800, body 400-700)
   ============================================================ */

:root {
  --red: #e42320;
  --red-dark: #b8120f;
  --ink: #141414;
  --ink-soft: #1d1d1d;
  --white: #ffffff;
  --gray: #5b5b5b;
  --gray-light: #f4f4f4;
  --line: #e6e6e6;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --wrap: 1280px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Guard against horizontal scrollbars from full-bleed decorative elements
   (e.g. the homepage ticker). `clip` keeps position: sticky working. */
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--red); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid currentColor;
  padding: 8px 14px;
  margin-bottom: 22px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 18px 30px;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }

.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #ffe9e8; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn .arrow { font-weight: 700; }

/* ============================================================
   TOP BAR / HEADER
   ============================================================ */
.site-topbar {
  background: var(--ink);
  color: #fff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 1;
  min-width: 0;
}

.brand-mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(13px, 4.4vw, 22px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark .divider { color: var(--red); margin: 0 6px; }

.brand-sub {
  display: block;
  font-size: clamp(8px, 2.2vw, 10px);
  letter-spacing: 0.5em;
  font-weight: 600;
  color: #bbb;
  margin-top: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav { flex-shrink: 1; min-width: 0; }

.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--red); }

/* Dropdown sub-menus (desktop): reveal on hover/focus. */
.main-nav li { position: relative; }

.main-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  vertical-align: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.main-nav .sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 250px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--ink);
  border-top: 2px solid var(--red);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

/* Invisible bridge so the menu stays open while moving the cursor down. */
.main-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu a {
  display: block;
  padding: 11px 22px;
  white-space: normal;
  font-size: 12px;
}

.main-nav .sub-menu a:hover { color: var(--red); }

.topbar-contact { text-align: right; flex-shrink: 0; }

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  white-space: nowrap;
}

.topbar-phone:hover { color: var(--red); }

.topbar-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 2px;
  white-space: nowrap;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
}

.mobile-nav-toggle span:nth-child(1) { top: 15px; }
.mobile-nav-toggle span:nth-child(2) { top: 21px; }
.mobile-nav-toggle span:nth-child(3) { top: 27px; }

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: var(--red-dark);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(198,26,23,0.95) 0%, rgba(198,26,23,0.82) 45%, rgba(22,10,10,0.60) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}

.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;
}

.hero-eyebrow { color: #fff; }

.hero h1 {
  font-size: clamp(44px, 5.4vw, 84px);
  color: #fff;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: #ffe3e2;
  margin-bottom: 26px;
  max-width: 46ch;
}

.hero-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hero-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: #fff;
}

.check-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-top: 1px;
}

/* Lead form card */
.lead-card {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 30px 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 400px;
  justify-self: end;
}

.lead-card h2 {
  font-size: 26px;
  margin-bottom: 4px;
  color: var(--ink);
}

.lead-card .lead-rule {
  width: 56px;
  height: 4px;
  background: var(--red);
  margin-bottom: 18px;
}

.lead-card label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 14px 0 6px;
}

.lead-card input[type="text"],
.lead-card input[type="email"],
.lead-card input[type="tel"],
.lead-card textarea,
.lead-card select {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  background: #fafafa;
}

.lead-card textarea { min-height: 76px; resize: vertical; }

.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-row > * { min-width: 0; }

.lead-checks { display: flex; gap: 18px; margin-top: 6px; font-size: 14px; }
.lead-checks label, .lead-agree label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  font-size: 14px;
}

.lead-agree { margin-top: 12px; font-size: 13px; color: var(--gray); }

.lead-agree a { display: block; margin-top: 6px; }

.lead-card .btn { width: 100%; margin-top: 18px; }

.lead-note {
  text-align: center;
  font-size: 11px;
  color: var(--gray);
  margin-top: 12px;
  margin-bottom: 0;
}

.lead-success {
  background: #e9f7ee;
  border: 1px solid #bfe6c9;
  color: #1c6b34;
  padding: 14px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 12px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--ink);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 44px;
  padding-bottom: 44px;
}

.stat {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 0 36px;
  align-items: start;
}

.stat + .stat { border-left: 1px solid #333; }

.stat-icon {
  width: 52px;
  height: 52px;
  color: #fff;
}

.stat-icon svg { width: 100%; height: 100%; }

.stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 38px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-text { font-size: 14px; color: #d7d7d7; line-height: 1.6; margin: 0; }

/* ============================================================
   COMPANY CASE
   ============================================================ */
.company-case { padding: 84px 0 70px; }

.cc-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.company-case h2 { font-size: clamp(34px, 3.4vw, 52px); }
.company-case h2 .red { color: var(--red); }

.cc-intro { color: var(--gray); font-size: 16px; }

.cc-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cc-col { padding: 0 28px; }
.cc-col + .cc-col { border-left: 1px solid var(--line); }
.cc-col:first-child { padding-left: 0; }

.cc-num {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--red);
  font-size: 15px;
  letter-spacing: 0.1em;
}

.cc-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 3px solid var(--red);
  display: inline-block;
  padding-top: 8px;
  margin: 6px 0 18px;
}

.cc-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  color: var(--ink);
}
.cc-icon svg { width: 100%; height: 100%; }

.cc-col h3 { font-size: 21px; margin-bottom: 12px; }
.cc-col p { font-size: 14.5px; color: var(--gray); margin: 0; }

/* ============================================================
   72 HOURS
   ============================================================ */
.hours72 {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
}

.hours72-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.hours72-head h2 {
  font-size: clamp(32px, 3.4vw, 54px);
  margin: 0;
}

.hours72-head h2 .dash {
  display: block;
  width: 54px;
  height: 5px;
  background: var(--red);
  margin-top: 10px;
}

.hours72-sub { color: #cfcfcf; font-size: 15px; max-width: 34ch; margin: 0; }

.hours72-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step { padding: 0 30px; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.step + .step { border-left: 1px solid #333; }
.step:first-child { padding-left: 0; }

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-icon { width: 44px; height: 44px; color: #fff; margin-bottom: 10px; }
.step-icon svg { width: 100%; height: 100%; }

.step h3 { font-size: 15px; letter-spacing: 0.04em; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: #cfcfcf; margin: 0; line-height: 1.65; }

/* ============================================================
   PETITION TABLE
   ============================================================ */
.petition { padding: 84px 0; }

.petition h2 { font-size: clamp(30px, 3vw, 46px); margin-bottom: 8px; }
.petition h2 .rule {
  display: block;
  width: 54px;
  height: 5px;
  background: var(--red);
  margin-top: 12px;
}

.petition-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 14.5px; }

.petition-table th {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #ececec;
  padding: 12px 16px;
  border: 1px solid #dcdcdc;
}

.petition-table td {
  padding: 12px 16px;
  border: 1px solid #e2e2e2;
  vertical-align: top;
}

.petition-table td:first-child { font-weight: 700; }

.petition-note { color: var(--gray); font-size: 14.5px; margin-top: 18px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--red); color: #fff; }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.cta-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-band h2 { font-size: clamp(28px, 8.5vw, 68px); color: #fff; margin: 0; overflow-wrap: break-word; }

.cta-right { border-left: 1px solid rgba(255,255,255,0.4); padding-left: 60px; display: grid; gap: 16px; }

.cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 6vw, 30px);
  text-decoration: none;
  border-radius: var(--radius);
  padding: 16px 24px;
  max-width: 100%;
}

.cta-meta {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-disclaimer { font-size: 12px; color: #a9a9a9; line-height: 1.7; margin: 0; }

.footer-areas {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  color: #d7d7d7;
}

.footer-areas a { color: #d7d7d7; text-decoration: none; }
.footer-areas a:hover { color: #fff; text-decoration: underline; }
.footer-sep { color: #6b6b6b; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-top: 1px solid #333;
  padding-top: 18px;
  padding-bottom: 26px;
  font-size: 12px;
  color: #8a8a8a;
}

.footer-affiliation { text-align: right; }

/* ============================================================
   INTERIOR PAGES
   ============================================================ */
.page-hero { background: var(--ink); color: #fff; padding: 72px 0; }
.page-hero h1 { font-size: clamp(36px, 4vw, 60px); margin: 10px 0; }
.page-hero .eyebrow { color: #fff; }
.page-hero p.lede { color: #d7d7d7; font-size: 18px; max-width: 62ch; margin: 0; }

.page-body { padding: 64px 0; }
.page-body .wrap { max-width: 860px; }
.page-body h2 { font-size: 30px; margin-top: 1.6em; }
.page-body h3 { font-size: 22px; margin-top: 1.4em; }
.page-body p, .page-body li { font-size: 16.5px; color: #333; }
.page-body ul { padding-left: 22px; }

.blog-index { padding: 64px 0; }
.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 24px;
  background: #fff;
}
.post-card h2 { font-size: 26px; text-transform: none; letter-spacing: 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--red); }
.post-meta { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: 30px; }
.contact-phone-big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 7vw, 34px);
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: inline-block; position: absolute; right: 28px; top: 10px; }
  .topbar-inner { position: relative; flex-wrap: wrap; row-gap: 14px; }
  .brand { flex: 1 1 100%; justify-content: flex-start; text-align: left; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    z-index: 50;
  }
  .main-nav.open ul { flex-direction: column; gap: 0; padding: 10px 28px 20px; }
  .main-nav.open li { border-top: 1px solid #333; }
  .main-nav.open a { display: block; padding: 12px 0; }
  /* Mobile: child links show expanded and indented under their parent. */
  .main-nav.open .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0 0 4px 18px;
    border-top: none;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav.open .sub-menu::before { display: none; }
  .main-nav.open .sub-menu li { border-top: none; }
  .main-nav.open .sub-menu a { padding: 9px 0; font-size: 12px; color: #d7d7d7; }
  .site-topbar { position: relative; }
  .topbar-phone { font-size: 19px; }
  .topbar-meta { display: none; }
  .topbar-contact { order: 3; flex-basis: 100%; text-align: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .lead-card { justify-self: start; max-width: 520px; }
  .cc-grid { grid-template-columns: 1fr; gap: 40px; }
  .hours72-grid { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .step:nth-child(3) { border-left: none; padding-left: 0; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-right { border-left: none; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-areas { text-align: left; }
}

@media (max-width: 820px) {
  .topbar-phone { font-size: 17px; }
  .hours72-head { flex-direction: column; gap: 18px; margin-bottom: 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; gap: 36px; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat + .stat { border-left: none; border-top: 1px solid #333; padding-top: 30px; }
  .stat { padding-left: 0; padding-right: 0; }
  .cc-columns { grid-template-columns: 1fr; gap: 30px; }
  .cc-col + .cc-col { border-left: none; border-top: 1px solid var(--line); padding-top: 30px; }
  .cc-col { padding-left: 0; padding-right: 0; }
  .hours72-grid { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid #333; padding-top: 30px; }
  .step { padding-left: 0; padding-right: 0; }
  .petition-table thead { display: none; }
  .petition-table, .petition-table tbody, .petition-table tr, .petition-table td { display: block; width: 100%; }
  .petition-table tr { margin-bottom: 16px; border: 1px solid #e2e2e2; }
  .petition-table td { border: none; border-bottom: 1px solid #eee; }
  .petition-table td:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Small phones: stack the topbar so the phone number always sits on one clean line */
@media (max-width: 600px) {
  .lead-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .lead-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .brand { gap: 8px; }
  .brand-mark { letter-spacing: 0; font-size: 18px; }
  .brand-mark .divider { margin: 0 2px; }
  .brand-sub { letter-spacing: 0.32em; }
  .mobile-nav-toggle { width: 36px; height: 36px; right: 20px; }
  .mobile-nav-toggle span { left: 9px; right: 9px; }
  .mobile-nav-toggle span:nth-child(1) { top: 12px; }
  .mobile-nav-toggle span:nth-child(2) { top: 17px; }
  .mobile-nav-toggle span:nth-child(3) { top: 22px; }
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1),
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 17px; }
  .cta-meta { font-size: 11px; letter-spacing: 0.1em; }
}

/* Very small phones: keep the brand clear of the menu button */
@media (max-width: 360px) {
  .brand-mark { font-size: 14px; }
}

/* ============================================================
   Sidebar layout (interior pages)
   ============================================================ */
.page-body .wrap.has-sidebar { max-width: var(--wrap); }
.has-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
.lead-card-compact h2 { font-size: 24px; }
.lead-card-compact .lead-row { grid-template-columns: 1fr; }
@media (max-width: 960px) {
  .has-sidebar { grid-template-columns: 1fr; gap: 40px; }
  .sidebar .lead-card { max-width: 520px; }
}

/* ============================================================
   Custom blocks
   ============================================================ */
.tti-block { margin: 44px 0; }
.tti-block-heading { margin: 0 0 24px; }

/* Case results */
.tti-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.tti-result-card {
  background: var(--ink);
  color: #fff;
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
}
.tti-result-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 3vw, 46px);
  color: #fff;
  line-height: 1.1;
}
.tti-result-rule {
  width: 56px;
  height: 3px;
  background: var(--red);
  margin: 18px auto;
}
.tti-result-text { color: #d9d9d9; font-size: 16px; margin: 0; }

/* Testimonial */
.tti-testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 36px 38px;
}
.tti-stars { color: var(--red); font-size: 22px; letter-spacing: 5px; margin-bottom: 14px; }
.tti-quote { font-size: 17.5px; line-height: 1.75; color: var(--ink); margin: 0; }
.tti-client { font-weight: 700; margin-top: 18px; font-size: 16px; }
.tti-source { color: var(--gray); font-size: 14px; margin-top: 2px; }

/* Call to action */
.tti-cta {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.tti-cta-heading {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0;
  max-width: 22ch;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.tti-cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.tti-cta .btn { white-space: nowrap; max-width: 100%; }
@media (max-width: 700px) {
  .tti-cta { padding: 36px 28px; flex-direction: column; align-items: stretch; }
  .tti-cta-heading { max-width: none; }
  .tti-cta-buttons { flex-direction: column; }
  .tti-cta .btn { white-space: normal; text-align: center; }
}

/* Homepage CTA band: keep both buttons on a single line on phones. */
@media (max-width: 700px) {
  .cta-phone {
    white-space: nowrap;
    font-size: clamp(15px, 4.6vw, 24px);
    padding: 16px 20px;
  }
  .cta-right .btn {
    white-space: nowrap;
    font-size: clamp(11px, 3.4vw, 14px);
    letter-spacing: 0.04em;
    padding: 16px 18px;
  }
}

/* Block text inside page content must beat .page-body element selectors */
.page-body .tti-result-text { color: #d9d9d9; }
.page-body .tti-quote { color: var(--ink); }
.page-body .tti-cta-heading { margin: 0; font-size: clamp(22px, 2.6vw, 32px); }
.page-body .tti-block-heading { margin: 0 0 24px; }

/* FAQ accordion */
.tti-faq-list { display: flex; flex-direction: column; gap: 12px; }
.tti-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.tti-faq-item[open] { border-color: var(--red); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.tti-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  margin: 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
}
.tti-faq-q::-webkit-details-marker { display: none; }
.tti-faq-q::marker { content: ""; }
.tti-faq-q:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tti-faq-icon { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.tti-faq-icon::before, .tti-faq-icon::after {
  content: "";
  position: absolute;
  background: var(--red);
  border-radius: 2px;
}
.tti-faq-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.tti-faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; transition: transform .3s ease; }
.tti-faq-item[open] .tti-faq-icon::after { transform: scaleY(0); }
.tti-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.tti-faq-item[open] .tti-faq-a { grid-template-rows: 1fr; }
.tti-faq-a-inner { overflow: hidden; }
.tti-faq-a p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.7; color: #333; }

/* FAQ answer text must beat .page-body element selectors */
.page-body .tti-faq-a p { color: #333; margin: 0; }
