body.index-page:has(.appointment-rootopathy-page) {
  --background-color: #03080b;
  background: #03080b;
}

.appointment-rootopathy-page {
  --ap-dark: #03090d;
  --ap-panel: #06151b;
  --ap-ink: #dce8e8;
  --ap-muted: rgba(255,255,255,.76);
  --ap-line: rgba(255,255,255,.2);
  --ap-cyan: #18d6cf;
  --ap-red: #ff4047;
  background:
    radial-gradient(circle at 74% 8%, rgba(12, 159, 158, .13), transparent 28%),
    radial-gradient(circle at 9% 44%, rgba(12, 159, 158, .09), transparent 22%),
    #03080b;
  color: var(--ap-ink);
  font-family: "Inter", sans-serif;
  min-height: 100vh;
}

.appointment-rootopathy-page *,
.appointment-rootopathy-page *::before,
.appointment-rootopathy-page *::after {
  box-sizing: border-box;
}

.appointment-rootopathy-page :where(section) {
  background-color: transparent;
  padding: 0;
}

.appointment-rootopathy-page h1,
.appointment-rootopathy-page h2,
.appointment-rootopathy-page h3,
.appointment-rootopathy-page p {
  font-family: "Inter", sans-serif;
  margin: 0;
}

.ap-nav {
  background: rgba(2, 8, 11, .96);
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 124px;
}

.ap-brand {
  align-content: center;
  border-right: 1px solid var(--ap-line);
  display: grid;
  padding-left: 22px;
  text-decoration: none;
}

.ap-brand img {
  filter: brightness(0) invert(1);
  height: 70px;
  object-fit: contain;
  object-position: left;
  width: 250px;
}

.ap-brand span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-left: 69px;
  margin-top: -12px;
  text-transform: uppercase;
}

.ap-menu {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.ap-menu a {
  border-right: 1px solid var(--ap-line);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 0 10px;
  text-align: center;
  text-decoration: none;
}

.ap-menu strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
  text-transform: uppercase;
}

.ap-menu a.active strong {
  color: var(--ap-cyan);
}

.ap-menu span {
  color: rgba(255,255,255,.86);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

.ap-hero {
  align-items: center;
  background:
    radial-gradient(circle at 74% 42%, rgba(24, 214, 207, .14), transparent 32%),
    linear-gradient(90deg, #040a0f 0%, #061922 56%, #03080b 100%);
  display: grid;
  grid-template-columns: 55% 45%;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 246px;
  overflow: hidden;
  padding: 24px 40px 12px;
  position: relative;
}

.ap-hero-copy {
  position: relative;
  z-index: 1;
}

.ap-hero h1 {
  color: #fff;
  font-size: clamp(36px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.ap-rule {
  background: var(--ap-cyan);
  display: block;
  height: 2px;
  margin: 24px 0 18px;
  width: 42px;
}

.ap-hero h2 {
  color: var(--ap-cyan);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.ap-hero p {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 570px;
}

.ap-hero img {
  display: block;
  filter: drop-shadow(0 0 22px rgba(24, 214, 207, .2));
  height: 224px;
  justify-self: end;
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 88%, transparent 100%);
  object-fit: contain;
  opacity: .96;
  transform: translateY(-4px);
  width: min(100%, 470px);
}

.ap-feature-row {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  max-width: 575px;
}

.ap-feature-row article {
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.22);
  display: grid;
  gap: 10px;
  grid-template-columns: 38px 1fr;
  padding: 0 12px;
}

.ap-feature-row article:first-child {
  border-left: 0;
  padding-left: 0;
}

.ap-feature-row i {
  color: var(--ap-cyan);
  font-size: 32px;
}

.ap-feature-row span {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.ap-content {
  display: block;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 36px 20px;
}

.ap-alert {
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px;
  padding: 12px 16px;
}

.ap-alert-success {
  background: rgba(24, 214, 207, .14);
  border: 1px solid rgba(24, 214, 207, .42);
  color: #bafaf6;
}

.ap-alert-error {
  background: rgba(255, 64, 71, .14);
  border: 1px solid rgba(255, 64, 71, .42);
  color: #ffd2d5;
}

.ap-panel {
  background:
    radial-gradient(circle at 95% 15%, rgba(24, 214, 207, .07), transparent 34%),
    rgba(5, 16, 21, .92);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 7px;
  box-shadow: inset 0 0 34px rgba(24, 214, 207, .03), 0 12px 40px rgba(0,0,0,.18);
  min-width: 0;
}

.ap-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 74px;
  padding: 14px 38px 10px;
  position: relative;
}

.ap-steps::before {
  background: rgba(255,255,255,.28);
  content: "";
  height: 1px;
  left: 90px;
  position: absolute;
  right: 90px;
  top: 33px;
}

.ap-steps article {
  align-items: center;
  display: grid;
  justify-items: center;
  position: relative;
  text-align: center;
  z-index: 1;
}

.ap-steps b {
  align-items: center;
  background: #071015;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 20px;
  font-weight: 600;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.ap-steps .active b {
  background: linear-gradient(145deg, #12bcb4, #08767f);
  border-color: rgba(24, 214, 207, .7);
}

.ap-steps span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 9px;
  text-transform: uppercase;
}

.ap-steps .active span {
  color: var(--ap-cyan);
}

.ap-booking-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 36.2% 41.2% 20.1%;
  margin-top: 8px;
}

.ap-service-panel,
.ap-date-panel,
.ap-details-panel,
.ap-why-panel {
  padding: 14px 18px;
}

.ap-panel h2 {
  color: var(--ap-cyan);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ap-service-panel > p,
.ap-date-panel > p,
.ap-message {
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 8px;
}

.ap-service-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ap-service {
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  gap: 13px;
  grid-template-columns: 58px 1fr 70px;
  min-height: 70px;
  padding: 7px 12px;
  transition: border-color .2s ease, background .2s ease;
}

.ap-service.selected {
  background: rgba(24, 214, 207, .07);
  border-color: var(--ap-cyan);
}

.ap-service input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ap-service > i {
  align-items: center;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(145deg, rgba(88, 222, 216, .82), rgba(7, 103, 111, .92));
  border: 1px solid rgba(111, 244, 238, .34);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 24px;
  height: 46px;
  justify-content: center;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .22);
  width: 46px;
}

.ap-service > i::before {
  display: block;
}

.ap-service strong {
  color: var(--ap-cyan);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.ap-service em {
  color: #fff;
  display: block;
  font-size: 10px;
  font-style: normal;
  line-height: 1.3;
  margin-top: 5px;
}

.ap-service small {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 11px;
  gap: 5px;
  margin-top: 5px;
}

.ap-service b {
  color: var(--ap-cyan);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.ap-service-note {
  align-items: flex-start;
  color: #fff;
  display: grid;
  font-size: 11px;
  gap: 12px;
  grid-template-columns: 22px 1fr;
  line-height: 1.45;
  margin-top: 10px;
}

.ap-service-note i {
  color: var(--ap-cyan);
  font-size: 22px;
}

.ap-middle-col {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ap-date-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 126px;
  margin-top: 10px;
}

.ap-calendar,
.ap-slots {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px;
  padding: 8px 14px;
}

.ap-calendar-head {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ap-calendar-head i {
  color: #fff;
}

.ap-weekdays,
.ap-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.ap-weekdays span {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.ap-days {
  gap: 6px 5px;
  margin-top: 9px;
}

.ap-days button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.ap-days button.active {
  background: linear-gradient(145deg, #14c9bf, #08767f);
  color: #fff;
}

.ap-days button.muted {
  opacity: .42;
}

.ap-days button:disabled {
  cursor: not-allowed;
  opacity: .22;
}

.ap-slots h3 {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 11px;
  text-align: center;
}

.ap-slots button {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 12px;
  height: 24px;
  margin-top: 5px;
  width: 100%;
}

.ap-slots button.active {
  background: linear-gradient(90deg, rgba(12, 153, 148, .9), rgba(15, 180, 171, .9));
  border-color: var(--ap-cyan);
}

.ap-slots button:disabled,
.ap-slots button.is-unavailable {
  background: rgba(255, 64, 71, .08);
  border-color: rgba(255, 64, 71, .38);
  color: rgba(255,255,255,.58);
  cursor: not-allowed;
  text-decoration: line-through;
}

.ap-slots button.is-booked {
  background: rgba(255, 64, 71, .12);
  border-color: rgba(255, 64, 71, .48);
}

.ap-slots button.is-blocked {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
}

.ap-slot-help {
  color: rgba(255,255,255,.66);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 8px;
  text-align: center;
}

.ap-time-note {
  align-items: center;
  color: rgba(255,255,255,.72);
  display: flex;
  font-size: 10px;
  gap: 6px;
  margin-top: 12px;
}

.ap-time-note i {
  color: var(--ap-cyan);
}

.ap-details-panel {
  display: grid;
  gap: 8px;
}

.ap-form-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 4px;
}

.ap-details-panel input,
.ap-details-panel select,
.ap-details-panel textarea {
  background: rgba(1, 9, 12, .62);
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 4px;
  color: #fff;
  font: inherit;
  font-size: 12px;
  height: 35px;
  outline: 0;
  padding: 0 12px;
  width: 100%;
}

.ap-details-panel input::placeholder,
.ap-details-panel textarea::placeholder {
  color: rgba(255,255,255,.72);
}

.ap-details-panel select {
  color: rgba(255,255,255,.84);
}

.ap-details-panel textarea {
  height: 52px;
  padding-top: 11px;
  resize: vertical;
}

.ap-privacy {
  align-items: center;
  color: rgba(255,255,255,.72);
  display: flex;
  font-size: 11px;
  gap: 10px;
}

.ap-privacy i {
  color: #fff;
  font-size: 18px;
}

.ap-submit-row {
  align-items: stretch;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin-top: 4px;
}

.appointment-rootopathy-page .ap-submit-row button[type="submit"] {
  align-items: center;
  appearance: none;
  background: linear-gradient(90deg, #0a9e95, #14b8ad);
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  height: 43px;
  justify-content: space-between;
  letter-spacing: .02em;
  padding: 0 20px 0 28px;
  text-transform: uppercase;
  width: 100%;
}

.appointment-rootopathy-page .ap-submit-row button[type="submit"] i {
  color: #fff;
  font-size: 22px;
}

.appointment-rootopathy-page .ap-submit-row button[type="submit"]:hover,
.appointment-rootopathy-page .ap-submit-row button[type="submit"]:focus-visible {
  background: linear-gradient(90deg, #0db6ab, #19d2c6);
  outline: 0;
}

.ap-submit-row small {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.ap-why-panel {
  display: grid;
  gap: 0;
  min-height: 100%;
}

.ap-why-panel h2 {
  margin-bottom: 8px;
}

.ap-why-panel article {
  align-items: start;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  gap: 12px;
  grid-template-columns: 44px 1fr;
  padding: 8px 0;
}

.ap-why-panel article:first-of-type {
  border-top: 0;
}

.ap-why-panel article i {
  color: var(--ap-cyan);
  font-size: 30px;
}

.ap-why-panel h3 {
  color: var(--ap-cyan);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.ap-why-panel p {
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  margin-top: 5px;
}

.ap-new-patient {
  border: 1px solid var(--ap-cyan);
  border-radius: 6px;
  margin-top: 8px;
  padding: 10px 14px;
}

.ap-new-patient button {
  background: transparent;
  border: 1px solid var(--ap-cyan);
  border-radius: 4px;
  color: var(--ap-cyan);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  height: 30px;
  margin-top: 10px;
  text-transform: uppercase;
  width: 100%;
}

.ap-help {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.25fr 250px 250px;
  margin-top: 12px;
  min-height: 70px;
  padding: 10px 22px;
}

.ap-help h2 {
  color: var(--ap-cyan);
  font-size: 14px;
  letter-spacing: .07em;
}

.ap-help p {
  color: #fff;
  font-size: 13px;
  margin-top: 5px;
}

.ap-help a {
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 5px;
  color: #fff;
  display: grid;
  gap: 14px;
  grid-template-columns: 38px 1fr;
  min-height: 48px;
  padding: 6px 14px;
  text-decoration: none;
}

.ap-help a i {
  color: var(--ap-cyan);
  font-size: 28px;
  text-align: center;
}

.ap-help a span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.ap-help a small {
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 500;
}

.ap-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  overflow: hidden;
  padding: 0;
}

.ap-values article {
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.18);
  display: grid;
  gap: 14px;
  grid-template-columns: 58px 1fr;
  min-height: 84px;
  padding: 9px 22px;
}

.ap-values article:first-child {
  border-left: 0;
}

.ap-values i {
  color: var(--ap-cyan);
  font-size: 36px;
}

.ap-values h3 {
  color: var(--ap-cyan);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ap-values p {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.38;
  margin-top: 4px;
}

.ap-emergency {
  align-items: center;
  background:
    radial-gradient(circle at 0 50%, rgba(255, 64, 71, .08), transparent 18%),
    rgba(5, 16, 21, .9);
  border: 1px solid var(--ap-red);
  border-radius: 7px;
  display: grid;
  gap: 22px;
  grid-template-columns: 90px 1fr 330px;
  margin-top: 14px;
  min-height: 92px;
  padding: 10px 24px;
}

.ap-emergency > i {
  color: var(--ap-red);
  font-size: 54px;
}

.ap-emergency h2 {
  color: var(--ap-red);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ap-emergency p,
.ap-emergency strong {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.46;
  margin-top: 8px;
}

.ap-emergency aside {
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.34);
  display: grid;
  gap: 20px;
  grid-template-columns: 64px 1fr;
  padding-left: 28px;
}

.ap-emergency aside i {
  color: #fff;
  font-size: 54px;
}

.ap-bottom {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 14px 36px 24px;
}

.ap-bottom span:first-child,
.ap-bottom span:last-child {
  color: var(--ap-cyan);
}

@media (min-width: 1200px) {
  .ap-content,
  .ap-bottom {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 880px) {
  .ap-nav,
  .ap-hero,
  .ap-booking-grid,
  .ap-help,
  .ap-emergency {
    grid-template-columns: 1fr;
  }

  .ap-menu {
    display: none;
  }

  .ap-brand {
    border-right: 0;
  }

  .ap-content,
  .ap-hero,
  .ap-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ap-hero img {
    justify-self: center;
  }

  .ap-feature-row,
  .ap-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ap-steps,
  .ap-date-layout,
  .ap-form-grid,
  .ap-submit-row,
  .ap-feature-row,
  .ap-values {
    grid-template-columns: 1fr;
  }

  .ap-submit-row button {
    min-height: 46px;
  }

  .ap-steps::before {
    display: none;
  }

  .ap-service {
    gap: 12px;
    grid-template-columns: 50px 1fr;
    padding: 12px;
  }

  .ap-service > i {
    font-size: 22px;
    height: 44px;
    width: 44px;
  }

  .ap-service b {
    grid-column: 2;
    text-align: left;
  }

  .ap-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ap-hero {
    overflow: hidden;
  }

  .ap-hero-copy,
  .ap-feature-row {
    min-width: 0;
    width: 100%;
  }

  .ap-hero h1,
  .ap-hero h2,
  .ap-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .ap-hero h1 {
    font-size: clamp(30px, 11vw, 40px);
    letter-spacing: 0.02em;
    line-height: 1.02;
    white-space: normal;
  }
}
