:root {
  --black: #0b0b0d;
  --soft-black: #151518;
  --red: #b11226;
  --red-hover: #8f0e1f;
  --light-grey: #f5f5f5;
  --line: #28282d;
  --mid-grey: #a1a1aa;
  --dark-grey: #444444;
  --white: #ffffff;
  --paper: #f7f7f8;
  --paper-deep: #eeeeef;
  --surface-line: #dedee4;
  --max: 1180px;
  --shadow: 0 10px 14px rgba(0, 0, 0, 0.14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--soft-black);
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.98) 0, rgba(14, 14, 16, 0.96) 22rem, rgba(244, 244, 245, 0.94) 41rem, rgba(247, 247, 248, 0.95) 100%),
    url("../img/claimgrid-atmosphere-light.webp") center 24rem / min(1600px, 160vw) auto repeat-y,
    var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(177, 18, 38, 0.34);
  outline-offset: 3px;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--red);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(11, 11, 13, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 2rem, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 1.2rem;
  font-weight: 760;
}

.brand-logo {
  flex: 0 0 auto;
  width: 86px;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.desktop-nav,
.nav-actions {
  display: none;
}

.desktop-nav {
  --nav-indicator-left: 0px;
  --nav-indicator-width: 0px;
  --nav-indicator-opacity: 0;
  position: relative;
  align-items: center;
  gap: 0.18rem;
  padding: 0.32rem;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 0.68rem;
  font-size: 0.91rem;
}

.desktop-nav a,
.nav-dropdown-trigger {
  position: relative;
  z-index: 1;
  padding: 0.55rem 0.5rem;
  border-radius: 0.48rem;
  transition: color 180ms ease, background 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.nav-dropdown {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 1.25rem;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.nav-caret {
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.2rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.is-open .nav-caret {
  transform: rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1.15rem);
  left: 50%;
  width: min(72rem, calc(100vw - 3rem));
  padding: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(17rem, 1.45fr);
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(11, 11, 13, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 180ms var(--ease-out), visibility 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.desktop-nav .nav-dropdown-menu a {
  min-height: 9.75rem;
  padding: 1.15rem 0.95rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.desktop-nav .nav-dropdown-menu a::before {
  content: "";
  width: 4.25rem;
  height: 4.25rem;
  background: var(--nav-service-icon) center / contain no-repeat;
}

.desktop-nav .nav-dropdown-menu a:nth-child(1) {
  --nav-service-icon: url("../img/nav-service-pcp.png");
}

.desktop-nav .nav-dropdown-menu a:nth-child(2) {
  --nav-service-icon: url("../img/nav-service-housing.png");
}

.desktop-nav .nav-dropdown-menu a:nth-child(3) {
  --nav-service-icon: url("../img/nav-service-injury.png");
}

.desktop-nav .nav-dropdown-menu a.is-active {
  color: var(--white);
  background: rgba(177, 18, 38, 0.2);
}

.desktop-nav .nav-dropdown-menu .nav-dropdown-cta {
  min-height: 9.75rem;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--white);
  background: rgba(177, 18, 38, 0.42);
  text-align: center;
  white-space: normal;
}

.desktop-nav .nav-dropdown-menu .nav-dropdown-cta::before {
  content: none;
}

.nav-dropdown-cta-title {
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.nav-dropdown-cta-text {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.nav-dropdown-cta-button {
  padding: 0.65rem 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.desktop-nav a.is-active,
.nav-dropdown-trigger.is-active {
  color: var(--white);
}

.desktop-nav::after {
  content: "";
  position: absolute;
  left: var(--nav-indicator-left);
  bottom: 0.24rem;
  width: var(--nav-indicator-width);
  height: 3px;
  background: linear-gradient(90deg, rgba(177, 18, 38, 0.35), var(--red), rgba(255, 255, 255, 0.72));
  border-radius: 999px;
  opacity: var(--nav-indicator-opacity);
  box-shadow: 0 0 0 1px rgba(177, 18, 38, 0.16), 0 7px 12px rgba(177, 18, 38, 0.24);
  transition:
    left 460ms cubic-bezier(0.22, 1, 0.36, 1),
    width 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
  pointer-events: none;
}

.nav-actions {
  align-items: center;
  gap: 0.7rem;
}

.nav-actions .button.is-active {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.mobile-nav {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 0 0 1rem;
  display: grid;
  gap: 0.7rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.78rem 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.55rem;
}

.mobile-services-group {
  display: grid;
  gap: 0.55rem;
}

.mobile-services-label {
  display: block;
  padding: 0.35rem 0.9rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-services-label.is-active {
  color: var(--white);
}

.mobile-nav .mobile-service-link {
  margin-left: 0.8rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(177, 18, 38, 0.55);
}

.mobile-nav a.is-active {
  color: var(--white);
  background: rgba(177, 18, 38, 0.16);
  border-color: rgba(177, 18, 38, 0.38);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, rgba(244, 244, 245, 0.98), rgba(255, 255, 255, 0.94)),
    url("../img/claimgrid-atmosphere-light.webp") right -20rem top -10rem / 940px auto no-repeat,
    var(--paper);
}

.hero + .section {
  padding-top: 2.75rem;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-tight + .section {
  padding-top: 1.5rem;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(11, 11, 13, 0.96), rgba(21, 21, 24, 0.95)),
    url("../img/claimgrid-atmosphere-dark.webp") center / cover no-repeat,
    #0b0b0d;
  background-size: 78px 78px, 78px 78px, auto, cover;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(239, 239, 241, 0.98), rgba(247, 247, 248, 0.94)),
    url("../img/claimgrid-atmosphere-light.webp") right -24rem top -12rem / 900px auto no-repeat,
    var(--paper-deep);
}

.section-dark + .section,
.standard-section + .section,
.page-hero + .section,
.page-hero + .visual-band {
  box-shadow: inset 0 28px 34px rgba(11, 11, 13, 0.055);
}

.section-header {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  position: relative;
}

.section-header h2::before {
  content: "";
  display: block;
  width: 3.35rem;
  height: 0.28rem;
  margin-bottom: 0.85rem;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0));
  border-radius: 999px;
}

.section-header.center h2::before {
  margin-inline: auto;
}

#services .section-header {
  max-width: none;
}

#services .section-header p.lead {
  margin-top: 1.25rem;
  margin-bottom: 0;
  text-align: left;
}


.section-header.center {
  margin-inline: auto;
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: 2.15rem;
}

h2 {
  font-size: 1.95rem;
}

h3 {
  font-size: 1.18rem;
}

.lead {
  margin-top: 1rem;
  color: var(--dark-grey);
  font-size: 1.03rem;
}

.section-dark .lead,
.section-dark .muted,
.hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.muted {
  color: #66666f;
}

.text-brand {
  color: var(--red);
}

.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(177, 18, 38, 0.28), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
    url("../img/claimgrid-atmosphere-dark.webp") center / cover no-repeat,
    var(--black);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 13, 0.9), rgba(11, 11, 13, 0.54) 52%, rgba(11, 11, 13, 0.9));
  background-size: 80px 80px, 80px 80px, auto;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: calc(88svh - 76px);
  padding: 3.5rem 0 3rem;
  display: grid;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  max-width: 820px;
  font-size: 2.1rem;
}

.hero .lead {
  max-width: 760px;
  margin-top: 1.3rem;
  font-size: 1.04rem;
}

.cta-row {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.05rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font-weight: 760;
  line-height: 1;
  transition: transform 150ms var(--ease-out), background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 14px rgba(177, 18, 38, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-hover);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button-dark {
  color: var(--white);
  background: var(--soft-black);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--black);
}

.button-light {
  color: var(--soft-black);
  background: var(--white);
  border-color: #dedee4;
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--mid-grey);
}

.trust-line {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0.85rem -0.85rem -0.85rem 0.85rem;
  background: rgba(177, 18, 38, 0.2);
  border-radius: 1rem;
  opacity: 0.62;
}

.hero-visual img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 14px rgba(0, 0, 0, 0.42);
  filter: saturate(0.82) contrast(0.98);
}

.trust-strip-section {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.98), rgba(17, 17, 20, 0.98)),
    url("../img/claimgrid-atmosphere-dark.webp") center bottom / cover no-repeat,
    var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip-section + .section {
  padding-top: 3.5rem;
  background:
    linear-gradient(180deg, rgba(239, 239, 241, 0.98), rgba(249, 249, 250, 0.94) 42%, rgba(255, 255, 255, 0.92)),
    url("../img/claimgrid-atmosphere-light.webp") right -18rem top -6rem / 920px auto no-repeat,
    var(--paper);
}

.trust-strip,
.hero-trust {
  padding: 1rem 0;
  display: grid;
  gap: 0.75rem;
}

.hero-trust {
  grid-template-columns: 1fr;
}

.hero-trust span {
  position: relative;
  padding: 0.82rem 0.9rem 0.82rem 2.1rem;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.62rem;
  font-size: 0.92rem;
  font-weight: 720;
}

.hero-trust span::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
}

.trust-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.7rem;
}

.trust-item span {
  color: var(--white);
  font-weight: 820;
}

.trust-item p {
  margin-top: 0.32rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
}

#professional-process {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 247, 248, 0.91)),
    url("../img/claimgrid-atmosphere-light.webp") left -18rem bottom -10rem / 900px auto no-repeat,
    var(--paper);
}

.pathway-strip {
  display: grid;
  gap: 0.75rem;
}

.pathway-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--surface-line);
  border-radius: 0.75rem;
}

.pathway-item > span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 850;
  line-height: 1;
}

.pathway-item h2 {
  font-size: 1.02rem;
}

.pathway-item p {
  margin-top: 0.35rem;
  color: #5a5a63;
  font-size: 0.94rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-3,
.cards-2,
.cards-4,
.cards-6 {
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  height: 100%;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(11, 11, 13, 0.1);
  border-color: rgba(177, 18, 38, 0.32);
}

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

.card.dark-card {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.card p {
  margin-top: 0.75rem;
  color: #5a5a63;
}

.dark-card p {
  color: rgba(255, 255, 255, 0.76);
}

.claim-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.claim-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(11, 11, 13, 0.12);
  border-color: rgba(177, 18, 38, 0.28);
}

.claim-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0));
  z-index: 3;
}

.claim-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.visual-card {
  min-height: auto;
  justify-content: flex-start;
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(11, 11, 13, 0.1);
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.07);
  padding: 0;
}

.visual-card::before {
  display: block;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0));
}

.visual-card h3 {
  color: var(--soft-black);
  max-width: none;
}

.visual-card p {
  max-width: none;
  color: #55555e;
}

.visual-card .button {
  margin-top: auto;
}

.claim-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--soft-black);
  overflow: hidden;
}

.claim-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.98);
  transition: transform 0.5s var(--ease-out);
}

.claim-card:hover .claim-card-media img {
  transform: scale(1.04);
}

.claim-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.02), rgba(11, 11, 13, 0.42)),
    linear-gradient(90deg, rgba(177, 18, 38, 0.14), transparent 54%);
}

.claim-card-body {
  flex: 1;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.emotional-line {
  color: var(--black);
  font-weight: 720;
}

.mission-copy {
  max-width: 900px;
  display: grid;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
}

.standard-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 11, 13, 0.95), rgba(21, 21, 24, 0.95)),
    url("../img/claimgrid-atmosphere-dark.webp") center / cover no-repeat,
    #0b0b0d;
}

.standard-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.standard-copy {
  max-width: 650px;
}

.standard-copy p:not(.lead) {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.standard-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 50% 50%;
}

.standard-grid article {
  min-height: 170px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.standard-grid article:last-child {
  border-bottom: 0;
}

.standard-grid span {
  width: fit-content;
  margin-bottom: auto;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 850;
}

.standard-grid h3 {
  color: var(--white);
}

.standard-grid p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.method-note,
.honesty-note {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.honesty-note {
  color: var(--soft-black);
  border-color: rgba(177, 18, 38, 0.18);
  background:
    linear-gradient(180deg, rgba(177, 18, 38, 0.055), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.method-note span,
.honesty-note span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 850;
}

.method-note p,
.honesty-note p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  font-weight: 760;
  line-height: 1.45;
}

.honesty-note p {
  color: var(--soft-black);
}

.context-visual,
.support-visual,
.fee-visual {
  overflow: hidden;
  margin: 0;
  display: grid;
  border-radius: 0.85rem;
}

.context-visual,
.fee-visual {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.support-visual {
  margin-bottom: 1rem;
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--surface-line);
}

.context-visual img,
.support-visual img,
.fee-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
  transition: transform 0.5s var(--ease-out);
}

.context-visual:hover img,
.support-visual:hover img,
.fee-visual:hover img {
  transform: scale(1.03);
}

.context-visual figcaption,
.support-visual figcaption,
.fee-visual figcaption {
  padding: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.context-visual figcaption span,
.support-visual figcaption span,
.fee-visual figcaption span {
  color: var(--red);
  font-weight: 850;
}

.context-visual figcaption p,
.fee-visual figcaption p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  font-weight: 720;
}

.support-visual figcaption p {
  color: #55555e;
}

.method-visual {
  overflow: hidden;
  margin: 1.2rem 0 1rem;
  display: grid;
  color: var(--white);
  background: var(--soft-black);
  border: 1px solid rgba(11, 11, 13, 0.12);
  border-radius: 0.85rem;
}

.method-visual-image {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  background: var(--soft-black);
}

.method-visual-image img,
.info-panel-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.method-visual-image img {
  filter: saturate(0.82) contrast(1.02);
}

.method-visual-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.02), rgba(11, 11, 13, 0.32)),
    linear-gradient(90deg, rgba(177, 18, 38, 0.14), transparent 48%);
}

.method-visual figcaption {
  padding: 1.1rem;
  display: grid;
  gap: 0.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
}

.method-visual figcaption span {
  color: var(--red);
  font-weight: 850;
}

.method-visual figcaption p {
  color: rgba(255, 255, 255, 0.78);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
  gap: 0.85rem;
}

.method-step {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 249, 0.94)),
    var(--white);
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.055);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.method-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0));
  pointer-events: none;
}

.method-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.08);
  border-color: rgba(177, 18, 38, 0.24);
}

.method-index {
  position: relative;
  width: 46px;
  height: 46px;
  margin-bottom: 1.4rem;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--soft-black);
  border: 1px solid rgba(177, 18, 38, 0.28);
  border-radius: 0.7rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: inset 0 -12px 20px rgba(177, 18, 38, 0.2);
  transition: transform 0.35s var(--ease-out), background-color 0.35s ease, border-color 0.35s ease;
}

.method-step:hover .method-index {
  transform: scale(1.06) rotate(3deg);
  background-color: var(--red);
  border-color: var(--white);
}

.method-index b {
  position: relative;
  z-index: 1;
}

.method-index::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 22px;
  height: 22px;
  background: #f7f7f8;
  border: 1px solid rgba(177, 18, 38, 0.32);
  border-radius: 0.45rem;
  box-shadow: 0 4px 8px rgba(11, 11, 13, 0.1);
}

.method-issue::after {
  background:
    linear-gradient(#b11226 0 0) center / 10px 2px no-repeat,
    linear-gradient(#b11226 0 0) center / 2px 10px no-repeat,
    #f7f7f8;
}

.method-timeline::after {
  background:
    linear-gradient(#b11226 0 0) left 5px top 5px / 12px 2px no-repeat,
    linear-gradient(#b11226 0 0) left 5px center / 9px 2px no-repeat,
    linear-gradient(#b11226 0 0) left 5px bottom 5px / 12px 2px no-repeat,
    #f7f7f8;
}

.method-evidence::after {
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 43%, #b11226 44% 56%, transparent 57%) right 4px bottom 3px / 9px 9px no-repeat,
    radial-gradient(circle, transparent 36%, #b11226 38% 58%, transparent 60%),
    #f7f7f8;
}

.method-expectations::after {
  background:
    linear-gradient(#b11226 0 0) left 5px top 6px / 12px 2px no-repeat,
    linear-gradient(#b11226 0 0) left 5px center / 12px 2px no-repeat,
    linear-gradient(#b11226 0 0) left 5px bottom 6px / 8px 2px no-repeat,
    #f7f7f8;
}

.method-next::after {
  background:
    linear-gradient(45deg, transparent 46%, #b11226 47% 57%, transparent 58%) center / 16px 16px no-repeat,
    linear-gradient(#b11226 0 0) left 5px center / 11px 2px no-repeat,
    #f7f7f8;
}

.method-step h3 {
  margin-top: 0;
}

.method-step p {
  margin-top: 0.65rem;
  color: #5a5a63;
  font-size: 0.94rem;
}

.support-columns {
  display: grid;
  gap: 1rem;
}

.support-panel {
  padding: 1.35rem;
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.055);
}

.support-panel h3 {
  margin-bottom: 1rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #5a5a63;
  display: grid;
  gap: 0.5rem;
}

.plain-list li::marker {
  color: var(--red);
}

.info-panel-layout {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.info-panel-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 210px;
  background: var(--soft-black);
  border-radius: 0.75rem;
}

.info-panel-visual img {
  filter: saturate(0.8) contrast(0.98);
}

.info-panel-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.01), rgba(11, 11, 13, 0.26)),
    linear-gradient(90deg, rgba(177, 18, 38, 0.12), transparent 58%);
}

.info-panel-copy {
  min-width: 0;
}

.info-card h3 {
  margin-bottom: 1rem;
}

.info-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  color: #5a5a63;
  list-style: none;
}

.info-card li {
  position: relative;
  min-height: 30px;
  padding-left: 2.35rem;
  display: flex;
  align-items: center;
}

.info-card li::before,
.info-card li::after {
  content: "";
  position: absolute;
  flex: 0 0 auto;
}

.info-card li::before {
  left: 0;
  top: 0.02rem;
  width: 28px;
  height: 28px;
  background: var(--soft-black);
  border: 1px solid rgba(177, 18, 38, 0.24);
  border-radius: 0.5rem;
  box-shadow: inset 0 -9px 14px rgba(177, 18, 38, 0.18);
}

.info-card li::after {
  left: 7px;
  top: 8px;
  width: 14px;
  height: 11px;
  border: 2px solid var(--white);
  border-radius: 0.18rem;
}

.info-card .icon-photo::after {
  background:
    radial-gradient(circle at 74% 28%, var(--white) 0 1px, transparent 2px),
    linear-gradient(135deg, transparent 46%, var(--white) 47% 55%, transparent 56%);
}

.info-card .icon-date::after {
  height: 13px;
  top: 7px;
  background: linear-gradient(var(--white) 0 2px, transparent 2px);
}

.info-card .icon-detail::after {
  left: 10px;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 0 -3px var(--white);
}

.info-card .icon-evidence::after {
  left: 8px;
  top: 7px;
  width: 10px;
  height: 10px;
  background: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
  box-shadow: 6px 6px 0 -4px var(--white);
}

.info-card .icon-notes::after {
  left: 8px;
  top: 8px;
  width: 13px;
  height: 12px;
  border: 0;
  border-radius: 0;
  background: repeating-linear-gradient(to bottom, var(--white) 0 2px, transparent 2px 5px);
}

.info-card .icon-document::after {
  height: 14px;
  top: 7px;
  background:
    linear-gradient(135deg, transparent 0 50%, var(--white) 51% 59%, transparent 60%) right top / 7px 7px no-repeat;
}

.tab-system {
  margin-top: 1.2rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 248, 0.94)),
    var(--white);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.055);
}

.tab-list {
  --indicator-left: 0px;
  --indicator-width: 0px;
  position: relative;
  padding: 0.5rem;
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--surface-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.tab-trigger {
  position: relative;
  z-index: 1;
  flex: 1 0 max-content;
  min-height: 46px;
  padding: 0.75rem 1rem;
  color: #50505a;
  background: transparent;
  border: 0;
  border-radius: 0.55rem;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  transition: color 220ms var(--ease-out), background 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.tab-trigger:hover,
.tab-trigger:focus-visible,
.tab-trigger[aria-selected="true"] {
  color: var(--soft-black);
  background: rgba(11, 11, 13, 0.045);
}

.tab-trigger:hover,
.tab-trigger:focus-visible {
  transform: translateY(-1px);
}

.tab-trigger:focus-visible {
  outline: 3px solid rgba(177, 18, 38, 0.24);
  outline-offset: 2px;
}

.tab-indicator {
  position: absolute;
  left: var(--indicator-left);
  bottom: 0.34rem;
  z-index: 2;
  width: var(--indicator-width);
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0.54));
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(177, 18, 38, 0.08), 0 8px 12px rgba(177, 18, 38, 0.18);
  transition: left 420ms cubic-bezier(0.22, 1, 0.36, 1), width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-panels {
  position: relative;
  min-height: 290px;
  overflow: hidden;
}

.tab-panel {
  position: absolute;
  inset: 0;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(var(--panel-offset, 32px)) scale(0.992);
  filter: blur(2px);
  transition:
    opacity 320ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease,
    visibility 0s linear 520ms;
}

.tab-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  filter: blur(0);
  transition:
    opacity 260ms ease 80ms,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease 70ms,
    visibility 0s;
}

.tab-panel.is-exiting {
  --panel-offset: -34px;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0.75rem;
}

.issue-grid span {
  min-height: 74px;
  padding: 1rem;
  display: flex;
  align-items: center;
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  font-weight: 760;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 249, 0.94)),
    var(--white);
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.075);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0));
  pointer-events: none;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(11, 11, 13, 0.12);
  border-color: rgba(177, 18, 38, 0.2);
}

.panel.dark {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.panel.dark:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.075);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--dark-grey);
}

.section-dark .checklist li {
  color: rgba(255, 255, 255, 0.84);
}

.check-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-top: 0.1rem;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.check-icon::before {
  content: "";
  width: 6px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}

.reassurance {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.reassurance span {
  position: relative;
  padding: 0.9rem 1rem;
  padding-left: 2.3rem;
  border: 1px solid var(--surface-line);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 0.5rem;
  font-weight: 720;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
}

.reassurance span:hover {
  transform: translateX(4px);
  border-color: rgba(177, 18, 38, 0.24);
  background: rgba(255, 255, 255, 0.88);
}

.reassurance span::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.42rem;
  width: 0.46rem;
  height: 0.46rem;
  background: var(--red);
  border-radius: 50%;
}

.prep-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: #5a5a63;
  display: grid;
  gap: 0.42rem;
}

.prep-card li::marker {
  color: var(--red);
}

.process {
  counter-reset: step;
}

.process-card {
  overflow: hidden;
  position: relative;
  padding-top: 4.2rem;
}

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 1.2rem;
  left: 1.25rem;
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 850;
}

.notice {
  padding: 1.3rem;
  border: 1px solid rgba(177, 18, 38, 0.22);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(177, 18, 38, 0.06), rgba(177, 18, 38, 0)),
    #fbf0f2;
}

.notice p + p {
  margin-top: 0.75rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(11, 11, 13, 0.05);
  border-color: rgba(177, 18, 38, 0.24);
}

.faq-item summary {
  min-height: 58px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--soft-black);
  font-weight: 820;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: var(--red);
  border: 1px solid rgba(177, 18, 38, 0.22);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 1.15rem 1.15rem;
  color: #5a5a63;
}

.final-cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(120deg, rgba(11, 11, 13, 0.96), rgba(21, 21, 24, 0.95)),
    linear-gradient(90deg, rgba(177, 18, 38, 0.26), transparent 46%),
    url("../img/claimgrid-atmosphere-dark.webp") center / cover no-repeat,
    var(--black);
  background-size: 78px 78px, 78px 78px, auto, auto, cover;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: auto max(1rem, calc((100vw - var(--max)) / 2)) 0;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.58), transparent);
  opacity: 0.78;
  pointer-events: none;
}

.final-cta .lead {
  color: rgba(255, 255, 255, 0.86);
}

.final-cta-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.page-hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(177, 18, 38, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.98), rgba(18, 18, 21, 0.84) 56%, rgba(11, 11, 13, 0.98)),
    url("../img/claimgrid-atmosphere-dark.webp") center / cover no-repeat,
    #0b0b0d;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  opacity: 0.22;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 0;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  height: 0.28rem;
  background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.58), transparent);
  opacity: 0.82;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  min-height: min(520px, calc(72svh - 76px));
  padding: 5.3rem 0 5rem;
  display: grid;
  align-content: center;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 5.6vw, 4rem);
}

.page-hero p {
  max-width: 780px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.1vw, 1.14rem);
}

.rta-hero-shell,
.car-finance-hero-shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.rta-hero-copy,
.car-finance-hero-copy {
  max-width: 720px;
}

.rta-hero-copy h1,
.car-finance-hero-copy h1 {
  max-width: 700px;
}

.rta-hero .contact-form,
.car-finance-hero .contact-form {
  color: var(--soft-black);
}

.rta-hero .contact-form:hover,
.car-finance-hero .contact-form:hover {
  transform: none;
}

.visual-band {
  padding: 1.35rem 0 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 21, 0.98), rgba(244, 244, 245, 0.96) 64%),
    var(--paper);
}

.detail-banner {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 18 / 7;
  background: var(--soft-black);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.9rem;
  box-shadow: 0 14px 18px rgba(11, 11, 13, 0.16);
}

.detail-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.74) contrast(0.98);
}

.detail-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.76), rgba(11, 11, 13, 0.2) 54%, rgba(11, 11, 13, 0.28)),
    linear-gradient(0deg, rgba(11, 11, 13, 0.52), transparent 46%);
  pointer-events: none;
}

.detail-banner figcaption {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  max-width: min(520px, calc(100% - 2.2rem));
  color: rgba(255, 255, 255, 0.82);
}

.detail-banner figcaption span {
  display: inline-block;
  margin-bottom: 0.38rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-banner figcaption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
}

.housing-hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(177, 18, 38, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.96), rgba(11, 11, 13, 0.74) 48%, rgba(11, 11, 13, 0.92)),
    linear-gradient(180deg, rgba(11, 11, 13, 0.12), rgba(11, 11, 13, 0.64)),
    url("../img/housing-disrepair-hero.webp") center / cover no-repeat,
    var(--black);
  overflow: hidden;
}

.housing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: 0.22;
  pointer-events: none;
}

.housing-hero::after {
  content: "";
  position: absolute;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 0;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  height: 0.28rem;
  background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.58), transparent);
  opacity: 0.82;
  pointer-events: none;
}

.housing-hero-shell {
  position: relative;
  z-index: 1;
  min-height: calc(92svh - 76px);
  padding: 4.4rem 0 4rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.housing-hero-copy {
  max-width: 720px;
}

.housing-hero-copy h1 {
  max-width: 690px;
}

.housing-hero-copy .lead {
  max-width: 680px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
}

.housing-hero-points {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.housing-hero-points span {
  position: relative;
  padding: 0.68rem 0.85rem 0.68rem 1.8rem;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.55rem;
  font-weight: 720;
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease;
}

.housing-hero-points span:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.housing-hero-points span::before {
  content: "";
  position: absolute;
  left: 0.82rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
}

.housing-intake-form {
  display: grid;
  gap: 0.68rem;
  padding: 0.95rem;
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.85rem;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.24);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.housing-intake-form:hover {
  border-color: rgba(177, 18, 38, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.housing-intake-form .button {
  width: 100%;
}

.housing-intake-form input:not([type="checkbox"]),
.housing-intake-form select,
.housing-intake-form textarea {
  min-height: 44px;
  padding: 0.66rem 0.75rem;
}

.housing-intake-form textarea {
  min-height: 122px;
}

.housing-intake-form .field {
  gap: 0.3rem;
}

.housing-intake-form .form-progress {
  gap: 0.35rem;
  padding: 0.05rem 0 0;
}

.housing-intake-form .form-step {
  gap: 0.62rem;
}

.housing-intake-form .form-step legend {
  margin-bottom: 0.18rem;
  font-size: 1rem;
  line-height: 1.2;
}

.housing-intake-form .form-step-copy {
  font-size: 0.9rem;
  line-height: 1.38;
}

.housing-intake-form .form-step-actions {
  gap: 0.55rem;
}

.housing-intake-form .form-step-actions .button {
  min-height: 44px;
}

.form-progress {
  display: none;
  gap: 0.5rem;
  padding: 0.2rem 0 0.15rem;
}

.js .form-progress {
  display: grid;
}

.form-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #3f3f47;
  font-size: 0.9rem;
  font-weight: 780;
}

.form-progress-percent {
  margin-left: auto;
  text-align: right;
}

.form-progress-step {
  margin-right: auto;
}

.form-progress-track {
  overflow: hidden;
  height: 0.48rem;
  background: #e7e7eb;
  border: 1px solid rgba(20, 20, 25, 0.08);
  border-radius: 999px;
}

.form-progress-fill {
  display: block;
  width: var(--step-progress, 0%);
  height: 100%;
  background:
    linear-gradient(90deg, rgba(177, 18, 38, 0.9), rgba(221, 44, 66, 0.95)),
    var(--red);
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(177, 18, 38, 0.1);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.form-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
  border: 0;
}

.form-step[hidden] {
  display: none;
}

.form-step.is-active {
  animation: form-step-in 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.form-step legend {
  margin-bottom: 0.35rem;
  color: var(--soft-black);
  font-size: 1.04rem;
  font-weight: 820;
}

.form-step-copy {
  color: #55555f;
  font-size: 0.94rem;
}

.form-step-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.js .form-step-actions {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.form-step-actions .button {
  min-height: 48px;
  width: 100%;
}

.housing-intake-form .form-step-actions .button-secondary,
.contact-form .form-step-actions .button-secondary {
  color: var(--soft-black);
  background: #f7f7f8;
  border-color: #d8d8de;
}

.housing-intake-form .form-step-actions .button-secondary:hover,
.housing-intake-form .form-step-actions .button-secondary:focus-visible,
.contact-form .form-step-actions .button-secondary:hover,
.contact-form .form-step-actions .button-secondary:focus-visible {
  background: #eeeeF1;
  border-color: #c7c7cf;
}

.form-step-actions [data-step-back],
.form-step-actions [data-step-next] {
  display: none;
}

.js .form-step-actions [data-step-back],
.js .form-step-actions [data-step-next] {
  display: inline-flex;
}

.form-step-actions .button[hidden] {
  display: none;
}

.form-step-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.housing-intake-form.is-submitting .form-step-actions .button,
.contact-form.is-submitting .form-step-actions .button {
  pointer-events: none;
}

.housing-intake-form.is-complete .form-intro,
.housing-intake-form.is-complete .form-progress,
.housing-intake-form.is-complete .form-step,
.housing-intake-form.is-complete .form-status,
.housing-intake-form.is-complete .form-step-actions,
.contact-form.is-complete .form-intro,
.contact-form.is-complete .form-progress,
.contact-form.is-complete .form-step,
.contact-form.is-complete .form-status,
.contact-form.is-complete .form-step-actions {
  display: none;
}

.form-success-panel {
  display: grid;
  gap: 0.82rem;
  padding: 0.25rem 0 0;
}

.form-success-panel[hidden] {
  display: none;
}

.form-success-panel h2 {
  max-width: 14ch;
  color: var(--soft-black);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1;
}

.form-success-panel p {
  color: #55555f;
}

.form-success-mark {
  position: relative;
  width: 3rem;
  height: 3rem;
  background: rgba(177, 18, 38, 0.1);
  border: 1px solid rgba(177, 18, 38, 0.22);
  border-radius: 50%;
}

.form-success-mark::after {
  content: "";
  position: absolute;
  left: 0.94rem;
  top: 0.84rem;
  width: 1.08rem;
  height: 0.62rem;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

.form-success-progress {
  color: var(--red);
  font-weight: 820;
}

.form-success-next {
  padding: 0.9rem 1rem;
  background: rgba(247, 247, 248, 0.9);
  border: 1px solid var(--surface-line);
  border-radius: 0.7rem;
}

.form-success-next span {
  color: var(--soft-black);
  font-weight: 820;
}

.form-success-next p {
  margin-top: 0.3rem;
  font-size: 0.94rem;
}

.contact-form .form-success-panel .button {
  width: 100%;
}

@keyframes form-step-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-grid-2 {
  display: grid;
  gap: 0.85rem;
  align-items: start;
}

.form-grid-reporting .field {
  align-content: start;
}

.housing-intake-form .form-grid-reporting {
  grid-template-columns: 1fr;
}

.housing-intake-form .form-grid-reporting label {
  min-height: 0;
}

.housing-guides {
  background:
    linear-gradient(180deg, rgba(239, 239, 241, 0.98), rgba(255, 255, 255, 0.94)),
    var(--paper);
}

.guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.guide-card {
  overflow: hidden;
  display: grid;
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--surface-line);
  border-radius: 0.8rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 24px rgba(11, 11, 13, 0.08);
  border-color: rgba(177, 18, 38, 0.24);
}

.guide-card img,
.issue-card-large img,
.housing-feature-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.98);
  transition: transform 0.5s var(--ease-out);
}

.guide-card:hover img,
.issue-card-large:hover img,
.housing-feature-image:hover img {
  transform: scale(1.03);
}

.guide-card img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.guide-card div {
  padding: 1rem;
}

.guide-card h3 {
  font-size: 1.12rem;
}

.guide-card p {
  margin-top: 0.55rem;
  color: #55555e;
  font-size: 0.95rem;
}

.guide-card a {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--red);
  font-weight: 780;
}

.housing-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.housing-feature-image {
  margin: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--soft-black);
  border: 1px solid rgba(11, 11, 13, 0.12);
  border-radius: 0.85rem;
}

.housing-feature-image img {
  aspect-ratio: 16 / 9;
  height: auto;
}

.housing-feature-image figcaption {
  padding: 0.8rem 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.claim-ready-grid .prep-card {
  min-height: 210px;
}

.image-led-section {
  padding-bottom: 3rem;
}

.issue-gallery-section {
  padding-top: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.98) 0, rgba(11, 11, 13, 0.98) 6rem, rgba(244, 244, 245, 0.96) 6rem),
    var(--paper);
}

.issue-gallery {
  display: grid;
  gap: 1rem;
}

.issue-card-large {
  overflow: hidden;
  display: grid;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--surface-line);
  border-radius: 0.85rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.issue-card-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.08);
  border-color: rgba(177, 18, 38, 0.24);
}

.issue-card-large img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.issue-card-large div {
  padding: 1rem;
}

.issue-card-large h3 {
  font-size: 1.13rem;
}

.issue-card-large p {
  margin-top: 0.55rem;
  color: #55555e;
  font-size: 0.95rem;
}

.process-visual .process-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 248, 0.94)),
    var(--white);
}

.evidence-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 239, 241, 0.94)),
    var(--paper);
}

.evidence-mini-grid {
  margin-top: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
}

.evidence-mini-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--surface-line);
  border-radius: 0.7rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.evidence-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(11, 11, 13, 0.06);
  border-color: rgba(177, 18, 38, 0.2);
}

.evidence-mini-card h3 {
  font-size: 1rem;
}

.evidence-mini-card p {
  margin-top: 0.45rem;
  color: #5a5a63;
  font-size: 0.94rem;
}

.success-screen {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(110deg, rgba(11, 11, 13, 0.96), rgba(18, 18, 21, 0.93)),
    url("../img/claimgrid-atmosphere-dark.webp") center / cover no-repeat,
    var(--black);
  background-size: 80px 80px, 80px 80px, auto, cover;
}

.success-screen::after {
  content: "";
  position: absolute;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 0;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  height: 0.28rem;
  background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.58), transparent);
  opacity: 0.78;
  pointer-events: none;
}

.success-shell {
  position: relative;
  z-index: 1;
  min-height: calc(88svh - 76px);
  padding: 4.2rem 0;
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.success-panel {
  max-width: 780px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.5rem;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.success-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  display: grid;
  place-items: center;
  background: var(--red);
  border-radius: 0.45rem;
  box-shadow: 0 8px 12px rgba(177, 18, 38, 0.22);
}

.success-mark::before {
  content: "";
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(-45deg) translate(1px, -1px);
}

.success-panel .lead {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.success-panel p:not(.lead) {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.success-steps {
  display: grid;
  gap: 0.85rem;
}

.success-steps article {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
}

.success-steps span {
  width: 32px;
  height: 32px;
  margin-bottom: 0.85rem;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: rgba(177, 18, 38, 0.88);
  border-radius: 0.45rem;
  font-weight: 850;
}

.success-steps h2 {
  font-size: 1.05rem;
}

.success-steps p {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.breadcrumb {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

.content {
  max-width: 900px;
}

.container.content {
  position: relative;
  max-width: min(100% - 2rem, 940px);
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 249, 250, 0.96)),
    var(--white);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.06);
}

.container.content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0));
  pointer-events: none;
}

.content h2 {
  margin-top: 2.2rem;
  font-size: 1.55rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: var(--dark-grey);
}

.content p {
  margin-top: 0.95rem;
}

.content ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.content li + li {
  margin-top: 0.45rem;
}

.legal-updated {
  width: fit-content;
  margin: 0 0 1.4rem;
  padding: 0.45rem 0.65rem;
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  font-weight: 760;
}

.detail-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.detail-list div {
  padding: 1rem;
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
}

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-info-col {
  display: grid;
  gap: 1.5rem;
}

.contact-info-col > p {
  color: var(--dark-grey);
}

.contact-details-list {
  display: grid;
  gap: 0.85rem;
}

.contact-detail-item {
  display: flex;
  min-width: 0;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  box-shadow: 0 10px 18px rgba(11, 11, 13, 0.045);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms var(--ease-out);
}

.contact-detail-item:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(177, 18, 38, 0.24);
  transform: translateY(-2px);
}

.contact-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: rgba(177, 18, 38, 0.08);
  border-radius: 0.45rem;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-text {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.contact-text h3 {
  font-size: 1rem;
}

.semantic-address,
.hours-text {
  color: #5a5a63;
  font-style: normal;
}

.contact-link {
  width: fit-content;
  max-width: 100%;
  color: var(--red);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--red-hover);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form-col {
  width: 100%;
}

.contact-form-col .panel,
.contact-layout .contact-form-col > .panel {
  box-shadow: 0 14px 28px rgba(11, 11, 13, 0.08);
}

.form-trust-anchor {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-line);
}

.form-trust-anchor .trust-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  color: var(--red);
}

.form-trust-anchor .trust-icon svg {
  width: 100%;
  height: 100%;
}

.form-trust-anchor .trust-text {
  color: #5a5a63;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-intro {
  padding: 0.9rem 1rem;
  color: #4f4f58;
  background: rgba(247, 247, 248, 0.88);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field-hint {
  color: #676770;
  font-size: 0.9rem;
}

.contact-assurance {
  margin-top: 2rem;
}

.mini-steps {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.mini-steps li {
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
}

.mini-steps span {
  color: var(--soft-black);
  font-weight: 780;
}

.mini-steps p {
  margin-top: 0.3rem;
  color: #5a5a63;
  font-size: 0.94rem;
}

label,
.field-label {
  color: var(--soft-black);
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.85rem;
  color: var(--soft-black);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d8d8de;
  border-radius: 0.55rem;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select[multiple] {
  min-height: 168px;
}

.multi-select-options {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d8d8de;
  border-radius: 0.55rem;
}

.multi-select-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  min-height: 38px;
  padding: 0.42rem 0.48rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  cursor: pointer;
  font-weight: 560;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.multi-select-option input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.multi-select-option:has(input:checked) {
  background: rgba(177, 18, 38, 0.08);
  border-color: rgba(177, 18, 38, 0.2);
}

.multi-select-options:focus-within {
  outline: 3px solid rgba(177, 18, 38, 0.24);
  outline-offset: 2px;
  border-color: var(--red);
}

.multi-select-options.is-invalid {
  border-color: var(--red);
}

#housing-disrepair-form .multi-select-options {
  gap: 0.16rem;
  padding: 0.48rem 0.55rem;
}

#housing-disrepair-form .multi-select-option {
  gap: 0.5rem;
  min-height: 30px;
  padding: 0.2rem 0.32rem;
  font-size: 0.94rem;
  line-height: 1.2;
}

#housing-disrepair-form .multi-select-option input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(177, 18, 38, 0.24);
  outline-offset: 2px;
  border-color: var(--red);
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.2rem;
  accent-color: var(--red);
}

#contact-form .checkbox-field span,
#housing-disrepair-form .checkbox-field span,
#rta-contact-form .checkbox-field span,
#car-finance-contact-form .checkbox-field span {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.4;
}

.form-status {
  color: var(--red);
  font-weight: 720;
}

.site-footer {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.98), rgba(6, 6, 7, 0.99)),
    url("../img/claimgrid-atmosphere-dark.webp") center top / cover no-repeat,
    var(--black);
}

.footer-grid {
  padding: 3.8rem 0 2.4rem;
  display: grid;
  gap: 2rem;
}

.footer-brand p,
.footer-company,
.footer-col a,
.footer-col p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-company {
  max-width: 31rem;
  font-size: 0.92rem;
}

.footer-brand p a {
  color: inherit;
}

.footer-brand p a:hover,
.footer-brand p a:focus-visible {
  color: var(--white);
}

.footer-col h2,
.footer-col h3 {
  font-size: 0.98rem;
  margin-bottom: 0.85rem;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.pcp-claims-page .footer-grid {
  gap: 2rem 3rem;
}

.pcp-claims-page .footer-brand {
  display: grid;
  gap: 0.9rem;
}

.pcp-claims-page .footer-brand .brand {
  margin-bottom: 0.15rem;
}

.pcp-claims-page .footer-brand p {
  max-width: 72rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.65;
}

.pcp-claims-page .footer-disclaimer {
  display: grid;
  gap: 0.7rem;
  max-width: 72rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--red);
  border-radius: 0.5rem;
}

.pcp-claims-page .footer-disclaimer p {
  max-width: none;
}

.pcp-claims-page .footer-disclaimer a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 0.18em;
}

@media (min-width: 760px) {
  .pcp-claims-page .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pcp-claims-page .footer-brand {
    grid-column: 1 / -1;
  }
}

.animate-in {
  opacity: 1;
  transform: none;
}

.js .animate-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

.js .animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Tools index */
.tools-index-page {
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.98) 0, rgba(14, 14, 16, 0.98) 30rem, rgba(244, 244, 245, 0.96) 44rem),
    var(--paper);
}

.tools-index-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(177, 18, 38, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.98), rgba(18, 18, 21, 0.84) 56%, rgba(11, 11, 13, 0.98)),
    url("../img/claimgrid-atmosphere-dark.webp") center / cover no-repeat,
    var(--black);
}

.tools-index-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.18;
  pointer-events: none;
}

.tools-index-hero::after {
  content: "";
  position: absolute;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 0;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  height: 0.28rem;
  background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.58), transparent);
  opacity: 0.82;
}

.tools-index-hero-shell {
  position: relative;
  z-index: 1;
  min-height: calc(86svh - 76px);
  padding: 4.5rem 0 4rem;
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.tools-index-copy {
  max-width: 760px;
}

.tools-index-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools-index-copy .breadcrumb {
  margin-bottom: 1.5rem;
}

.tools-index-copy h1 {
  max-width: 780px;
  font-size: 2.35rem;
}

.tools-index-copy .lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.tools-index-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tools-board {
  position: relative;
  width: min(100%, 430px);
  min-height: 420px;
  margin-inline: auto;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.5rem;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
}

.tools-board::before {
  content: "";
  position: absolute;
  inset: 3.6rem 1.1rem 4.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
}

.tools-board-header {
  position: relative;
  display: flex;
  gap: 0.46rem;
  align-items: center;
  height: 2.05rem;
  padding-bottom: 0.9rem;
}

.tools-board-header span {
  width: 0.55rem;
  height: 0.55rem;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.tools-board-header span:first-child {
  background: var(--red);
}

.tools-board-header strong {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools-board-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 64px;
  gap: 0.7rem;
}

.tools-board-tile {
  position: relative;
  min-width: 0;
  padding: 0.72rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0.42rem;
  overflow: hidden;
}

.tools-board-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.72;
  pointer-events: none;
}

.tools-board-tile small,
.tools-board-tile b,
.tools-board-tile em,
.tools-board-tile i {
  position: relative;
  z-index: 1;
}

.tools-board-tile small {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.tools-board-tile b {
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.08;
}

.tools-board-tile em {
  width: fit-content;
  margin-top: 0.5rem;
  padding: 0.22rem 0.46rem;
  color: var(--white);
  background: rgba(11, 11, 13, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
}

.tools-board-tile i {
  display: block;
  height: 0.44rem;
  margin-top: 0.42rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.tools-board-tile i:nth-of-type(2) {
  width: 62%;
}

.tools-board-tile:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
}

.tools-board-tile:nth-child(2),
.tools-board-tile:nth-child(3) {
  grid-column: span 2;
}

.tools-board-tile:nth-child(4) {
  grid-column: span 3;
}

.tools-board-tile:nth-child(5) {
  grid-column: span 3;
}

.tools-board-tile:nth-child(6) {
  grid-column: span 6;
}

.tools-board-tile.is-strong {
  background:
    linear-gradient(135deg, rgba(177, 18, 38, 0.72), rgba(177, 18, 38, 0.12)),
    rgba(255, 255, 255, 0.08);
}

.tools-board-tile.is-red {
  background: rgba(177, 18, 38, 0.58);
}

.tools-board-tile.is-wide {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.35rem 0.5rem;
  align-items: end;
}

.tools-board-tile.is-wide small,
.tools-board-tile.is-wide i {
  grid-column: 1 / -1;
}

.tools-board-tile.is-wide b {
  width: fit-content;
  padding: 0.28rem 0.48rem;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
  font-size: 0.72rem;
}

.tools-board-dock {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  left: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.tools-board-dock span {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.55rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.42rem;
  font-size: 0.72rem;
  font-weight: 820;
  text-align: center;
}

.tools-index-section {
  background:
    linear-gradient(180deg, rgba(244, 244, 245, 0.98), rgba(255, 255, 255, 0.94)),
    url("../img/claimgrid-atmosphere-light.webp") right -20rem top -10rem / 940px auto no-repeat,
    var(--paper);
}

.tools-index-intro {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.35rem;
}

.tools-index-intro .section-header {
  margin-bottom: 0;
}

.tools-count-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  width: fit-content;
  min-width: 13rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--surface-line);
  border-left: 4px solid var(--red);
  border-radius: 0.5rem;
}

.tools-count-panel span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--white);
  background: var(--soft-black);
  border-radius: 0.45rem;
  font-size: 1.45rem;
  font-weight: 850;
}

.tools-count-panel p {
  color: #52525b;
  font-weight: 760;
}

.tools-list {
  display: grid;
  gap: 1rem;
}

.tool-roadmap {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
}

.tool-roadmap article {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(11, 11, 13, 0.06), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(177, 18, 38, 0.28);
  border-radius: 0.5rem;
  box-shadow: 0 10px 18px rgba(11, 11, 13, 0.045);
}

.tool-roadmap article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 11, 13, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  pointer-events: none;
}

.tool-roadmap span,
.tool-roadmap h3,
.tool-roadmap p {
  position: relative;
  z-index: 1;
}

.tool-roadmap span {
  width: fit-content;
  margin-bottom: auto;
  padding: 0.24rem 0.52rem;
  color: var(--red);
  background: rgba(177, 18, 38, 0.075);
  border: 1px solid rgba(177, 18, 38, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
}

.tool-roadmap h3 {
  margin-top: 1.35rem;
  font-size: 1.08rem;
}

.tool-roadmap p {
  margin-top: 0.55rem;
  color: #5a5a63;
  font-size: 0.92rem;
}

.tool-list-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--surface-line);
  border-radius: 0.5rem;
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.06);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.tool-list-card:hover {
  transform: translateY(-4px);
  border-color: rgba(177, 18, 38, 0.32);
  box-shadow: 0 18px 32px rgba(11, 11, 13, 0.1);
}

.tool-list-card-link {
  min-height: 100%;
  display: grid;
  color: inherit;
}

.tool-card-media {
  position: relative;
  min-height: 240px;
  background: var(--soft-black);
  overflow: hidden;
}

.tool-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.58), rgba(11, 11, 13, 0.05) 58%),
    linear-gradient(180deg, transparent 52%, rgba(11, 11, 13, 0.36));
}

.tool-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
  transition: transform 0.5s var(--ease-out);
}

.tool-list-card:hover .tool-card-media img {
  transform: scale(1.035);
}

.tool-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tool-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tool-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.26rem 0.58rem;
  color: var(--red);
  background: rgba(177, 18, 38, 0.075);
  border: 1px solid rgba(177, 18, 38, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.tool-card-content h3 {
  font-size: 1.55rem;
}

.tool-card-content p {
  max-width: 68ch;
  color: #52525b;
}

.tool-card-footer {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--soft-black);
  border-top: 1px solid var(--surface-line);
  font-weight: 850;
}

.tool-card-footer span:last-child {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 0.45rem;
}

.tool-card-footer span:last-child::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.tools-method-section {
  position: relative;
}

.tools-method-steps {
  display: grid;
  gap: 0.75rem;
}

.tools-method-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.9rem;
  align-items: start;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
}

.tools-method-steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--white);
  background: var(--red);
  border-radius: 0.45rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.tools-method-steps h3 {
  color: var(--white);
}

.tools-method-steps p {
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 700px) {
  .tools-index-copy h1 {
    font-size: 3.2rem;
  }

  .tool-list-card-link {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  }

  .tool-card-content {
    padding: 1.7rem;
  }
}

@media (min-width: 980px) {
  .tools-index-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  }

  .tools-index-intro {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tools-count-panel {
    justify-self: end;
  }
}

@media (max-width: 699px) {
  .tools-index-hero-shell {
    min-height: auto;
    padding: 3rem 0;
  }

  .tools-index-copy h1 {
    font-size: 2rem;
  }

  .tools-index-actions {
    width: 100%;
  }

  .tools-board {
    min-height: 340px;
  }

  .tools-board-grid {
    grid-auto-rows: 48px;
  }

  .tool-card-media {
    min-height: 210px;
  }
}

/* Stagger animation utilities */
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }
.delay-5 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .tab-panel {
    filter: none;
    transform: none;
  }
}

@media (min-width: 700px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .cards-2,
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3,
  .cards-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip,
  .hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standard-grid article:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .standard-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .pathway-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-visual {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    align-items: stretch;
  }

  .method-visual:not(:has(figcaption)) {
    grid-template-columns: 1fr;
  }

  .support-visual {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .support-visual img {
    height: 100%;
  }

  .method-visual-image {
    min-height: 300px;
  }

  .method-visual figcaption {
    align-content: end;
    padding: 1.35rem;
  }

  .info-panel-layout {
    grid-template-columns: minmax(230px, 0.85fr) minmax(0, 1fr);
    gap: 1.2rem;
  }

  .info-panel-visual {
    min-height: 270px;
  }

  .form-grid-2,
  .issue-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid-reporting label {
    min-height: 2.65rem;
  }

  .housing-intake-form .form-grid-reporting {
    grid-template-columns: 1fr;
  }

  .housing-intake-form .form-grid-reporting label {
    min-height: 0;
  }

  .success-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  .desktop-nav,
  .nav-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero-shell {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .housing-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  }

  .rta-hero-shell,
  .car-finance-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 490px);
    min-height: calc(88svh - 76px);
  }

  .housing-split {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-trust {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr 0.95fr;
  }

  .standard-layout {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .contact-layout {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .support-columns,
  .final-cta-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-shell .cta-row {
    justify-content: flex-end;
  }
}

@media (min-width: 1180px) {
  .hero h1 {
    font-size: 3.05rem;
  }

  .issue-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .button {
    width: 100%;
  }

  .cta-row {
    width: 100%;
  }

  .hero {
    position: relative;
  }

  .hero::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1.15rem;
    height: 128px;
    background: linear-gradient(rgba(11, 11, 13, 0.2), rgba(11, 11, 13, 0.28)), url("../img/claimgrid-home-hero-block-1.png") center / cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    opacity: 0.6;
  }

  .hero-shell {
    position: relative;
    z-index: 1;
    min-height: auto;
    padding: 2.8rem 0 10rem;
    gap: 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 1.72rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero-visual {
    display: none;
  }

  .page-hero .container {
    min-height: auto;
    padding: 3.4rem 0;
  }

  .page-hero::after {
    opacity: 0.82;
  }

  .page-hero h1,
  .section-header h2,
  .housing-hero h1 {
    font-size: 1.76rem;
  }

  .rta-hero-shell,
  .car-finance-hero-shell {
    gap: 1.5rem;
  }

  .housing-hero-shell {
    min-height: auto;
    padding: 3rem 0;
  }

  .housing-hero-points {
    display: grid;
  }

  .housing-intake-form {
    padding: 1rem;
  }

  .issue-gallery-section {
    background:
      linear-gradient(180deg, rgba(11, 11, 13, 0.98) 0, rgba(11, 11, 13, 0.98) 3rem, rgba(244, 244, 245, 0.96) 3rem),
      var(--paper);
  }

  .tab-list {
    padding: 0.45rem;
  }

  .tab-trigger {
    flex-basis: auto;
    min-height: 42px;
    padding: 0.68rem 0.8rem;
    font-size: 0.92rem;
  }

  .tab-panels {
    min-height: 365px;
  }

  .tab-panel {
    padding: 1rem;
  }

  .detail-banner {
    aspect-ratio: 4 / 3;
  }

  .detail-banner::after {
    background:
      linear-gradient(0deg, rgba(11, 11, 13, 0.82), rgba(11, 11, 13, 0.1) 70%),
      linear-gradient(90deg, rgba(11, 11, 13, 0.34), rgba(11, 11, 13, 0.12));
  }

  .detail-banner figcaption {
    left: 0.9rem;
    bottom: 0.85rem;
    max-width: calc(100% - 1.8rem);
  }

  .detail-banner figcaption p {
    font-size: 0.9rem;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand-logo {
    width: 60px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-tight {
    padding: 2rem 0;
  }
}

@media (max-width: 520px) {
  .container,
  .nav-shell,
  .mobile-nav {
    width: calc(100% - 2rem);
    margin: 0 auto;
  }
}

.nav-actions {
  display: flex;
  margin-left: auto;
}

.nav-actions .button-primary {
  display: none;
}

.whatsapp-header-button {
  width: 46px;
  min-height: 46px;
  padding: 11px;
  gap: 0.48rem;
  color: var(--white);
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.42);
  border-radius: 8px;
  font-weight: 900;
}

.whatsapp-header-button:hover,
.whatsapp-header-button:focus-visible {
  color: var(--white);
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 8px 14px rgba(37, 211, 102, 0.24);
  transform: translateY(-2px);
}

.whatsapp-header-button:active {
  transform: scale(0.97);
}

.whatsapp-header-label {
  display: none;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.whatsapp-floating-badge {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 14px rgba(11, 11, 13, 0.24);
  transition: transform 150ms var(--ease-out), background 150ms ease, box-shadow 150ms ease;
}

.whatsapp-floating-badge .whatsapp-icon {
  width: 29px;
  height: 29px;
}

.whatsapp-floating-badge:hover,
.whatsapp-floating-badge:focus-visible {
  color: var(--white);
  background: #1fa855;
  box-shadow: 0 12px 18px rgba(11, 11, 13, 0.32);
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-floating-badge:active {
  transform: scale(0.96);
}

.whatsapp-notification {
  position: absolute;
  top: -4px;
  right: -3px;
  display: inline-flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #e11d48;
  border: 2px solid var(--white);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 980px) {
  .nav-actions .button-primary {
    display: inline-flex;
  }

  .whatsapp-header-button {
    width: auto;
    padding: 11px 15px;
  }

  .whatsapp-header-label {
    display: inline;
  }
}

@media (max-width: 520px) {
  .whatsapp-floating-badge {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .js .form-step-actions {
    grid-template-columns: 1fr;
  }
}

/* --- News Ticker Styles --- */
.news-ticker {
  display: flex;
  align-items: center;
  background-color: var(--red);
  color: var(--white);
  height: 50px;
  overflow: hidden;
  position: relative;
  font-family: inherit;
  z-index: 95;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.news-ticker .ticker-label {
  background-color: var(--red-hover);
  color: var(--white);
  font-weight: 800;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
  position: relative;
  flex-shrink: 0;
}

.news-ticker .ticker-wrap {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.news-ticker .ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scrolling 150s linear infinite;
}

.news-ticker .ticker-item {
  display: inline-block;
  padding: 0 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
}

.news-ticker .ticker-item::after {
  content: "•";
  position: absolute;
  right: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

.news-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scrolling {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* --- Case Study Styles --- */
.case-study-details {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.6rem;
}
.case-study-details p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
  color: #55555e;
}
.case-study-details strong {
  color: var(--soft-black);
}
.case-study-quote {
  margin: 1rem 0 0 0;
  padding: 0.85rem 0 0 0;
  border-top: 1px solid var(--surface-line);
  font-style: italic;
  color: var(--red);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.4;
}

/* --- Custom Process Card Styles --- */
.process-card.custom-process-card {
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
}
.process-card.custom-process-card::before {
  content: none !important;
}
.process-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.step-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(177, 18, 38, 0.2);
}
.step-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.process-header-row .step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(11, 11, 13, 0.12);
  line-height: 1;
}
.process-card.custom-process-card:hover {
  transform: translateY(-5px);
  border-color: var(--red) !important;
  box-shadow: 0 14px 28px rgba(177, 18, 38, 0.08) !important;
}

/* --- FAQ Extra List and Content Styles --- */
.faq-item div.faq-answer {
  padding: 0 1.15rem 1.15rem;
  color: #5a5a63;
}
.faq-item div.faq-answer p {
  padding: 0;
  margin-bottom: 0.8rem;
}
.faq-item div.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-item div.faq-answer ul {
  padding: 0 0 0.8rem 1.25rem;
  margin: 0.4rem 0 0.8rem 0;
  list-style-type: disc;
  display: grid;
  gap: 0.4rem;
}
.faq-item div.faq-answer li {
  color: #5a5a63;
  font-size: 0.95rem;
  line-height: 1.45;
}
.faq-item div.faq-answer li strong {
  color: var(--soft-black);
}

/* --- Hero Section Spacing & Counters --- */
.housing-hero-shell {
  min-height: auto !important;
  padding: 2.2rem 0 !important;
}
.housing-hero-copy .lead {
  line-height: 1.62 !important;
  text-align: left !important;
}
.hero-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}
.counter-item {
  display: grid;
  gap: 0.25rem;
}
.counter-item h2 {
  font-size: 2.2rem !important;
  font-weight: 850;
  color: var(--white);
  margin: 0 !important;
  line-height: 1 !important;
}
.counter-item span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Case Study Modal & Preview Styles --- */
.case-study-preview {
  margin-top: 0.6rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: #55555e;
}
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.9rem;
  color: var(--red);
  font-weight: 800;
  font-size: 0.92rem;
  transition: transform 0.2s ease;
}
.case-study-trigger:hover .read-more-btn {
  transform: translateX(3px);
}

/* Modal Window */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal.is-active {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 13, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.modal-container {
  position: relative;
  width: 90%;
  max-width: 620px;
  background: var(--white);
  border-radius: 0.85rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform: translateY(24px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.modal.is-active .modal-container {
  transform: translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 0.65rem;
  right: 1.15rem;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--soft-black);
  cursor: pointer;
  z-index: 20;
  line-height: 1;
  padding: 0;
  opacity: 0.68;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal-close-btn:hover {
  opacity: 1;
  transform: scale(1.08);
}
.modal-body {
  padding: 2.2rem 2.2rem 2rem;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-body h3 {
  font-size: 1.32rem;
  color: var(--soft-black);
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 850;
  line-height: 1.25;
}
.modal-body .case-study-details {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.75rem;
}
.modal-body .case-study-details p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.52;
  color: #4a4a52;
}
.modal-body .case-study-quote {
  margin: 1.25rem 0 0 0;
  padding: 1rem 0 0 0;
  border-top: 1px solid var(--surface-line);
  font-style: italic;
  color: var(--red);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
}

@media (min-width: 700px) {
  #eligibility h2 {
    font-size: clamp(1.25rem, 2vw, 1.95rem) !important;
    white-space: nowrap !important;
  }
  #eligibility .final-cta-shell {
    grid-template-columns: auto auto !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  #eligibility .cta-row {
    flex-wrap: nowrap !important;
  }
}

#eligibility .cta-row {
  margin-top: 0 !important;
}



/* --- Dark Theme Process Card Styling --- */
.section-dark .process-card.custom-process-card {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}
.section-dark .process-card.custom-process-card h3 {
  color: var(--white) !important;
}
.section-dark .process-card.custom-process-card p {
  color: rgba(255, 255, 255, 0.76) !important;
}
.section-dark .process-card.custom-process-card .step-num {
  color: rgba(255, 255, 255, 0.08) !important;
}
.section-dark .process-card.custom-process-card:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--red) !important;
  box-shadow: 0 14px 28px rgba(177, 18, 38, 0.18) !important;
}

/* --- Dynamic Tabs System --- */
.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.tabs-nav {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--surface-line);
  scrollbar-width: thin;
}

.tab-button {
  background: transparent;
  border: none;
  padding: 0.8rem 1.2rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-grey);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0.5rem;
  transition: all 0.25s var(--ease-out);
}

.tab-button:hover {
  color: var(--soft-black);
  background: rgba(0, 0, 0, 0.03);
}

.tab-button.is-active {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 4px 12px rgba(177, 18, 38, 0.18);
}

.tabs-content {
  background: var(--white);
  border: 1px solid var(--surface-line);
  border-radius: 0.85rem;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(11, 11, 13, 0.03);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: tabFadeIn 0.35s ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: var(--soft-black);
}

.tab-panel p {
  color: #55555e;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.coverage-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.coverage-features li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--soft-black);
  font-size: 0.96rem;
  font-weight: 600;
}

.coverage-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1;
  top: 0.1rem;
}

@media (min-width: 900px) {
  .tabs-container {
    flex-direction: row;
    align-items: stretch;
  }
  
  .tabs-nav {
    flex-direction: column;
    overflow-x: visible;
    border-bottom: none;
    border-right: 1px solid var(--surface-line);
    padding-bottom: 0;
    padding-right: 1.5rem;
    flex: 0 0 280px;
  }
  
  .tab-button {
    text-align: left;
    width: 100%;
  }
  
  .tabs-content {
    flex: 1;
  }
  
  .coverage-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* --- Block 2 "Why Choose Us" Hover Effects --- */
#why-choose-us .card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
#why-choose-us .card:hover {
  border-color: var(--red) !important;
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(177, 18, 38, 0.08) !important;
}
#why-choose-us .card h3 {
  transition: color 0.25s ease;
}
#why-choose-us .card:hover h3 {
  color: var(--red) !important;
}

/* --- Specialist Claims Pillars Grid Layout --- */
.cards-5 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .cards-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards-5 > *:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 980px) {
  .cards-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .cards-5 > *:last-child {
    grid-column: span 1;
  }
}

/* --- Pillar Card Style Overrides & Interactions --- */
.pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: var(--white);
  border: 1px solid var(--surface-line);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 780;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.pillar-card .sub-categories {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pillar-card .sub-categories li {
  font-size: 0.9rem;
  color: var(--dark-grey);
  position: relative;
  padding-left: 0.9rem;
  line-height: 1.3;
}

.pillar-card .sub-categories li::before {
  content: "•";
  color: var(--red);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- Benchmark Tracker --- */
.benchmark-tracker {
  margin-top: auto;
  padding: 0.75rem 0;
  border-top: 1px solid var(--paper-deep);
}

.benchmark-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--mid-grey);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.benchmark-range {
  display: block;
  font-size: 0.88rem;
  font-weight: 850;
  color: var(--red);
  margin: 0.15rem 0 0.4rem 0;
  line-height: 1.25;
}

.benchmark-bar {
  height: 6px;
  background: var(--paper-deep);
  border-radius: 3px;
  overflow: hidden;
}

.benchmark-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0%, #d32f2f 100%);
  border-radius: 3px;
}



.pillar-card .card-action {
  margin-top: 1rem;
}

.pillar-card .card-action .button {
  width: 100%;
  text-align: center;
}

/* --- Serious Injury Card Highlight --- */
.pillar-card.card-serious {
  border-color: rgba(177, 18, 38, 0.4);
  background: linear-gradient(180deg, var(--white), rgba(177, 18, 38, 0.015) 100%);
  padding-top: 3rem;
}

.pillar-card.card-serious::before {
  content: "Specialist Review";
  position: absolute;
  inset: auto;
  top: 1rem;
  left: 1.25rem;
  right: auto;
  z-index: 2;
  height: auto;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  line-height: 1;
  font-weight: 820;
  padding: 0.32rem 0.62rem;
  border-radius: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 1;
  box-shadow: 0 4px 8px rgba(177, 18, 38, 0.16);
  transition: none;
  pointer-events: none;
}

.pillar-card.card-serious:hover {
  border-color: var(--red);
  box-shadow: 0 16px 28px rgba(177, 18, 38, 0.12);
}

/* --- Paragraph Justification & Expansion --- */
#why-choose-us .section-header,
#claims-coverage .section-header,
#claims-process .section-header,
#method .section-header,
.car-finance-section .section-header {
  max-width: none;
}

#why-choose-us .section-header p.lead,
#claims-coverage .section-header p.lead,
#claims-process .section-header p.lead,
.car-finance-section .section-header p.lead {
  text-align: left;
}

/* --- PCP Mis-sold Car Finance Custom Styling --- */
.trust-matrix {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: -3.5rem; /* overlapping depth style */
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .trust-matrix {
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  text-align: left;
  padding-top: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .trust-item:not(:last-child) {
    border-right: 1px solid var(--surface-line);
  }
}

.trust-icon {
  font-size: 2rem;
  color: var(--red);
  display: flex;
  align-items: center;
}

.trust-meta h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
  margin: 0;
}

.trust-meta p {
  font-size: 0.85rem;
  color: var(--dark-grey);
  margin: 0.15rem 0 0 0;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2e7d32;
  font-weight: 700;
  font-size: 0.8rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #2e7d32;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 125, 50, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0 auto;
  padding-left: 2.5rem;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px;
  width: 2px;
  background: var(--paper-deep);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.3rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--red);
  z-index: 2;
}

.timeline-date {
  font-weight: 850;
  color: var(--red);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.timeline-content h3 {
  font-size: 1.15rem;
  font-weight: 780;
  margin: 0 0 0.5rem 0;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--dark-grey);
  margin: 0;
  line-height: 1.5;
}

.timeline-content a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.stat-highlight-box {
  background: linear-gradient(135deg, rgba(177, 18, 38, 0.03) 0%, rgba(177, 18, 38, 0.005) 100%);
  border: 1px solid rgba(177, 18, 38, 0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.stat-highlight-box h3 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  margin: 0 0 0.5rem 0;
}

.stat-highlight-box p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin: 0;
}

/* Checklist Grid */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.checklist-card {
  background: var(--white);
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.checklist-card:hover {
  transform: translateY(-5px);
  border-color: rgba(177, 18, 38, 0.3);
  box-shadow: 0 12px 24px rgba(177, 18, 38, 0.06);
}

.checklist-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checklist-card h3::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(177, 18, 38, 0.1);
  color: var(--red);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
}

.checklist-card p {
  font-size: 0.92rem;
  color: var(--dark-grey);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.case-example {
  background: var(--paper);
  border-left: 3px solid var(--red);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  margin: 0;
}

.case-example span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.case-example p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--dark-grey);
  margin: 0;
}

/* Ruling Callout */
.ruling-callout {
  background: linear-gradient(180deg, var(--white), rgba(177, 18, 38, 0.01) 100%);
  border: 1px solid rgba(177, 18, 38, 0.25);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  margin-top: 2.5rem;
  box-shadow: 0 10px 30px rgba(177, 18, 38, 0.03);
}

.ruling-callout::before {
  content: "SUPREME COURT UPDATE";
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 850;
  padding: 0.2rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ruling-callout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .ruling-callout-grid {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}

.ruling-text h3 {
  font-size: 1.4rem;
  font-weight: 850;
  margin: 0 0 1rem 0;
}

.ruling-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--dark-grey);
  margin: 0 0 1rem 0;
}

.ruling-text p:last-child {
  margin-bottom: 0;
}

.ruling-quote {
  background: var(--paper-deep);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--red);
}

.ruling-quote blockquote {
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--black);
  margin: 0;
}

.ruling-quote cite {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  margin-top: 0.75rem;
  color: var(--dark-grey);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 850px;
  margin: 2.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(177, 18, 38, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 780;
  font-size: 1.05rem;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 500;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-content {
  border-top-color: var(--paper-deep);
}

.faq-content p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--dark-grey);
  margin: 0;
}

/* Safety Net Banner */
.safety-net-banner {
  background: linear-gradient(135deg, #0b0b0d 0%, #151518 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.safety-net-banner h2 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 0 0.5rem 0;
}

.safety-net-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
}

.safety-net-banner .button {
  min-width: 200px;
}

/* Modern Keyframe Animations & Micro-Interactions */
@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 8px 14px rgba(11, 11, 13, 0.24), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 12px 22px rgba(11, 11, 13, 0.32), 0 0 0 8px rgba(37, 211, 102, 0); }
}

.whatsapp-floating-badge {
  animation: badgeGlow 3s infinite ease-in-out;
}

.whatsapp-notification {
  animation: softPulse 2s infinite ease-in-out;
}

/* Premium Interactivity & Elevation Polish */
.card,
.checklist-card,
.contact-detail-item,
.evidence-mini-card,
.faq-item,
.trust-item,
.guide-card,
.info-card,
.issue-card-large,
.pillar-card,
.process-card,
.stat-highlight-box,
.timeline-content {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, background 0.28s ease !important;
}

.card:hover,
.checklist-card:hover,
.contact-detail-item:hover,
.evidence-mini-card:hover,
.faq-item:hover,
.trust-item:hover,
.guide-card:hover,
.info-card:hover,
.issue-card-large:hover,
.pillar-card:hover,
.process-card:hover,
.stat-highlight-box:hover,
.timeline-content:hover {
  transform: translateY(-4px) !important;
  border-color: var(--red) !important;
  box-shadow: 0 16px 32px rgba(177, 18, 38, 0.12) !important;
}

.button-primary {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease !important;
}

.button-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 20px rgba(177, 18, 38, 0.32) !important;
}

.cookie-consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(28rem, auto);
  gap: 1.25rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.05rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 248, 250, 0.99));
  border: 1px solid rgba(11, 11, 13, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 14px rgba(11, 11, 13, 0.14);
}

.cookie-consent-kicker {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cookie-consent-copy h2 {
  margin: 0 0 0.3rem 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--black);
  text-wrap: balance;
}

.cookie-consent-copy p {
  margin: 0;
  max-width: 54rem;
  color: var(--dark-grey);
  font-size: 0.9rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.cookie-consent-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: 5.35rem;
  padding-bottom: 1.35rem;
}

.cookie-consent-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.cookie-consent-actions .button {
  min-height: 44px;
  padding: 0.74rem 0.96rem;
  white-space: normal;
}

.cookie-consent-choice {
  color: var(--white);
  box-shadow: none;
  width: 100%;
  min-width: 0;
}

.cookie-consent-choice[data-cookie-reject] {
  background: var(--soft-black);
  border-color: var(--soft-black);
}

.cookie-consent-choice[data-cookie-reject]:hover,
.cookie-consent-choice[data-cookie-reject]:focus-visible {
  background: var(--black);
  border-color: var(--black);
}

.cookie-consent-choice[data-cookie-accept] {
  background: var(--red);
  border-color: var(--red);
}

.cookie-consent-choice[data-cookie-accept]:hover,
.cookie-consent-choice[data-cookie-accept]:focus-visible {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.cookie-consent-link,
.footer-cookie-preferences {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.cookie-consent-link {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  align-self: center;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.cookie-consent-link:hover,
.cookie-consent-link:focus-visible {
  text-decoration: underline;
}

.footer-cookie-preferences {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.footer-cookie-preferences:hover,
.footer-cookie-preferences:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.blog-index-page {
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.98) 0, rgba(14, 14, 16, 0.98) 30rem, rgba(244, 244, 245, 0.96) 44rem),
    var(--paper);
}

.blog-index-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(177, 18, 38, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.98), rgba(18, 18, 21, 0.84) 56%, rgba(11, 11, 13, 0.98)),
    url("../img/housing-disrepair-hero.webp") center / cover no-repeat,
    var(--black);
}

.blog-index-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(11, 11, 13, 0.58);
  background-size: 80px 80px, 80px 80px, auto;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}

.blog-index-hero::after {
  content: "";
  position: absolute;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 0;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  height: 0.28rem;
  background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.58), transparent);
  opacity: 0.82;
}

.blog-index-hero-shell {
  position: relative;
  z-index: 1;
  min-height: calc(82svh - 76px);
  padding: 4.5rem 0 4rem;
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.blog-index-copy {
  max-width: 780px;
}

.blog-index-copy .breadcrumb {
  margin-bottom: 1.5rem;
}

.blog-index-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-index-copy h1 {
  max-width: 790px;
  font-size: 2.35rem;
}

.blog-index-copy .lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.blog-index-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.blog-library-visual {
  position: relative;
  width: min(100%, 430px);
  min-height: 390px;
  margin-inline: auto;
  display: grid;
  align-content: center;
  gap: 0.9rem;
}

.blog-library-visual::before {
  content: "";
  position: absolute;
  inset: 1.1rem 2.2rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.045);
  background-size: 46px 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
}

.blog-library-card {
  position: relative;
  width: min(330px, 86%);
  min-height: 5.8rem;
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(21, 21, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.blog-library-card:nth-child(2) {
  justify-self: end;
}

.blog-library-card.is-featured {
  min-height: 7.2rem;
  background:
    linear-gradient(135deg, rgba(177, 18, 38, 0.76), rgba(177, 18, 38, 0.18)),
    rgba(21, 21, 24, 0.9);
}

.blog-library-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-library-card strong {
  font-size: 1.25rem;
  line-height: 1.14;
}

.blog-library-card i {
  display: block;
  width: 68%;
  height: 0.55rem;
  margin-top: 0.6rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.blog-index-section {
  background:
    linear-gradient(180deg, rgba(244, 244, 245, 0.98), rgba(255, 255, 255, 0.94)),
    url("../img/claimgrid-atmosphere-light.webp") right -18rem top -8rem / 940px auto no-repeat,
    var(--paper);
}

.blog-index-intro {
  display: grid;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.35rem;
}

.blog-index-intro .section-header {
  margin-bottom: 0;
}

.blog-count-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  width: fit-content;
  min-width: 13rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--surface-line);
  border-left: 4px solid var(--red);
  border-radius: 0.5rem;
}

.blog-count-panel span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--white);
  background: var(--soft-black);
  border-radius: 0.45rem;
  font-size: 1.45rem;
  font-weight: 850;
}

.blog-count-panel p {
  color: #52525b;
  font-weight: 760;
}

.blog-index-note {
  padding: 1rem;
  color: #3e3e46;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--surface-line);
  border-radius: 0.6rem;
}

.blog-index-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--black);
}

.blog-list {
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--surface-line);
  box-shadow: 0 12px 22px rgba(11, 11, 13, 0.06);
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--red), rgba(177, 18, 38, 0));
  pointer-events: none;
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--soft-black);
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.035);
}

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
}

.blog-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.blog-card-meta,
.blog-card-time,
.blog-review-meta {
  color: #5e5e68;
  font-size: 0.86rem;
  font-weight: 760;
}

.blog-card-meta {
  padding: 0.22rem 0.5rem;
  color: var(--red);
  background: rgba(177, 18, 38, 0.075);
  border: 1px solid rgba(177, 18, 38, 0.16);
  border-radius: 999px;
}

.blog-card h2 {
  font-size: 1.28rem;
  line-height: 1.2;
}

.blog-card p {
  margin-top: 0;
  color: #52525b;
}

.blog-card .button {
  align-self: flex-start;
  margin-top: auto;
  min-height: 42px;
  padding-inline: 0.9rem;
}

.blog-card-featured {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(245, 245, 246, 0.96));
  border-color: rgba(177, 18, 38, 0.18);
}

.blog-card-featured .blog-card-body {
  justify-content: center;
}

.blog-reading-hero .container {
  max-width: min(100% - 2rem, 1030px);
}

.blog-reading-hero {
  background:
    linear-gradient(122deg, rgba(177, 18, 38, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(11, 11, 13, 0.97), rgba(21, 21, 24, 0.94)),
    url("../img/claimgrid-atmosphere-dark.webp") center / cover no-repeat,
    #0b0b0d;
}

.blog-reading-hero::before {
  content: "";
  position: absolute;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 0;
  height: 0.3rem;
  background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.58), transparent);
  opacity: 0.78;
  pointer-events: none;
}

.blog-reading-hero h1 {
  max-width: 940px;
}

.article-hero-meta,
.page-hero .article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: none;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.article-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.24rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.blog-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 1.25rem;
}

.blog-article {
  position: relative;
  width: 100%;
  max-width: 920px;
  min-width: 0;
  overflow: hidden;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 250, 251, 0.97)),
    var(--white);
  border: 1px solid var(--surface-line);
  border-radius: 0.65rem;
}

.blog-article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.32rem;
  background: linear-gradient(90deg, var(--red) 0 28%, rgba(11, 11, 13, 0.88) 28% 55%, rgba(177, 18, 38, 0.18) 55% 100%);
  pointer-events: none;
}

.blog-article h2 {
  margin-top: 2.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(222, 222, 228, 0.88);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.blog-article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.blog-article h3 {
  margin-top: 1.45rem;
  font-size: 1.12rem;
}

.blog-article p,
.blog-article li {
  max-width: 70ch;
  color: #3f3f46;
  font-size: clamp(1rem, 0.42vw + 0.94rem, 1.08rem);
  line-height: 1.78;
}

.blog-article p {
  margin-top: 0.9rem;
}

.blog-article ol,
.blog-article ul {
  max-width: 72ch;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.blog-article > ol,
.blog-article > ul:not(.official-links):not(.related-articles) {
  padding: 1.05rem 1.15rem 1.05rem 2.2rem;
  background:
    linear-gradient(90deg, rgba(177, 18, 38, 0.055), transparent 52%),
    #fafafa;
  border: 1px solid var(--surface-line);
  border-radius: 0.6rem;
}

.blog-article li::marker {
  color: var(--red);
  font-weight: 800;
}

.blog-article li + li {
  margin-top: 0.65rem;
}

.direct-answer,
.page-hero .direct-answer {
  max-width: 72ch;
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  color: var(--soft-black);
  background:
    linear-gradient(90deg, rgba(177, 18, 38, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(177, 18, 38, 0.22);
  border-radius: 0.62rem;
  line-height: 1.72;
}

.official-links,
.related-articles {
  list-style: none;
  padding-left: 0 !important;
}

.official-links {
  display: grid;
  gap: 0.65rem;
}

.official-links li,
.related-articles li {
  max-width: none;
}

.official-links a,
.related-articles a,
.blog-article a:not(.button) {
  color: var(--red);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.official-links a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.72rem 0.85rem;
  color: var(--soft-black);
  background:
    linear-gradient(90deg, rgba(177, 18, 38, 0.075), rgba(255, 255, 255, 0.9)),
    rgba(177, 18, 38, 0.045);
  border: 1px solid rgba(177, 18, 38, 0.16);
  border-radius: 0.55rem;
  text-decoration: none;
}

.official-links a:hover,
.official-links a:focus-visible {
  color: var(--red);
  border-color: rgba(177, 18, 38, 0.28);
}

.article-cta {
  margin-top: 2.3rem;
  padding: 1.25rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(177, 18, 38, 0.3), transparent 44%),
    url("../img/claimgrid-atmosphere-dark.webp") right center / cover no-repeat,
    var(--soft-black);
  border-radius: 0.65rem;
}

.article-cta h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.article-cta .button {
  margin-top: 1rem;
}

.related-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
}

.related-articles a {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: 0.85rem;
  color: var(--soft-black);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 248, 0.98));
  border: 1px solid var(--surface-line);
  border-radius: 0.55rem;
  text-decoration: none;
}

.related-articles a:hover,
.related-articles a:focus-visible {
  color: var(--red);
  border-color: rgba(177, 18, 38, 0.28);
}

.blog-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-line);
}

.blog-review-meta p {
  margin-top: 0;
  color: #66666f;
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .blog-index-intro {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .blog-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .blog-card-featured .blog-card-media {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .blog-card-featured h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  }

  .blog-article {
    padding: 2.4rem;
  }
}

@media (min-width: 980px) {
  .blog-index-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  }

  .blog-count-panel {
    justify-self: end;
  }

  .blog-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .blog-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .container.blog-article-shell {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .blog-index-hero-shell {
    min-height: auto;
    padding: 3rem 0;
  }

  .blog-index-copy h1 {
    font-size: 2rem;
  }

  .blog-index-actions {
    width: 100%;
  }

  .blog-library-visual {
    min-height: 310px;
  }

  .blog-library-card {
    min-height: 5rem;
  }

  .blog-reading-hero h1 {
    font-size: clamp(1.82rem, 7vw, 2.1rem) !important;
    line-height: 1.16 !important;
  }

  .blog-article h2 {
    font-size: clamp(1.28rem, 5.5vw, 1.58rem) !important;
    line-height: 1.22 !important;
  }

  .blog-article p,
  .blog-article li {
    line-height: 1.7;
  }
}

@media (max-width: 520px) {
  .blog-reading-hero .container {
    max-width: calc(100% - 2rem);
  }

  .blog-article {
    padding: 1.1rem 1rem 1.2rem;
    border-radius: 0.55rem;
  }

  .blog-article h2 {
    margin-top: 1.9rem;
    padding-top: 1.1rem;
  }

  .blog-article > ol,
  .blog-article > ul:not(.official-links):not(.related-articles) {
    padding: 0.95rem 0.95rem 0.95rem 1.55rem;
  }

  .direct-answer,
  .page-hero .direct-answer {
    padding: 0.95rem;
  }

  .article-hero-meta {
    gap: 0.45rem;
  }

  .article-hero-meta span {
    min-height: 1.9rem;
    padding: 0.2rem 0.52rem;
  }
}

/* Global Responsive Optimization for PC, Tablet, and Mobile */
@media (max-width: 980px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .cookie-consent-banner {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .cookie-consent-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
  }
  h2 {
    font-size: 1.7rem !important;
    line-height: 1.3 !important;
  }
  .hero-shell,
  .car-finance-hero-shell,
  .rta-hero-shell,
  .housing-hero-shell {
    gap: 1.5rem;
  }
  .contact-form-replacement {
    padding: 2rem 1.25rem !important;
  }

  .cookie-consent-banner {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }
}

@media (max-width: 480px) {
  .button {
    padding: 0.82rem 0.95rem;
    font-size: 0.96rem;
  }
  .safety-net-banner {
    padding: 1.75rem 1.1rem;
  }

  .cookie-consent-actions {
    align-items: stretch;
  }

  .cookie-consent-actions .button,
  .cookie-consent-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
