:root {
  --color-text: #363334;
  --color-muted: #4c4d4d;
  --color-accent: #1c8873;
  --color-accent-2: #1a8d77;
  --color-accent-3: #18937b;
  --color-price: #e55c47;
  --color-icon-bg: #e5f4f1;
  --color-white: #ffffff;
  --gradient-btn: linear-gradient(180deg, #18937b 0%, #2a6158 100%);
  --gradient-hero: linear-gradient(90deg, #fefefe 0%, #e1f3ef 100%);
  --gradient-hero-invert: linear-gradient(90deg, #e1f3ef 0%, #fefefe 100%);
  --divider-thickness: 0.125rem;
  --font-main: "Inter", system-ui, sans-serif;
  --container-max: 90rem;
  --container-pad: clamp(1rem, 2.5vw, 1.75rem);
  --header-gap: clamp(1.25rem, 2.5vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - var(--container-pad) * 2, var(--container-max));
  margin-inline: auto;
}

/* —— Header —— */

.header {
  padding-block: clamp(0.75rem, 1.5vw, 1.25rem) clamp(0.25rem, 0.6vw, 0.5rem);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--header-gap);
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: clamp(14rem, 22vw, 21rem);
  height: auto;
}

.header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 32rem;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.header__menu a {
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.125rem);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header__menu a:hover,
.header__menu a:focus-visible {
  opacity: 0.7;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15em;
  flex-shrink: 0;
}

.header__phone {
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header__phone:hover,
.header__phone:focus-visible {
  opacity: 0.7;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.95em 2.75em;
  font-family: inherit;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: none;
  border-radius: 0.65rem;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.header__btn:hover,
.header__btn:focus-visible {
  filter: brightness(1.08);
}

.header__btn:active {
  transform: scale(0.98);
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 0.125rem;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.is-open .header__burger span:nth-child(1) {
  transform: translateY(0.425rem) rotate(45deg);
}

.header.is-open .header__burger span:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__burger span:nth-child(3) {
  transform: translateY(-0.425rem) rotate(-45deg);
}

.header__mobile {
  display: none;
}

/* —— Adaptive —— */

@media (max-width: 64rem) {
  .header__nav {
    display: none;
  }

  .header__contacts {
    display: none;
  }

  .header__btn:not(.header__btn--mobile) {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__mobile {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: min(100% - var(--container-pad) * 2, var(--container-max));
    margin-inline: auto;
    margin-top: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #f7fafa;
  }

  .header__mobile[hidden] {
    display: none;
  }

  .header__mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .header__mobile-menu a {
    font-size: 1.05rem;
    font-weight: 500;
  }

  .header__mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .header__mobile-contacts a {
    font-size: 1rem;
    font-weight: 600;
  }

  .header__btn--mobile {
    align-self: flex-start;
  }
}

@media (max-width: 30rem) {
  .header__logo img {
    width: clamp(11rem, 68vw, 16rem);
  }
}

/* —— Top / Hero —— */

.top {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--gradient-hero);
}

.hero {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding-block: clamp(0.15rem, 0.6vw, 0.5rem) clamp(1.5rem, 4vw, 3.5rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 38rem;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero__title-accent {
  display: inline;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: clamp(0.85rem, 1.5vw, 1.25rem) 0 0;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-muted);
}

.hero__divider {
  width: min(100%, 20rem);
  height: var(--divider-thickness);
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--color-accent);
  border-radius: 999px;
}

.hero__text {
  margin: clamp(0.9rem, 1.5vw, 1.25rem) 0 0;
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: clamp(2.75rem, 5vw, 4rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2em;
  font-family: inherit;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.15rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  border-radius: 0.65rem;
  border: 0.1rem solid transparent;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  min-width: clamp(15rem, 24vw, 20rem);
  color: var(--color-white);
  background: var(--gradient-btn);
  box-shadow: 0 0.35rem 1rem rgba(24, 147, 123, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  filter: brightness(1.08);
}

.btn--outline {
  min-width: clamp(12rem, 18vw, 16rem);
  color: var(--color-accent);
  background: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 0.25rem 0.85rem rgba(28, 136, 115, 0.12);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(225, 243, 239, 0.7);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  width: 100%;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hero__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.hero__meta-icon {
  flex-shrink: 0;
  width: clamp(1.35rem, 1.2rem + 0.4vw, 1.65rem);
  height: auto;
  margin-top: 0.1rem;
}

.hero__meta-title {
  margin: 0;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-muted);
}

.hero__meta-desc {
  margin: 0.25rem 0 0;
  font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.95rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-muted);
  opacity: 0.85;
}

.hero__media {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-self: stretch;
}

.hero__slider {
  position: relative;
  width: 82%;
  max-width: 100%;
  min-height: 0;
  align-self: stretch;
  margin-left: clamp(1rem, 2.5vw, 2.5rem);
  margin-right: 0;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0.625rem;
  object-fit: cover;
}

.offers__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(16rem, 28vw, 22rem);
  border-radius: 0.85rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
}

.doctor__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(20rem, 45vw, 34rem);
  border-radius: 1rem;
  object-fit: cover;
  object-position: center top;
}

.services__photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem 0 0 1rem;
  object-fit: cover;
  object-position: center;
}

.women__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(20rem, 45vw, 34rem);
  border-radius: 1rem;
  object-fit: cover;
  object-position: center top;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.25rem, 2.5rem + 1.5vw, 4.25rem);
  height: clamp(2.75rem, 2.2rem + 1.1vw, 3.5rem);
  padding: 0;
  border: none;
  border-radius: 0.55rem;
  background: var(--gradient-btn);
  cursor: pointer;
  transform: translateY(-50%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.hero__arrow img {
  width: 45%;
  height: auto;
}

.hero__arrow:hover,
.hero__arrow:focus-visible {
  filter: brightness(1.1);
}

.hero__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.hero__arrow--prev {
  left: 0;
  translate: -50% 0;
}

.hero__arrow--next {
  right: 0;
  translate: 50% 0;
}

.hero__arrow--next img {
  transform: rotate(180deg);
}

.hero__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: min(100%, 14rem);
  padding: clamp(0.7rem, 1.2vw, 1rem) clamp(0.9rem, 1.5vw, 1.25rem);
  border-radius: 1.15rem;
  border: 0.08rem solid var(--color-white);
  background: var(--gradient-btn);
  color: var(--color-white);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.95rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  translate: 0 12%;
}

@media (max-width: 56rem) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: none;
  }

  .hero__media {
    order: -1;
    max-width: 28rem;
    width: 100%;
    margin-inline: auto;
    align-self: auto;
    justify-content: center;
  }

  .hero__slider {
    width: 100%;
    margin-right: 0;
    aspect-ratio: 512 / 550;
  }

  .hero__badge {
    right: clamp(0.5rem, 2vw, 1rem);
  }
}

@media (max-width: 30rem) {
  .hero__meta {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* —— Why —— */

.why {
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: var(--color-white);
}

.why__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.25rem);
}

.why__header {
  max-width: 52rem;
  text-align: center;
}

.why__eyebrow {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.55rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-accent-2);
}

.why__title {
  margin: clamp(0.6rem, 1.2vw, 1rem) 0 0;
  font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--color-muted);
}

.why__desc {
  max-width: 40rem;
  margin: clamp(0.85rem, 1.5vw, 1.25rem) auto 0;
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-muted);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 64rem;
}

.why__card {
  display: grid;
  grid-template-columns: clamp(5.5rem, 5rem + 3vw, 7.5rem) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--color-white);
  box-shadow:
    0 0.5rem 1rem rgba(76, 77, 77, 0.08),
    0 0.75rem 2rem rgba(26, 141, 119, 0.16),
    0 0.15rem 0.35rem rgba(76, 77, 77, 0.06);
}

.why__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 1.2vw, 1rem);
  background: var(--color-icon-bg);
}

.why__icon img {
  width: 68%;
  max-width: 4.5rem;
  height: auto;
}

.why__card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  padding: clamp(0.9rem, 1.5vw, 1.25rem) clamp(0.9rem, 1.5vw, 1.35rem);
}

.why__card-title {
  margin: 0;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-accent-2);
}

.why__card-text {
  margin: 0;
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-muted);
}

@media (max-width: 48rem) {
  .why__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Offers —— */

.offers {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--color-white);
}

.offers__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 80, 70, 0.55), rgba(20, 60, 55, 0.45)),
    url("../assets/offers/offers-bg.png") center / cover no-repeat;
  z-index: 0;
}

.offers__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: min(100% - var(--container-pad) * 2, var(--container-max));
  margin-inline: auto;
}

.offers__title {
  margin: 0;
  max-width: 44rem;
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-white);
}

.offers__legal {
  margin: 0;
  max-width: min(100%, 42rem);
  width: 100%;
  padding: clamp(0.85rem, 1.6vw, 1.15rem) clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 0.65rem;
  background: rgba(8, 40, 34, 0.55);
  font-size: clamp(0.9rem, 0.82rem + 0.3vw, 1.05rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.offers__legal strong {
  font-weight: 700;
}

.offers__slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1rem);
  width: 100%;
  max-width: 82rem;
}

.offers__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
}

.offers__card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(0.75rem, 1.2vw, 1.1rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 1.25rem;
  background: var(--gradient-btn);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.offers__card.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.offers__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding-left: clamp(0.75rem, 2vw, 1.75rem);
}

.offers__card-title {
  margin: 0;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-white);
}

.offers__card-text {
  margin: clamp(0.75rem, 1.5vw, 1.15rem) 0 0;
  max-width: 32rem;
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1.05rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-white);
}

.offers__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding: 0.75em 1.6em;
  border: 0.1rem solid var(--color-white);
  border-radius: 0.65rem;
  color: var(--color-white);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease;
}

.offers__btn:hover,
.offers__btn:focus-visible {
  background: var(--color-white);
  color: var(--color-accent-2);
}

.offers__note {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(0.6rem, 0.55rem + 0.12vw, 0.7rem);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.offers__media {
  min-width: 0;
  min-height: 0;
}


.offers__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 1rem;
  background: var(--color-white);
  color: var(--color-accent-2);
  box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.12);
}

.offers__panel-title {
  margin: 0;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-accent-2);
}

.offers__panel-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: clamp(0.85rem, 1.5vw, 1.15rem);
}

.offers__panel-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-accent-2);
}

.offers__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
}

.offers__check img {
  display: block;
  width: 100%;
  height: auto;
}

.offers__panel-price {
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-price);
}

.offers__panel-text {
  margin: clamp(0.65rem, 1.2vw, 0.9rem) 0 0;
  font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.95rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-accent-2);
}

.offers__panel-text strong {
  font-weight: 700;
}

.offers__panel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: 0.8em 1.6em;
  border: none;
  border-radius: 0.65rem;
  background: var(--gradient-btn);
  color: var(--color-white);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.offers__panel-btn:hover,
.offers__panel-btn:focus-visible {
  filter: brightness(1.08);
}

.offers__panel-btn:active {
  transform: scale(0.98);
}

.offers__arrow {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.5rem, 2rem + 1vw, 3.5rem);
  height: clamp(2.5rem, 2rem + 1vw, 3.5rem);
  padding: 0;
  border: none;
  border-radius: 0.55rem;
  background: var(--color-white);
  cursor: pointer;
  transition: filter 0.2s ease, scale 0.2s ease;
  box-shadow: 0 0.25rem 0.85rem rgba(0, 0, 0, 0.15);
}

.offers__arrow img {
  width: 45%;
  height: auto;
}

.offers__arrow:hover,
.offers__arrow:focus-visible {
  filter: brightness(0.96);
}

.offers__arrow:active {
  scale: 0.96;
}

.offers__arrow--next img {
  transform: rotate(180deg);
}

@media (max-width: 56rem) {
  .offers__card {
    grid-template-columns: 1fr;
  }

  .offers__card:not(.is-active) {
    display: none;
  }

  .offers__media,
  .offers__panel {
    order: -1;
  }

  .offers__photo {
    min-height: clamp(11rem, 45vw, 16rem);
    aspect-ratio: 4 / 3;
  }

  .offers__panel {
    order: 0;
  }

  .offers__slider {
    gap: 0.35rem;
  }

  .offers__arrow {
    width: clamp(2.25rem, 10vw, 2.75rem);
    height: clamp(2.25rem, 10vw, 2.75rem);
  }
}

/* —— Doctor —— */

.doctor {
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--gradient-hero-invert);
}

.doctor__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-areas:
    "title title"
    "content media";
  align-items: stretch;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  row-gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.doctor__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.doctor__title {
  grid-area: title;
  margin: 0;
  font-size: clamp(1.2rem, 0.85rem + 1.35vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-muted);
}

.doctor__name {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.doctor__creds {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.doctor__creds li {
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-muted);
}

.doctor__divider {
  width: min(100%, 14rem);
  height: var(--divider-thickness);
  margin-top: clamp(1rem, 2vw, 1.5rem);
  background: var(--color-accent);
  border-radius: 999px;
}

.doctor__bio {
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  max-width: 38rem;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-muted);
}

.doctor__edu {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 38rem;
}

.doctor__edu-title {
  margin: 0;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.1rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-muted);
}

.doctor__edu-list {
  margin: clamp(0.6rem, 1vw, 0.9rem) 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.doctor__edu-list li {
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-muted);
}

.doctor__edu-year {
  font-weight: 500;
}

.doctor__btn {
  margin-top: auto;
  padding: 1em 2.4em;
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
  min-width: clamp(14rem, 22vw, 18rem);
}

.doctor__media {
  grid-area: media;
  min-width: 0;
  display: flex;
}

@media (max-width: 56rem) {
  .doctor__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "title"
      "content";
  }

  .doctor__title {
    white-space: normal;
  }

  .doctor__media {
    max-width: 28rem;
    width: 100%;
    margin-inline: auto;
  }

  .doctor__photo {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

/* —— Services —— */

.services {
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--color-white);
  overflow: hidden;
}

.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
}

.services__content {
  min-width: 0;
  padding-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  padding-right: clamp(1rem, 2vw, 2rem);
}

.services__eyebrow {
  margin: 0;
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.15rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-accent-2);
}

.services__title {
  margin: clamp(0.5rem, 1vw, 0.85rem) 0 0;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-muted);
}

.services__title-accent {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.75rem) clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.services__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.services__dot-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.25rem, 3.5rem + 1.5vw, 5.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eff9f6;
}

.services__dot {
  width: 36%;
  height: auto;
}

.services__item-body {
  min-width: 0;
}

.services__item-title {
  margin: 0;
  font-size: clamp(0.95rem, 0.88rem + 0.25vw, 1.1rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-accent-2);
}

.services__item-text {
  margin: 0.7rem 0 0;
  font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.95rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-muted);
}

.services__btn {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 1em 2.4em;
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
  min-width: clamp(14rem, 22vw, 18rem);
}

.services__media {
  min-width: 0;
  height: min(85dvh, 42rem);
  align-self: center;
}


@media (max-width: 56rem) {
  .services__layout {
    grid-template-columns: 1fr;
  }

  .services__content {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .services__list {
    grid-template-columns: 1fr;
  }

  .services__media {
    order: -1;
    height: auto;
    max-width: 28rem;
    width: calc(100% - var(--container-pad) * 2);
    margin-inline: auto;
  }

  .services__photo {
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
  }
}

/* —— Women —— */

.women {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--gradient-hero);
}

.women__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  flex: 1 1 auto;
}

.women__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 100%;
}

.women__eyebrow {
  margin: 0;
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.15rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-accent-2);
}

.women__title {
  margin: clamp(0.5rem, 1vw, 0.85rem) 0 0;
  font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-muted);
}

.women__title-accent {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.women__texts {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 40rem;
}

.women__texts p {
  margin: 0;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-muted);
}

.women__texts strong {
  font-weight: 600;
}

.women__offer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  width: 100%;
  max-width: 42rem;
  margin-top: auto;
  padding: clamp(1.15rem, 2vw, 1.6rem) clamp(1.15rem, 2vw, 1.75rem);
  border-radius: 1rem;
  background: var(--gradient-btn);
  color: var(--color-white);
  box-shadow: 0 0.5rem 1.5rem rgba(26, 141, 119, 0.2);
}

.women__offer-title {
  margin: 0;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
}

.women__offer-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.women__offer-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  font-weight: 400;
  line-height: 1.35;
}

.women__offer-list img {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.women__offer-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
}

.women__price {
  margin: 0;
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.women__price-value {
  display: block;
  margin-top: 0.2em;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.women__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  background: var(--color-white);
  color: #1a8d77;
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.women__btn:hover,
.women__btn:focus-visible {
  filter: brightness(0.97);
}

.women__btn:active {
  transform: scale(0.98);
}

.women__media {
  min-width: 0;
  display: flex;
  align-self: stretch;
  margin-top: clamp(4.5rem, 8vw, 7rem);
}


@media (max-width: 56rem) {
  .women__inner {
    grid-template-columns: 1fr;
  }

  .women__media {
    order: -1;
    max-width: 28rem;
    width: 100%;
    margin-inline: auto;
    margin-top: 0;
    align-self: auto;
  }

  .women__photo {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .women__offer {
    grid-template-columns: 1fr;
    max-width: none;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
  }
}

/* —— Reviews —— */

.reviews {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--color-white);
}

.reviews__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  flex: 1 1 auto;
  justify-content: center;
}

.reviews__title {
  margin: 0;
  font-size: clamp(1.65rem, 1.3rem + 1.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.reviews__card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  padding: clamp(1.1rem, 1.8vw, 1.5rem);
  border: 0.1rem solid var(--color-accent-3);
  border-radius: 1rem;
  background: var(--color-white);
  box-shadow: 0 0.35rem 1.25rem rgba(24, 147, 123, 0.1);
}

.reviews__stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.reviews__stars img {
  width: clamp(1rem, 0.9rem + 0.3vw, 1.25rem);
  height: auto;
}

.reviews__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-muted);
}

.reviews__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.reviews__name {
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  font-weight: 600;
  color: var(--color-accent-3);
}

.reviews__date {
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  font-weight: 600;
  color: var(--color-accent-3);
  white-space: nowrap;
}

.reviews__note {
  max-width: min(100%, 64rem);
  margin-inline: auto;
  margin-top: clamp(1rem, 3vw, 2.5rem);
  text-align: center;
}

.reviews__note-title {
  margin: 0;
  font-size: clamp(1.35rem, 1.05rem + 1vw, 2.15rem);
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

.reviews__note-title-accent {
  display: block;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reviews__note-title-dark {
  display: block;
  color: var(--color-muted);
  white-space: nowrap;
}

.reviews__note-text {
  max-width: 46rem;
  margin: clamp(0.85rem, 1.5vw, 1.25rem) auto 0;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-muted);
}

@media (max-width: 56rem) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .reviews__note-title-dark {
    white-space: normal;
  }
}

/* —— Contacts —— */

.contacts {
  display: flex;
  align-items: flex-start;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-white);
}

.contacts__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.contacts__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contacts__eyebrow {
  margin: 0;
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.15rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a8d77;
}

.contacts__title {
  margin: clamp(0.6rem, 1.2vw, 1rem) 0 0;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contacts__desc {
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
  max-width: 34rem;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: #4c4d4d;
}

.contacts__list {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contacts__icon {
  flex-shrink: 0;
  width: clamp(1.85rem, 1.6rem + 0.6vw, 2.35rem);
  height: auto;
  margin-top: 0.1rem;
}

.contacts__item:nth-child(2) .contacts__icon,
.contacts__item:nth-child(3) .contacts__icon {
  width: clamp(1.5rem, 1.3rem + 0.45vw, 1.9rem);
  margin-top: 0.2rem;
}

.contacts__item-text {
  margin: 0;
  font-size: clamp(0.95rem, 0.88rem + 0.25vw, 1.1rem);
  font-weight: 600;
  line-height: 1.4;
  color: #4c4d4d;
}

.contacts__item-text a {
  color: inherit;
  transition: opacity 0.2s ease;
}

.contacts__item-text a:hover,
.contacts__item-text a:focus-visible {
  opacity: 0.7;
}

.contacts__map {
  position: relative;
  min-width: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #eef5f3;
  align-self: stretch;
}

.contacts__map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 56rem) {
  .contacts__inner {
    grid-template-columns: 1fr;
  }

  .contacts__map {
    order: -1;
    max-width: 36rem;
    width: 100%;
    margin-inline: auto;
    min-height: 0;
    aspect-ratio: 1;
  }
}

/* —— Footer —— */

.footer {
  padding-block: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(28, 136, 115, 0.12);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--header-gap);
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logo img {
  width: clamp(14rem, 22vw, 21rem);
  height: auto;
}

.footer__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.footer__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 32rem;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.footer__menu a {
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.125rem);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer__menu a:hover,
.footer__menu a:focus-visible {
  opacity: 0.7;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15em;
  flex-shrink: 0;
}

.footer__phone {
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer__phone:hover,
.footer__phone:focus-visible {
  opacity: 0.7;
}

.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.95em 2.75em;
  font-family: inherit;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
  background: var(--gradient-btn);
  border: none;
  border-radius: 0.65rem;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.footer__btn:hover,
.footer__btn:focus-visible {
  filter: brightness(1.08);
}

.footer__btn:active {
  transform: scale(0.98);
}

.footer__legal {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(0.85rem, 2vw, 1.75rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.footer__legal a {
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-accent-2);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  opacity: 0.75;
}

.footer__org {
  width: min(100% - var(--container-pad) * 2, var(--container-max));
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  display: grid;
  gap: 0.35rem;
  font-size: clamp(0.78rem, 0.72rem + 0.2vw, 0.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-muted);
}

.footer__org p {
  margin: 0;
}

.footer__org a {
  color: var(--color-accent-2);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.footer__disclaimer {
  display: grid;
  gap: 0.55rem;
  width: min(100% - var(--container-pad) * 2, var(--container-max));
  margin: clamp(1.25rem, 2.5vw, 1.85rem) auto 0;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid rgba(28, 136, 115, 0.35);
  border-radius: 0.75rem;
  background: rgba(28, 136, 115, 0.08);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-muted);
}

.footer__disclaimer-warn {
  margin: 0;
  font-size: clamp(0.95rem, 0.88rem + 0.28vw, 1.1rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-accent-2);
}

.footer__disclaimer p {
  margin: 0;
}

.footer__disclaimer a {
  color: var(--color-accent-2);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.footer__credit {
  margin: clamp(1.25rem, 2.5vw, 1.75rem) var(--container-pad) 0;
  padding-top: clamp(0.75rem, 1.5vw, 1rem);
  border-top: 1px solid rgba(67, 67, 67, 0.12);
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: var(--color-muted);
}

.footer__credit-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.25rem, 0.5vw, 0.375rem);
  color: #434343;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__credit-logo {
  flex-shrink: 0;
  display: block;
  width: clamp(0.625rem, 1.2vw, 0.75rem);
  height: clamp(0.8125rem, 1.5vw, 1rem);
}

.footer__credit-link:hover,
.footer__credit-link:focus-visible {
  color: #76c6ff;
}

@media (max-width: 64rem) {
  .footer__inner {
    flex-wrap: wrap;
    row-gap: 1.25rem;
  }

  .footer__nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .footer__menu {
    max-width: none;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
  }

  .footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 40rem) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__btn {
    width: 100%;
  }

  .footer__legal {
    flex-direction: column;
    gap: 0.65rem;
  }
}

/* —— Appoint modal —— */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--container-pad);
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(54, 51, 52, 0.45);
  backdrop-filter: blur(0.15rem);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(225, 243, 239, 0.55) 100%),
    var(--color-white);
  box-shadow: 0 1rem 2.5rem rgba(42, 97, 88, 0.22);
}

.modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal__close:hover,
.modal__close:focus-visible {
  color: var(--color-text);
  background: rgba(28, 136, 115, 0.08);
}

.modal__title {
  margin: 0 2rem 1.25rem 0;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
}

.modal__input {
  width: 100%;
  padding: 0.85em 1em;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid rgba(28, 136, 115, 0.28);
  border-radius: 0.65rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal__input::placeholder {
  color: rgba(76, 77, 77, 0.55);
}

.modal__input:focus {
  border-color: var(--color-accent-2);
  box-shadow: 0 0 0 0.2rem rgba(26, 141, 119, 0.15);
}

.modal__input.is-invalid {
  border-color: #c45c5c;
}

.modal__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-muted);
  cursor: pointer;
}

.modal__consent a {
  color: var(--color-accent-2);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.modal__checkbox {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  accent-color: var(--color-accent-2);
}

.modal__consent.is-invalid .modal__checkbox {
  outline: 0.1rem solid #c45c5c;
  outline-offset: 0.1rem;
}

.modal__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal__submit {
  width: 100%;
  min-width: 0;
  margin-top: 0.25rem;
  box-shadow: 0 0.35rem 1rem rgba(24, 147, 123, 0.25);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 1100;
  max-width: min(92vw, 28rem);
  padding: 0.95em 1.35em;
  border-radius: 0.75rem;
  background: var(--gradient-btn);
  color: var(--color-white);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 0.75rem 1.75rem rgba(42, 97, 88, 0.28);
  transform: translateX(-50%);
}

.toast[hidden] {
  display: none;
}

.toast--error {
  background: #8a3a3a;
  box-shadow: 0 0.75rem 1.75rem rgba(90, 30, 30, 0.28);
}

body.is-modal-open {
  overflow: hidden;
}
