.tpl {
  background: transparent;
  color: #d6e6f8;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
.tpl .container {
  width: min(1240px, calc(100% - 48px));
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}
.tpl .row {
  margin-left: 0;
  margin-right: 0;
}
.tpl .block {
  max-width: none;
  width: 100%;
}
.tpl h1,
.tpl h2,
.tpl h3 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #0c2d48;
  letter-spacing: -0.02em;
}
.tpl a {
  color: #0a6b8a;
}
.fam-hero {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 0;
  padding: 28px 0 16px;
  color: #f4f7fb;
  background: transparent;
}
.fam-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: max(24px, calc((100% - 1240px) / 2));
  top: 40px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.55), rgba(56, 189, 248, 0.12) 42%, transparent 70%);
  pointer-events: none;
}
.fam-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 12px 56px;
  align-items: center;
  text-align: left;
  margin: 0 auto;
  padding: 12px 0 8px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.fam-hero .container > * {
  grid-column: 1;
}
.fam-hero .container > nav {
  grid-column: 1;
  grid-row: 1;
}
.fam-hero .container > .fam-kicker {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin: 0;
}
.fam-hero .container > h1 {
  grid-column: 1;
  grid-row: 3;
}
.fam-hero .container > .fam-lead {
  grid-column: 1;
  grid-row: 4;
  max-width: 46ch;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.fam-hero .container > .fam-actions {
  grid-column: 1;
  grid-row: 5;
  justify-self: start;
  justify-content: flex-start;
  margin: 0;
}
.fam-hero .container::before {
  content: none;
}
.fam-hero .container::after {
  content: "";
  position: relative;
  grid-column: 2;
  grid-row: 2 / span 4;
  align-self: stretch;
  justify-self: stretch;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
  height: auto;
  min-height: 460px;
  margin: 0;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 28px;
  clip-path: none;
  background:
    linear-gradient(160deg, rgba(125, 211, 252, 0.22), transparent 42%),
    url("assets/new/ai-circuit.jpg") center / cover no-repeat;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.3),
    0 0 70px rgba(37, 99, 235, 0.4),
    0 28px 50px rgba(2, 8, 24, 0.45);
  filter: none;
  animation: none;
}
.fam-hero h1 {
  position: relative;
  color: #f8fbff;
  font-size: clamp(2.6rem, 4.4vw, 3.7rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 12ch;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.fam-hero h1::before,
.fam-hero .fam-lead::before,
.fam-hero .fam-actions::before,
.fam-hero .crumbs::before {
  content: none;
  display: none;
}
.fam-hero h1::after {
  content: none;
  display: none;
  animation: none;
}
.fam-kicker {
  margin: 0;
  color: #ffd25e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fam-hero .fam-kicker {
  display: block;
  width: fit-content;
  margin: 0 0 14px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid #38bdf8;
  border-radius: 0;
  background: none;
  color: #7dd3fc;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}
.fam-hero .fam-kicker::before {
  content: none;
  animation: none;
}
.fam-lead {
  max-width: 58ch;
  color: #e7f1f8;
  font-size: 1.05rem;
  margin: 0 0 18px;
}
.fam-hero .fam-lead {
  max-width: 46ch;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  color: #c5d4e8;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.fam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fam-hero .fam-actions {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 12px;
}
.fam-hero .fam-gold,
.fam-hero .fam-ghost {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  box-shadow: none;
}
.fam-hero .fam-gold:focus-visible,
.fam-hero .fam-ghost:focus-visible,
.fam-hero .crumbs a:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 3px;
}
.fam-hero .fam-ghost {
  background: transparent;
  border: 1px solid rgba(197, 212, 232, 0.45);
  box-shadow: none;
}
.fam-hero .fam-ghost:hover {
  border-color: #f4f7fb;
  background: rgba(255, 255, 255, 0.06);
}
.fam-gold,
.fam-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.fam-gold {
  background: #ffd25e;
  color: #0c2d48 !important;
}
.fam-gold:hover {
  background: #ffe08a;
}
.fam-ghost {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff !important;
}
.fam-hero .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  width: auto;
  justify-content: flex-start;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: none;
  --bs-breadcrumb-divider: "";
}
.fam-hero .crumbs a,
.fam-hero .crumbs span {
  color: #9fb4cc;
  font-size: 0.875rem;
  text-decoration: none;
}
.fam-hero .crumbs span {
  color: #f4f7fb;
}
.fam-hero .crumbs a:hover {
  color: #f4f7fb;
}
.fam-hero .crumbs li + li::before {
  content: "/";
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 8px;
  vertical-align: baseline;
  background: none;
  box-shadow: none;
  color: rgba(159, 180, 204, 0.7);
  font-size: 0.875rem;
}
.fam-stats {
  position: relative;
  z-index: 2;
  margin-top: 36px;
}
.fam-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(12, 45, 72, 0.16);
  overflow: hidden;
}
.fam-stat {
  position: relative;
  padding: 28px 18px 24px;
  text-align: center;
  background: transparent;
}
.fam-stat + .fam-stat {
  box-shadow: inset 1px 0 0 #e6eef6;
}
.fam-stat strong {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #0c2d48;
  color: #ffd25e;
  font-size: 1.05rem;
  letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(12, 45, 72, 0.2);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.fam-rail::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 58px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e8a020 18%, #e8a020 82%, transparent);
}
.fam-rail {
  position: relative;
}
.fam-stat:hover strong {
  transform: translateY(-4px);
  background: #ffd25e;
  color: #0c2d48;
}
.fam-stat span {
  display: block;
  color: #0c2d48;
  font-weight: 700;
  font-size: 1.02rem;
}
.fam-main {
  padding: 56px 0 88px;
}
.fam-layout {
  display: flex;
  flex-direction: column;
}
.fam-side {
  order: -1;
  position: static;
  margin: 0 0 36px;
}
.fam-widget {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 28px 250px 26px 108px;
  border-radius: 24px;
  color: #e7f4ff;
}
.fam-widget::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 64px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(4, 12, 28, 0.12), rgba(4, 12, 28, 0.5)),
    url("assets/new/ai-circuit.jpg") center / cover no-repeat;
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.5);
  pointer-events: none;
}
.fam-widget::after {
  content: "";
  position: absolute;
  left: 42px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 3px;
  background:
    linear-gradient(#7dd3fc, #7dd3fc) center / 10px 1.5px no-repeat,
    linear-gradient(#7dd3fc, #7dd3fc) center / 1.5px 10px no-repeat,
    #1d4ed8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.28), 0 0 16px #38bdf8;
  animation: nerve-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}
.fam-widget .fam-kicker {
  margin: 0 0 6px;
  color: #7dd3fc;
  letter-spacing: 0.16em;
}
.fam-widget h2 {
  margin: 0 0 6px;
  color: #f4f8ff;
  font-size: 1.7rem;
}
.fam-widget > p {
  max-width: 52ch;
  margin: 0 0 14px;
  color: #d6e6f8;
}
.fam-widget .fam-gold {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 198px;
  min-height: 54px;
  margin: 0;
  border-radius: 14px;
}
.fam-widget a[href^="tel"],
.fam-widget a[href^="mailto"] {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0 10px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(5, 16, 38, 0.72);
  color: #e7f4ff;
  text-decoration: none;
}
.fam-widget a[href^="tel"]::before,
.fam-widget a[href^="mailto"]::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}
.fam-widget a[href^="tel"]:hover,
.fam-widget a[href^="mailto"]:hover {
  border-color: #7dd3fc;
  color: #fff;
}
.fam-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: 16px;
  align-items: stretch;
  width: auto;
  margin: 0 0 28px;
  padding: 14px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background:
    linear-gradient(#38bdf8, #38bdf8) 16px 16px / 26px 2px no-repeat,
    linear-gradient(#38bdf8, #38bdf8) 16px 16px / 2px 26px no-repeat,
    linear-gradient(#38bdf8, #38bdf8) right 16px top 16px / 26px 2px no-repeat,
    linear-gradient(#38bdf8, #38bdf8) right 16px top 16px / 2px 26px no-repeat,
    linear-gradient(#38bdf8, #38bdf8) 16px bottom 16px / 26px 2px no-repeat,
    linear-gradient(#38bdf8, #38bdf8) 16px bottom 16px / 2px 26px no-repeat,
    linear-gradient(#38bdf8, #38bdf8) right 16px bottom 16px / 26px 2px no-repeat,
    linear-gradient(#38bdf8, #38bdf8) right 16px bottom 16px / 2px 26px no-repeat,
    linear-gradient(145deg, rgba(7, 20, 48, 0.92), rgba(3, 10, 24, 0.78));
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.18);
}
.fam-split.is-flip {
  grid-template-columns: minmax(300px, 1.1fr) minmax(260px, 0.9fr);
}
.fam-split.is-flip img {
  order: 2;
}
.fam-split img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.45), 0 0 22px rgba(37, 99, 235, 0.35);
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}
.fam-split:hover {
  border-color: rgba(125, 211, 252, 0.7);
  box-shadow: 0 0 36px rgba(37, 99, 235, 0.32);
}
.fam-split:hover img {
  transform: scale(1.04);
}
.tpl .card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tpl .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(12, 45, 72, 0.16) !important;
}
.tpl .card-img-top {
  transition: transform 0.7s ease;
}
.tpl .card:hover .card-img-top {
  transform: scale(1.07);
}
.fam-split div {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 32px 36px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fam-split.is-flip div {
  margin: 0;
  padding: 32px 36px;
}
.fam-split p {
  margin: 0 0 12px;
}
.fam-split ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 2px 0 2px 18px;
  border-left: 2px solid rgba(56, 189, 248, 0.55);
}
.fam-split li {
  position: relative;
  padding: 7px 0 7px 6px;
}
.fam-split li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 2px;
  background: #071428;
  border: 2px solid #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.85);
}
.fam-split li:hover::before {
  background: #38bdf8;
}
.fam-num {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 6px;
  background:
    linear-gradient(#7dd3fc, #7dd3fc) center / 16px 1.5px no-repeat,
    #12315f;
  color: #e0f2fe;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px #38bdf8, 0 0 14px rgba(37, 99, 235, 0.75);
}
.fam-num::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, transparent);
}
.fam-split h2 {
  margin: 4px 0 8px;
  font-size: 1.45rem;
}
.tpl .card {
  background: #fff;
  border: 1px solid #e6edf5 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(12, 45, 72, 0.08) !important;
  color: #3e4c5e;
}
.tpl .card h3 {
  color: #0c2d48;
  font-size: 1.05rem;
}
.tpl .card-img-top {
  height: 180px;
  object-fit: cover;
}
.fam-brief,
.fam-cards,
.fam-faqs {
  --nerve: 100px;
  position: relative;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px 36px;
  align-items: center;
}
.fam-brief::before,
.fam-cards::before,
.fam-faqs::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: calc(var(--nerve) - 36px);
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
  left: 0;
  width: 200px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(4, 12, 28, 0.12), rgba(4, 12, 28, 0.38)),
    url("assets/new/ai-circuit.jpg") center / cover no-repeat;
  filter: none;
  animation: none;
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.35);
}
.fam-faqs .fam-block-title {
  grid-row: 1 / span 12;
}
.fam-faqs .faq-item {
  grid-column: 2;
}
.tpl .fam-block-title {
  position: relative;
  z-index: 1;
  align-self: center;
  display: block;
  margin: 0;
  padding: 18px 10px 14px;
  overflow: visible;
  background: rgba(4, 12, 28, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 18px;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.28);
  color: #e8f4ff;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.tpl .fam-block-title::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto 10px;
  border-radius: 2px;
  background:
    linear-gradient(#38bdf8, #38bdf8) center / 8px 1.5px no-repeat,
    linear-gradient(#38bdf8, #38bdf8) center / 1.5px 8px no-repeat,
    #1d4ed8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35), 0 0 12px rgba(37, 99, 235, 0.75);
  animation: nerve-pulse 2.2s ease-in-out infinite;
}
.tpl .fam-block-title::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -34px;
  width: 34px;
  height: 10px;
  border-top: 1.6px solid #2563eb;
  border-right: 1.6px solid #38bdf8;
  border-radius: 0;
}
.tpl .fam-block-title span::after {
  content: none;
  display: none;
}
.fam-brief {
  margin-top: 28px;
}
@keyframes hex-scan {
  from { background-position: center -30%, center; }
  to { background-position: center 130%, center; }
}
@keyframes ai-caret {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes core-breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.75), 0 0 0 12px rgba(6, 16, 38, 0.72), 0 0 0 13px rgba(56, 189, 248, 0.4), 0 0 22px rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 0 0 1px rgba(125, 211, 252, 1), 0 0 0 16px rgba(6, 16, 38, 0.55), 0 0 0 17px rgba(56, 189, 248, 0.7), 0 0 42px rgba(56, 189, 248, 0.55); }
}
@keyframes nerve-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.28), 0 0 10px rgba(37, 99, 235, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.15), 0 0 16px rgba(56, 189, 248, 0.95); }
}
@keyframes circuit-run {
  from { background-position: center top, center -72px, center center; }
  to { background-position: center top, center 100%, center center; }
}
.fam-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}
.fam-pair::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 36px;
  bottom: 36px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, #38bdf8 18%, #38bdf8 82%, transparent);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  pointer-events: none;
}
.fam-pair::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 3px;
  background:
    linear-gradient(#7dd3fc, #7dd3fc) center / 10px 1.5px no-repeat,
    linear-gradient(#7dd3fc, #7dd3fc) center / 1.5px 10px no-repeat,
    #1d4ed8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.28), 0 0 14px #38bdf8;
  animation: nerve-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}
.fam-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.fam-cards .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 0;
}
.fam-cards .row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}
.fam-pair > div {
  position: relative;
  border-radius: 20px;
  padding: 22px 22px 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fam-points article {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px 16px;
  box-shadow: 0 12px 28px rgba(12, 45, 72, 0.07);
  border-top: 4px solid #0a6b8a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fam-pair > div:hover,
.fam-points article:hover {
  transform: translateY(-6px);
}
.fam-points article:hover {
  box-shadow: 0 18px 36px rgba(12, 45, 72, 0.14);
}
.fam-ico {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0c2d48;
  color: #ffd25e;
  flex: none;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.fam-ico svg {
  width: 18px;
  height: 18px;
}
.fam-ico-lg {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}
.fam-ico-lg svg {
  width: 24px;
  height: 24px;
}
.fam-pair .fam-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #12315f;
  color: #7dd3fc;
  box-shadow: inset 0 0 0 1px #38bdf8, 0 0 12px rgba(37, 99, 235, 0.55);
}
.fam-pair h3 .fam-ico {
  width: 42px;
  height: 42px;
}
.fam-pair h3 .fam-ico svg {
  width: 20px;
  height: 20px;
}
.fam-points article:hover .fam-ico {
  background: #ffd25e;
  color: #0c2d48;
  transform: rotate(-8deg) scale(1.08);
}
.fam-pair li:hover .fam-ico,
.fam-pair h3:hover .fam-ico {
  background: #1d4ed8;
  color: #e0f2fe;
  box-shadow: 0 0 0 1px #7dd3fc, 0 0 14px rgba(56, 189, 248, 0.85);
  transform: none;
}
.fam-pair .is-later .fam-ico {
  background: transparent;
  color: #9ec9ea;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.4);
}
.fam-pair .is-later li:hover .fam-ico,
.fam-pair .is-later h3:hover .fam-ico {
  background: rgba(37, 99, 235, 0.35);
  color: #e0f2fe;
}
.fam-pair h3,
.fam-points h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.fam-points h3 {
  display: block;
}
.fam-pair ul {
  margin: 6px 0 0;
  padding: 4px 0 4px 18px;
  list-style: none;
  border-left: 2px solid rgba(56, 189, 248, 0.6);
}
.fam-pair .is-later ul {
  border-left: 2px dashed rgba(125, 211, 252, 0.4);
}
.fam-pair li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.25s ease;
}
.fam-pair li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 24px;
  width: 10px;
  height: 2px;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}
.fam-pair .is-later li::before {
  background: transparent;
  height: 0;
  border-top: 2px dashed rgba(125, 211, 252, 0.7);
  box-shadow: none;
}
.fam-pair li > span:not(.fam-ico) {
  padding-top: 6px;
}
.fam-pair li:hover {
  background: rgba(37, 99, 235, 0.16);
}
.fam-points article {
  padding: 22px 24px;
}
.fam-points p {
  margin: 0;
}
.fam-cards {
  margin-top: 28px;
}
.tpl .card-body {
  padding: 22px 24px 24px;
}
.sec-no {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0c2d48;
  color: #ffd25e;
  font-size: 0.82rem;
}
.fam-faqs {
  margin-top: 36px;
}
.tpl .display-6 {
  font-size: 1.7rem;
  color: #0c2d48;
}
.tpl .faq-item {
  background: #fff;
  border: 0;
  border-left: 4px solid #0c2d48;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(12, 45, 72, 0.06);
}
.tpl .faq-item[open] {
  border-left-color: #e8a020;
}
.tpl .faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #0c2d48;
}
.tpl .note {
  background: #fff8e8;
  border-left: 4px solid #e8a020;
  border-radius: 8px;
  padding: 12px 14px;
}
.tpl .cta-panel {
  background:
    linear-gradient(105deg, rgba(8, 32, 51, 0.92), rgba(10, 107, 138, 0.78)),
    var(--cta-image) center / cover no-repeat;
  border-radius: 22px;
  padding: 40px 40px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(12, 45, 72, 0.18);
}
.tpl .cta-panel h2,
.tpl .cta-panel p {
  color: #fff;
}
.tpl .cta-panel .btn-light {
  background: #ffd25e;
  border-color: #ffd25e;
  color: #0c2d48;
  font-weight: 700;
}
.tpl .cta-panel .btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 980px) {
  .fam-rail,
  .fam-split,
  .fam-split.is-flip,
  .fam-pair,
  .fam-points,
  .fam-widget {
    grid-template-columns: 1fr;
  }
  .fam-pair {
    gap: 16px;
  }
  .fam-pair::before,
  .fam-pair::after {
    display: none;
  }
  .fam-rail::before,
  .fam-stat + .fam-stat {
    display: none;
  }
  .fam-split,
  .fam-split.is-flip {
    width: auto;
    margin: 0 0 24px;
    gap: 16px;
  }
  .fam-split img,
  .fam-split.is-flip img {
    order: 0;
    height: 220px;
    min-height: 0;
  }
  .fam-split div,
  .fam-split.is-flip div {
    margin: 0;
    padding: 22px 20px;
  }
  .fam-widget {
    padding: 22px 18px 20px 92px;
  }
  .fam-widget::before {
    left: 14px;
    top: 14px;
    bottom: 14px;
    width: 58px;
  }
  .fam-widget::after {
    left: 35px;
  }
  .fam-widget .fam-gold {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 14px;
  }
  .tpl .cta-panel {
    padding: 28px 22px;
  }
  .fam-brief,
  .fam-cards,
  .fam-faqs {
    --nerve: 42px;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px 14px;
  }
  .fam-brief::before,
  .fam-cards::before,
  .fam-faqs::before {
    width: 84px;
  }
  .fam-faqs .faq-item {
    grid-column: 2;
  }
  .tpl .fam-block-title {
    font-size: 0.78rem;
    padding: 12px 2px 8px;
  }
  .tpl .fam-block-title::after {
    display: none;
  }
  .fam-widget .fam-gold {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    margin-top: 8px;
  }
  .fam-side {
    position: static;
  }
  .fam-hero {
    min-height: 0;
    padding: 28px 0 4px;
  }
  .fam-hero {
    padding: 20px 0 8px;
  }
  .fam-hero::before {
    width: 280px;
    height: 280px;
    right: -40px;
    top: 0;
  }
  .fam-hero .container {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    text-align: left;
  }
  .fam-hero .container > nav,
  .fam-hero .container > .fam-kicker,
  .fam-hero .container > h1,
  .fam-hero .container > .fam-lead,
  .fam-hero .container > .fam-actions,
  .fam-hero .container::after {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }
  .fam-hero .container > .fam-kicker {
    justify-self: start;
    margin-top: 4px;
  }
  .fam-hero .container::after {
    order: -1;
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    min-height: 210px;
    height: 210px;
    margin: 0 0 8px;
    animation: none;
  }
  .fam-hero h1 {
    font-size: 2.15rem;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tpl .fam-block-title::before,
  .fam-brief::before,
  .fam-cards::before,
  .fam-faqs::before,
  .fam-widget::after,
  .fam-hero .fam-kicker::before,
  .fam-hero h1::after,
  .fam-hero .container::after,
  .fam-pair::after {
    animation: none;
  }
}
