:root {
  --bg: #f3eee6;
  --surface: #fbf8f3;
  --surface-strong: #f7f1e8;
  --ink: #18352f;
  --ink-soft: #35574f;
  --muted: #65756f;
  --line: rgba(24, 53, 47, 0.12);
  --accent: #b67b47;
  --accent-deep: #976337;
  --sage: #8ca491;
  --forest: #0f241f;
  --white: #ffffff;
  --shadow-lg: 0 28px 70px rgba(15, 36, 31, 0.13);
  --shadow-md: 0 16px 40px rgba(15, 36, 31, 0.08);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(182, 123, 71, 0.08), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(140, 164, 145, 0.13), transparent 22%),
    linear-gradient(180deg, #f6f1ea 0%, #f3eee6 48%, #f7f4ef 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: rgba(24, 53, 47, 0.34);
}

.section-heading {
  margin: 0.7rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-copy {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}

.section-copy--wide {
  max-width: 100%;
  text-align: justify;
  text-justify: inter-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(243, 238, 230, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 10px 28px rgba(15, 36, 31, 0.10),
    0 2px 8px rgba(15, 36, 31, 0.06);
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.mobile-lang-bar {
  display: none;
  position: sticky;
  top: 105px;
  z-index: 95;
  padding: 0.55rem 0;
  background: rgba(243, 238, 230, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(24, 53, 47, 0.08);
  transition: top 220ms ease, padding 220ms ease, background-color 220ms ease;
}

.site-header__inner {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: min-height 220ms ease, gap 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 6.85rem;
  max-width: min(50vw, 365px);
  object-fit: contain;
  transition: height 220ms ease, max-width 220ms ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav > .site-nav__item,
.site-nav > .site-nav__link {
  position: relative;
}

.site-nav > .site-nav__item:not(:first-child)::before,
.site-nav > .site-nav__link:not(:first-child)::before {
  content: "|";
  position: absolute;
  left: -0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(24, 53, 47, 0.34);
  font-size: 0.9rem;
  font-weight: 700;
  pointer-events: none;
}

.site-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav__item--has-submenu::after {
  content: "";
  position: absolute;
  left: -1rem;
  right: -1rem;
  top: 100%;
  height: 1rem;
}

.site-nav__link,
.site-nav__sublink {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-nav__sublink--button {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.site-nav__link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 0.45rem 0;
  transition: color 180ms ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: var(--ink);
}

.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__item--has-submenu:hover .site-nav__submenu,
.site-nav__item--has-submenu:focus-within .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  min-width: 11rem;
  width: max-content;
  padding: 0.6rem;
  border: 1px solid rgba(24, 53, 47, 0.1);
  border-radius: 18px;
  background: rgba(251, 248, 243, 0.98);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 0.18rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.site-nav__submenu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.4rem;
  width: 0.8rem;
  height: 0.8rem;
  background: rgba(251, 248, 243, 0.98);
  border-left: 1px solid rgba(24, 53, 47, 0.1);
  border-top: 1px solid rgba(24, 53, 47, 0.1);
  transform: translateX(-50%) rotate(45deg);
}

.site-nav__sublink {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav__sublink:hover,
.site-nav__sublink:focus-visible {
  background: rgba(24, 53, 47, 0.06);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: gap 220ms ease;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 53, 47, 0.12);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 10px 24px rgba(15, 36, 31, 0.08);
  transition: padding 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.lang-toggle__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  min-height: 2.6rem;
  padding: 0.58rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lang-toggle__button:hover,
.lang-toggle__button:focus-visible {
  color: var(--ink);
}

.lang-toggle__button.is-active {
  background: linear-gradient(180deg, #35574f 0%, #18352f 100%);
  color: var(--white);
  box-shadow: 0 10px 18px rgba(15, 36, 31, 0.18);
}

.mobile-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  cursor: pointer;
  transition: width 220ms ease, height 220ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  background: rgba(255,255,255,0.82);
  border-color: rgba(24, 53, 47, 0.18);
}

.mobile-toggle__icon {
  position: relative;
  width: 1.05rem;
  height: 0.85rem;
}

.mobile-toggle__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.mobile-toggle__line:nth-child(1) {
  top: 0;
}

.mobile-toggle__line:nth-child(2) {
  top: calc(50% - 1px);
}

.mobile-toggle__line:nth-child(3) {
  top: calc(100% - 2px);
}

body.mobile-nav-open .mobile-toggle__line:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

body.mobile-nav-open .mobile-toggle__line:nth-child(2) {
  opacity: 0;
}

body.mobile-nav-open .mobile-toggle__line:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.72rem 1.18rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.88rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, min-height 220ms ease, padding 220ms ease, font-size 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 36, 31, 0.14);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(180deg, #c48a56 0%, #a76f3f 100%);
  box-shadow:
    0 0 0 0 rgba(196, 138, 86, 0.38),
    0 14px 28px rgba(77, 45, 20, 0.24);
  animation: primary-pulse 2.6s ease-in-out infinite;
}

.button--secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  border-color: rgba(24, 53, 47, 0.12);
}

.button--whatsapp {
  color: var(--white);
  background: linear-gradient(180deg, #2ac66a 0%, #178f4a 100%);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 0 rgba(42, 198, 106, 0.46),
    0 14px 28px rgba(12, 44, 27, 0.22);
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
}

.button--whatsapp:hover,
.button--whatsapp:focus-visible {
  box-shadow:
    0 0 0 10px rgba(42, 198, 106, 0.08),
    0 18px 34px rgba(12, 44, 27, 0.28);
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(42, 198, 106, 0.18),
      0 14px 28px rgba(12, 44, 27, 0.22);
  }

  50% {
    box-shadow:
      0 0 0 12px rgba(42, 198, 106, 0.08),
      0 16px 30px rgba(12, 44, 27, 0.26);
  }
}

@keyframes primary-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(196, 138, 86, 0.18),
      0 14px 28px rgba(77, 45, 20, 0.24);
  }

  50% {
    box-shadow:
      0 0 0 12px rgba(196, 138, 86, 0.08),
      0 16px 30px rgba(77, 45, 20, 0.28);
  }
}

body.header-condensed .site-header {
  background: rgba(243, 238, 230, 0.94);
  border-bottom-color: rgba(24, 53, 47, 0.08);
  box-shadow: 0 12px 24px rgba(15, 36, 31, 0.06);
}

body.header-condensed .site-header__inner {
  min-height: 78px;
  gap: 0.85rem;
}

body.header-condensed .brand-logo {
  height: 5.2rem;
  max-width: min(42vw, 308px);
}

body.header-condensed .header-actions {
  gap: 0.65rem;
}

body.header-condensed .lang-toggle {
  padding: 0.2rem;
  box-shadow: 0 8px 18px rgba(15, 36, 31, 0.08);
}

body.header-condensed .lang-toggle__button {
  min-height: 2.2rem;
  padding: 0.46rem 0.8rem;
  font-size: 0.76rem;
}

body.header-condensed .button {
  min-height: 2.9rem;
  padding: 0.72rem 1.1rem;
  font-size: 0.9rem;
}

body.header-condensed .mobile-lang-bar {
  top: 78px;
  padding: 0.38rem 0;
  background: rgba(243, 238, 230, 0.94);
}

body.header-condensed .mobile-toggle {
  width: 2.45rem;
  height: 2.45rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: stretch;
  background: #d9d1c5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 24, 21, 0.84) 0%, rgba(15, 36, 31, 0.72) 34%, rgba(15, 36, 31, 0.28) 58%, rgba(15, 36, 31, 0.16) 100%),
    linear-gradient(180deg, rgba(14, 31, 27, 0.1) 0%, rgba(14, 31, 27, 0.38) 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-media__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 720ms ease;
}

.hero-media__slide.is-active {
  opacity: 1;
}

.hero-media__slide img,
.hero-media__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-media__slide.is-active img,
.hero-media__slide.is-active video {
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.5%, -1.4%, 0);
  }
}

.hero-media__hud {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  pointer-events: auto;
}

.hero-media__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(15, 36, 31, 0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 28px rgba(7, 17, 15, 0.22);
}

.hero-media__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.hero-media__control:hover,
.hero-media__control:focus-visible {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.hero-media__control span {
  font-size: 1.55rem;
  line-height: 1;
}

.hero-media__control--toggle .hero-media__toggle-icon {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-media__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 36, 31, 0.24);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
}

.hero-media__dot {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-media__dot.is-active {
  transform: scale(1.1);
  background: #efd3b0;
}

.hero-media__dot:hover,
.hero-media__dot:focus-visible {
  background: rgba(239, 211, 176, 0.88);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.1rem 0 4rem;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 620px) minmax(220px, 1fr);
  gap: 2rem;
}

.hero-copy {
  max-width: 39rem;
}

.hero-cta-band {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  margin-top: 0.3rem;
}

.hero-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
}

.hero-alert strong {
  color: #f4d7b1;
}

.hero-title {
  margin: 1rem 0 1.1rem;
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.65rem, 5.8vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-title__line {
  display: block;
  white-space: nowrap;
}

.hero-title__line--accent {
  color: #efd3b0;
}

.hero-subtitle {
  max-width: 34rem;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.84);
  text-align: justify;
  text-justify: inter-word;
}

.hero-points {
  margin: 1.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.hero-points li {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  align-items: start;
  column-gap: 0.8rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.hero-points li::before,
.cta-list li::before,
.trust-card ul li::before {
  content: "";
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #f2d8b0 0 18%, #c58c57 19% 28%, transparent 29%),
    linear-gradient(180deg, rgba(28, 52, 47, 0.84) 0%, rgba(13, 27, 24, 0.96) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 10px 18px rgba(8, 17, 15, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.hero-note {
  max-width: 42rem;
  margin: 1.1rem auto 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.93rem;
  line-height: 1.6;
  text-align: center;
}

.hero-side {
  align-self: start;
  justify-self: end;
  width: min(100%, 320px);
  padding: 1.5rem 1.35rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(6, 15, 13, 0.18);
}

.hero-side__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero-side h2 {
  margin: 0.7rem 0 1rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.03em;
}

.hero-side ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.hero-side li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.8rem;
  align-items: start;
}

.hero-side li strong {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 0.2rem;
}

.hero-side li span:first-child {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(239, 207, 170, 0.18);
  color: #f4d7b1;
  font-weight: 800;
  font-size: 0.82rem;
}

.hero-side li p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.quote-band {
  background: var(--forest);
  color: rgba(255,255,255,0.86);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.quote-band__inner {
  padding: 1.5rem 0;
  text-align: center;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.quote-band strong {
  color: #efd3b0;
}

section {
  padding: 2.9rem 0;
}

#flashpoint,
#solution,
#services,
#trust,
#faq,
#assessment,
#assessment-form {
  scroll-margin-top: 8.1rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.16) 100%);
  border-top: 1px solid rgba(24, 53, 47, 0.05);
  border-bottom: 1px solid rgba(24, 53, 47, 0.05);
}

.problem-grid,
.stats-grid,
.services-grid,
.trust-grid {
  display: grid;
  gap: 1.2rem;
}

.problem-grid {
  margin-top: 2.35rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.problem-item,
.service-card,
.trust-card,
.stat-card,
.testimonial,
.form-panel,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-md);
}

.problem-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 33rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  border: 0;
  box-shadow: var(--shadow-lg);
  background-color: #d8c8bb;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.problem-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--problem-background);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
  transition: transform 380ms ease;
  z-index: 0;
}

.problem-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 26, 24, 0.1) 0%, rgba(18, 26, 24, 0.36) 48%, rgba(12, 19, 18, 0.82) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 24%, rgba(255,255,255,0) 100%);
  transition: opacity 260ms ease, background 260ms ease;
  z-index: 0;
}

.problem-item:hover,
.problem-item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 34px 80px rgba(15, 36, 31, 0.2);
}

.problem-item:hover::before,
.problem-item:focus-within::before {
  transform: scale(1.12);
}

.problem-item:hover::after,
.problem-item:focus-within::after {
  background:
    linear-gradient(180deg, rgba(18, 26, 24, 0.08) 0%, rgba(18, 26, 24, 0.28) 34%, rgba(12, 19, 18, 0.9) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 24%, rgba(255,255,255,0) 100%);
}

.problem-item__content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 2.35rem 1.15rem 1.8rem;
}

.problem-item strong {
  width: 100%;
  max-width: none;
  margin-top: auto;
  color: var(--white);
  font-size: clamp(1.5rem, 1.95vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-shadow: 0 8px 20px rgba(8, 17, 15, 0.5);
  transition: transform 260ms ease, text-shadow 260ms ease;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(3 * 1.1em + 0.18rem);
  padding-bottom: 0.08rem;
}

.problem-item p {
  width: 100%;
  max-width: none;
  margin: 1rem 0 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-word;
  text-shadow: 0 6px 18px rgba(8, 17, 15, 0.44);
  transition: opacity 260ms ease, transform 260ms ease;
}

.problem-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(10px);
  font-size: 0.96rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 17, 15, 0.16);
}

.problem-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.05rem;
  margin-bottom: 0.65rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.94);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.problem-item:hover strong,
.problem-item:focus-within strong {
  transform: translateY(-4px);
  text-shadow: 0 12px 26px rgba(8, 17, 15, 0.56);
}

.problem-item:hover p,
.problem-item:focus-within p {
  transform: translateY(-2px);
}

.problem-item--timing {
  --problem-background:
    linear-gradient(180deg, rgba(217, 130, 132, 0.54) 0%, rgba(105, 36, 37, 0.44) 100%),
    url("../images/Urgent-Familiy-Pain-Point-1.jpg");
}

.problem-item--fear {
  --problem-background:
    linear-gradient(180deg, rgba(98, 150, 219, 0.54) 0%, rgba(17, 44, 78, 0.52) 100%),
    url("../images/Urgent-Familiy-Pain-Point-2.jpg");
}

.problem-item--reviews {
  --problem-background:
    linear-gradient(180deg, rgba(165, 119, 215, 0.5) 0%, rgba(63, 28, 91, 0.56) 100%),
    url("../images/Urgent-Familiy-Pain-Point-3.jpg");
}

.problem-item--money {
  --problem-background:
    linear-gradient(180deg, rgba(112, 170, 141, 0.48) 0%, rgba(22, 54, 44, 0.58) 100%),
    url("../images/Urgent-Familiy-Pain-Point-4.jpg");
}

.market-layout,
.solution-layout,
.trust-layout,
.cta-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.market-layout,
.trust-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.trust-layout {
  grid-template-areas:
    "media content"
    "testimonial testimonial";
}

.trust-layout > .detail-panel {
  grid-area: media;
}

.trust-content {
  grid-area: content;
  min-width: 0;
}

.solution-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

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

.stat-card {
  padding: 1.45rem;
  background:
    radial-gradient(circle at top right, rgba(182, 123, 71, 0.12), transparent 32%),
    rgba(255,255,255,0.8);
}

.stat-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-bottom: 0.65rem;
  text-align: center;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
  text-align: justify;
  text-justify: inter-word;
}

.county-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.county-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(182, 123, 71, 0.12), transparent 34%),
    rgba(255,255,255,0.8);
  box-shadow: var(--shadow-md);
}

.county-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
  text-align: center;
}

.county-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.94rem;
  text-align: justify;
  text-justify: inter-word;
}

.county-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.county-card__link::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

.county-card__link:hover,
.county-card__link:focus-visible {
  color: #8d6a4c;
}

.veteran-callout {
  margin-top: 1.45rem;
  padding: 1.45rem 1.4rem;
  border: 1px solid rgba(24, 53, 47, 0.12);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 14% 18%, rgba(182, 123, 71, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.84) 0%, rgba(247,241,232,0.92) 100%);
  box-shadow: var(--shadow-md);
}

.veteran-callout h3 {
  margin: 0.75rem 0 0.7rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.veteran-callout p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.72;
  text-align: justify;
  text-justify: inter-word;
}

.resource-strip {
  margin-top: 1.15rem;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid rgba(182, 123, 71, 0.54);
  background: rgba(24, 53, 47, 0.04);
  border-radius: 20px;
}

.resource-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.resource-strip a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(182, 123, 71, 0.55);
  text-underline-offset: 0.18em;
}

.detail-panel {
  padding: 1.25rem;
  overflow: hidden;
}

.detail-media {
  position: relative;
}

.detail-panel img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-md) - 6px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.detail-panel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(11, 24, 21, 0.36);
  color: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.62;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.detail-panel__nav:hover,
.detail-panel__nav:focus-visible {
  opacity: 1;
  background: rgba(11, 24, 21, 0.56);
  transform: translateY(calc(-50% - 1px));
}

.detail-panel__nav span {
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-0.08rem);
}

.detail-panel__nav--prev {
  left: 2rem;
}

.detail-panel__nav--next {
  right: 2rem;
}

.detail-panel img.is-rotating {
  opacity: 0.22;
  transform: scale(1.01);
}

.detail-caption {
  padding: 1rem 0.35rem 0.25rem;
}

.detail-caption strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.detail-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
  text-align: justify;
  text-justify: inter-word;
}

.pillar-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.pillar-list li {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(24, 53, 47, 0.1);
}

.pillar-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.pillar-number {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(24, 53, 47, 0.08);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
}

.pillar-copy strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.pillar-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}

.services-grid {
  margin-top: 2.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  padding: 1.6rem 1.4rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,241,232,0.76) 100%);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: grid;
  grid-template-columns: 2.9rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  background: rgba(182, 123, 71, 0.12);
  color: var(--accent-deep);
  font-weight: 800;
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 1;
}

.service-card strong {
  display: block;
  font-size: 1.02rem;
  margin: 0 0 0.55rem;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
  text-align: justify;
  text-justify: inter-word;
  grid-column: 1 / -1;
}

.service-card small {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  grid-column: 1 / -1;
}

.trust-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.trust-card {
  padding: 0 1.15rem;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.trust-card:first-child {
  padding-left: 0;
}

.trust-card:last-child {
  padding-right: 0;
}

.trust-card + .trust-card {
  border-left: 1px solid rgba(24, 53, 47, 0.12);
}

.trust-card strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.7rem;
}

.trust-card p,
.trust-card li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
  text-align: left;
}

.trust-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.trust-card ul li {
  color: var(--muted);
  line-height: 1.7;
  text-align: left;
}

.trust-card ul li::before {
  content: none;
}

.testimonial {
  grid-area: testimonial;
  width: 100%;
  max-width: none;
  padding: 1.45rem 1.5rem 1.2rem;
  margin-top: 0.35rem;
  justify-self: stretch;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(24,53,47,0.98) 0%, rgba(28,58,51,0.94) 100%);
  color: rgba(255,255,255,0.88);
}

.testimonial-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: center;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
}

.testimonial-avatar {
  width: 102px;
  height: 102px;
  border-radius: 50%;
  padding: 6px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.26), rgba(255,255,255,0.06) 42%, rgba(255,255,255,0.02) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 18px 40px rgba(6, 14, 12, 0.24);
}

.testimonial-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #efd3b0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.testimonial-quote {
  margin: 0;
  color: rgba(255,255,255,0.96);
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  line-height: 1.65;
  font-style: italic;
  text-align: left;
}

.testimonial-meta {
  margin: 0.8rem 0 0;
  color: rgba(239, 211, 176, 0.9);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.testimonial-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.testimonial-nav:hover,
.testimonial-nav:focus-visible {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.testimonial-nav span {
  font-size: 2rem;
  line-height: 1;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.testimonial-dot {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.testimonial-dot.is-active {
  transform: scale(1.1);
  background: #efd3b0;
}

.testimonial-dot:hover,
.testimonial-dot:focus-visible {
  background: rgba(239, 211, 176, 0.88);
}

.faq-list {
  margin-top: 2.2rem;
  display: grid;
  gap: 0.95rem;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent-deep);
}

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

.faq-item p {
  margin: 0;
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}

.cta-section {
  padding-top: 3.6rem;
  padding-bottom: 1rem;
  background:
    radial-gradient(circle at top left, rgba(239, 211, 176, 0.12), transparent 22%),
    linear-gradient(180deg, #10221e 0%, #18352f 100%);
  color: var(--white);
}

.cta-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.cta-section .eyebrow {
  color: rgba(255,255,255,0.68);
}

.cta-section .eyebrow::before {
  background: rgba(255,255,255,0.32);
}

.cta-section .section-heading {
  color: var(--white);
}

.cta-section .section-copy,
.cta-list li,
.form-note {
  color: rgba(255,255,255,0.74);
}

.cta-list {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.cta-list li {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  align-items: start;
  column-gap: 0.8rem;
  line-height: 1.7;
  text-align: left;
}

.cta-media-placeholder {
  position: relative;
  margin-top: 1.55rem;
  min-height: 13.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 18px 36px rgba(6, 15, 13, 0.18);
  overflow: hidden;
}

.cta-media-placeholder__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 13.5rem;
  object-fit: cover;
}

.contact-card {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 16px 28px rgba(6, 15, 13, 0.16);
}

.contact-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--white);
  font-size: 1rem;
}

.contact-card p {
  margin: 0.22rem 0 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.65;
  text-align: left;
}

.contact-card__service-area {
  text-align: center;
}

.contact-card a {
  color: #efd3b0;
  font-weight: 700;
 }

.form-panel {
  align-self: stretch;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 20px 42px rgba(6, 15, 13, 0.22);
  backdrop-filter: blur(18px);
}

.form-panel h3 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  line-height: 1.2;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.03em;
  text-align: center;
}

.form-panel p {
  margin: 0 0 1.2rem;
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: justify;
  text-justify: inter-word;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field--hp {
  position: absolute;
  inset-inline-start: -9999px;
  top: auto;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.72);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.48);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(239, 211, 176, 0.62);
  background: rgba(255,255,255,0.16);
}

.form-input:invalid:focus,
.form-textarea:invalid:focus,
.form-select:invalid:focus,
.form-input.is-invalid,
.form-textarea.is-invalid,
.form-select.is-invalid {
  border-color: rgba(255, 159, 159, 0.92);
  box-shadow: 0 0 0 4px rgba(255, 159, 159, 0.14);
}

.form-textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-select {
  appearance: none;
  padding-right: 2.9rem;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.72) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 1.25rem) calc(50% - 0.08rem),
    calc(100% - 0.95rem) calc(50% - 0.08rem);
  background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
  background-repeat: no-repeat;
}

.form-select option {
  color: var(--ink);
  background: #f7f3ea;
}

.form-submit {
  width: 100%;
  margin-top: 1.1rem;
  margin-bottom: 1.1rem;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.82;
}

.form-status {
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.92rem;
  line-height: 1.65;
  text-align: left;
}

.form-status[data-status="success"] {
  background: rgba(42, 196, 120, 0.14);
  border-color: rgba(42, 196, 120, 0.42);
  color: rgba(229, 255, 240, 0.96);
}

.form-status[data-status="error"] {
  background: rgba(209, 98, 98, 0.14);
  border-color: rgba(255, 168, 168, 0.38);
  color: rgba(255, 234, 234, 0.95);
}

.form-note {
  margin-top: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.veteran-banner-wrap {
  display: flex;
  justify-content: center;
  padding-top: 1.15rem;
  padding-bottom: 0;
}

.veteran-banner {
  display: block;
  height: 4rem;
  width: auto;
  object-fit: contain;
}

.site-footer {
  background: #0b1714;
  color: rgba(255,255,255,0.68);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__inner {
  position: relative;
  padding: 1rem 0 0.95rem;
  min-height: 4.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-footer nav a {
  position: relative;
}

.site-footer nav a:not(:first-child)::before,
.site-footer nav .footer-nav__button::before {
  content: "|";
  position: absolute;
  left: -0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.34);
}

.footer-nav__button {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.footer-brand {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

.footer-brand p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-line {
  display: block;
}

.footer-powered {
  position: absolute;
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0;
  text-align: center;
  color: rgba(255,255,255,0.58);
  font-size: 0.84rem;
}

.footer-powered__logo {
  display: block;
  height: 1.96rem;
  width: auto;
  object-fit: contain;
}

.footer-powered__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(6, 13, 11, 0.66);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-shell {
  width: min(100%, 42rem);
  max-height: min(86vh, 46rem);
  overflow: auto;
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(24, 53, 47, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,243,236,0.98) 100%);
  box-shadow: 0 28px 70px rgba(10, 23, 20, 0.3);
  padding: 2rem 1.75rem 1.6rem;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 53, 47, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(24, 53, 47, 0.14);
}

.modal-logo {
  display: block;
  height: 4.7rem;
  width: auto;
  max-width: min(72vw, 260px);
  margin: 0 auto 1rem;
  object-fit: contain;
}

.modal-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.modal-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.98;
}

.modal-copy {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.95rem;
}

.modal-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  text-align: justify;
  text-justify: inter-word;
}

.modal-action {
  margin-top: 1.35rem;
  min-width: 11rem;
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-shell,
  .market-layout,
  .solution-layout,
  .trust-layout,
  .cta-layout,
  .problem-grid,
  .services-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .county-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-layout {
    grid-template-areas:
      "media"
      "content"
      "testimonial";
  }

  .trust-card,
  .trust-card:first-child,
  .trust-card:last-child {
    padding: 0;
  }

  .trust-card + .trust-card {
    border-left: 0;
    border-top: 1px solid rgba(24, 53, 47, 0.12);
    padding-top: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    padding-top: 1.6rem;
    padding-bottom: 3.2rem;
  }

  .hero-side {
    justify-self: center;
  }

  .stats-grid,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media__hud {
    bottom: 1rem;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .testimonial-nav {
    display: none;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .testimonial-kicker,
  .testimonial-body {
    text-align: center;
  }

  .testimonial-quote,
  .testimonial-meta {
    text-align: center;
  }
}

@media (max-width: 820px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    padding-top: 86px;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 92;
    background: rgba(15, 36, 31, 0.18);
    backdrop-filter: blur(4px);
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 110;
  }

  .site-footer__inner {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 0.75rem;
  }

  .footer-brand {
    justify-self: center;
    text-align: center;
  }

  .site-footer nav {
    justify-self: center;
    justify-content: center;
  }

  .site-footer nav .footer-nav__button::before {
    display: none;
  }

  .footer-powered {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
  }

  .site-header__inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    padding-block: 0.35rem;
    position: relative;
  }

  .brand {
    position: relative;
    z-index: 111;
  }

  .brand-logo {
    height: 4.9rem;
    max-width: min(27vw, 110px);
  }

  .header-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    width: auto;
    max-width: 100%;
    padding-right: 0;
    gap: 0.45rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 111;
    align-self: center;
  }

  .lang-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 0.2rem;
    gap: 0.1rem;
    background: rgba(255,255,255,0.84);
    box-shadow: 0 10px 22px rgba(15, 36, 31, 0.08);
  }

  .lang-toggle__button {
    min-height: 2.55rem;
    padding: 0.58rem 0.86rem;
    font-size: 0.8rem;
    font-weight: 800;
  }

  .header-actions > .button {
    min-width: 0;
    width: 10rem;
    max-width: 10rem;
    min-height: 2.55rem;
    padding: 0.58rem 0.86rem;
    font-size: 0.76rem;
    line-height: 1.15;
    text-align: center;
    box-shadow: 0 12px 24px rgba(167, 111, 63, 0.18);
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    background: rgba(255,255,255,0.84);
    box-shadow: 0 10px 24px rgba(15, 36, 31, 0.09);
    position: static;
    right: auto;
    top: auto;
    transform: none;
    justify-self: end;
    align-self: center;
  }

  .hero-media__controls {
    gap: 0.3rem;
  }

  .hero-media__control {
    width: 2.45rem;
    height: 2.45rem;
  }

  .site-nav {
    position: fixed;
    top: 8.6rem;
    left: 0.75rem;
    right: 0.75rem;
    display: none;
    z-index: 108;
    max-height: calc(100svh - 9.6rem);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 0.75rem;
    border-radius: 26px;
    border: 1px solid rgba(24, 53, 47, 0.08);
    background: rgba(252, 248, 242, 0.98);
    box-shadow: 0 22px 48px rgba(15, 36, 31, 0.14);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav__item,
  .site-nav__link,
  .site-nav > .site-nav__link {
    width: 100%;
  }

  .site-nav__item {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
  }

  .site-nav__item--has-submenu::after {
    display: none;
  }

  .site-nav__item--has-submenu > .site-nav__link {
    justify-content: space-between;
  }

  .site-nav__item--has-submenu > .site-nav__link::before {
    content: "";
    order: 2;
    width: 0.6rem;
    height: 0.6rem;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.08rem);
    transition: transform 180ms ease;
  }

  .site-nav__item--has-submenu.is-open > .site-nav__link::before {
    transform: rotate(-135deg) translateX(-0.08rem);
  }

  .site-nav > .site-nav__item:not(:first-child)::before,
  .site-nav > .site-nav__link:not(:first-child)::before {
    display: none;
  }

  .site-nav__link {
    justify-content: flex-start;
    min-height: 3.25rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(24, 53, 47, 0.04);
    font-size: 1rem;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link.is-active {
    background: rgba(24, 53, 47, 0.08);
    color: var(--ink);
  }

  .site-nav__submenu {
    position: static;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    padding: 0 0 0.1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .site-nav__item--has-submenu.is-open .site-nav__submenu {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 0 0.1rem !important;
    margin: 0 !important;
    transform: none !important;
    background: transparent !important;
  }

  .site-nav__item--has-submenu.is-open .site-nav__submenu,
  .site-nav__item--has-submenu.is-open .site-nav__submenu * {
    opacity: 1;
    visibility: visible;
  }

  .site-nav__item--has-submenu.is-open .site-nav__submenu > * {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }

  .site-nav__submenu::before {
    display: none;
  }

  .site-nav__sublink {
    width: 100%;
    max-width: 100%;
    min-height: 2.7rem;
    padding: 0.78rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 14px;
    font-size: 0.92rem;
    justify-content: flex-start;
    text-align: left;
    color: #18352f !important;
    -webkit-text-fill-color: #18352f;
    background: rgba(24, 53, 47, 0.05);
    line-height: 1.2 !important;
  }

  .site-nav__sublink--button {
    color: #18352f !important;
    -webkit-text-fill-color: #18352f;
  }

  .site-nav__sublink span,
  .site-nav__sublink--button span {
    display: block;
    width: 100%;
    color: #18352f !important;
    -webkit-text-fill-color: #18352f;
    font-size: inherit !important;
    line-height: 1.2 !important;
    text-indent: 0 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

.site-nav__sublink:hover,
.site-nav__sublink:focus-visible {
  background: rgba(24, 53, 47, 0.08);
  color: var(--ink);
}

.site-nav__mobile-language {
  display: none;
}

.site-nav__langlink {
  color: var(--ink);
  text-decoration: none;
}

.site-nav.is-open {
  display: flex;
}

  .mobile-lang-bar {
    display: none;
    top: 105px;
    z-index: 97;
  }

  .mobile-lang-bar .container {
    display: flex;
    justify-content: flex-start;
  }

  .lang-toggle--mobile {
    display: none;
  }

  .header-actions .lang-toggle {
    display: none;
  }

  .site-nav__mobile-language {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(24, 53, 47, 0.1);
  }

  .site-nav__langlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #355a55;
  }

  .site-nav__langlink.is-active {
    color: var(--ink);
  }

  body.header-condensed .site-header__inner {
    min-height: 86px;
  }

  body.header-condensed .brand-logo {
    height: 4.9rem;
    max-width: min(27vw, 110px);
  }

  body.header-condensed .header-actions > .button {
    width: 10rem;
    max-width: 10rem;
    min-height: 2.55rem;
    padding: 0.58rem 0.86rem;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  body.header-condensed .mobile-toggle {
    width: 3rem;
    height: 3rem;
  }

  body.header-condensed .site-nav {
    top: 8.6rem;
    max-height: calc(100svh - 9.6rem);
  }

}

@media (max-width: 680px) {
  body {
    padding-top: 78px;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .county-grid {
    grid-template-columns: 1fr;
  }

  .hero-media__hud {
    width: calc(100% - 1.5rem);
    bottom: 3rem;
  }

  .hero-media__controls,
  .hero-media__dots {
    width: max-content;
    max-width: 100%;
  }

  section {
    padding: 2.25rem 0;
  }

  #flashpoint,
  #solution,
  #services,
  #trust,
  #faq,
  #assessment,
  #assessment-form {
    scroll-margin-top: 9.4rem;
  }

  .hero-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
    padding-top: 0.55rem;
    padding-bottom: 5.9rem;
    justify-items: center;
  }

  .hero-side {
    width: min(100%, 21.75rem);
    padding: 1.1rem 1rem 1rem;
    border-radius: 24px;
  }

  .hero-side__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .hero-side h2 {
    margin: 0.55rem 0 0.8rem;
    font-size: 1.1rem;
    line-height: 1.14;
  }

  .hero-side ol {
    gap: 0.85rem;
  }

  .hero-side li {
    grid-template-columns: 1.5rem 1fr;
    gap: 0.65rem;
  }

  .hero-side li span:first-child {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.78rem;
  }

  .hero-side li strong {
    font-size: 0.78rem;
    line-height: 1.26;
    margin-bottom: 0.12rem;
  }

  .hero-side li p {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .hero-copy {
    max-width: 100%;
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.15rem, 9.1vw, 3.9rem);
    margin: 0.75rem 0 0.9rem;
    text-align: center;
  }

  .section-heading {
    font-size: clamp(1.45rem, 5.8vw, 2.15rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
  }

  .hero-alert {
    gap: 0.55rem;
    padding-block: 0.55rem;
    padding-inline: 0.9rem;
    border-radius: 20px;
    justify-content: center;
    margin-inline: auto;
  }

  .hero-points {
    margin-top: 1.25rem;
    justify-self: stretch;
    width: 100%;
  }

  .hero-points li {
    text-align: left;
  }

  .hero-cta-band {
    margin-top: -0.55rem;
    padding-bottom: 4.75rem;
  }

  .hero-actions {
    margin-top: 1.1rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.7rem;
  }

  .button,
  .form-submit {
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    max-width: none;
    min-height: 2.78rem;
    padding: 0.68rem 0.58rem;
    font-size: 0.64rem;
    line-height: 1.05;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .hero-note {
    max-width: 20rem;
    margin-top: 1.35rem;
    font-size: 0.925rem;
    line-height: 1.5;
  }

  .stats-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    min-height: 78px;
    column-gap: 0.6rem;
    padding-block: 0.25rem;
  }

  .brand-logo {
    height: 3.9rem;
    max-width: min(23vw, 82px);
  }

  .header-actions {
    gap: 0.5rem;
    padding-right: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .header-actions > .button {
    width: 10rem;
    max-width: 10rem;
    min-height: 2.35rem;
    padding: 0.52rem 0.72rem;
    font-size: 0.68rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .mobile-toggle {
    width: 2.7rem;
    height: 2.7rem;
  }

  .site-nav {
    top: 7.35rem;
    left: 0.625rem;
    right: 0.625rem;
    max-height: calc(100svh - 8rem);
    padding: 0.7rem;
    border-radius: 24px;
  }

  .site-nav__link {
    min-height: 3.05rem;
    padding: 0.88rem 0.95rem;
    font-size: 0.96rem;
  }

  .site-nav__sublink {
    min-height: 2.55rem;
    padding: 0.74rem 0.95rem;
    font-size: 0.88rem;
  }

  .modal-backdrop {
    padding: 1rem;
  }

  .modal-shell {
    padding: 1.8rem 1rem 1.25rem;
    border-radius: 24px;
  }

  .modal-logo {
    height: 4rem;
  }

  .detail-panel__nav {
    width: 2.55rem;
    height: 2.55rem;
  }

  .detail-panel__nav--prev {
    left: 1.5rem;
  }

  .detail-panel__nav--next {
    right: 1.5rem;
  }

  body.header-condensed .site-header__inner {
    min-height: 78px;
  }

  body.header-condensed .brand-logo {
    height: 3.9rem;
    max-width: min(23vw, 82px);
  }

  body.header-condensed .header-actions > .button {
    width: 10rem;
    max-width: 10rem;
    min-height: 2.35rem;
    padding: 0.52rem 0.72rem;
    font-size: 0.68rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  body.header-condensed .mobile-toggle {
    width: 2.7rem;
    height: 2.7rem;
  }

  body.header-condensed .lang-toggle__button {
    min-height: 2.2rem;
    padding: 0.46rem 0.62rem;
    font-size: 0.68rem;
  }

  body.header-condensed .site-nav {
    top: 6.65rem;
    max-height: calc(100svh - 7.1rem);
  }

  .section-heading {
    font-size: clamp(1.36rem, 5.4vw, 1.95rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
  }

  .quote-band__inner {
    text-align: center;
  }

  .footer-powered {
    justify-content: center;
  }

  .veteran-banner {
    height: 3.35rem;
  }

  .footer-powered__logo {
    height: 1.67rem;
  }
}

@media (min-width: 1025px) {
  .site-nav__mobile-language {
    display: none !important;
  }
}

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

  .hero-media img,
  .reveal,
  .button,
  .service-card {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
