.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: var(--content);
  min-height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

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

.brand > span > span,
.brand--footer > span {
  color: var(--orange);
}

.brand-mark {
  position: relative;
  width: 27px;
  height: 31px;
  border: 7px solid var(--orange);
  border-radius: 50% 50% 48% 12%;
}

.header-nav {
  justify-self: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 36px);
}

.main-nav a {
  position: relative;
  padding: 29px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  transition: color 180ms var(--ease);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

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

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  padding: 12px 18px;
  color: var(--ink);
  background: var(--orange);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms var(--ease);
}

.header-cta:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

button,
.button,
.header-cta {
  border-radius: var(--radius-action);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.button:active,
.header-cta:active {
  transform: translateY(1px);
}

.button--orange {
  color: var(--ink);
  background: var(--orange);
}

.button--orange:hover {
  background: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button--light {
  color: var(--ink);
  background: var(--white);
}

.button--light:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--white);
}

.button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
}

.button--outline:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}

.text-link svg,
.symptom-link svg,
.contact-aside a svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
  transition: transform 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .text-link:hover svg,
  .text-link:focus-visible svg,
  .contact-aside a:hover svg,
  .contact-aside a:focus-visible svg {
    transform: translateX(4px);
  }
}

.text-link--light {
  color: var(--white);
}

.section-head {
  max-width: 840px;
}

.section-head h2 {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-lead {
  max-width: 620px;
  color: var(--muted-on-light);
  font-size: clamp(18px, 1.6vw, 23px);
}

.section--ink .section-lead {
  color: var(--muted-strong);
}

.kicker {
  margin-bottom: 22px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form {
  padding: clamp(28px, 4vw, 58px);
  color: var(--white);
  background: var(--ink-soft);
}

.lead-mode {
  display: flex;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line-dark);
}

.lead-mode__button {
  flex: 1;
  padding: 0 8px 15px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.lead-mode__button.is-active {
  color: var(--white);
  border-bottom: 2px solid var(--orange);
}

.field {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}

.field label {
  color: var(--muted-strong);
  font-size: 13px;
}

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

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  outline: 0;
}

.field input:focus,
.field select:focus {
  border-color: var(--orange);
}

.field select option,
.field select optgroup {
  color: var(--ink);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 13px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}

.lead-submit {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.lead-submit p {
  max-width: 220px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
}

.field-error,
.form-status {
  min-height: 1.3em;
  margin: 6px 0 0;
  color: var(--orange);
  font-size: 13px;
}

.faq-item {
  border-top: 1px solid var(--line-light);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line-light);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: clamp(18px, 1.7vw, 25px);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  color: var(--orange);
  font-size: 28px;
  font-weight: 300;
  transition: transform 240ms var(--ease);
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-item > p {
  max-width: 680px;
  padding: 0 0 28px;
  color: var(--muted-on-light);
  font-size: 17px;
}

@supports selector(details::details-content) and (interpolate-size: allow-keywords) {
  .faq-item {
    interpolate-size: allow-keywords;
  }

  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition: block-size 280ms var(--ease), opacity 220ms var(--ease), content-visibility 280ms allow-discrete;
    transition-behavior: allow-discrete;
  }

  .faq-item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 64px max(32px, calc((100vw - 1400px) / 2));
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.site-footer p {
  max-width: 370px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer > div:last-child a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
}

.brand--footer {
  display: inline-block;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    column-gap: 18px;
  }

  .menu-toggle {
    display: block;
    padding: 12px 0;
    color: var(--white);
  }

  .brand,
  .menu-toggle,
  .header-cta {
    position: relative;
    z-index: 1;
  }

  .header-nav {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 50%;
    display: none;
    width: 100vw;
    height: 100svh;
    padding: 120px 32px 40px;
    background: var(--ink);
    transform: translateX(-50%);
  }

  .menu-open .header-nav {
    display: block;
  }

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

  .main-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 30px;
  }

  .main-nav a::after {
    display: none;
  }

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

@media (max-width: 620px) {
  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 168px;
  }

  .brand-mark {
    width: 22px;
    height: 25px;
    border-width: 6px;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

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

  .site-footer {
    gap: 32px;
    padding: 48px 16px;
  }

  .lead-mode__button {
    font-size: 13px;
  }

  .lead-submit {
    align-items: stretch;
    flex-direction: column;
  }
}

.booking-dialog {
  width: min(980px, calc(100vw - 48px));
  max-width: none;
  max-height: min(860px, calc(100svh - 48px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-media);
  color: var(--white);
  background: var(--ink-soft);
  overflow: auto;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 220ms var(--ease), transform 320ms var(--ease), overlay 320ms allow-discrete, display 320ms allow-discrete;
}

.booking-dialog[open] {
  opacity: 1;
  transform: none;
}

.booking-dialog::backdrop {
  background: rgba(25, 30, 33, 0.82);
  opacity: 0;
  transition: opacity 240ms var(--ease), overlay 240ms allow-discrete, display 240ms allow-discrete;
}

.booking-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .booking-dialog[open] {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  .booking-dialog[open]::backdrop {
    opacity: 0;
  }
}

.booking-dialog__panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(460px, 1.28fr);
  min-height: 620px;
}

.booking-dialog__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 5vw, 64px);
  color: var(--ink);
  background: var(--orange);
}

.booking-dialog__intro .kicker {
  color: var(--ink);
}

.booking-dialog__intro h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 54px);
}

.booking-dialog__intro > a {
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
}

.booking-dialog__form {
  position: relative;
}

.booking-dialog__form .lead-form {
  min-height: 100%;
  padding-top: clamp(72px, 7vw, 92px);
}

.booking-dialog__close {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 28px;
}

body.booking-dialog-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .booking-dialog {
    width: 100vw;
    height: 100svh;
    max-height: none;
    border-radius: 0;
  }

  .booking-dialog__panel {
    grid-template-columns: 1fr;
    min-height: 100%;
  }

  .booking-dialog__intro {
    min-height: 230px;
    padding: 32px 64px 32px 16px;
  }

  .booking-dialog__intro h2 {
    max-width: 520px;
    font-size: 34px;
  }

  .booking-dialog__intro > a {
    margin-top: 18px;
    font-size: 24px;
  }

  .booking-dialog__form .lead-form {
    padding: 70px 16px 36px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .booking-dialog,
  .booking-dialog::backdrop,
  .button,
  .header-cta,
  .text-link svg,
  .contact-aside a svg,
  .faq-item summary span,
  .faq-item::details-content {
    scroll-behavior: auto;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
