/* ---------- Base Setup ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --blueberry-deep: #0d3b66;
  --security-slate: #2d3e50;
  --triad-blue: #1b6ec2;
  --accent-blueberry: #4a90e2;
  --maine-mist: #e8edf1;
  --pie-crust: #f7f4ee;
  --berry-violet: #5a4e8c;
  --cyber-mint: #8ff0d3;

  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--security-slate);
  background-color: var(--pie-crust);
  line-height: 1.6;
}

/* ---------- Layout Helpers ---------- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section--light {
  background-color: #ffffff;
}

.section--muted {
  background-color: var(--maine-mist);
}

.section__heading {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 2rem;
  color: var(--blueberry-deep);
  margin-bottom: 1rem;
}

.section__subheading {
  max-width: 640px;
  color: var(--security-slate);
  margin-bottom: 2rem;
}

/* ---------- Header & Nav ---------- */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(13, 59, 102, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar__logo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.navbar__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blueberry-deep);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.navbar__link {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--security-slate);
  padding: 0.25rem 0;
  position: relative;
}

.navbar__link:hover {
  color: var(--blueberry-deep);
}

.navbar__link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  height: 2px;
  width: 100%;
  background: var(--triad-blue);
  border-radius: 999px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary {
  background: var(--triad-blue);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(27, 110, 194, 0.28);
}

.btn-secondary {
  background: #ffffff;
  color: var(--blueberry-deep);
  border: 1px solid rgba(13, 59, 102, 0.18);
}

.btn-secondary:hover {
  background: var(--maine-mist);
}

/* ---------- Hero ---------- */

.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  color: var(--blueberry-deep);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.02rem;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 59, 102, 0.07);
  color: var(--security-slate);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  font-size: 0.92rem;
}

/* ---------- Cards & Grids ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.card--muted {
  background-color: var(--maine-mist);
  box-shadow: none;
}

.card__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.1rem;
  color: var(--blueberry-deep);
  margin-bottom: 0.5rem;
}

.card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(27, 110, 194, 0.08);
  color: var(--triad-blue);
  margin-bottom: 0.5rem;
}

/* ---------- Two Columns ---------- */

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

/* ---------- Lists ---------- */

ul.clean-list {
  padding-left: 1.1rem;
  margin: 0;
}

ul.clean-list li {
  margin-bottom: 0.4rem;
}

/* ---------- Timeline ---------- */

.timeline {
  border-left: 2px solid rgba(13, 59, 102, 0.2);
  padding-left: 1.25rem;
}

.timeline__item {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: 0.15rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--triad-blue);
}

/* ---------- Contact Form ---------- */

.form {
  display: grid;
  gap: 1rem;
  max-width: 480px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blueberry-deep);
}

.form__input,
.form__textarea,
.form__select {
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(45, 62, 80, 0.35);
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(13, 59, 102, 0.08);
  background: #ffffff;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(45, 62, 80, 0.8);
}

.footer__nav {
  display: flex;
  gap: 0.75rem;
}

.footer__link {
  text-decoration: none;
  color: inherit;
}

.footer__link:hover {
  color: var(--blueberry-deep);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero__content,
  .two-column,
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__card {
    margin-top: 1.5rem;
  }

  .navbar__nav {
    gap: 0.8rem;
  }
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
