:root {
  --primary: #0c4a83;
  --primary-dark: #093761;
  --primary-light: #e8f1fb;
  --accent: #f5f7fb;
  --text: #0b1324;
  --muted: #5f6b7a;
  --border: #d7e0ea;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max: 1200px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #f6f8fb;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 3vw, 3.25rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(12, 74, 131, 0.18);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--small {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

.topbar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header {
  background: rgba(255, 255, 255, 0.98);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand__name {
  font-weight: 700;
  font-size: 1.1rem;
}

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

.nav {
  display: flex;
  gap: 1.4rem;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, #f0f5fb 0%, #f6f8fb 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  align-items: center;
}

.hero__badges img {
  width: 80px;
  height: auto;
}

.hero__card {
  background: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__quote {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-style: italic;
  color: var(--muted);
}

.hero__quote strong {
  display: block;
  margin-top: 0.6rem;
  color: var(--text);
  font-style: normal;
}

.hero__image {
  background: #e1e9f2;
  border-radius: var(--radius);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  background: var(--white);
  padding: 2.4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stats__grid--tight {
  margin-top: 2.5rem;
}

.stat {
  text-align: center;
}

.stat span {
  font-size: 2.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--accent);
}

.section__head {
  max-width: 620px;
  margin-bottom: 2.8rem;
}

.section__head h2 {
  margin-bottom: 0.75rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

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

.feature {
  background: var(--white);
  padding: 1.7rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature h3 {
  margin-bottom: 0.5rem;
}

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

.service-card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.service-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 74, 131, 0.2);
  box-shadow: 0 18px 35px rgba(12, 74, 131, 0.16);
}

.service-card:hover .service-card__icon {
  background: rgba(12, 74, 131, 0.12);
}

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

.testimonial {
  background: var(--white);
  padding: 1.7rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial__image {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e1e9f2;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.testimonial__image img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

.blog-card {
  background: var(--white);
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.blog-card__image {
  height: 190px;
  background: #e1e9f2;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 36, 0.15);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 74, 131, 0.2);
  box-shadow: 0 20px 40px rgba(12, 74, 131, 0.16);
}

.blog-card:hover::after {
  opacity: 1;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-page {
  display: grid;
  gap: 2rem;
}

.tag {
  display: inline-block;
  background: #e0f2fe;
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.cta {
  padding: 3.5rem 0;
  background: var(--primary);
  color: var(--white);
}

.cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta .btn {
  border-color: var(--white);
  color: var(--primary);
  background: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.6rem;
}

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

.info-card {
  background: var(--white);
  padding: 1.3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card span {
  color: var(--muted);
  margin-top: 0.4rem;
  word-break: break-word;
}

.form {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--text);
}

input,
select,
textarea {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  background: #fbfcff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(12, 74, 131, 0.2);
  border-color: var(--primary);
}

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

.form-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer {
  background: #0b1c2f;
  color: var(--white);
  padding: 2.8rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer__links a:hover {
  color: #93c5fd;
}

.footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.placeholder {
  background: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.page-hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(180deg, #f0f5fb 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.page-hero__card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 220px;
}

.form-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.8rem;
}

.form-section h3 {
  margin-bottom: 1rem;
}

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

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

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

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

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

@media (max-width: 860px) {
  .header__inner {
    flex-wrap: wrap;
  }

  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .contact__cards {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .services,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}