:root {
  --blue: #009cf4;
  --blue-dark: #008fe8;
  --green: #4bb80d;
  --dark: #09263b;
  --muted: #697783;
  --input: #eeeeee;
  --radius-card: 15px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #ffffff;
  color: var(--dark);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.landing {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  overflow-x: hidden;
}

.hero {
  width: 100%;
  line-height: 0;
  background: #ffffff;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 38vh;
  object-fit: cover;
  object-position: center top;
}

.doctor-plan {
  width: 100%;
  padding: clamp(10px, 1.65vw, 24px) 20px clamp(10px, 2vw, 24px);
}

.doctor-plan__heading {
  text-align: center;
  margin-bottom: clamp(12px, 1.7vw, 22px);
}

.doctor-plan__heading h1 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.05;
}

.doctor-plan__heading p {
  margin: 3px 0 0;
  color: var(--blue);
  font-size: clamp(12px, 1.12vw, 16px);
  line-height: 1.05;
}

.doctor-plan__layout {
  width: min(100%, 840px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) 220px;
  align-items: start;
  gap: clamp(16px, 2vw, 26px);
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(13px, 1.55vw, 22px) clamp(14px, 1.55vw, 22px);
}

.service-card {
  position: relative;
  min-height: clamp(66px, 6vw, 82px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 16px);
  padding: clamp(9px, 1vw, 13px) clamp(12px, 1.2vw, 18px) clamp(9px, 1vw, 13px) clamp(16px, 1.5vw, 22px);
  overflow: hidden;
  border: 2px solid var(--blue);
  border-radius: var(--radius-card);
  background: #ffffff;
}

.service-card--with-note {
  padding-bottom: clamp(19px, 1.6vw, 22px);
}

.service-card__icon {
  flex: 0 0 auto;
  width: clamp(50px, 4.7vw, 64px);
  max-height: clamp(52px, 5vw, 66px);
  object-fit: contain;
}

.service-card__icon--tall {
  width: clamp(47px, 4.4vw, 59px);
  max-height: clamp(56px, 5.3vw, 70px);
}

.service-card__icon--wide {
  width: clamp(56px, 5.2vw, 70px);
  max-height: clamp(48px, 4.7vw, 60px);
}

.service-card h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(10px, 0.88vw, 12px);
  font-weight: 800;
  line-height: 1.1;
}

.service-card__note {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(14px, 1.25vw, 17px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--green);
  font-size: clamp(9px, 0.76vw, 10px);
  font-weight: 800;
  line-height: 1;
}

.price-card {
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: var(--radius-card);
  background: #ffffff;
}

.price-card__top {
  min-height: clamp(35px, 3.1vw, 43px);
  display: grid;
  place-items: center;
  padding: 7px 8px;
  background: var(--green);
  color: #ffffff;
  text-align: center;
}

.price-card__top p {
  margin: 0;
  font-size: clamp(9px, 0.78vw, 10px);
  font-weight: 800;
  line-height: 1.15;
}

.price-card__body {
  min-height: clamp(192px, 17.5vw, 238px);
  padding: clamp(20px, 2vw, 28px) 14px clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price {
  position: relative;
  width: 100%;
  min-height: clamp(60px, 5.6vw, 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--blue-dark);
  line-height: 1;
  white-space: nowrap;
}

.price__currency {
  margin-top: clamp(18px, 1.7vw, 22px);
  margin-right: 4px;
  font-size: clamp(26px, 2.25vw, 31px);
  font-weight: 800;
}

.price__amount {
  font-size: clamp(66px, 5.7vw, 79px);
  font-weight: 800;
  letter-spacing: -4px;
}

.price__period {
  margin-top: clamp(28px, 2.45vw, 34px);
  margin-left: 7px;
  font-size: clamp(26px, 2.25vw, 31px);
  font-weight: 800;
}

.price__tax {
  position: absolute;
  top: clamp(53px, 4.55vw, 62px);
  left: calc(50% + clamp(48px, 4vw, 56px));
  font-size: clamp(11px, 0.92vw, 13px);
  font-weight: 400;
  letter-spacing: 0;
}

.phone-input {
  width: 100%;
  height: clamp(31px, 2.8vw, 38px);
  margin-top: clamp(12px, 1.5vw, 20px);
  border: 0;
  border-radius: 8px;
  outline: none;
  background: var(--input);
  color: var(--muted);
  text-align: center;
  font-size: clamp(8px, 0.72vw, 10px);
  line-height: 1;
}

.phone-input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.confirm-button {
  width: 100%;
  height: clamp(32px, 2.9vw, 40px);
  margin-top: clamp(8px, 0.9vw, 12px);
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  cursor: pointer;
  font-size: clamp(10px, 0.8vw, 11px);
  font-weight: 800;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.confirm-button:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.confirm-button:active {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 900px) {
  html,
  body {
    height: 100%;
    overflow-y: hidden;
  }

  .landing {
    height: 100vh;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero {
    flex: 0 0 auto;
  }

  .doctor-plan {
    flex: 1 1 auto;
    min-height: 0;
  }
}

@media (min-width: 1200px) {
  .doctor-plan__layout {
    width: min(100%, 850px);
    grid-template-columns: minmax(0, 2fr) 224px;
  }
}

@media (max-width: 1050px) and (min-width: 761px) {
  .doctor-plan__layout {
    width: min(100%, 560px);
    grid-template-columns: minmax(0, 2fr) 172px;
    gap: 16px;
  }

  .service-card {
    min-height: 66px;
    padding: 9px 12px 9px 17px;
  }

  .service-card--with-note {
    padding-bottom: 18px;
  }

  .service-card__icon {
    width: 50px;
    max-height: 54px;
  }

  .service-card__icon--tall {
    width: 47px;
    max-height: 57px;
  }

  .service-card__icon--wide {
    width: 56px;
    max-height: 49px;
  }

  .service-card h2 {
    font-size: 9.4px;
  }

  .price-card__body {
    min-height: 192px;
  }
}

@media (max-width: 760px) {
  body {
    overflow-y: auto;
  }

  .hero__image {
    width: 100%;
    min-height: 150px;
    object-fit: cover;
    object-position: 48% top;
  }

  .doctor-plan {
    padding-inline: 16px;
  }

  .doctor-plan__layout {
    grid-template-columns: 1fr;
    max-width: 390px;
  }

  .price-card {
    width: min(100%, 220px);
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .services {
    grid-template-columns: 1fr;
  }
}
