@font-face {
  font-family: Qualy;
  src: url("../assets/fonts/Qualy.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2e3192;
  --blue-dark: #1f2366;
  --gold: #fcb040;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #364153;
  --gray-800: #1e2939;
  --gray-900: #101828;
  --white: #fff;
  --radius: 0.5rem;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --max: 80rem;
  --font: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

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

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

a:hover {
  color: var(--blue-dark);
}

.text-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Qualy, Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--gray-900);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  height: calc(.25rem * 20);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand img {
  width: 2.5rem;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: Qualy, Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 500;
  line-height: 1.25;
}

.brand-text span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  font-family: Qualy, Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--gray-800);
  margin: 4px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

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

.btn-primary:hover {
  background: var(--gray-100);
  color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
}

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

.btn-solid:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Hero */
.hero {
  background: lab(26.1542% 15.7545 -51.5504);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}

.hero img {
  max-width: 350px;
  width: 100%;
  height: auto;
  margin: -2rem auto 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  max-width: 48rem;
  margin: 0 auto 1.75rem;
  color: var(--white);
}

.page-hero {
  padding: 3.5rem 1rem;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero p {
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

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

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
}

.section-title.blue {
  color: var(--blue);
}

.section-title.center {
  text-align: center;
}

.title-underline {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.title-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title.center.title-underline::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title.title-underline {
  margin-bottom: 2rem;
}

.accent-left {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 3rem;
  max-width: 36rem;
}

h2.area-title {
  font-size: 2rem;
}
.area-title.center {
  text-align: center;
}

.lead {
  font-size: 1.1rem;
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split-reverse .split-media {
    order: -1;
  }
}

@media (max-width: 760px) {
  .split.mobile-reverse .split-media {
      order: -1;
  }
}

.split-media {
  padding: 1rem;
  box-sizing: border-box;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: auto auto;
  max-width: 60rem;
  margin: auto;
  margin-top: 3rem;
}

.cards.three-col {
  max-width: none;
  grid-template-columns: auto auto auto;
}

@media (max-width: 760px) {
  .cards, .cards.three-col {
    grid-template-columns: 1fr;
  }
}

.cards.cards-alt .card {
  background: var(--gray-50);
}

.cards-alt ul {
  list-style: none;
  padding: 0;
}

.cards-alt ul li {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: .5rem 1rem;
}

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

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

.card p:last-child {
  margin-bottom: 0;
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.stack > * + * {
  margin-top: 1rem;
}

.cta {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta p {
  color: var(--white);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.5rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
}

.service-groups {
  max-width: none;
}

.service-group h3 {
  color: var(--blue);
  font-size: 1.05rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-details h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.contact-details p {
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-item a {
  color: var(--blue);
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #dbeafe;
  color: #155dfc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.form {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--gray-900);
}

.form .field {
  margin-bottom: 1rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font: inherit;
  color: var(--gray-900);
  background: var(--white);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.form-status.pending {
  display: block;
  background: #dbeafe;
  color: #1c398e;
}

.form-status.ok {
  display: block;
  background: #dcfce7;
  color: #008138;
}

.form-status.err {
  display: block;
  background: #ffe2e2;
  color: #bf000f;
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: #d1d5dc;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer a {
  color: #d1d5dc;
}

.site-footer a:hover {
  color: var(--white);
}

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

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid #364153;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    box-shadow: var(--shadow);
    box-sizing: border-box;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .site-header {
    position: sticky;
  }
}

.support .area-title {
  margin-bottom: 2rem;
}
/* Ascend-specific */
.hero-note {
  font-size: 1rem !important;
  font-style: italic;
  opacity: 0.95;
  margin-bottom: 1.75rem !important;
}

.values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-top: 1.5rem;
}

.value-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-align: center;
}

.value-item h3 {
  margin: 0 0 0.5rem;
  font-family: Qualy, Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blue);
}

.value-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--gray-700);
}

.mission-banner {
  background: var(--gray-50);
  border-left: 4px solid var(--gold);
  padding: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 56rem;
  margin: 0 auto;
}

.mission-banner h2 {
  color: var(--blue);
}

.approach-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.approach-list li {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0;
  font-weight: 600;
  color: var(--gray-900);
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: #99a1af;
  max-width: 40rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
