:root {
  --brand: #571c6e;
  --brand-dark: #461658;
  --brand-light: #f4edf7;
  --text: #1a1a22;
  --text-muted: #50505c;
  --border: #e6e6ef;
  --bg-muted: #f6f6fa;
  --white: #fff;
  --container: 1300px;
  --font-body: 'Roboto', system-ui, -apple-system, sans-serif;
  --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 20px rgba(26, 26, 34, 0.06);
  --shadow-hover: 0 16px 48px rgba(87, 28, 110, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* ——— Header ——— */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__top {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  text-align: center;
  padding: 0.55rem 0;
  color: var(--text-muted);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
}

.site-header__logo a {
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}

.site-header__logo-img {
  display: block;
  max-height: 3.25rem;
  width: auto;
  max-width: 220px;
}

.site-header__logo h1 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  color: var(--brand);
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .site-header__logo h1 {
    font-size: 1.65rem;
  }
}

.site-header__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--white);
  background: var(--brand);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.site-header__toggle:hover {
  background: var(--brand-dark);
}

.site-header__toggle .fa {
  font-size: 1.25rem;
}

@media (min-width: 992px) {
  .site-header__toggle {
    display: none;
  }
}

.site-header__nav {
  display: none;
  width: 100%;
  order: 3;
}

.site-header__nav.is-open {
  display: block;
}

@media (min-width: 992px) {
  .site-header__nav {
    display: flex;
    width: auto;
    order: 0;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
  }
}

.site-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 992px) {
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    background: transparent;
    border: none;
    gap: 0.25rem;
  }
}

.site-nav__item a {
  display: block;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.site-nav__item:last-child a {
  border-bottom: none;
}

@media (min-width: 992px) {
  .site-nav__item a {
    padding: 0.6rem 0.9rem;
    border-bottom: none;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
  }

  .site-nav__item a:hover,
  .site-nav__item.is-active a {
    color: var(--brand);
    background: var(--brand-light);
  }

  .site-nav__item.is-active a::after {
    display: none;
  }
}

/* ——— Page content ——— */
.page-content {
  padding: 2rem 0 3rem;
  min-height: 18rem;
}

.page-content--flush {
  padding-top: 0;
}

.page-content__title {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .page-content__title {
    font-size: 2.5rem;
  }
}

.page-content__placeholder {
  color: var(--text-muted);
}

/* ——— Page hero ——— */
.page-hero,
.contacts-hero {
  background: linear-gradient(125deg, var(--brand) 0%, #6b2485 45%, var(--brand-dark) 100%);
  color: var(--white);
  padding: 2.75rem 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::before,
.contacts-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.page-hero .container,
.contacts-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.contacts-hero h1 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .page-hero,
  .contacts-hero {
    padding: 3.25rem 0;
  }

  .page-hero h1,
  .contacts-hero h1 {
    font-size: 2.5rem;
  }
}

/* ——— Text pages ——— */
.text-page {
  padding-bottom: 3rem;
}

.content-prose {
  max-width: 52rem;
}

.content-prose p {
  margin: 0 0 1.125rem;
}

.content-prose h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 1rem;
  color: var(--text);
}

.content-prose h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.content-prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.content-prose li {
  margin-bottom: 0.4rem;
}

.content-prose li ul {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.lead-quote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
}

.company-card {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-muted);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.company-card strong {
  color: var(--text);
}

.doc-gallery {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.doc-gallery__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.doc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.doc-gallery__item {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.doc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doc-gallery__placeholder {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}

.doc-gallery__placeholder .fa {
  font-size: 2rem;
  color: var(--brand);
  opacity: 0.5;
}

.attestations-section {
  margin-top: 2.5rem;
}

.attestations-section > h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.attestation {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.attestation__header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.attestation__code {
  font-size: 1rem;
  color: var(--brand);
}

.attestation__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.attestation__registered {
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
}

.attestation__scope-title {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}

.attestation__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  columns: 1;
}

@media (min-width: 768px) {
  .attestation__list--cols {
    columns: 2;
    column-gap: 2rem;
  }
}

.attestation__list li {
  break-inside: avoid;
  margin-bottom: 0.25rem;
}

/* ——— Services grid ——— */
.services-intro {
  max-width: 56rem;
  margin: 0 0 2rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 540px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  background: var(--bg-muted);
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: linear-gradient(145deg, var(--brand-light) 0%, var(--bg-muted) 100%);
}

.service-card__placeholder .fa {
  font-size: 2.5rem;
  color: var(--brand);
  opacity: 0.45;
}

.service-card__body {
  flex: 1;
  padding: 1.125rem 1.25rem 1.35rem;
}

.service-card__title {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.35;
}

.service-card__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

/* ——— Partners grid ——— */
.partners-intro {
  max-width: 56rem;
  margin: 0 0 2rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .partner-card:last-child:nth-child(3n + 1) {
    grid-column: span 1;
  }
}

.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.partner-card__media {
  aspect-ratio: 16 / 9;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.partner-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand-light) 0%, var(--bg-muted) 100%);
}

.partner-card__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand);
  text-align: center;
  padding: 0 0.5rem;
}

.partner-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.125rem 1.25rem 1.35rem;
}

.partner-card__name {
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.partner-card__subtitle {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand);
}

.partner-card__text {
  flex: 1;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.partner-card__link .fa {
  font-size: 0.75rem;
}

.contacts-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }
}

.contacts-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.contacts-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-light);
}

.contacts-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contacts-info-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contacts-info-list li:last-child {
  margin-bottom: 0;
}

.contacts-info-list .fa {
  color: var(--brand);
  font-size: 1.125rem;
  width: 1.25rem;
  text-align: center;
  margin-top: 0.15rem;
}

.contacts-info-list a {
  font-weight: 600;
}

.contacts-people {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-person {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-person__role {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
}

.contact-person__phone {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand);
}

.contact-person__phone:hover {
  color: var(--brand-dark);
}

/* ——— Footer ——— */
.site-footer {
  margin-top: auto;
}

.footer-top {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}

.footer-top__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-top__grid {
    grid-template-columns: 1.4fr 1fr 0.85fr;
    gap: 2rem;
  }
}

.footer-top__headings {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}

.footer-top__about {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.footer-contacts p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
}

.footer-contacts .icon-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.footer-contacts .fa {
  color: var(--brand);
  width: 1.125rem;
  margin-top: 0.2rem;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 0.35rem;
}

.footer-menu a {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-menu a:hover,
.footer-menu a.active {
  color: var(--brand);
}

.footer-bottom {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  padding: 0.85rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom a {
  color: var(--white);
  font-weight: 700;
}

.footer-bottom a:hover {
  color: var(--brand-light);
}

/* ——— Buttons ——— */
.btn {
  display: inline-block;
  padding: 0.9rem 1.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.btn--primary:hover {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn--outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--outline:hover {
  color: var(--brand);
  background: var(--white);
  border-color: var(--white);
}

.btn--light {
  color: var(--brand);
  background: var(--white);
  border-color: var(--white);
  white-space: nowrap;
}

.btn--light:hover {
  color: var(--white);
  background: transparent;
  border-color: var(--white);
}

/* ——— Home page ——— */
.home-hero {
  background: linear-gradient(125deg, var(--brand) 0%, #6b2485 40%, var(--brand-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.home-hero__label {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 0.02em;
}

.home-hero__title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
}

.home-hero__subtitle {
  margin: 0 0 1.75rem;
  font-size: 1.2rem;
  line-height: 1.65;
  opacity: 0.95;
  font-weight: 400;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .home-hero {
    padding: 4.5rem 0 5rem;
  }

  .home-hero__title {
    font-size: 3.25rem;
  }

  .home-hero__subtitle {
    font-size: 1.3rem;
  }
}

.home-about {
  padding: 3rem 0;
}

.home-about__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .home-about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.home-about__text h2 {
  margin-top: 0;
}

.home-advantages__heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.home-advantages__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 540px) {
  .home-advantages__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-advantage {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.home-advantage__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
}

.home-advantage__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.home-advantage__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.home-directions {
  padding: 3rem 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}

.home-section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.home-section-head h2 {
  margin-bottom: 0.5rem;
}

.home-section-head p {
  margin: 0;
  font-size: 1rem;
}

.home-directions__grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 540px) {
  .home-directions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .home-directions__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-direction-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text-muted);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-direction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-light);
  color: var(--text-muted);
}

.home-direction-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.home-direction-card p {
  flex: 1;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.home-direction-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50%;
  font-size: 1.35rem;
}

.home-direction-card__more {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
}

.home-direction-card__more .fa {
  margin-left: 0.25rem;
  font-size: 0.7rem;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .home-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.home-stat__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brand);
  line-height: 1.2;
}

.home-stat__value .fa {
  font-size: 1.75rem;
}

.home-stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.home-stat--link {
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-stat--link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  color: inherit;
}

.home-cta {
  padding: 2.5rem 0;
  background: var(--brand);
  color: var(--white);
}

.home-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .home-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.home-cta h2 {
  color: var(--white);
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.home-cta p {
  margin: 0;
  opacity: 0.92;
  max-width: 32rem;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.layout main {
  flex: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
