@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Nunito+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --navy: #173255;
  --navy-deep: #102641;
  --navy-soft: #28466d;
  --text: #213048;
  --muted: #68758a;
  --paper: #ffffff;
  --mist: #f5f7fb;
  --line: #e4e9f1;
  --shadow: 0 18px 30px rgba(23, 43, 71, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: #eef2f7;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

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

button {
  font: inherit;
}

.container {
  width: min(1050px, calc(100vw - 34px));
  margin: 0 auto;
}

.site-header {
  background: var(--paper);
  border-top: 4px solid var(--navy);
  box-shadow: 0 3px 12px rgba(27, 42, 66, 0.06);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

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

.footer-logo {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.65rem;
  color: #6b7482;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  border: 1px solid transparent;
  padding: 0.55rem 1rem;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn.primary {
  background: linear-gradient(180deg, #234268 0%, #173255 100%);
  color: #fff;
  box-shadow: 0 10px 18px rgba(18, 39, 65, 0.16);
}

.btn.ghost,
.btn.light {
  background: #fff;
  color: var(--navy);
  border-color: #d7dee8;
}

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

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 39, 67, 0.78) 0%, rgba(17, 39, 67, 0.58) 26%, rgba(17, 39, 67, 0.14) 58%, rgba(17, 39, 67, 0.12) 100%),
    url("./hero-bg.jpg") center center / cover no-repeat;
}

.hero-content {
  display: flex;
  justify-content: flex-start;
}

.hero-text {
  max-width: 400px;
  padding: 2.5rem 0 2.8rem;
  color: #fff;
  margin-left: 0;
}

.hero h1 {
  font-size: clamp(2.7rem, 4.6vw, 3.9rem);
  line-height: 0.92;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hero-highlight {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.eyebrow {
  font-size: 0.96rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.subtext {
  max-width: 315px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
  padding: 3.8rem 0 2.4rem;
  border-top: 1px solid #edf2f8;
}

.intro-inner {
  max-width: 700px;
}

.intro h2 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  color: #233657;
  margin-bottom: 0.9rem;
}

.intro p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.about-details,
.service-details,
.resources,
.contact-section {
  background: var(--paper);
}

.about-details {
  background:
    radial-gradient(circle at top right, rgba(35, 66, 104, 0.06), transparent 38%),
    #f3f7fc;
  border-top: 1px solid #e3ebf5;
  border-bottom: 1px solid #e3ebf5;
}

.service-details {
  background:
    linear-gradient(135deg, rgba(8, 26, 46, 0.96) 0%, rgba(17, 50, 85, 0.94) 100%),
    url("./hero-bg.jpg") center / cover no-repeat fixed;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.resources {
  background:
    linear-gradient(180deg, #f7fafe 0%, #eef4fb 100%);
  border-top: 1px solid #e1eaf5;
  border-bottom: 1px solid #e1eaf5;
}

.contact-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 1px solid #edf2f8;
}

.about-grid,
.service-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.2rem;
  padding: 3.25rem 0 3.6rem;
}

.about-copy h2,
.service-panel h2,
.resources-heading h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  color: #233657;
  margin-bottom: 0.9rem;
}

.about-copy p,
.service-panel p,
.resources-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.about-copy p + p,
.service-panel p + p {
  margin-top: 0.9rem;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.stat-card,
.resource-card,
.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.3rem 1.2rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 800;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.cards {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  padding: 1.2rem 0 3.8rem;
  border-top: 1px solid #edf2f8;
  border-bottom: 1px solid #e8eef7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid #edf1f6;
  border-radius: 6px;
  padding: 1.35rem 1.1rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.9rem;
  position: relative;
  color: var(--navy-soft);
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
}

.card-icon.bank::before {
  left: 6px;
  right: 6px;
  bottom: 7px;
  height: 22px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.card-icon.bank::after {
  left: 2px;
  right: 2px;
  top: 7px;
  height: 14px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: currentColor;
  box-shadow:
    10px 23px 0 -8px currentColor,
    0 23px 0 -8px currentColor,
    -10px 23px 0 -8px currentColor;
}

.card-icon.card-chip::before {
  inset: 8px 4px 12px;
  border-radius: 8px;
  background: currentColor;
}

.card-icon.card-chip::after {
  inset: 19px 13px 17px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 38%, transparent 38%, transparent 54%, rgba(255, 255, 255, 0.95) 54%, rgba(255, 255, 255, 0.95) 60%, transparent 60%),
    rgba(255, 255, 255, 0.85);
}

.card-icon.shield::before {
  inset: 5px 9px 8px;
  border-radius: 10px 10px 16px 16px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 18%, 88% 74%, 50% 100%, 12% 74%, 0 18%);
}

.card-icon.shield::after {
  width: 18px;
  height: 10px;
  left: 18px;
  top: 21px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

.card h3 {
  font-size: 1.95rem;
  color: #2d3f5d;
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

.service-details {
  padding-bottom: 0.4rem;
}

.service-details .section-kicker {
  color: rgba(214, 228, 248, 0.82);
}

.service-details .service-panel h2,
.service-details .service-panel p {
  color: #ffffff;
}

.service-details .service-panel p {
  color: rgba(255, 255, 255, 0.76);
}

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

.service-list article {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.service-list h3,
.resource-card h3,
.contact-card h3 {
  font-size: 1.45rem;
  color: #2a3c5d;
  margin-bottom: 0.45rem;
}

.service-list p,
.resource-card p,
.contact-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.service-list h3,
.service-list p {
  color: #ffffff;
}

.service-list p {
  color: rgba(255, 255, 255, 0.72);
}

.resources-inner {
  padding: 3.1rem 0 3.8rem;
}

.resources-heading {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.resource-card {
  padding: 1.35rem 1.2rem;
}

.resource-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-section {
  padding-bottom: 0.6rem;
}

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

.contact-card {
  padding: 1.2rem;
}

.site-footer {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 38, 65, 0.92), rgba(16, 38, 65, 0.92)),
    url("./hero-bg.jpg") center bottom / cover no-repeat;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr;
  gap: 2rem;
  padding: 2.1rem 2rem 1.8rem;
}

.site-footer .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 260px;
  margin: 1rem 0 1.25rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.socials {
  display: flex;
  gap: 0.45rem;
}

.socials span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.76);
}

.footer-contact .btn {
  width: fit-content;
  margin-top: 0.8rem;
  min-width: 126px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 2rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 23, 41, 0.18);
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.footer-bottom-brand .brand {
  flex-shrink: 0;
}

.footer-bottom-brand span {
  max-width: 360px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0.9rem 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: 460px;
    background-position: 60% center;
  }

  .service-details {
    background-attachment: scroll;
  }

  .hero-text {
    padding-left: 1rem;
  }

  .card-grid,
  .about-grid,
  .service-grid,
  .resource-grid,
  .service-list,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    max-width: 320px;
  }

  .footer-grid,
  .footer-bottom {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100vw - 16px));
  }

  .nav-links,
  .nav-cta {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: 420px;
    background-position: 65% center;
  }

  .service-details {
    background-position: center top;
  }

  .hero-text {
    max-width: 100%;
    padding: 2rem 1rem;
    margin-left: 0;
  }

  .about-grid,
  .service-grid,
  .contact-grid,
  .resources-inner {
    padding-left: 0;
    padding-right: 0;
  }

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

  .hero-highlight {
    font-size: 1.55rem;
  }

  .eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .intro {
    padding-top: 2.6rem;
  }

  .footer-bottom-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}
