/* ============================================
  STYLE
  ============================================ */

/* Section header */

.header {
  position: absolute;
  z-index: 100;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding-top: 23px;
  padding-right: 21px;
  padding-left: 15px;
}

.header__container {
  position: relative;
  left: 11px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-max-width);
  border-radius: var(--border-radius-md);
  padding: 27px 77px 17px 32px;
  background-color: var(--color-primary);
}

.header__logo {
  color: var(--color-text-light);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-logo);
  text-decoration: none;
  white-space: nowrap;
}

.header__mobile-toggle {
  display: none;
}

.header__mobile-menu {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-responsive-xl);
}

.header__menu-list {
  display: flex;
  gap: var(--spacing-responsive-lg);
  list-style: none;
}

.header__menu-link {
  color: var(--color-primary-dark);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-menu);
  text-decoration: none;
}

.login-btn {
  justify-self: end;
  border: none;
  padding: var(--spacing-responsive-sm) var(--spacing-responsive-md);
  outline: 2px solid var(--color-border-light);
  color: var(--color-text-light);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: clamp(12px, 1vw, 14px);
  background: transparent;
}

/* Section hero */

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--section-height-hero);
  overflow: hidden;
  background-color: var(--color-background-dark);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  max-width: var(--container-wide-max-width);
  min-height: var(--section-height-hero);
  margin: 0 auto;
  padding: 82px 60px 60px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero__title {
  color: var(--color-primary-light);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-4xl);
  line-height: var(--line-height-tight);
}

.hero__desription {
  max-width: 542px;
  padding-top: 62px;
  color: var(--color-text-light);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
}

.hero__image {
  position: relative;
  top: 30px;
  right: 7px;
  flex-shrink: 0;
  width: min(322px, 18vw);
  min-width: 200px;
  max-width: 313px;
  background-image: url(../images/img-hero.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 313/351;
}

/* Section audience */

.audience {
  position: relative;
  z-index: 50;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  max-width: 1135px;
  margin: -80px auto 0;
  padding: 0 20px;
}

.audience__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 83px;
  width: 100%;
}

.audience-vets {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  box-sizing: border-box;
  max-width: 100%;
  border-radius: var(--border-radius-sm);
  padding: 44px 28px;
  background-color: var(--color-background-secondary);
}

.audience__image-vets {
  position: relative;
  flex-shrink: 0;
  width: 7vw;
  min-width: 100px;
  max-width: 111px;
  height: 111px;
  background-image: url(../images/img-vets.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 111/101;
}

.audience__content-vets {
  display: flex;
  flex-direction: column;
}

.audience__title-vets {
  padding-top: var(--spacing-unit);
  color: var(--color-primary-light);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-xl);
}

.audience__description-vets {
  max-width: 182px;
  padding-top: 10px;
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-md);
}

.audience-hospitals {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  box-sizing: border-box;
  max-width: 100%;
  border-radius: var(--border-radius-sm);
  padding: 44px 28px;
  background-color: var(--color-background-secondary);
}

.audience__image-hospitals {
  position: relative;
  top: var(--spacing-unit);
  flex-shrink: 0;
  width: 8vw;
  min-width: 100px;
  max-width: 124px;
  height: 98px;
  background-image: url('../images/img-hospitals.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 124/100;
}

.audience__content-hospitals {
  display: flex;
  flex-direction: column;
}

.audience__title-hospitals {
  color: var(--color-primary-light);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-xl);
}

.audience__description-hospitals {
  max-width: 188px;
  padding-top: 9px;
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-md);
}

/* Section work */

.work {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 178px;
  padding-bottom: 87px;
  overflow: hidden;
  background-color: var(--color-background-primary);
}

.work__container {
  max-width: var(--container-narrow-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.work__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 111px;
}

.work__subtitle {
  padding-right: 24px;
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.work__title {
  margin-top: -9px;
  color: var(--color-primary-dark);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-3xl);
  text-align: center;
}

.work__specialists {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 62px;
  padding: 0 20px;
}

.work__specialists-image {
  position: relative;
  flex-shrink: 0;
  width: 15.4vw;
  min-width: 100px;
  max-width: 185px;
  height: 288px;
  background-image: url(../images/img-specialists.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 185/288;
}

.work__specialists-image::before {
  content: '';
  position: absolute;
  top: 60%;
  left: 50%;
  z-index: -1;
  width: 155%;
  height: auto;
  border-radius: var(--border-radius-circle);
  background-color: var(--color-background-accent);
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
}

.work__specialists-content {
  max-width: 541px;
  padding-top: 47px;
  padding-bottom: 86px;
  padding-left: 28px;
}

.work__specialists-number {
  color: var(--color-text-muted);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
}

.work__specialists-title {
  margin-top: 9px;
  color: var(--color-primary-light);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-2xl);
}

.work__specialists-text {
  padding-top: 2px;
  color: var(--color-primary-dark);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

.work__partnerships {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 108px;
  padding: 0 20px;
}

.work__partnerships-content {
  max-width: 451px;
  padding-top: 18px;
  padding-left: var(--border-radius-sm);
}

.work__partnerships-number {
  color: var(--color-text-muted);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
}

.work__partnerships-title {
  margin-top: 9px;
  color: var(--color-primary-light);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-2xl);
}

.work__partnerships-text {
  max-width: 451px;
  margin-left: -2px;
  padding-top: 9px;
  color: var(--color-primary-dark);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: clamp(0.8125rem, 0.7768rem + 0.1786vw, 0.9375rem);
  line-height: var(--line-height-loose);
}

.work__partnerships-image {
  position: relative;
  flex-shrink: 0;
  width: 20.8vw;
  min-width: 120px;
  max-width: 250px;
  background-image: url(../images/img-partnerships.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 250/304;
}

.work__partnerships-image::before {
  content: '';
  position: absolute;
  top: 64%;
  left: 68.5%;
  z-index: -1;
  width: 114%;
  min-width: 120px;
  max-width: 285px;
  border-radius: var(--border-radius-circle);
  background-color: var(--color-background-accent);
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
}

.work__schedules {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0 45px;
}

.work__schedules-image {
  position: relative;
  top: 4px;
  flex-shrink: 0;
  width: 16.25vw;
  min-width: 100px;
  max-width: 195px;
  background-image: url(../images/img-schedules.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 195/258;
}

.work__schedules-image::before {
  content: '';
  position: absolute;
  top: 60.5%;
  left: 35%;
  z-index: -1;
  width: 146%;
  min-width: 120px;
  max-width: 285px;
  border-radius: var(--border-radius-circle);
  background-color: var(--color-background-accent);
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
}

.work__schedules-content {
  max-width: 541px;
  padding-top: 18px;
  padding-left: 53px;
}

.work__schedules-number {
  color: var(--color-text-muted);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-md);
}

.work__schedules-title {
  margin-top: 8px;
  color: var(--color-primary-light);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-2xl);
}

.work__schedules-text {
  max-width: 541px;
  padding-top: 32px;
  color: var(--color-primary-dark);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
}

.text-underline {
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: var(--border-width-thin);
  text-underline-offset: var(--spacing-unit);
}

/* Section mission */

.mission {
  position: relative;
  width: 100%;
  padding: 20px 22px 70px 20px;
  background-color: var(--color-background-secondary);
}

.mission__container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-around;
  gap: 62px;
  max-width: 1074px;
  min-height: 510px;
  margin: 0 auto;
}

.mission__image-wrapper {
  display: flex;
  flex: 0 1 500px;
  justify-content: center;
  min-width: 300px;
  padding-right: 48px;
}

.mission__image {
  position: relative;
  flex-shrink: 0;
  width: 21vw;
  min-width: 286px;
  max-width: 450px;
  background-image: url(../images/img-mission.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 450/384;
}

.mission__content {
  display: flex;
  flex-direction: column;
  flex: 0 1 512px;
  align-items: flex-start;
  min-width: 300px;
}

.mission__subtitle {
  margin-top: -5px;
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.mission__title {
  padding-top: var(--spacing-unit);
  color: var(--color-primary-dark);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-3xl);
}

.mission__text {
  max-width: 511px;
  padding-top: 30px;
  padding-bottom: 50px;
  color: var(--color-primary-dark);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: clamp(0.875rem, 0.8036rem + 0.3571vw, 1.125rem);
  line-height: var(--line-height-relaxed);
}

.mission__button {
  align-self: flex-start;
  margin-left: 30px;
  border: none;
  padding: 8px 5px;
  outline: 1px solid var(--color-border-primary);
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  background: transparent;
}

/* Section start */

.start {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin-top: 11px;
  padding: 20px 20px;
  background-color: var(--color-primary-light);
}

.start__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(40px, 10vw, 155px);
  max-width: 1114px;
  min-height: var(--section-height-start);
  margin: 0 auto;
  padding: 0 20px;
}

.start__image {
  position: relative;
  flex-shrink: 0;
  width: 12vw;
  min-width: 120px;
  max-width: 237px;
  background-image: url(../images/img-start.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 237/261;
}

.start__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 57px;
  max-width: 674px;
  margin-left: 11px;
}

.start__content-text {
  display: grid;
  flex-wrap: wrap;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 6vw, 68px);
}

.start__title {
  max-width: 516px;
  color: var(--color-text-light);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-3xl);
}

.start__description {
  max-width: 239px;
  color: var(--color-text-light);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-md);
}

.start__description + .start__description {
  max-width: 210px;
}

/* Section footer */

.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 17px;
  box-sizing: border-box;
  max-width: 1180px;
  height: var(--section-height-footer);
  margin: 0 auto;
  padding: 98px 20px 40px 22px;
}

.footer__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: clamp(30px, 8vw, 106px);
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: clamp(20px, 8vw, 108px);
}

.footer__wrapper {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 8vw, 97px);
}

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

.footer__title {
  padding-top: 20px;
  color: var(--color-primary-dark);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 25px;
  list-style: none;
}

.footer__link {
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-xs);
  text-decoration: none;
  word-break: break-word;
  hyphens: auto;
}

.footer__item + .footer__item .footer__link {
  font-size: var(--font-size-sm);
}

.footer__link-partnering {
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-sm);
  text-decoration: none;
  word-break: break-word;
  hyphens: auto;
}

.footer__image {
  position: relative;
  top: 42px;
  flex-shrink: 0;
  width: 16vw;
  min-width: 120px;
  max-width: 230px;
  background-image: url(../images/img-footer.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  aspect-ratio: 230/210;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.address__street {
  color: var(--color-primary);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  font-style: normal;
}

.address__suite {
  padding-top: var(--spacing-unit);
  color: var(--color-primary);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  font-style: normal;
}

.address__city {
  padding-top: var(--spacing-unit);
  color: var(--color-primary);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  font-style: normal;
}

.address__contact {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.address__item {
  color: var(--color-primary);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  text-decoration: none;
}

.address__item + .address__item {
  padding-top: var(--spacing-unit);
}

.footer__nav-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 40px;
  list-style: none;
}

.footer__nav {
  display: flex;
}

.footer__nav-link {
  color: var(--color-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-sm);
  text-decoration: none;
}

.footer__copyright {
  padding-top: 19px;
  color: var(--color-primary-dark);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-xs);
}

.copyright__link {
  color: var(--color-primary);
  text-decoration: none;
}

.copyright__link:hover {
  color: var(--color-primary-dark);
}

/* ===== ACCESSIBILITY STYLES ===== */

.skip-link {
  position: absolute;
  top: auto;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  width: auto;
  height: auto;
  border-radius: 0 0 4px 0;
  padding: 10px 15px;
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
  color: var(--color-text-light);
  text-decoration: none;
  background: var(--color-primary-dark);
}

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

button:focus,
a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid  var(--color-primary-dark);
  outline-offset: 2px;
}