:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #121a3e;
  --muted: #5b6580;
  --line: #dde2ea;
  --blue: #121a3e;
  --green: #e1b91b;
  --green-dark: #cda615;
  --gold: #e1b91b;
  --red: #8b6d1f;
  --shadow: 0 18px 48px rgba(18, 26, 62, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 94px;
  padding: 10px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  line-height: 0;
}

.brand-logo-image {
  display: block;
  width: 220px;
  height: auto;
}

.site-header .brand-logo-image {
  width: 212px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
}

.main-nav a {
  padding: 9px 9px;
  border-radius: 8px;
  color: var(--blue);
  font-size: 14px;
  white-space: nowrap;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: #f4f5f8;
  color: var(--blue);
}

.nav-pill {
  border: 1px solid var(--line);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.phone {
  white-space: nowrap;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page {
  min-height: 65vh;
}

.section {
  padding: 56px clamp(18px, 5vw, 72px);
}

.section-tight {
  padding-top: 24px;
  padding-bottom: 24px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.985) 0%, rgba(18, 26, 62, 0.965) 34%, rgba(18, 26, 62, 0.84) 58%, rgba(18, 26, 62, 0.34) 82%, rgba(18, 26, 62, 0.08) 100%),
    radial-gradient(circle at 76% 18%, rgba(225, 185, 27, 0.12), transparent 26%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.08fr);
  gap: 18px;
  align-items: start;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 102px 0 58px;
  color: #fff;
}

.hero-reference {
  position: relative;
  min-height: 500px;
  margin: 0 -42px 0 0;
  overflow: hidden;
}

.hero-reference::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.72) 0%, rgba(18, 26, 62, 0.34) 16%, rgba(18, 26, 62, 0.1) 26%, rgba(18, 26, 62, 0) 38%),
    var(--hero-home-image) center right / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 7%, rgba(0, 0, 0, 0.76) 18%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 7%, rgba(0, 0, 0, 0.76) 18%, #000 28%, #000 100%);
}

.reference-wide img,
.reference-inline img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.reference-wide,
.reference-inline {
  box-shadow: var(--shadow);
}

.reference-wide,
.reference-inline {
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reference-narrow {
  width: min(840px, 100%);
}

.reference-light {
  border-color: rgba(255, 255, 255, 0.2);
}

.eyebrow {
  margin: 0 0 14px;
  color: #cdbb7a;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.lead {
  font-size: 20px;
  color: #dce8ec;
  max-width: 650px;
}

.hero-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.hero-content .hero-actions,
.page-hero-copy .hero-actions,
.agent-hero-copy .hero-actions {
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--blue);
  box-shadow: 0 10px 28px rgba(225, 185, 27, 0.24);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--blue);
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}

.btn-ghost {
  background: #f4f5f8;
  color: var(--blue);
}

.btn-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1060px, calc(100% - 36px));
  margin: -48px auto 0;
  position: relative;
  z-index: 2;
}

.trust-item,
.card,
.case-row,
.cabinet-panel,
.modal-card,
.calc-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-item {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 158px;
  padding: 22px;
}

.trust-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(225, 185, 27, 0.18);
  color: var(--blue);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.icon-dot {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(225, 185, 27, 0.18);
  color: var(--blue);
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

.section-head {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 20px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
}

.card {
  padding: 22px;
  color: var(--ink);
}

.card p,
.muted {
  color: var(--muted);
}

.problem-card {
  display: grid;
  gap: 14px;
}

.problem-card strong {
  color: var(--blue);
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  margin-top: 16px;
}

.problem-brief {
  min-height: 100%;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(18, 26, 62, 0.92), rgba(18, 26, 62, 0.78)),
    url("images/life-precheck-analysis.jpg") center/cover no-repeat;
  color: #fff;
}

.problem-brief::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 26, 62, 0.68), rgba(18, 26, 62, 0.2));
}

.problem-brief > * {
  position: relative;
  z-index: 1;
}

.problem-brief .eyebrow {
  color: #d6c17a;
}

.problem-brief h3,
.problem-brief p {
  color: #fff;
}

.problem-checklist {
  display: grid;
  gap: 14px;
}

.checklist-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.checklist-card strong {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: rgba(225, 185, 27, 0.16);
  color: var(--blue);
  font-size: 20px;
}

.service-card {
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.number {
  color: var(--gold);
  font-size: 44px;
  font-weight: 900;
}

.dark-band {
  background: var(--blue);
  color: #fff;
}

.dark-band .muted,
.dark-band .section-head p {
  color: #d5daea;
}

.metric-band,
.case-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.metric-band-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f7fa;
}

.metric-band-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-band-card strong {
  color: var(--blue);
  font-size: 20px;
  line-height: 1.25;
}

.case-table {
  display: grid;
  gap: 10px;
}

.case-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  box-shadow: none;
}

.case-row.header {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-row .btn {
  justify-self: start;
}

.form-band {
  background: linear-gradient(135deg, #f7f8fb, #ffffff);
}

.lead-form,
.payment-form,
.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contacts-form {
  align-items: start;
  align-content: start;
  align-self: start;
  height: auto;
}

.contacts-form > label {
  align-self: start;
}

label {
  display: grid;
  gap: 7px;
  color: #465963;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea,
select {
  /* width: 100%; */
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  line-height: 1.2;
  outline: none;
}

.contacts-form input {
  min-height: 56px;
  height: 56px;
}

.contacts-form textarea {
  min-height: 180px;
  max-height: 260px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(225, 185, 27, 0.16);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note a {
  text-decoration: underline;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.calc-intro {
  display: grid;
  gap: 14px;
}

.calc-points {
  display: grid;
  gap: 10px;
}

.calc-point {
  display: grid;
  gap: 8px;
}

.calc-point strong {
  color: var(--blue);
}

.calc-box {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
}

.range-line {
  display: grid;
  gap: 8px;
  margin: 0;
}

input[type="range"] {
  padding: 0;
}

.calc-result {
  position: relative;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 26, 62, 0.92), rgba(18, 26, 62, 0.8)),
    url("images/life-calc-estimate-v2.jpg") center/cover no-repeat;
  color: #fff;
}

.calc-result::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 26, 62, 0.7), rgba(18, 26, 62, 0.2));
}

.calc-result > * {
  position: relative;
  z-index: 1;
}

.calc-result strong {
  display: block;
  font-size: 34px;
  line-height: 1.05;
}

#calculator .btn {
  width: 100%;
}

.btn:focus-visible {
  outline: 3px solid rgba(225, 185, 27, 0.28);
  outline-offset: 2px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 34, 0.62);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: none;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.toast.show {
  display: block;
}

.page-hero {
  position: relative;
  z-index: 2;
  overflow: visible;
  background: linear-gradient(90deg, rgba(18, 26, 62, 0.96), rgba(18, 26, 62, 0.94));
  padding: 0 clamp(18px, 5vw, 72px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.98) 0%, rgba(18, 26, 62, 0.95) 34%, rgba(18, 26, 62, 0.86) 58%, rgba(18, 26, 62, 0.34) 82%, rgba(18, 26, 62, 0.1) 100%),
    radial-gradient(circle at 78% 18%, rgba(225, 185, 27, 0.1), transparent 24%);
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(620px, 1.24fr);
  gap: 10px;
  align-items: start;
  width: min(1360px, 100%);
  min-height: 660px;
  padding: 58px 0 18px;
}

.page-hero-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  color: #fff;
}

.page-hero-copy h1 {
  max-width: 10.8ch;
  color: #fff;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 0.96;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.page-hero-copy .lead {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.45vw, 20px);
}

.page-hero-side {
  display: flex;
  align-items: flex-start;
  align-self: start;
}

.page-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  width: calc(100% + 92px);
  min-height: 500px;
  margin-right: -92px;
  padding: 38px 46px 34px 132px;
  border-radius: 0 18px 18px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.94) 0%, rgba(18, 26, 62, 0.72) 22%, rgba(18, 26, 62, 0.34) 58%, rgba(18, 26, 62, 0.08) 100%),
    var(--hero-image) center right/cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 5%, rgba(0, 0, 0, 0.64) 16%, #000 27%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 5%, rgba(0, 0, 0, 0.64) 16%, #000 27%, #000 100%);
}

.page-hero-visual-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 23, 28, 0.08), rgba(11, 23, 28, 0.3)),
    radial-gradient(circle at 76% 18%, rgba(225, 185, 27, 0.08), transparent 24%);
}

.page-hero-visual-copy,
.page-hero-tags {
  position: relative;
  z-index: 1;
}

.page-hero-visual-copy {
  display: grid;
  gap: 12px;
  max-width: 430px;
  align-content: start;
}

.page-hero-kicker {
  color: #d6c17a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero-visual-copy strong {
  color: #fff;
  font-size: clamp(34px, 2.8vw, 48px);
  line-height: 1.02;
}

.page-hero-visual-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
}

.page-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.page-hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-highlights {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  grid-column: 1 / -1;
  width: min(1060px, calc(100% - 120px));
  margin: 18px auto -42px;
}

.hero-highlight {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(23, 43, 54, 0.06);
}

.hero-highlight-mark {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.hero-highlight strong {
  color: var(--blue);
  font-size: 15px;
}

.hero-highlight span {
  color: var(--muted);
  font-size: 14px;
}

.page-hero + .section {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

.page-hero + .section.section-tight {
  padding-top: 42px;
}

.visual-card {
  min-height: 320px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.review {
  min-height: 210px;
}

.immersive-warning {
  position: relative;
  overflow: hidden;
  padding: 96px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.88), rgba(18, 26, 62, 0.78)),
    var(--warning-image) center/cover no-repeat;
}

.immersive-warning::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 62, 0.18);
}

.immersive-warning-inner {
  position: relative;
  z-index: 1;
}

.immersive-warning-copy {
  display: grid;
  gap: 24px;
  max-width: 820px;
  color: #fff;
}

.immersive-warning-copy h2 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
  text-transform: uppercase;
}

.immersive-warning-copy strong {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
}

.immersive-warning-copy ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.immersive-warning-copy li {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(20px, 2vw, 28px);
}

.immersive-warning-copy li::before {
  content: "- ";
}

.immersive-warning-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.testimonials-band {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.9), rgba(18, 26, 62, 0.84)),
    var(--testimonials-image) center/cover no-repeat;
}

.testimonials-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.66), rgba(18, 26, 62, 0.36)),
    radial-gradient(circle at 82% 20%, rgba(225, 185, 27, 0.08), transparent 24%);
}

.testimonials-band .section-inner {
  position: relative;
  z-index: 1;
}

.testimonials-head {
  align-items: end;
}

.testimonials-head h1 {
  color: #fff;
  font-size: clamp(36px, 4.2vw, 58px);
}

.testimonials-head p {
  color: rgba(255, 255, 255, 0.76);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 18px;
  margin-top: 30px;
}

.review-video-grid {
  align-items: start;
}

.review-video-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.review-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #0e1537;
}

.review-video-meta {
  display: grid;
  gap: 4px;
}

.review-video-meta strong {
  color: var(--blue);
  font-size: 20px;
}

.review-video-meta span {
  color: var(--muted);
  font-size: 14px;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.testimonial-card {
  display: grid;
  gap: 18px;
}

.testimonial-bubble {
  position: relative;
  padding: 28px 30px;
  border-radius: 16px;
  background: #fff;
  min-height: 180px;
}

.testimonial-bubble::after {
  content: "";
  position: absolute;
  left: 54px;
  bottom: -22px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 24px solid #fff;
}

.testimonial-bubble p {
  margin: 0;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.38;
}

.testimonial-card strong {
  padding-left: 62px;
  color: #fff;
  font-size: 22px;
}

.review-sources-section {
  background: #fff;
}

.review-sources-inner {
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}

.review-sources-inner h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.review-sources-inner p {
  max-width: 760px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.34;
}

.review-sources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 12px;
}

.review-source {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 26, 62, 0.08);
  text-align: center;
}

.review-source span {
  line-height: 1;
  letter-spacing: 0;
}

.review-source small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.review-source-yell span {
  color: #2e2e2e;
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 900;
  font-style: italic;
}

.review-source-twogis span {
  color: #27ae60;
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 900;
}

.review-source-google span {
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 700;
  background: linear-gradient(90deg, #4285f4 0 22%, #ea4335 22% 45%, #fbbc05 45% 62%, #34a853 62% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.review-source-yandex span {
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 900;
  color: #111;
}

.review-source-yandex span::first-letter {
  color: #e21d2e;
}

.article-library {
  padding-top: 82px;
}

.article-library-head {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.article-library-head h1 {
  color: #fff;
  font-size: clamp(36px, 4.2vw, 58px);
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 26px;
}

.article-gallery-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.article-gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25 / 0.76;
  object-fit: cover;
  border-radius: 0;
}

.article-gallery-card h3 {
  color: #fff;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.2;
}

.article-gallery-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.45;
}

.video-placeholder {
  display: grid;
  min-height: 240px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #121a3e, #25305f);
  color: #fff;
  text-align: center;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
  padding: 42px clamp(18px, 5vw, 72px);
  background: var(--blue);
  color: #d9e4e7;
}

.footer a {
  color: #fff;
}

.footer-brand .brand-logo-image {
  width: 236px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
}

.cabinet {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 94px);
}

.cabinet-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  height: calc(100vh - 94px);
  padding: 22px;
  background: var(--blue);
  color: #fff;
  overflow: auto;
}

.user-badge {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.role-select {
  margin-top: 12px;
}

.cabinet-nav {
  display: grid;
  gap: 6px;
  margin-top: 22px;
}

.cabinet-nav button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d9e4e7;
  text-align: left;
  cursor: pointer;
  padding: 10px 12px;
}

.cabinet-nav button.active,
.cabinet-nav button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cabinet-main {
  padding: 28px clamp(18px, 4vw, 48px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.metric {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: 28px;
}

.cabinet-panel {
  padding: 24px;
  box-shadow: none;
}

.tabs-title {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap .data-table {
  min-width: 720px;
}

.data-table th,
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #f4f5f8;
  color: var(--blue);
}

.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(225, 185, 27, 0.16);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.copy-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.faq-list,
.checklist {
  display: grid;
  gap: 12px;
}

.accordion {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.accordion summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 900;
}

.accordion-body {
  padding: 0 18px 18px;
}

.checklist-item {
  display: grid;
  grid-template-columns: 72px minmax(220px, 1fr) 160px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.code-pill {
  display: inline-flex;
  width: fit-content;
  min-width: 44px;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(225, 185, 27, 0.16);
  color: var(--blue);
  font-weight: 900;
}

.article-body {
  max-width: 820px;
}

.article-body p,
.article-body li {
  color: #43545d;
}

.office-card {
  align-content: start;
}

.office-card,
.map-card {
  display: grid;
  gap: 18px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.contact-list strong {
  color: var(--blue);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fb;
}

.map-card strong {
  color: var(--blue);
}

.office-map {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2f7;
  box-shadow: var(--shadow);
}

.office-map img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.office-map span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(18, 26, 62, 0.14);
}

.team-grid {
  align-items: start;
}

.team-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 0.9;
  object-fit: cover;
  border-radius: 8px;
}

.team-card strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.team-card span {
  display: block;
  margin-top: 6px;
  color: #7a6640;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-card p {
  margin-top: 12px;
}

.case-note {
  margin-bottom: 18px;
}

.case-note strong {
  color: var(--blue);
}

.policy-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #43545d;
}

.consequence-grid .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.consequence-grid h3,
.consequence-grid p {
  color: #fff;
}

.agent-hero {
  padding: 0 clamp(18px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.98) 0%, rgba(18, 26, 62, 0.95) 34%, rgba(18, 26, 62, 0.82) 58%, rgba(18, 26, 62, 0.32) 82%, rgba(18, 26, 62, 0.08) 100%),
    var(--agent-hero-image) 76% center/cover no-repeat;
}

.agent-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 62, 0.84) 0%, rgba(18, 26, 62, 0.48) 26%, rgba(18, 26, 62, 0.1) 48%, rgba(18, 26, 62, 0) 70%),
    radial-gradient(circle at 82% 24%, rgba(225, 185, 27, 0.08), transparent 24%);
}

.agent-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(620px, 1.24fr);
  gap: 10px;
  align-items: start;
  min-height: 660px;
  padding: 58px 0 26px;
}

.agent-hero-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  color: #fff;
}

.agent-hero-copy h1 {
  max-width: 10.4ch;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  color: #fff;
}

.agent-hero-copy .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.45vw, 20px);
}

.agent-hero-card {
  display: flex;
  justify-content: flex-start;
  width: calc(100% + 92px);
  min-height: 500px;
  margin-right: -92px;
  padding: 38px 46px 34px 132px;
  border: 0;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(18, 26, 62, 0.58) 0%, rgba(18, 26, 62, 0.42) 30%, rgba(18, 26, 62, 0.22) 64%, rgba(18, 26, 62, 0.14) 100%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 7%, rgba(0, 0, 0, 0.76) 18%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 7%, rgba(0, 0, 0, 0.76) 18%, #000 28%, #000 100%);
}

.agent-hero-stats {
  display: grid;
  gap: 14px;
  align-self: start;
  width: min(420px, 100%);
}

.agent-hero-stats article {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.agent-hero-stats span {
  color: #d6c17a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-hero-stats strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
}

.step-flow .card {
  position: relative;
  overflow: hidden;
}

.step-flow .card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #f0cf57);
}

.video-surface {
  display: grid;
  justify-items: start;
  gap: 14px;
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(18, 26, 62, 0.88), rgba(18, 26, 62, 0.56)),
    url("images/life-agent-partner.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.video-surface video {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.video-surface-media {
  min-height: auto;
  align-content: start;
  justify-self: end;
  width: min(100%, 560px);
  padding: 20px;
}

.video-surface-media video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0b1026;
}

.video-surface-media strong,
.video-surface-media p {
  max-width: none;
}

.video-surface strong,
.video-surface p {
  color: #fff;
}

.video-surface p {
  max-width: 360px;
  margin: 0;
}

.contacts-layout {
  align-items: start;
}

.video-surface-compact {
  min-height: 220px;
}

.video-play {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.video-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #fff;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
  }

  body.menu-open .main-nav,
  body.menu-open .header-actions {
    display: flex;
  }

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

  .article-gallery,
  .review-sources-grid,
  .review-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 6px 0 0;
  }

  .problem-layout,
  .metric-band,
  .case-summary,
  .agent-hero-grid,
  .page-hero .section-inner,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-hero .section-inner {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 34px;
  }

  .page-hero-copy h1,
  .agent-hero-copy h1 {
    max-width: 100%;
  }

  .page-hero-visual {
    width: 100%;
    min-height: 360px;
    margin-right: 0;
    padding: 32px 28px;
    border-radius: 12px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .page-hero + .section {
    padding-top: 54px;
  }

  .agent-hero-grid {
    min-height: auto;
  }

  .agent-hero-card {
    width: 100%;
    min-height: 0;
    margin-right: 0;
    padding: 28px;
    border-radius: 12px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .case-row {
    grid-template-columns: 1fr 1fr;
  }

  .immersive-warning {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .immersive-warning-copy h2,
  .immersive-warning-copy strong {
    max-width: 100%;
  }

  .case-row.header {
    display: none;
  }

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

  .cabinet-sidebar {
    position: static;
    height: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 10px;
    min-height: 82px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    min-width: 0;
  }

  .site-header .brand-logo-image {
    width: 168px;
  }

  .footer-brand .brand-logo-image {
    width: 188px;
  }

  .menu-toggle {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
  }

  .hero {
    min-height: 620px;
  }

  .hero::before {
    background: rgba(18, 26, 62, 0.94);
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 36px);
    grid-template-columns: 1fr;
    margin: 0 auto;
    padding: 78px 18px 98px;
  }

  .hero-reference {
    display: none;
  }

  .agent-hero {
    padding: 28px 18px 52px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.13;
    max-width: 350px;
  }

  .lead {
    font-size: 18px;
    max-width: 350px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 360px;
  }

  .trust-row,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .lead-form,
  .payment-form,
  .profile-form,
  .calc-layout,
  .page-hero .section-inner,
  .footer,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .article-gallery,
  .review-sources-grid,
  .review-video-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    display: grid;
  }

  .page-hero-copy h1,
  .agent-hero-copy h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .page-hero-visual-copy strong {
    font-size: 28px;
  }

  .page-hero-visual,
  .video-surface {
    min-height: 280px;
  }

  .page-hero .section-inner {
    padding-top: 58px;
    padding-bottom: 34px;
  }

  .page-hero + .section {
    padding-top: 54px;
  }

  .agent-hero-card {
    padding: 22px;
  }

  .agent-hero-stats {
    width: 100%;
  }

  .trust-row {
    margin-top: -38px;
  }

  .testimonial-bubble {
    min-height: auto;
    padding: 22px 22px 24px;
  }

  .testimonial-bubble p {
    font-size: 18px;
  }

  .testimonial-card strong {
    padding-left: 44px;
    font-size: 18px;
  }

  .review-source {
    min-height: 160px;
  }

  .office-map img {
    min-height: 300px;
  }

  .immersive-warning {
    padding: 56px 18px;
  }

  .immersive-warning-copy {
    gap: 18px;
  }

  .immersive-warning-copy li {
    font-size: 18px;
  }

  .section-head,
  .tabs-title {
    display: grid;
    align-items: start;
  }

  .copy-line {
    grid-template-columns: 1fr;
  }

  .checklist-item {
    grid-template-columns: 1fr;
  }

  .cabinet-nav {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
