:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f6f6;
  --text: #1a1a1a;
  --muted: #8a8a8a;
  --primary: #1d4ed8;
  --primary-strong: #153ab3;
  --accent: #5bc0eb;
  --accent-soft: #b7c8f5;
  --line: #e5e5e5;
  --radius-md: 20px;
  --radius-lg: 40px;
  --radius-full: 60px;
  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
  --container-padding: clamp(20px, 5vw, 60px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1280px, calc(100% - (var(--container-padding) * 2)));
  margin-inline: auto;
}


.section {
  padding: 5rem 0;
}

@media (max-width: 1024px) {
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 580px) {
  .section {
    padding: 3rem 0;
  }
}

.section-soft {
  background: var(--surface-soft);
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  margin: 0;
}

h1 {
  margin-top: 0;
  font-size: clamp(36px, 8vw, 64px);
  line-height: 1.1;
  font-weight: 400;
  color: var(--text);
}

h2 {
  margin-top: 0;
  font-size: clamp(28px, 5.5vw, 48px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--text);
}

h3 {
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
}

.lead {
  margin-top: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 60px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: #ffffff;
}

.btn:hover,
.btn:focus-visible {
  background: var(--primary-strong);
}

.btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.btn-light {
  background: #fff;
  border-color: #bfd8f4;
  color: var(--primary);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #f1f8ff;
}

.btn-ghost {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid var(--primary);
}

.btn-ghost:hover {
  background: rgba(29, 78, 216, 0.05);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-sm {
  min-height: 40px;
  padding-inline: 1rem;
}

.site-footer {
  margin: 0 auto 50px;
  width: calc(100% - 40px);
  max-width: 1628px;
  min-height: 410px;
  background: #1d4ed8;
  border-radius: 20px;
  padding: 80px 64px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  background: #1d4ed8;
  color: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.footer-top {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 40px;
}

.footer-brand {
  flex: 0 1 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .footer-logo {
  width: 216px;
  display: inline-flex;
  align-items: center;
}

.footer-brand .footer-logo img {
  width: 180px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none;
}

.footer-brand p {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  max-width: 320px;
}

.footer-links-wrap {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.footer-column h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
  margin-bottom: 20px;
}

.footer-column .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column .links a {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column .links a:hover {
  color: #2563eb;
}

.footer-separator {
  width: 100%;
  height: 0px;
  border: 1px solid #e5e7eb;
}

.navbar {
  height: 52px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-links a.active {
  color: var(--primary);
}

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: #ffffff;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #ffffff;
  border-color: #2563eb;
}

.social-icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) saturate(100%) invert(24%) sepia(87%) saturate(2258%) hue-rotate(219deg) brightness(85%) contrast(85%);
}

/* Navigation Utilities */
.crumb {
  margin: 0;
  font-size: 14px;
  color: #8a8a8a;
  margin-bottom: 20px;
}

.crumb a {
  text-decoration: none;
  color: #8a8a8a;
  transition: color 0.3s ease;
}

.crumb a:hover {
  color: #1d4ed8;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 74, 173, 0.12);
}

@media (max-width: 1440px) {
  .site-footer {
    padding: 80px 60px 40px;
  }

  .footer-column {
    padding: 0 20px;
  }
}

@media (max-width: 1100px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
  }

  .footer-links-wrap {
    width: 100%;
    justify-content: flex-start;
    gap: 60px;
  }

  .footer-column {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: clamp(32px, 8vw, 60px) 0;
  }

  .container {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
  }

  .site-footer {
    width: 100%;
    padding: 60px 0 40px;
    border-radius: 0;
    margin-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .footer-brand {
    width: 100%;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .footer-brand .footer-logo {
    width: 176px;
    justify-content: center;
  }

  .footer-brand .footer-logo img {
    width: 176px;
    height: 58px;
  }

  .footer-brand p {
    font-size: 16px;
    line-height: 24px;
  }

  .footer-links-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    width: 100%;
  }

  .footer-column {
    padding: 0;
    gap: 12px;
    min-width: 0;
  }

  .footer-column .links a {
    font-size: 14px;
    line-height: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 580px) {
  .site-footer {
    padding: 48px 0 32px;
  }

  .footer-top {
    gap: 32px;
  }

  .footer-brand .footer-logo {
    width: 156px;
  }

  .footer-brand .footer-logo img {
    width: 156px;
    height: 52px;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 14px;
    line-height: 22px;
  }

  .footer-links-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-column .links {
    gap: 12px;
  }

  .footer-column h4,
  .footer-column .links a {
    text-align: center;
  }
}

@media (max-width: 1024px) {

  html,
  body {
    overflow-x: hidden;
  }

  h1,
  h2,
  h3,
  p,
  a,
  span,
  li {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .container,
  [class*="grid"],
  [class*="wrap"],
  [class*="content"],
  [class*="copy"],
  [class*="header"],
  [class*="body"],
  [class*="info"] {
    min-width: 0;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
  }

  .btn {
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .section {
    padding: clamp(28px, 6vw, 48px) 0;
  }

  .container {
    width: min(1280px, calc(100% - 24px));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1280px, calc(100% - 16px));
  }

  .btn {
    min-height: 46px;
    padding: 12px 18px;
    font-size: 15px;
    line-height: 20px;
  }
}

/* ===== GLOBAL FOOTER FIX ===== */
.site-footer {
  background: #1d4ed8;
  color: #ffffff;
}

.site-footer p,
.site-footer a,
.site-footer h4 {
  color: #ffffff !important;
}

.site-footer .links a {
  opacity: 0.8;
}

.site-footer .links a:hover {
  opacity: 1;
}