﻿:root {
  --ink: #170f3f;
  --muted: #5f6279;
  --paper: #fff8ec;
  --white: #ffffff;
  --line: #e7daf8;
  --soft: #f6f0ff;
  --teal: #00c2a8;
  --teal-dark: #007f72;
  --blue: #6d5dfc;
  --blue-dark: #170f3f;
  --sky: #ebfffa;
  --gold: #ffcc4d;
  --shadow: 0 18px 48px rgba(28, 61, 101, 0.13);
  --shadow-lift: 0 26px 70px rgba(28, 61, 101, 0.18);
}

.brand-mark {
  color: transparent;
  background-image: url("assets/logo-mark.svg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 22px rgba(49, 95, 155, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(49, 95, 155, 0.14), transparent 24%),
    radial-gradient(circle at 86% 34%, rgba(39, 125, 135, 0.12), transparent 25%),
    linear-gradient(180deg, rgba(207, 229, 245, 0.38), transparent 520px),
    var(--paper);
  background-attachment: fixed;
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(120deg, rgba(49, 95, 155, 0.12) 0 1px, transparent 1px 36px),
    linear-gradient(30deg, rgba(39, 125, 135, 0.1) 0 1px, transparent 1px 44px);
  background-size: 190px 190px, 220px 220px;
  transform: translateZ(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(215, 226, 234, 0.86);
  background: rgba(245, 248, 251, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--blue), var(--teal));
  box-shadow: 0 10px 22px rgba(49, 95, 155, 0.26);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-dark), var(--teal-dark));
  box-shadow: 0 12px 26px rgba(32, 63, 112, 0.2);
}

.button.secondary {
  color: var(--blue-dark);
  border-color: rgba(49, 95, 155, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.hero,
.section {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 70px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 70px);
  background:
    radial-gradient(circle at 82% 12%, rgba(213, 169, 75, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(234, 242, 248, 0.96), rgba(255, 255, 255, 0.86));
  border-bottom: 1px solid rgba(161, 187, 207, 0.4);
}

.page-hero h1,
.page-hero p {
  max-width: 760px;
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 620px;
  background:
    radial-gradient(circle at 84% 18%, rgba(213, 169, 75, 0.26), transparent 24%),
    radial-gradient(circle at 18% 18%, rgba(49, 95, 155, 0.2), transparent 28%),
    linear-gradient(135deg, #eef6fb 0%, #f8fbfd 48%, #e5f2f4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 28px clamp(18px, 5vw, 70px);
  pointer-events: none;
  border: 1px solid rgba(49, 95, 155, 0.1);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.hero-copy,
.summary-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  color: #12243a;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Space Grotesk", Manrope, Arial, sans-serif;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.hero-lede {
  max-width: 680px;
  color: #42566a;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.summary-card,
.portrait-card,
.service-list article,
.support-grid article,
.systems-grid article,
.steps li,
.trust-grid p,
.lead-form {
  position: relative;
  border: 1px solid rgba(161, 187, 207, 0.78);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 253, 255, 0.94));
  box-shadow: var(--shadow);
}

.service-list article::before,
.support-grid article::before,
.systems-grid article::before,
.steps li::before,
.trust-grid p::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), transparent 42%);
  opacity: 0.7;
}

.service-list article > *,
.support-grid article > *,
.systems-grid article > *,
.steps li > *,
.trust-grid p > * {
  position: relative;
  z-index: 1;
}

.card-link {
  display: block;
  min-height: 100%;
  color: inherit;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.link-more::after {
  content: "->";
  transition: transform 180ms ease;
}

article:hover .link-more::after {
  transform: translateX(4px);
}

.summary-card {
  padding: 24px;
  transform: perspective(900px) rotateY(-2deg) rotateX(1deg);
  box-shadow: var(--shadow-lift);
}

.summary-card h2 {
  font-size: 24px;
}

.summary-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.summary-card div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.summary-card dt {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-card dd {
  margin: 4px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow),
.about-copy,
.portrait-card p,
.service-list p,
.systems-grid p,
.trust-grid p,
.contact-copy p,
.site-footer {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.portrait-card {
  padding: 14px;
}

.portrait {
  min-height: 250px;
  aspect-ratio: 4 / 5;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue-dark), var(--blue) 48%, var(--teal));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-card p {
  margin: 14px 4px 4px;
  font-size: 14px;
}

.about-copy {
  max-width: 780px;
  font-size: 17px;
}

.plain-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.services-section,
.systems-section,
.trust-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 248, 251, 0.8)),
    var(--white);
}

.service-list,
.systems-grid,
.support-grid,
.trust-grid {
  display: grid;
  gap: 14px;
}

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

.service-list article,
.systems-grid article,
.support-grid article,
.steps li,
.trust-grid p {
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-list article:hover,
.systems-grid article:hover,
.support-grid article:hover,
.steps li:hover {
  transform: translateY(-5px);
  border-color: rgba(49, 95, 155, 0.36);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 24px 56px rgba(28, 61, 101, 0.18);
}

.service-list article h3,
.systems-grid article h3,
.support-grid h3,
.steps strong {
  color: var(--blue-dark);
}

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

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

.practice-support-section {
  background:
    linear-gradient(135deg, rgba(207, 229, 245, 0.66), rgba(255, 255, 255, 0.72)),
    var(--paper);
}

.support-grid article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
}

.support-grid article::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(49, 95, 155, 0.12), transparent 62%);
}

.support-grid h3::before,
.service-list h3::before,
.systems-grid h3::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.process-section {
  background:
    radial-gradient(circle at 20% 12%, rgba(39, 125, 135, 0.12), transparent 26%),
    var(--soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 8px;
}

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

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

.contact-section {
  background:
    linear-gradient(135deg, rgba(234, 242, 248, 0.94), rgba(255, 255, 255, 0.78)),
    var(--soft);
}

.contact-copy {
  max-width: 720px;
}

.lead-form,
.quote-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1060px;
  margin-top: 28px;
  padding: 14px;
  box-shadow: var(--shadow-lift);
}

.lead-form label,
.quote-form label {
  display: grid;
  gap: 7px;
}

.lead-form span,
.quote-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font: inherit;
}

.quote-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
}

.quote-form textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

.scheduler-box,
.resource-grid article,
.testimonial-grid article,
.faq-list article {
  position: relative;
  border: 1px solid rgba(161, 187, 207, 0.78);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 253, 255, 0.94));
  box-shadow: var(--shadow);
}

.article-body {
  max-width: 860px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(161, 187, 207, 0.78);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 253, 255, 0.94));
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.article-section {
  display: grid;
  gap: 18px;
}

.article-body h2 {
  margin-top: 28px;
  font-size: clamp(24px, 3vw, 34px);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 17px;
}

.scheduler-box {
  max-width: 1120px;
  margin-top: 18px;
  padding: 22px;
}

.resource-grid,
.testimonial-grid,
.faq-list {
  display: grid;
  gap: 14px;
}

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

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

.faq-list {
  grid-template-columns: 1fr;
}

.resource-grid article,
.testimonial-grid article,
.faq-list article {
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.resource-grid article:hover,
.testimonial-grid article:hover,
.faq-list article:hover {
  transform: translateY(-5px);
  border-color: rgba(49, 95, 155, 0.36);
  box-shadow: 0 24px 56px rgba(28, 61, 101, 0.18);
}

.testimonial-grid p {
  color: #405468;
  font-size: 18px;
}

.testimonial-grid strong {
  color: var(--blue-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  max-width: 840px;
  margin: 0;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .support-grid,
  .systems-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .service-list,
  .steps,
  .lead-form,
  .quote-form,
  .resource-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 34px;
  }

  .hero-actions .button,
  .lead-form .button {
    width: 100%;
  }

  .service-list,
  .steps,
  .lead-form,
  .quote-form,
  .resource-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

.brand-mark {
  color: transparent;
  background-image: url("assets/logo-mark.svg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 22px rgba(49, 95, 155, 0.26);
}

