.site-footer {
  padding-block: clamp(54px, 7vw, 82px) 30px;
  background: var(--ink-deep);
  color: #c9c4dd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 0.85fr;
  gap: clamp(28px, 5vw, 60px);
}

.footer-brand {
  min-width: 0;
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
}

.footer-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-name {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
}

.footer-sub {
  margin: 4px 0 0;
  color: #b8b2ce;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 34ch;
  margin: 0 0 18px;
  color: #b8b2ce;
  font-size: 1rem;
  line-height: 1.65;
}

.footer-col h2 {
  margin: 6px 0 14px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

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

.footer-col li {
  margin: 0;
}

.footer-col a,
.footer-col address,
.footer-col p {
  color: #c9c4dd;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.6;
  text-decoration: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col address {
  margin-bottom: 10px;
}

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

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: #c9c4dd;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-hours span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.social-list {
  display: flex;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.social-list li {
  margin: 0;
}

.social-list a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #3a3956;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
}

.social-list a:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink-deep);
}

.footer-legal {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid #2b2a44;
}

.footer-legal p {
  margin: 0 0 10px;
  color: #a9a3c0;
  font-size: 1rem;
  line-height: 1.65;
}

.footer-legal a {
  color: #d9d4ec;
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-legal details {
  margin: 0 0 10px;
}

.footer-legal summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d9d4ec;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.footer-legal summary:hover {
  color: #ffffff;
}

.footer-legal summary:focus-visible {
  outline-color: #ffffff;
}

.footer-legal .language-list {
  margin: 4px 0 12px;
  color: #a9a3c0;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #2b2a44;
}

.footer-bottom p {
  margin: 0;
  color: #918ba8;
  font-size: 1rem;
}

.cta-band {
  padding-block: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  max-width: 20ch;
  margin: 0;
}

.cta-inner p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  flex: none;
  gap: 10px;
}

@media (max-width: 1280px) {
  .brand img {
    height: 56px;
  }
}

@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }

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

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 92px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: auto;
    height: 56px;
  }

  .primary-nav {
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 22px 44px rgba(23, 23, 40, 0.14);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav ul a {
    min-height: 50px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 1rem;
  }

  .primary-nav ul a:hover {
    border-bottom-color: var(--border);
    color: var(--accent);
  }

  .primary-nav ul a[aria-current="page"] {
    border-bottom-color: var(--border);
  }

  .nav-cta {
    justify-content: center;
    min-height: 48px;
    margin-top: 8px;
  }

  .nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 4px;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
  }

  .nav-phone:hover {
    color: var(--accent-strong);
    text-decoration: underline;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .no-js .nav-toggle {
    display: none;
  }

  .no-js .primary-nav {
    position: static;
    display: flex;
    padding: 0 0 18px;
    border-bottom: 0;
    box-shadow: none;
  }

  .hero-grid,
  .split,
  .visit-grid,
  .contact-block,
  .article-layout,
  .treatment-row,
  .help-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-media {
    margin-top: 14px;
  }

  .hero-card {
    position: static;
    margin-top: 14px;
    padding: 14px 15px;
  }

  .hero-frame::before {
    inset: 18px -14px -14px 18px;
  }

  .primary-nav ul {
    gap: 18px;
  }

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

  .trust-list li:nth-child(3) {
    border-left: 0;
  }

  .trust-list li:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .article-layout {
    gap: 40px;
  }

  .article-side {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .article-hero img {
    max-height: 520px;
  }

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

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .condition-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .condition-block h3 {
    max-width: none;
  }

  .help-feature:nth-of-type(even) .help-feature-media {
    order: 0;
  }

  .treatment-row {
    gap: 20px;
  }

  .treatment-row h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .wrap,
  .wrap-narrow {
    width: min(calc(100% - 40px), var(--wrap));
  }

  h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .hero {
    padding-top: 32px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 8px 16px;
  }

  .hero-card {
    position: static;
    margin-top: 14px;
    padding: 14px 15px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section-head .link-arrow {
    margin-bottom: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 32px;
  }

  .steps::before {
    top: 10px;
    bottom: 10px;
    left: 26px;
    width: 1px;
    height: auto;
    right: auto;
  }

  .step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
  }

  .step-num {
    margin-bottom: 0;
  }

  .treat-grid,
  .info-grid,
  .policy-list,
  .resource-list,
  .article-side,
  .check-list,
  .visit-details,
  .cred-grid {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .help-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    gap: 20px;
  }

  .visit-card {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-hero img {
    max-height: 420px;
  }

  .treatment-content img {
    max-height: 340px;
  }

  .article-body h2 {
    margin-top: 1.6em;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .wrap,
  .wrap-narrow {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .nav-toggle-label {
    display: none;
  }

  .footer-bottom > div {
    white-space: normal !important;
  }

  .hero-frame::before {
    inset: 14px -10px -10px 14px;
  }

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

  .trust-list li {
    min-height: 66px;
    padding: 14px 4px;
  }

  .trust-list li + li {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .treat-card {
    min-height: 0;
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .treat-card:hover,
  .help-card:hover,
  .article-card:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .cta-band,
  .visit-band,
  .a11y-float {
    display: none;
  }

  body {
    color: #000000;
    font-size: 12pt;
  }

  a {
    color: #000000;
  }
}
