*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}


:root {
  --container: 1610px;
  --gutter: 40px;
}

@media (max-width: 1610px) {
  :root {
    --container: 1210px;
    --gutter: 40px;
  }
}
@media (max-width: 960px) {
  :root {
    --container: 90vw;
    --gutter: 20px;
  }
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Tektur", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.2;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fff;
}

.container {
  width: min(var(--container), 100% - var(--gutter));
  margin-inline: auto;
}

.page-main {
  flex: 1;
}


.page-header {
  padding-top: 4.375rem;
}

.site-nav {
  padding-bottom: 3.125rem;
}

.site-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.4375rem;
  flex-wrap: wrap;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.75rem;
  border-radius: 0.625rem;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav__link:hover {
  opacity: 0.85;
  transform: translateY(-0.0625rem);
}

.site-nav__link:active {
  opacity: 0.75;
  transform: translateY(0);
}

.site-nav__link:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.25rem;
}

@media (max-width: 1480px) {
  .site-nav__list { gap: 1.7rem; }
}


:root {
  --menu-width: 320px;
  --menu-z: 2147483647;
}

.menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;

  width: 60px;
  height: 60px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: #fff;

  z-index: var(--menu-z);
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}

.menu-toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.burger {
  position: relative;
  width: 22px;
  height: 2px;
  background: #44728D;
  display: block;
  transition: background 200ms ease;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #44728D;
  transition: transform 240ms ease, top 240ms ease, bottom 240ms ease;
}

.burger::before {
  top: -7px;
}

.burger::after {
  bottom: -7px;
}

body.menu-open .burger {
  background: transparent;
}

body.menu-open .burger::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .burger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);

  z-index: calc(var(--menu-z) - 2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

@media (min-width: 961px) {

  .page-header.page-header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    padding-top: 0;
    background: #44728D;
    z-index: 100000;

    box-shadow: 0 12px 30px rgba(0,0,0,0.18);

    transform: translateY(-110%);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .page-header.page-header--sticky.page-header--sticky-show {
    transform: translateY(0);
    opacity: 1;
  }

  .page-header.page-header--sticky .site-nav__link {
    color: #fff;
  }

  .page-header.page-header--sticky .site-nav {
    padding-bottom: 0;
  }

  .page-header.page-header--sticky .site-nav__list {
    padding: 14px 0;
  }

}

@media (max-width: 960px) {
  .site-nav {
    z-index: calc(var(--menu-z) - 1);
  }

  .menu-toggle {
    z-index: var(--menu-z);
  }

  .menu-overlay {
    z-index: calc(var(--menu-z) - 2);
  }

}



@media (max-width: 960px) {

  .page-header {
    padding-top: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;

    width: var(--menu-width);
    height: 100vh;

    padding: 84px 18px 18px;
    background: #fff;
    box-shadow: 24px 0 70px rgba(0,0,0,0.20);

    z-index: calc(var(--menu-z) - 1);

    transform: translateX(-102%);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    padding-bottom: 18px;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    font-size: 2rem;
    padding: 12px 14px;
  }

  .site-nav__link:hover {
    transform: none;
    opacity: 1;
  }
  body.menu-open .site-nav {
    transform: translateX(0);
  }

  body.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  body.menu-open .menu-toggle__arrow {
    border-left: none;
    border-right: 12px solid #111;
    transform: translateX(-2px);
  }

}
@media (prefers-reduced-motion: reduce) {
  .menu-overlay,
  .site-nav {
    transition: none;
  }
}



@media (max-width: 960px) {
  .hero, .hero * {
    z-index: 0 !important;
  }
} 


.page-header {
  width: 100%;
}

.page-header.page-header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  padding-top: 0;
  background: #D1E9F6;
  z-index: 100000;

  box-shadow: 0 12px 30px rgba(0,0,0,0.18);

  transform: translateY(-110%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.page-header.page-header--sticky.page-header--sticky-show {
  transform: translateY(0);
  opacity: 1;
}

.page-header.page-header--sticky .site-nav__link {
  color: #fff;
}

.page-header.page-header--sticky .site-nav {
  padding-bottom: 0;
}

.page-header.page-header--sticky .site-nav__list {
  padding: 14px 0;
}


@media (max-width: 960px) {
  .site-nav__link {
    color: #000 !important;
  }
}

.first-screen {
  position: relative;
  min-height: 1075px;
  overflow: hidden;
}

.first-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/hero/heroBack.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  z-index: 0;
}


.page-header, .hero {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  margin-top: 230px;
  display: grid;
  grid-template-columns: 1fr min(var(--container), 100% - var(--gutter)) 1fr;
}

.hero__container {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
}

.hero__content {
  display: flex;
  flex-direction: column;
  padding-bottom: 11.25rem;
  width: 840px;
  text-align: right;
  align-items: flex-end;
}

.hero__title {
  font-size: 3.125rem;
  font-weight: 600;
  margin-bottom: 1.875rem;
}

.hero__text {
  font-size: 1.125rem;
  line-height: 180%;
  letter-spacing: 0.05625rem;
  margin-bottom: 2.5rem;
}

.hero__button {
  width: fit-content;
  min-width: 11.5625rem;
  min-height: 3.875rem;
  padding: 0 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  letter-spacing: 0.05625rem;
  background: none;
  border: 1px solid #44728D;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero__button:hover {
  opacity: 0.9;
  transform: translateY(-0.0625rem);
}

.hero__button:active {
  opacity: 0.8;
  transform: translateY(0);
}

.hero__button:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.25rem;
}

@media (max-width: 1610px) {
  .hero {
    margin-top: 130px;
  }
  .first-screen {
    background-image: url("/assets/img/hero/heroBack.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    min-height: 900px;
  }
}

@media (max-width: 960px) {
  .first-screen {
    background-image: url("/assets/img/hero/heroBack.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    min-height: 500px;
  }
}

@media (max-width: 750px) {
  .hero {
    margin-top: 100px;
  }
  .first-screen {
    height: 500px;
  }
 .hero__title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .hero__text {
    font-size: 0.875rem;
    line-height: 180%;
    letter-spacing: 0.05625rem;
    margin-bottom: 10px;
  }
  .hero__button {
    min-width: 11.5625rem;
    min-height: 50px;
    padding: 0 15px;
    font-size: 0.875rem;
    line-height: 180%;
    letter-spacing: 0.05625rem;
  }
}

@media (max-width: 500px) {
 .hero__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .hero__container {
    height: 300px;
  }
  .first-screen {
    background-image: none;
    background-color: #D1E9F6;
    min-height: 400px;
    height: 400px;
  }

  .hero__text {
    font-size: 0.75rem;
    line-height: 180%;
    letter-spacing: 0.05625rem;
    margin-bottom: 10px;
  }
  .hero__button {
    padding: 0 10px;
    font-size: 0.75rem;
    line-height: 0;
    letter-spacing: 0;
  }
}

@media (max-width: 350px) {
  .hero__button {
    padding: 0 8px;
    font-size: 0.6875rem;
    line-height: 0;
    letter-spacing: 0;
  }
}



.program {
  padding: 4rem 0;
}

.program__title {
  font-size: 3.125rem;
  font-weight: 600;
  margin-bottom: 70px;
}

@media (max-width: 750px) {
  .program__title {
    font-size: 1.875rem;
    margin-bottom: 30px;
  }
}

.tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tabs__list {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 100px;
}

.tab {
  cursor: pointer;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  display: grid;
  justify-items: center;
  text-align: center;
  user-select: none;
  transition: background-color 160ms ease;
}

.tab:hover {
  background: rgba(63, 111, 138, 0.08);
}

.tab__icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.tab__label {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.05625rem;
}

.tab__meta {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.05625rem;
  opacity: 0.9;
}

.tab__arrow {
  width: 63px;
  height: 20px;
  margin-top: 10px;
  animation: tabArrowFloat 1.2s ease-in-out infinite;
}

@media (max-width: 1000px) {
  .tabs__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 60px;
    margin-bottom: 100px;
  }
}

@media (max-width: 750px) {
  .tab__icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .tab__label {
    font-size: 0.875rem;
  }

  .tab__meta {
    font-size: 0.875rem;
  }

}

@media (max-width: 500px) {
  .tabs__list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }
}

@keyframes tabArrowFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(0.375rem);
  }

  100% {
    transform: translateY(0);
  }

}

#dir-design:checked ~ .tabs__list label[for="dir-design"], #dir-3d:checked ~ .tabs__list label[for="dir-3d"], #dir-pc:checked ~ .tabs__list label[for="dir-pc"], #dir-scratch:checked ~ .tabs__list label[for="dir-scratch"] {
  background: rgba(209, 233, 246, 50%);
}

#dir-design:checked ~ .tabs__list label[for="dir-design"] .tab__arrow, #dir-3d:checked ~ .tabs__list label[for="dir-3d"] .tab__arrow, #dir-pc:checked ~ .tabs__list label[for="dir-pc"] .tab__arrow, #dir-scratch:checked ~ .tabs__list label[for="dir-scratch"] .tab__arrow {
  opacity: 0;
  animation: opacityRotate 0.6s linear;
}

@keyframes opacityRotate {
  0% {
    opacity: 1;
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    opacity: 0;
    transform: rotate(180deg);
  }

}

.tabs__panels {
  display: block;
}

.tabpanel {
  display: none;
}


@keyframes tabPanelIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#dir-scratch:checked ~ .tabs__panels .panel-scratch,
#dir-design:checked  ~ .tabs__panels .panel-design,
#dir-3d:checked      ~ .tabs__panels .panel-3d,
#dir-pc:checked      ~ .tabs__panels .panel-pc {
  display: block;
  animation: tabPanelIn 1s ease both;
}

@media (prefers-reduced-motion: reduce) {
  #dir-scratch:checked ~ .tabs__panels .panel-scratch,
  #dir-design:checked  ~ .tabs__panels .panel-design,
  #dir-3d:checked      ~ .tabs__panels .panel-3d,
  #dir-pc:checked      ~ .tabs__panels .panel-pc {
    animation: none;
  }
}

.program-head__title {
  font-size: 3.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.program-head__desc {
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  opacity: 0.85;
  max-width: 1088px;
  margin-bottom: 70px;
}

@media (max-width: 750px) {
  .program-head__title {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
  }

  .program-head__desc {
    font-size: 0.875rem;
    margin-bottom: 30px;
  }
}

.program-card {
  background: rgba(209, 233, 246, 50%);
  border-radius: 1rem;
  padding: 30px 40px 50px;
  margin-bottom: 1.5rem;
}

.program-card__caption {
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
}

@media (max-width: 750px) {
  .program-card__caption {
    font-size: 0.875rem;
    margin-bottom: 30px;
  }
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(12rem, 1fr));
  gap: 30px;
}

.benefit {
  background: #F4F8FF;
  border-radius: 1rem;
  position: relative;
  min-height: 210px;
  min-width: 360px;
}

.benefit__title {
  font-size: 1.5rem;
  font-weight: 500;
  padding: 30px 10px 15px;
  margin-bottom: 15px;
  text-align: right;
}

.benefit__container {
  display: flex;
}

.benefit__icon {
  width: 100px;
  height: 100px;
  margin: 0px 10px 0px 30px;
}

.benefit__text {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  max-width: 200px;
  text-align: right;
}

@media (max-width: 1610px) {
  .benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-content: center;
    gap: 30px;
    margin-left: 6%;
  }
  .benefit {
    max-width: 460px;
  }
  .benefit__container {
    display: flex;
    justify-content: space-around;
  }
}

@media (max-width: 1260px) {
  .benefits {
    margin-left: 4%;
  }
}
@media (max-width: 1140px) { 
  .benefits {
    margin-left: 0;
  }
}

@media (max-width: 880px) {
  .benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .benefit {
    width: 100%;
  }
}

@media (max-width: 750px) {
  .benefit__title {
    font-size: 1rem;
    padding: 30px 30px 15px;
  }
  .benefit__text {
    font-size: 0.875rem;
  }
  .benefit__icon {
    width: 80px;
    height: 80px;
    margin: 0px 10px 0px 30px;
    margin-top: -30px;
  }
  .benefit {
    min-height: 170px;
  }

}

@media (max-width: 470px) {
  .benefit__title {
    padding: 20px 10px 15px;
  }
}

@media (max-width: 420px) {
  .benefit {
    min-width: 280px;
    width: 280px;
  }
  .benefit__text {
    margin-top: -20px;
    padding-right: 10px;
  }
}




.skills {
  display: flex;
  justify-content: center;
  gap: 10%;
  margin-bottom: 1.5rem;
}

.skills__col {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills__item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 35px;
  font-size: 1.125rem;
  letter-spacing: 0.05rem;
  line-height: 1.8;
}

.skills__item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: -10px;
  width: 3.125rem;
  height: 3.125rem;
  background-image: url("../img/ui/check.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.program-card__text {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  margin: 0;
  max-width: 1400px;
}

@media (max-width: 750px) {
  .skills__item {
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 0.875rem;
  }
  .skills__item::before {
    left: -20px;
    top: -5px;
    width: 35px;
    height: 35px;
  }
  .program-card__text {
    font-size: 0.875rem;
  }
}

@media (max-width: 470px) {
  .skills {
    display: flex;
    flex-direction: column;
  }
}


.projects {
  margin-top: 50px;
}

.projects__title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 50px;
}

@media (max-width: 750px) {
  .projects__title {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(12rem, 1fr));
  gap: 95px;
}

.project {
  width: 100%;
  height: 240px;
  border-radius: 45px;
}

@media (max-width: 1240px) {
  .projects__grid {
    gap: 35px;
  }
}

@media (max-width: 1000px) {
  .projects__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .project {
    width: 680px;
    height: 400px;
    object-fit: cover;
  }
}

@media (max-width: 800px) {
  .projects__grid {
    gap: 20px;
  }
  .project {
    width: 420px;
    height: 250px;
    object-fit: cover;
    border-radius: 1.5rem;
  }
}

@media (max-width: 480px) {
  .projects__grid {
    gap: 20px;
  }
  .project {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 1.5rem;
  }
}


.prices {
  background: #fff;
  padding: 4rem 0;
}

.prices__title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 3rem;
}

.prices__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(12rem, 1fr));
  gap: 3rem;
  margin-bottom: 50px;
  align-items: start;
}

.price-card {
  border: 3px solid #44728D;
  background: #fff;
  height: 270px;
  width: 310px;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
}

.price-card__title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.price-card__meta {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 50px;
}

.price-card__price {
  font-size: 1.5rem;
  font-weight: 600;
}

.price-card__old {
  font-size: 1.5rem;
  color: #747474;
  text-decoration: line-through;
  margin-top: 10px;
}

.payment-rules {
  max-width: 86rem;
}

.payment-rules__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
}

.payment-rules__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.payment-rules__item {
  display: block;
}

.payment-rules__term {
  display: inline;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  margin: 0;
}

.payment-rules__desc {
  display: inline;
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
}

.payment-rules__note {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
}


@media (max-width: 1610px) {
  .prices__grid {
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
  }
}

@media (max-width: 1000px) {
  .prices__grid {
    display: grid;
    grid-template-columns: repeat(2, 310px);
    grid-template-rows: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
  }
}

@media (max-width: 750px) {
  .prices__title {
    font-size: 1.875rem;
    margin-bottom: 30px;
  }
  .price-card__title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .price-card__meta {
    font-size: 1rem;
    margin-bottom: 50px;
  }

  .price-card__price {
    font-size: 1rem;
  }
  .price-card__old {
    font-size: 1rem;
  }

  .payment-rules__title {
    font-size: 1.125rem;
  }
  .payment-rules__term {
    font-size: 0.875rem;
  }

  .payment-rules__desc {
    font-size: 0.875rem;
  }

  .payment-rules__note {
    font-size: 0.875rem;
  }

  .prices {
    padding: 30px 0;
  }

}

@media (max-width: 650px) {
  .prices__grid {
    display: grid;
    grid-template-columns: repeat(1, 290px);
    grid-template-rows: repeat(4, 220px);
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
  }
  .price-card {
    height: 220px;
    width: 290px;
  }
}



.about {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.about__bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 723px;
  background-image: url("../img/about/bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.about__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 5rem 0;
  gap: 4rem;
}

.about__title {
  font-size: 3.125rem;
  font-weight: 600;
  margin-top: -80px;
  margin-bottom: 100px;
}

.about__text {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  margin-bottom: 10px;
  max-width: 828px;
}

.about__photo {
  margin-top: -80px;
  width: 644px;
  height: 704px;
}

.about__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
  object-fit: cover;
}

@media (max-width: 1610px) {
  .about {
    overflow: visible;
  }
  .about__photo {
    position: absolute;
    right: -15%;
    top: 12%;
    overflow: visible;
  }
}

@media (max-width: 1570px) {
  .about {
    padding: 20px 0 0;
  }
  .about__photo {
    position: absolute;
    right: -5%;
    top: 27%;
    overflow: hidden;
    width: 444px;
    height: 504px;
  }

  .about__bg {
    height: 623px;
  }

}

@media (max-width: 1325px) {

  .about__title {
    font-size: 3.125rem;
    font-weight: 600;
    margin-top: -80px;
    margin-bottom: 30px;
  }

  .about__photo {
    right: -2%;
    top: 29%;
    width: 544px;
    height: 604px;
  }

  .about__text {
    max-width: 500px;
  }

  .about__bg {
    height: 783px;
  }

}

@media (max-width: 1000px) {

  .about__container {
    z-index: 0;
  }


  .about__bg {
    position: absolute;
    width: 100%;
    height: 611px;
    background-image: url("../img/about/bg-mobile.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 0;
  }
  .about__photo {
    position: absolute;
    top: 5%;
    left: 25%;
    width: 544px;
    height: 604px;
  }
  .about__title {
    margin-bottom: 550px;
  }
  .about__text {
    max-width: 100%;
  }

}

@media (max-width: 750px) {

  .about__title {
    font-size: 1.875rem;
  }

  .about__text {
    font-size: 0.875rem;
    line-height: 1.8;
    letter-spacing: 0.05rem;
    margin-bottom: 10px;
    max-width: 828px;
  }

  .about__photo {
    position: absolute;
    top: 5%;
    left: 20%;
    width: 444px;
    height: 504px;
  }
  .about__title {
    margin-bottom: 460px;
  }

}

@media (max-width: 575px) {
  .about__photo {
    position: absolute;
    top: 8%;
    left: 7%;
    width: 384px;
    height: 500px;
  }
  .about__title {
    margin-bottom: 410px;
  }
}

@media (max-width: 435px) {
  .about__photo {
    position: absolute;
    top: 8%;
    left: 5%;
    width: 354px;
    height: 450px;
  }
  .about__title {
    margin-bottom: 380px;
  }
}

@media (max-width: 390px) {
  .about__photo {
    position: absolute;
    top: 8%;
    left: -2%;
    width: 354px;
    height: 450px;
  }
  .about__title {
    margin-bottom: 380px;
  }
}

@media (max-width: 360px) {
  .about__photo {
    position: absolute;
    top: 11%;
    left: 1%;
    width: 304px;
    height: 400px;
  }
  .about__title {
    margin-bottom: 380px;
  }
}


.review {
  margin-bottom: 130px;
}

.review__title {
  font-size: 3.125rem;
  font-weight: 600;
  text-align: center;
  margin: 60px 0 50px;
}

.review__photos {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.review__photos-mobile {
  display: none;
}

@media (max-width: 1610px) {
  .review {
    margin-top: 120px;
  }
}

@media (max-width: 1570px) {
  .review {
    margin-top: -20px;
  }
}

@media (max-width: 1023px) {

  .review__photos {
    display: none;
  }

  .review__photos-mobile {
    display: flex;
    justify-content: space-around;
  }
  .review__photos-mobile img{
    width: 250px;
    height: 150px;
  }

  .review {
    margin-bottom: 60px;
  }
}

@media (max-width: 1000px) {
  .review {
    margin-top: -60px;
    margin-bottom: 60px;
  }
}

@media (max-width: 750px) {
  .review__title {
    font-size: 1.875rem;
    margin: 10px 0 30px;
  }
}

@media (max-width: 855px) {
  .review__photos-mobile {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-inline: calc((100% - 250px) / 2);
    touch-action: pan-x;
    scrollbar-width: none;
  }

  .review__photos-mobile::-webkit-scrollbar {
    display: none;
  }

  .review__photos-mobile .review__photo {
    flex: 0 0 250px;
    width: 239px;
    height: 150px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    object-fit: cover;
  }
}

@media (max-width: 550px) {
  .review__photos-mobile .review__photo {
    flex-basis: 88%;
  }
}



.cta {
  position: relative;
  overflow: hidden;
  background: #eaf1f7;
  padding: 4.5rem 0;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/contacts/bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.cta__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta__title {
  font-size: 3.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cta__lead, .cta__sublead {
  font-size: 1.5rem;
  line-height: 1.8;
}

.cta__lead {
  margin-bottom: 10px;
}

.cta__sublead {
  margin-bottom: 3rem;
}

.cta__methods {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.cta-method {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: center;
  padding: 1.25rem 0;
  text-decoration: none;
  color: inherit;
}

.cta-method::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.125rem;
  background: #44728D;
}

.cta-method__icon {
  width: 50px;
  height: 50px;
  justify-self: center;
  margin-left: 150px;
}

.cta-method__text {
  font-size: 1.5rem;
  text-align: center;
}

.cta-method:hover {
  background: rgba(255,255,255,0.25);
}

.cta-method:focus-visible {
  outline: 0.125rem solid rgba(63, 111, 138, 0.9);
  outline-offset: 0.25rem;
  border-radius: 0.75rem;
}

@media (max-width: 750px) {
  .cta {
    position: relative;
    overflow: hidden;
    background: #eaf1f7;
    padding: 30px 0 50px;
  }
  .cta__title {
    font-size: 1.875rem;
  }

  .cta__lead, .cta__sublead, .cta-method__text {
    font-size: 1rem;
  }

  .cta-method__icon {
    width: 40px;
    height: 40px;
    margin-left: 200px;
  }

}

@media (max-width: 750px) {
  .cta-method__icon {
      margin-left: 100px;
    }

}

.page-footer {
  margin-top: auto;
  padding: 70px 0;
}

.footer {
  display: flex;
  justify-content: space-between;
}

.footer__text {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  color: #000;
}


@media (max-width: 1130px) {
  .page-footer {
    margin-top: auto;
    padding: 40px 0;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 850px) {
  .footer__text {
    text-align: center;
    font-size: 0.75rem;
  }
}

@media (max-width: 590px) {
  .page-footer {
    margin-top: auto;
    padding: 20px 0;
  }
}