:root {
  --brand-blue: #0d2f9b;
  --brand-blue-strong: #0a2375;
  --brand-yellow: #f5ed00;
  --ink: #11162a;
  --ink-soft: #2f385d;
  --muted: #60698b;
  --surface: #f3f6ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body.site-refonte {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 18%);
}

a {
  color: var(--brand-blue);
}

a:hover {
  color: var(--brand-blue-strong);
  text-decoration: none;
}

.site-main {
  min-height: 70vh;
}

.header-top {
  background: var(--brand-blue);
  color: #d8e1ff;
  padding: 0.5rem 0;
  font-size: 0.86rem;
}

.header-top-text {
  letter-spacing: 0.02em;
  font-weight: 600;
}

.header-top-links {
  display: flex;
  gap: 1rem;
}

.header-top-links a {
  color: #e7edff;
}

.refonte-nav {
  background: var(--white);
  border-bottom: 1px solid #e9edfa;
  box-shadow: 0 10px 24px rgba(13, 47, 155, 0.08);
  position: sticky;
  top: 0;
  z-index: 900;
}

.brand-logo {
  max-height: 62px;
  width: auto;
}

.refonte-nav .nav-link {
  color: var(--ink-soft) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0.25rem;
}

.refonte-nav .nav-link:hover {
  color: var(--brand-blue) !important;
}

.nav-gap {
  margin-left: 0.75rem;
}

.btn-brand,
.btn-brand-outline {
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  transition: 0.25s ease;
}

.btn-brand {
  background: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  color: var(--white);
}

.btn-brand:hover {
  background: var(--brand-blue-strong);
  border-color: var(--brand-blue-strong);
  color: var(--white);
}

.btn-brand-outline {
  background: var(--brand-yellow);
  border: 1px solid var(--brand-yellow);
  color: var(--brand-blue-strong);
}

.btn-brand-outline:hover {
  transform: translateY(-1px);
  background: #fff44f;
  color: var(--brand-blue-strong);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 237, 0, 0.35), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(13, 47, 155, 0.14), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #eef2ff 70%);
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  background: linear-gradient(160deg, var(--brand-yellow), #fff673);
  transform: rotate(18deg);
  opacity: 0.32;
}

.hero-kicker {
  color: var(--brand-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 0.7rem;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.95;
  margin-bottom: 1rem;
  color: var(--brand-blue-strong);
}

.hero-title span {
  color: #20388b;
}

.hero-text {
  color: var(--muted);
  max-width: 620px;
  font-size: 1.03rem;
  margin-bottom: 1.8rem;
}

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

.hero-card {
  background: var(--white);
  border: 1px solid #e3e9ff;
  border-radius: 1rem;
  box-shadow: 0 14px 28px rgba(13, 47, 155, 0.08);
  padding: 1.4rem;
}

.hero-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.hero-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.hero-stat {
  border-radius: 0.75rem;
  background: #f4f7ff;
  border: 1px solid #dfe7ff;
  padding: 0.8rem;
  text-align: center;
}

.hero-stat strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1.25rem;
  line-height: 1;
}

.hero-stat span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.section-shell {
  padding: 5rem 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading .kicker {
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  color: var(--brand-blue);
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.section-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--brand-blue-strong);
  margin-bottom: 0.6rem;
}

.section-heading p {
  color: var(--muted);
}

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

.pillar-card {
  background: var(--white);
  border: 1px solid #e7ecff;
  border-radius: 1rem;
  padding: 1.4rem;
  min-height: 180px;
  box-shadow: 0 12px 24px rgba(13, 47, 155, 0.06);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--brand-blue);
  background: linear-gradient(145deg, #fffcc8, #eff3ff);
  border: 1px solid #dfe6ff;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.pillar-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.lead-band {
  padding: 3.2rem 0;
  background: linear-gradient(130deg, #0a2a88, #133ebf);
  position: relative;
  overflow: hidden;
}

.lead-band::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 237, 0, 0.65) 0%, rgba(245, 237, 0, 0) 72%);
  top: -120px;
  right: -80px;
}

.lead-band h2 {
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.lead-band p {
  color: #e7edff;
  margin-bottom: 0;
}

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

.news-card {
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid #e5ecff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 47, 155, 0.06);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-body {
  padding: 1rem 1rem 1.2rem;
}

.news-body h3 {
  font-size: 1rem;
  line-height: 1.3;
  min-height: 42px;
}

.news-body p {
  color: var(--muted);
  font-size: 0.9rem;
}

.news-link {
  font-weight: 800;
  color: var(--brand-blue);
}

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

.partner-card {
  border: 1px solid #e8edff;
  border-radius: 0.9rem;
  background: var(--white);
  padding: 0.8rem;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card img {
  max-height: 54px;
  max-width: 100%;
  width: auto;
}

.page-hero {
  padding: 4.5rem 0 2.8rem;
  background:
    linear-gradient(160deg, #f7f9ff 0%, #eef3ff 65%, #f8fbff 100%);
  border-bottom: 1px solid #e5ebff;
}

.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  color: var(--brand-blue-strong);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin-bottom: 0.4rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 750px;
}

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

.service-column {
  background: var(--white);
  border: 1px solid #e4eaff;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(13, 47, 155, 0.06);
  overflow: hidden;
}

.service-column-header {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #ecf0ff;
  background: linear-gradient(100deg, #f7f9ff, #ffffff);
}

.service-column-header h3 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 1.1rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0.8rem 1.2rem 1.2rem;
}

.service-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-yellow);
  border: 1px solid #d4cb00;
}

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

.info-card {
  background: var(--white);
  border: 1px solid #e5ebff;
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(13, 47, 155, 0.06);
  padding: 1rem 1.1rem;
}

.info-card h3 {
  font-size: 1rem;
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
}

.info-card p,
.info-card a {
  color: var(--ink-soft);
  margin: 0;
}

.contact-shell {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.1rem;
}

.contact-panel,
.form-panel {
  background: var(--white);
  border: 1px solid #e4eaff;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(13, 47, 155, 0.06);
  padding: 1.4rem;
}

.contact-panel h2,
.form-panel h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--brand-blue-strong);
  margin-bottom: 0.8rem;
}

.contact-mini-card {
  background: #f5f8ff;
  border: 1px solid #e2e9ff;
  border-radius: 0.8rem;
  padding: 0.95rem;
  margin-bottom: 0.65rem;
}

.contact-mini-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--brand-blue);
}

.contact-mini-card p,
.contact-mini-card a {
  margin: 0;
  color: var(--ink-soft);
}

.refonte-form .form-group {
  margin-bottom: 0.85rem;
}

.refonte-form .form-control {
  height: 46px;
  border-radius: 0.72rem;
  border: 1px solid #d8e2ff;
}

.refonte-form textarea.form-control {
  height: auto;
  min-height: 130px;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.posts-shell {
  padding: 3.5rem 0 5rem;
}

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

.blog-card {
  background: var(--white);
  border: 1px solid #e7ecff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(13, 47, 155, 0.06);
}

.blog-card .thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1rem;
}

.blog-card-content h3 {
  font-size: 1rem;
  min-height: 44px;
}

.article-shell {
  padding: 3.5rem 0 5rem;
}

.article-card {
  background: var(--white);
  border: 1px solid #e5ebff;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(13, 47, 155, 0.06);
  padding: 1.35rem;
}

.article-card img {
  width: 100%;
  border-radius: 0.8rem;
  max-height: 420px;
  object-fit: cover;
}

.article-card h1 {
  font-family: "Cormorant Garamond", serif;
  color: var(--brand-blue-strong);
  margin: 1rem 0 0.4rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.article-text {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.article-content {
  white-space: normal;
  font-size: 1.02rem;
}

.article-aside {
  background: var(--white);
  border: 1px solid #e5ebff;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(13, 47, 155, 0.06);
  padding: 1rem;
}

.article-aside h2 {
  font-size: 1.05rem;
  color: var(--brand-blue);
}

.aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aside-item {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed #e0e8ff;
}

.aside-item:last-child {
  border-bottom: 0;
}

.aside-item img {
  width: 74px;
  height: 58px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.aside-item h3 {
  font-size: 0.86rem;
  margin-bottom: 0.2rem;
}

.site-footer {
  background: linear-gradient(145deg, #0a287e 0%, #112f90 100%);
  color: #dee6ff;
  padding-top: 3rem;
  margin-top: 3rem;
}

.footer-logo {
  max-height: 58px;
  width: auto;
  margin-bottom: 0.7rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.03rem;
  margin-bottom: 0.8rem;
}

.footer-text {
  color: #d6e0ff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.44rem;
  color: #d6e0ff;
}

.footer-links a {
  color: #eff3ff;
}

.footer-cta {
  display: inline-block;
  margin-top: 0.2rem;
  background: var(--brand-yellow);
  color: var(--brand-blue-strong);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 1.6rem;
  padding: 0.9rem 0;
}

.footer-socials a {
  color: #f0f4ff;
}

@media (max-width: 1199px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 991px) {
  .header-top-links {
    margin-top: 0.35rem;
  }

  .refonte-nav .navbar-collapse {
    padding: 0.8rem 0 0.45rem;
  }

  .nav-gap {
    margin: 0.35rem 0;
  }

  .hero-section {
    padding-top: 4.6rem;
  }

  .hero-card {
    margin-top: 1.4rem;
  }

  .service-columns,
  .contact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .pillars-grid,
  .partners-grid,
  .blog-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

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

  .section-shell,
  .contact-shell {
    padding: 3.1rem 0;
  }

  .page-hero {
    padding: 3.1rem 0 2.2rem;
  }
}
