@import url("reset.css");

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Lato:wght@300;400;700&display=swap");

/* ************COMMON************ */

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  line-height: 1;
}

.logo img {
  height: 5rem;
  width: auto;
  display: block;
  flex-shrink: 0;
  align-self: center;
  margin-top: 0.3rem;
}

.logo__text {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
}

.header__logo {
  color: #fff;
}

.header__logo .logo__text {
  color: #fff;
}

.menu__link {
  color: #fff;
}

.menu__link::after {
  background-color: #fff;
}

.icon-menu span,
.icon-menu::before,
.icon-menu::after {
  background-color: #fff;
}

body {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #1a2332;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #1a2332;
}

.title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
  padding-left: 0.938rem;
  padding-right: 0.938rem;
}

.header__logo {
  position: relative;
  z-index: 2;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.menu__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.menu__link:hover::after {
  width: 100%;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #1a2332;
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  color: #1a2332;
  text-decoration: none;
}

.actions-header__button::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a2332;
  transition: width 0.3s ease;
}

.actions-header__button:hover::after {
  width: calc(100% - 3rem);
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 160px;
}

/* *****************HOME**************** */

.main {
  min-height: 90vh;
  position: relative;
}

.main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/background10.png") center / cover no-repeat;
  filter: brightness(0.5);
  z-index: 0;
}

.main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 19.188rem;
  position: relative;
  z-index: 2;
}

.main__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #fff;
}

.main__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.main__credentials {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.main__text {
  margin-bottom: 3.5rem;
  max-width: 48rem;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #fff;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: rgba(75, 115, 165, 0.85);
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
  text-decoration: none;
}

.main__button:hover {
  background-color: rgba(60, 95, 140, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75, 115, 165, 0.4);
}

.outro_home {
  background-color: #1a2332;
}

/* ************ABOUT**************** */

.main_about {
  background: url("../img/about/background_placeholder.png") center / cover no-repeat;
}

.about__container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  overflow: visible;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
  flex-shrink: 0;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content {
  display: flex;
  flex-direction: column;
  min-height: 614px;
  flex: 1;
}

.about__title {
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 1.5rem;
  color: #1a2332;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  flex-shrink: 0;
}

.about__description {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 2.5rem;
  color: #4a5568;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.tab-titles {
  display: flex;
  gap: 2rem;
  margin-bottom: 0;
  padding-bottom: 1rem;
  border-bottom: none;
  flex-shrink: 0;
}

.tab-links {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  padding-bottom: 1rem;
  position: relative;
  color: #4a5568;
  transition: color 0.3s ease;
}

.tab-links::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -2px;
  left: 0;
  background-color: #1a2332;
  transition: width 0.3s ease;
}

.tab-links.active-link {
  color: #1a2332;
}

.tab-links.active-link::after {
  width: 100%;
}

.tab-links:hover {
  color: #1a2332;
}

.tab-contents {
  display: none;
  max-width: 30rem;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 1rem;
  padding-top: 0;
  overflow: visible;
  min-height: 0;
}

.tab-contents.active-tab {
  display: flex;
}

.tab-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-contents ul li {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.875rem;
}

.tab-contents ul li:first-child {
  padding-top: 0;
  margin-top: 0;
}

.tab-contents ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.tab-contents ul li span {
  font-weight: 600;
  color: #1a2332;
  display: inline;
  font-size: 0.875rem;
}

.outro_about {
  background-color: #1a2332;
}

/* **************SERVICES**************** */

.main_services {
  background: url("../img/services/background_placeholder.png") center / cover no-repeat;
}

.services {
  background-color: #f0f2f5;
}

.services__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.services__title {
  font-family: "Cormorant Garamond", serif;
  text-align: center;
  margin-bottom: 5rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 100%;
}

.item-services__image {
  margin-bottom: 2rem;
  max-width: 360px;
  width: 100%;
  min-width: 100%;
  height: 421px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  box-sizing: border-box;
}

.item-services__image img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}


.item-services__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.item-services__text {
  max-width: 21.5rem;
  line-height: 150%;
  margin-bottom: 2rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.item-services__button {
  background-color: inherit;
  border: 2px solid #1a2332;
  color: #1a2332;
}

.outro_services {
  background-color: #1a2332;
}

/* ************HOSPITALS**************** */

.hospitals {
  background-color: #f8f9fa;
}

.hospitals__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  text-align: center;
}

.hospitals__caption {
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #1a2332;
  letter-spacing: 0.1em;
}

.hospitals__title {
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a2332;
}

.hospitals__subtitle {
  margin-bottom: 4rem;
  font-size: 1.1rem;
  color: #4a5568;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hospitals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hospital-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hospital-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(26, 35, 50, 0.15);
}

.hospital-card__image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.hospital-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hospital-card:hover .hospital-card__image img {
  transform: scale(1.05);
}

.hospital-card__button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  padding: 0.75rem 1.5rem;
  background-color: #1a2332;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hospital-card:hover .hospital-card__button {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hospital-card__button:hover {
  background-color: #0f1419;
}

.hospital-card__info {
  padding: 1.5rem;
}

.hospital-card__name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a2332;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 1.25rem;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.outro__button {
  padding: 1.25rem 3rem;
  background-color: #fff;
  color: #1a2332;
  border: 2px solid #fff;
}

.outro__button:hover {
  background-color: transparent;
  color: #fff;
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
}

.footer__container {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  max-width: 74.624rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__policy {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: start;
}

.footer__logo {
  justify-self: center;
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: end;
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
  margin-bottom: 1rem;
}

.main__container_pages {
  padding-top: 300px;
  padding-bottom: 160px;
}

.main_pages {
  height: calc(85vh + 10px) !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 160px;
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(26, 35, 50, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__img {
  max-width: 552px;
  height: 614px;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************CONTACT PAGE****************/

.main_contact {
  background: url("../img/contact/background_placeholder.png") center / cover no-repeat;
}

.main_questionnaire {
  background: url("../img/contact/background_placeholder.png") center / cover no-repeat;
}

.main_fee_estimate {
  background: url("../img/contact/background_placeholder.png") center / cover no-repeat;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 1.2;
  font-size: 40px;
  letter-spacing: 0.02em;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #d1d5db;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

.contact__image {
  max-width: 552px;
  height: 614px;
  flex-shrink: 0;
}

.contact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* ****************PRE-OP QUESTIONNAIRE PAGE**************** */

.questionnaire {
  background-color: #f8f9fa;
}

.questionnaire__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.questionnaire__content {
  background-color: #fff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.1);
}

.questionnaire__title {
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 1rem;
  color: #1a2332;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.questionnaire__description {
  margin-bottom: 2.5rem;
  color: #4a5568;
  line-height: 150%;
  font-size: 1rem;
}

.questionnaire__form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: #1a2332;
  font-size: 1rem;
}

.form-input,
.form-textarea,
.form-select {
  padding: 0.75rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Cormorant Garamond", serif;
  color: #1a2332;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #1a2332;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
  row-gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: normal;
  color: #1a2332;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  min-height: 1.5rem;
}

.checkbox-label input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: #1a2332;
  flex-shrink: 0;
}

.checkbox-label span {
  flex: 1;
}

.questionnaire__button {
  margin-top: 1rem;
  align-self: flex-start;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.form-section {
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 2rem;
}

.form-section__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #1a2332;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.required {
  color: #dc2626;
  font-weight: 700;
}

/* ****************FEE ESTIMATE PAGE**************** */

.fee_estimate {
  background-color: #f8f9fa;
}

.fee_estimate__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.fee_estimate__content {
  width: 100%;
  background-color: #fff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.1);
}

.fee_estimate__title {
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 1rem;
  color: #1a2332;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.fee_estimate__description {
  margin-bottom: 2.5rem;
  color: #4a5568;
  line-height: 150%;
  font-size: 1rem;
}

.fee_estimate__form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.fee_estimate__button {
  margin-top: 1rem;
  align-self: flex-start;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.submission-message {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: #d1fae5;
  color: #065f46;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.fee_estimate__contact {
  flex: 0 0 400px;
  background-color: #fff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.1);
}

.fee_estimate__connect {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.fee_estimate__text {
  font-size: 1rem;
  line-height: 150%;
  color: #4a5568;
}

@media (max-width: 968px) {
  .fee_estimate__container {
    flex-direction: column;
  }
  
  .fee_estimate__contact {
    flex: 1;
  }
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #d1d5db;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #d1d5db;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #1a2332;
  border-radius: 64px;
}

.team {
  background-color: #e5e7eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #d1d5db;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 480px;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 552px;
  height: 614px;
}

.director__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 360px;
  height: 407px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #fff;
  padding: 10px 15px;
  background-color: #1a2332;
  border-radius: 100px;
  display: inline-block;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  max-width: 360px;
  height: 330px;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.resources__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #1a2332;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #1a2332;
  border-radius: 64px;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 1200px) {
  .about__container {
    gap: 2.5rem;
  }

  .about__content {
    min-height: auto;
  }

  .about__title {
    font-size: 2.5rem;
  }

  .main__container_pages {
    padding-bottom: 180px;
  }
}

@media (max-width: 992px) {
  .services__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    justify-items: center;
  }

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }

  .main__container_pages {
    padding-bottom: 200px;
  }

  .main__container_pages .main__button {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    padding: clamp(0.875rem, 1.5vw, 1rem) clamp(1rem, 3vw, 2rem);
  }

  /* Responsive image sizing for tablet */
  .about__image {
    max-width: 400px;
    height: 450px;
  }

  .about__content {
    min-height: auto;
  }

  .about__title {
    font-size: 2.5rem;
  }

  .about__container {
    gap: 2rem;
  }

  .services-page__img {
    max-width: 400px;
    height: 450px;
  }

  .item-services__image {
    max-width: 280px;
    width: 280px;
    height: 330px;
    min-width: 280px;
  }

  .hospital-card__image {
    height: 200px;
  }

  .contact__image {
    max-width: 400px;
    height: 450px;
  }

  .director__img {
    max-width: 400px;
    height: 450px;
  }

  .gallery__item {
    max-width: 280px;
    height: 320px;
  }

  .resources__img {
    max-width: 280px;
    height: 260px;
  }

  .item-team__img {
    max-width: 280px;
    height: 280px;
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .main__container_pages {
    padding-bottom: 200px;
  }

  .main__container_pages .main__button {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    padding: clamp(0.875rem, 1.5vw, 1rem) clamp(1rem, 3vw, 2rem);
  }

  /* Responsive image sizing for tablet landscape */
  .about__image {
    max-width: 400px;
    height: 450px;
  }

  .about__content {
    min-height: auto;
  }

  .about__title {
    font-size: 2.5rem;
  }

  .services-page__img {
    max-width: 400px;
    height: 450px;
  }

  .item-services__image {
    max-width: 280px;
    width: 280px;
    height: 330px;
    min-width: 280px;
  }

  .hospital-card__image {
    height: 200px;
  }

  .contact__image {
    max-width: 400px;
    height: 450px;
  }

  .director__img {
    max-width: 400px;
    height: 450px;
  }

  .gallery__item {
    max-width: 280px;
    height: 320px;
  }

  .resources__img {
    max-width: 280px;
    height: 260px;
  }

  .item-team__img {
    max-width: 280px;
    height: 280px;
  }

  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

  .gallery__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .footer__policy,
  .footer__copyright {
    justify-self: center;
    text-align: center;
    margin: 0.5rem 0;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
    flex-direction: column;
  }

  /* Reorder regional anaesthesia: image below text */
  .services-page__item:nth-child(2) .services-page__img {
    order: 2;
  }

  .services-page__item:nth-child(2) .services-page__content {
    order: 1;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #fff;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .contact__container {
    flex-direction: column;
    padding-top: 80px;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__body {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 9.375rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 5rem;
    z-index: 1001;
    transition: left 0.3s ease;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 5.75rem;
    background-color: #fff;
    border-bottom: 1px solid #1a2332;
    z-index: 1000;
    transition: left 0.3s ease;
  }

  .menu-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }

  .menu__link {
    font-size: 2rem;
    color: #1a2332;
  }

  .menu__link::after {
    background-color: #1a2332;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container {
    padding-top: 12.5rem;
  }

  .main__button {
    font-size: clamp(0.875rem, 2.5vw, 1.275rem);
    padding: clamp(0.875rem, 2vw, 1.05rem) clamp(1rem, 3.5vw, 1.5rem);
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
  }

  .main__container > div[style*="flex"],
  .main__container_pages > div[style*="flex"] {
    flex-wrap: wrap !important;
    gap: clamp(0.5rem, 2vw, 0.75rem) !important;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
  }

  .main__container_pages {
    padding-top: calc(7rem + 100px);
    padding-bottom: 160px;
  }

  /* Responsive image sizing for mobile */
  .about__image {
    max-width: 100%;
    width: 100%;
    height: 300px;
  }

  .services-page__img {
    max-width: 100%;
    width: 100%;
    height: 300px;
  }

  .item-services__image {
    max-width: 100%;
    width: 100%;
    height: 250px;
  }

  .hospitals__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .hospital-card__image {
    height: 180px;
  }

  .contact__image {
    max-width: 100%;
    width: 100%;
    height: 300px;
  }

  .director__img {
    max-width: 100%;
    width: 100%;
    height: 300px;
  }

  .gallery__item {
    max-width: 100%;
    width: 100%;
    height: 250px;
  }

  .resources__img {
    max-width: 100%;
    width: 100%;
    height: 220px;
  }

  .item-team__img {
    max-width: 100%;
    width: 100%;
    height: 250px;
  }

  .main__title {
    font-size: clamp(2rem, 8vw, 3rem);
    text-align: center;
    width: 100%;
    white-space: nowrap;
  }

  .main__text {
    font-size: clamp(0.875rem, 2.5vw, 1.275rem);
  }

  .main__text_pages {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: auto;
  }

  .about__title {
    font-size: 2rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about__description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

  .services__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1.25rem;
    max-width: 60%;
  }

  .logo__text {
    font-size: 1.125rem;
    white-space: normal;
  }

  .header__logo {
    max-width: 60%;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }

  /* Reorder regional anaesthesia: image below text */
  .services-page__item:nth-child(2) .services-page__img {
    order: 2;
  }

  .services-page__item:nth-child(2) .services-page__content {
    order: 1;
  }

  .fee_estimate__content {
    display: flex;
    flex-direction: column;
  }

  .fee_estimate__title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: block;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    white-space: nowrap;
  }

  .fee_estimate__form {
    align-items: flex-start;
  }

  .questionnaire__content {
    display: flex;
    flex-direction: column;
  }

  .questionnaire__title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: block;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    white-space: nowrap;
  }

  .questionnaire__form {
    align-items: flex-start;
  }

  .checkbox-group {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 0.938rem;
  }

  .logo {
    font-size: 2rem;
  }
}

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

  .team__row {
    grid-template-columns: 1fr;
  }

  .gallery__row {
    grid-template-columns: 1fr;
  }

  .resources__container {
    grid-template-columns: 1fr;
  }
}