.grid-4,
.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.ac {
  position: relative;
  border-radius: 12px;
  display: block;
  color: #fff;
  text-decoration: none;
  aspect-ratio: 4/5;
  background: var(--navy);
  margin-top: 16px;
}
.ac img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.ac .badge {
  position: absolute;
  top: -16px;
  left: 28px;
  background: var(--brand);
  color: #1b0d05;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  z-index: 2;
}
.ac .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 70px 16px 22px;
  background: linear-gradient(
    to top,
    rgba(11, 27, 63, 0.96) 35%,
    rgba(11, 27, 63, 0)
  );
  text-align: center;
  border-radius: 0 0 12px 12px;
}
.ac .cap strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.25;
}
.ac .cap span {
  display: block;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: #dfe5f1;
  margin-top: 4px;
  font-weight: 700;
}
.ac:hover .cap strong,
.ac:focus .cap strong {
  color: #ffb48f;
}
.sc {
  background: #fff;
  border-radius: 14px;
  padding: 16px 16px 22px;
  box-shadow: 0 10px 30px rgba(11, 27, 63, 0.08);
  display: flex;
  flex-direction: column;
}
.sc .tile {
  height: 150px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: grid;
  place-items: center;
  position: relative;
}
.sc .chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}
.sc h3 {
  margin: 16px 6px 6px;
  font-size: 1.2rem;
}
.sc h3 a {
  color: #11141c;
  text-decoration: none;
}
.sc h3 a:hover {
  color: var(--ink);
}
.sc p {
  color: var(--muted);
  margin: 0 6px 12px;
  font-size: 0.98rem;
}
.bc {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px 18px;
  background: #fff;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
}
.bc .thumb {
  margin: -22px 0 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/2;
  background: var(--navy);
}
.bc .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bc .pc {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--brand);
  color: #1b0d05;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 10px 0 10px 0;
  line-height: 1.1;
  font-size: 0.95rem;
}
.bc .meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 14px 0 4px;
}
.bc h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.bc p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.97rem;
  flex: 1;
}
.bc .foot {
  border-top: 1px dashed var(--brand);
  padding-top: 14px;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.84rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chips a {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  font-weight: 600;
}
.chips a:hover {
  border-color: var(--brand);
  color: var(--ink);
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  padding: 16px 50px 16px 18px;
  font-weight: 700;
  position: relative;
  list-style: none;
  color: #11141c;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 11px;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq .ans {
  padding: 0 18px 14px;
}
.faq .ans p {
  margin: 0 0 10px;
}
.cta {
  background: var(--brand)
    radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px) 0 0/22px
    22px;
  color: var(--navy);
  padding: 56px 0;
}
.cta-grid {
  display: grid;
  gap: 30px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .cta-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}
.cta h2 {
  color: var(--navy);
}
.cta p {
  margin: 0 0 20px;
  font-weight: 600;
  max-width: 36em;
}
.cta .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-navy {
  background: var(--navy);
}
.btn-navy:hover {
  background: #050d21;
}
.apps {
  display: flex;
  gap: 10px;
}
.apps img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}
.cta svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.ftr {
  background: linear-gradient(160deg, #0b1b3f, #0e2250);
  color: #d7deeb;
  padding: 64px 0 0;
  font-size: 0.96rem;
}
.ftr a {
  color: #d7deeb;
  text-decoration: none;
}
.ftr a:hover {
  color: #ffb48f;
  text-decoration: underline;
}
.ftr-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .ftr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .ftr-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  }
}
.ftr .logo {
  margin-bottom: 14px;
}
.ftr-h {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 800;
  margin: 0 0 16px;
  padding-bottom: 10px;
  position: relative;
}
.ftr-h::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: var(--brand);
}
.ftr ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ftr li {
  margin: 0 0 8px;
}
.ftr li a::before {
  content: "\203A";
  color: var(--brand);
  margin-right: 7px;
}
.ftr address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 12px;
}
.ftr .lic {
  font-size: 0.88rem;
  color: #b9c3d6;
}
.ftr-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 44px;
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.ftr-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.ftr-bottom li {
  margin: 0;
}
.ftr-bottom li a::before {
  content: none;
}
.totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) var(--p, 0%), #fff 0);
  display: grid;
  place-items: center;
  border: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  cursor: pointer;
  z-index: 40;
  padding: 0;
}
.totop.show {
  opacity: 1;
  visibility: visible;
}
.totop span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 800;
}
.center {
  text-align: center;
}
.mt {
  margin-top: 28px;
}
.sitemap-list {
  columns: 2 260px;
  padding-left: 20px;
}
.ph {
  background: #fff4e5;
  border: 1px dashed var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.95em;
}
.ftr .ph {
  color: #1d2230;
}
.bc p.meta {
  flex: none;
}
