.appointment-page {
  height: 100dvh;
  max-height: 100dvh;
  background: #fff;
  font-family: var(--font-sans);
  color: var(--reva-black);
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 1.5vw, 24px) clamp(16px, 2.4vw, 40px) clamp(14px, 1.6vw, 26px);
  gap: clamp(14px, 1.8vw, 26px);
  overflow: hidden;
}

.appointment-intro {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 1.2vw, 16px);
  max-width: 900px;
  margin: 0 auto;
}

.appointment-text {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reva-olive);
  background: var(--reva-cream);
  border-radius: 999px;
  padding: 6px 13px;
}

.appointment-title {
  margin: 0;
  max-width: 24ch;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--reva-olive);
}

.appointment-accent {
  font-family: var(--font-serif-accent);
  font-style: italic;
  font-weight: 300;
  color: var(--reva-sage);
  background: #ededeb;
  padding: 0 0.22em 0.04em;
  border-radius: 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.appointment-text-2 {
  color: var(--reva-sage);
}

.appointment-description {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.55;
  color: #3a3a33;
}

.appointment-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 3.4vw, 54px);
  padding-top: 2px;
}

.appointment-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.appointment-text-3 {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--reva-sage);
}

.appointment-text-4 {
  font-family: var(--font-serif-accent);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.15;
  color: var(--reva-olive);
}

.appointment-layout {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  gap: clamp(14px, 2vw, 32px);
  align-items: stretch;
}

.appointment-portrait {
  flex: 0 1 30%;
  min-width: 190px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--reva-cream);
}

.appointment-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 58%;
  display: block;
}

.appointment-person {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(53, 58, 32, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 12px 16px;
}

.appointment-text-5 {
  font-size: 14px;
  font-weight: 500;
  color: var(--reva-cream);
  line-height: 1.25;
}

.appointment-text-6 {
  font-size: 11.5px;
  color: rgba(236, 236, 226, 0.72);
}

.appointment-calendar {
  flex: 1 1 65%;
  min-width: 300px;
  min-height: 0;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 14px;
}

.appointment-link {
  color: var(--reva-taupe);
}

@media (max-width: 800px) {
  .appointment-page {
    height: auto;
    max-height: none;
    min-height: 100dvh;
    overflow: visible;
    padding: 12px 16px 14px;
    gap: 14px;
  }
  .appointment-intro {
    gap: 10px;
  }
  .appointment-layout {
    flex-direction: column;
    flex: 0 0 auto;
    gap: 14px;
  }
  .appointment-portrait {
    flex: 0 0 240px;
    width: 100%;
    min-width: 0;
    height: 240px;
  }
  .appointment-calendar {
    flex: none;
    width: 100%;
    min-width: 0;
    height: 700px;
    min-height: 700px;
  }
  .appointment-title {
    font-size: 28px;
  }
  .appointment-description {
    font-size: 13px;
  }
  .appointment-text-4 {
    font-size: 17px;
  }
  .appointment-facts {
    gap: 22px;
  }
}
