@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --accent: #d8bedf;
  --text: #737373;
  --back: #f2e6d3;
  --x-accent: #8c5cab;
  --x-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-size: 22px;
  color: var(--text);
}

html {
  font-size: 25px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  font-style: normal;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: -30px;
  padding: 0 15px;
}

.logo img {
  max-width: 350px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

header ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

header ul a {
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s ease;
  font-size: 20px;
}

header ul a:hover {
  color: var(--accent);
}

.x-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}
.x-burger__lines {
  position: relative;
  width: 22px;
  height: 2px;
  background: #943cbd;
  border-radius: 2px;
}
.x-burger__lines::before,
.x-burger__lines::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #943cbd;
  border-radius: 2px;
  transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.x-burger__lines::before {
  top: -7px;
}
.x-burger__lines::after {
  top: 7px;
}
.x-burger.is-active .x-burger__lines {
  background: transparent;
}
.x-burger.is-active .x-burger__lines::before {
  top: 0;
  transform: rotate(45deg);
}
.x-burger.is-active .x-burger__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.x-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
  z-index: 98;
}
.x-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.x-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 99;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.7)
    ),
    url(images/header.png);
  min-height: 100vh;
  width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
  justify-content: space-between;
  padding-bottom: 50px;
}
.x-offcanvas.is-open {
  transform: translateX(0);
}
.x-offcanvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 15px 0 15px 15px;
  margin-top: -30px;
}
.x-offcanvas__logo {
  max-width: 250px;
}
.x-close {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  border: none;
  background: transparent;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  color: var(--x-accent);
  font-weight: 100;
}
.x-offcanvas__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
}
.x-offcanvas__nav a {
  display: block;
  padding: 14px 16px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 30px;
  text-align: center;
  color: var(--text);
}
.x-offcanvas__cta .main-btn {
  max-width: 90vw;
  width: 90vw !important;
  margin: auto;
  display: block;
  text-align: center;
}

body.x-menu-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .logo img {
    max-width: 250px;
  }

  header nav ul {
    display: none;
  }
  header nav .main-btn {
    display: none;
  }
  .x-burger {
    display: flex;
  }
}

#about {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 30%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.5) 90%,
      rgba(255, 255, 255, 1) 100%
    ),
    url(images/header.png);
  min-height: 100vh;
  width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: -20px;
}

.about-container {
  display: flex;
  align-items: center;
  align-items: center;
  justify-content: space-around;
  gap: 70px;
  max-width: 1400px;
  margin: auto;
  padding: 100px;
}

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

.about-image img {
  width: 500px;
  height: 500px;
  border-radius: 100%;
  object-fit: cover;
  object-position: center;
}

.about-text {
  max-width: 700px;
}

.word-rainbow {
  display: inline-block;
  background: linear-gradient(
    90deg,
    #ff9cc4,
    #ffc08a,
    #fff39c,
    #baff9c,
    #9cfff5,
    #9cc4ff,
    #c7a0ff
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.about-text h1 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 85px;
  line-height: 1.1;
  margin-bottom: 30px;
  text-align: center;
}

.line {
  max-width: 500px;
  font-size: 60px;
  margin: auto;
  display: flex;
}

.about-text h1 span {
  font-size: 60px;
}

.about-text p {
  margin: 50px auto;
  font-size: 30px;
  font-style: italic;
  text-align: center;
}

.about-text p span {
  color: var(--accent);
  font-size: 35px;
  font-weight: bold;
  display: inline;
}

.main-btn {
  position: relative;
  padding: 15px 50px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--x-accent), #ffd3c7);
  background-size: 200% 100%;
  background-position: 0% 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 26px rgba(158, 106, 184, 0.24);
  letter-spacing: 0.1px;
  transition: background-position 0.4s ease, box-shadow 0.3s ease,
    letter-spacing 0.3s ease, filter 0.3s ease;
}
.main-btn:hover {
  background-position: 100% 50%;
  box-shadow: 0 14px 36px rgba(158, 106, 184, 0.28);
  letter-spacing: 0.3px;
  filter: brightness(1.03);
}
.main-btn:focus-visible {
  outline: 3px solid rgba(184, 138, 203, 0.45);
  outline-offset: 3px;
}

.about-container-info {
  position: relative;
}

.status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 24px;
}

.stat {
  width: 250px;
  height: 250px;
  border-radius: 100%;
  --ring: rgba(184, 138, 203, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  align-items: center;
  padding: 20px;
  background: transparent;
  outline: 2px solid transparent;
  position: absolute;
}

.stat:first-child {
  bottom: -130px;
  left: 0;
}

.stat:last-child {
  bottom: -100px;
  left: 250px;
}

.stat__icon {
  position: relative;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #c29ad6, #8c5cab);
  box-shadow: 0 10px 22px rgba(140, 92, 171, 0.35);
  overflow: visible;
}

@property --ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.stat__icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from var(--ang),
    rgba(184, 138, 203, 0.6),
    rgba(216, 190, 223, 0.2),
    rgba(184, 138, 203, 0.6)
  );
  filter: blur(10px);
  opacity: 0.7;
}
@keyframes spin {
  to {
    --ang: 360deg;
  }
}
.stat:hover .stat__icon::after {
  animation: spin 4s linear infinite;
}

.stat__icon i {
  font-size: 34px;
  line-height: 1;
}

.stat__text b {
  display: block;
  font-size: 29px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 500;
}
.stat__text span {
  display: block;
  font-size: 28px;
  color: var(--x-accent);
  text-transform: uppercase;
  text-align: center;
}

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

@media (max-width: 1400px) {
  .about-container {
    padding: 90px 60px;
    gap: 56px;
  }
  .about-image img {
    width: 460px;
    height: 460px;
  }
  .about-text {
    max-width: 720px;
  }
  .about-text h1 {
    font-size: clamp(56px, 6vw, 80px);
  }
  .about-text h1 span {
    font-size: clamp(34px, 3.2vw, 60px);
  }
  .about-text p {
    font-size: clamp(22px, 2vw, 28px);
  }
}

@media (max-width: 1100px) {
  .about-container {
    padding: 80px 40px;
    gap: 48px;
  }
  .about-image img {
    width: 420px;
    height: 420px;
  }
  .main-btn {
    padding: 14px 44px;
  }
}

@media (max-width: 1024px) {
  #about {
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 30%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.9) 90%,
        rgba(255, 255, 255, 1) 100%
      ),
      url(images/header.png);
  }
  .about-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 28px;
    gap: 40px;
  }
  .about-container-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-text {
    max-width: 760px;
    text-align: center;
  }
  .about-text h1 {
    font-size: clamp(42px, 7vw, 64px);
    line-height: 1.12;
  }
  .about-text h1 span {
    font-size: clamp(28px, 4vw, 40px);
  }
  .about-text p {
    font-size: clamp(18px, 2.4vw, 22px);
    margin: 28px auto 40px;
  }
  .line {
    max-width: 420px;
  }
  .status {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
  }
  .stat {
    position: static;
    margin: 0 auto;
  }
  .stat:first-child,
  .stat:last-child {
    left: auto;
    bottom: auto;
  }
  .stat__icon {
    width: 68px;
    height: 68px;
  }
  .stat__icon i {
    font-size: 28px;
  }
  .stat__text b {
    font-size: 22px;
  }
  .stat__text span {
    font-size: 16px;
  }
}

@media (max-width: 820px) {
  .about-image img {
    width: 360px;
    height: 360px;
    box-shadow: 6px 6px 80px 28px rgb(233 166 207 / 85%);
  }
  .about-text h1 {
    font-size: clamp(36px, 8vw, 54px);
  }
  .about-text h1 span {
    font-size: clamp(24px, 4.8vw, 34px);
  }
  .main-btn {
    min-width: 260px;
    width: auto;
    padding: 14px 36px;
  }
}

@media (max-width: 680px) {
  #about {
    margin-top: -10px;
  }
  .about-container {
    padding: 56px 18px;
    gap: 28px;
  }
  .line {
    max-width: 320px;
  }
  .status {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .stat {
    width: 180px;
    height: 180px;
  }
  .stat__icon {
    width: 58px;
    height: 58px;
  }
  .stat__icon i {
    font-size: 24px;
  }
  .stat__text b {
    font-size: 20px;
  }
  .stat__text span {
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .about-image img {
    width: 300px;
    height: 300px;
  }
  .about-text h1 {
    font-size: clamp(30px, 10vw, 44px);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
  }
  .about-text h1 span {
    display: inline-block;
    font-size: clamp(20px, 6.4vw, 28px);
  }
  .about-text p {
    font-size: 23px;
    margin: 22px auto 30px;
  }
  .main-btn {
    width: 100%;
    max-width: 360px;
    padding: 14px 20px;
  }
  .about-text p span {
    font-size: 28px;
  }
}

@media (max-width: 400px) {
  .about-container {
    padding: 46px 14px;
  }
  .about-image img {
    width: 260px;
    height: 260px;
  }
  .stat {
    width: 150px;
    height: 150px;
  }
  .stat__icon {
    width: 50px;
    height: 50px;
  }
  .stat__icon i {
    font-size: 22px;
  }
  .stat__text b {
    font-size: 18px;
  }
  .stat__text span {
    font-size: 13px;
  }
}

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

#services {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 18px;
}

.services-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.title h2 {
  text-align: center;
  font-size: clamp(35px, 5vw, 52px);
  line-height: 1.12;
  text-transform: uppercase;
  font-weight: bold;
}

.svc-grid {
  display: flex;
  flex-direction: column;
}

.svc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  width: 1100px;
  margin: 30px auto;
  padding: 30px;
  position: relative;
}

.svc-card::before {
  --ring: 16px;
  --rainbow: conic-gradient(
    from 0turn,
    #ff9cc4,
    #ffc08a,
    #fff39c,
    #baff9c,
    #9cfff5,
    #9cc4ff,
    #c7a0ff,
    #ff9cc4
  );

  content: '';
  position: absolute;
  inset: calc(-1 * var(--ring));
  border-radius: calc(22px + var(--ring));
  background: var(--rainbow);
  padding: var(--ring);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  box-shadow: 0 14px 36px rgba(158, 106, 184, 0.28);
}

.svc-card img {
  width: 450px;
  height: 450px;
  min-width: 450px;
  border-radius: 100%;
  object-fit: cover;
  box-shadow: 10px 10px 52px 7px rgb(233 166 207);
}

.svc-card .main-btn {
  display: inline-block;
  min-width: 300px;
  margin-bottom: 20px;
  text-align: center;
}

.svc-heading {
  font-size: 30px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  margin-bottom: 20px;
  gap: 10px;
  font-weight: bold;
}

.svc-list {
  padding-left: 30px;
  display: grid;
  gap: 15px;
  color: var(--text);
  margin-bottom: 40px;
}
.svc-list li {
  list-style: none;
  padding-left: 40px;
  position: relative;
  font-size: 22px;
  display: flex;
  align-items: center;
}
.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #c29ad6, #8c5cab);
  box-shadow: 0 10px 22px rgba(140, 92, 171, 0.35);
  outline-offset: 2px;
}

.services-cta {
  display: block;
  width: max-content;
  margin: clamp(22px, 4vw, 40px) auto 0;
}

@media (max-width: 1120px) {
  .svc-card {
    width: 100%;
  }
}
@media (max-width: 990px) {
  .svc-card {
    flex-direction: column;
    padding: 15px;
  }
  .svc-card > * {
    order: 1;
  }

  .svc-card > img {
    order: 0;
  }
  .svc-card img {
    width: 300px;
    height: 300px;
    min-width: 300px;
  }
  .svc-heading {
    text-align: center;
    display: block;
  }
  .svc-list {
    padding-left: 10px;
  }
}

#pricing {
  position: relative;
  padding: 50px;
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 30%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.5) 90%,
      rgba(255, 255, 255, 1) 100%
    ),
    url(images/price.png);
  min-height: 100vh;
  width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
}

.pricing-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.pricing-intro {
  max-width: 980px;
  margin: 14px auto 24px;
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.price-card {
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--x-accent);
  box-shadow: 0 14px 36px rgba(158, 106, 184, 0.28);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--x-accent), #ffd3c7);
  border-radius: 25px 25px 0 0;
}

.price-card h3 {
  font-weight: 500;
  line-height: 1.2;
  font-size: 30px;
  margin-bottom: 20px;
  min-height: 2lh;
}

.price-card .price span {
  font-size: 18px;
  display: block;
  text-align: center;
  background: none;
  text-shadow: none;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  font-weight: 500;
}

.price-card .price {
  font-size: 45px;
  margin-bottom: 20px;
}

.price-card p {
  text-transform: uppercase;
  margin-bottom: 30px;
  margin-top: 20px;
}

.popular .main-btn {
  background-position: 90% 50%;
  box-shadow: 0 14px 36px rgba(158, 106, 184, 0.28);
  letter-spacing: 0.3px;
  filter: brightness(1.03);
}

.price-card.popular {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.9) 90%,
      rgba(255, 255, 255, 1) 100%
    ),
    url(images/price-card.jpeg);
  min-height: 100%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  font-weight: bold;
}

@media (max-width: 1120px) {
  #pricing {
    padding: 15px;
  }
  .pricing-grid {
    display: flex;
    flex-direction: column;
  }
}

#contact {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 30%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.5) 90%,
      rgba(255, 255, 255, 1) 100%
    ),
    url(images/About.png);
  min-height: 100vh;
  width: 100vw;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 50px;
}

.rools {
  display: flex;
  margin: 40px;
  max-width: 1300px;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.rools img {
  max-width: 500px;
  border-radius: 25px;
}

.rools .text {
  display: flex;
  flex-direction: column;
}

.rools h4 {
  text-transform: uppercase;
  font-size: 35px;
  margin-bottom: 30px;
  text-align: center;
}

.rules-text li {
  margin-bottom: 20px;
  font-size: 23px;
  padding-left: 60px;
  text-align: left;
}

#contact .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 18px;
}
.contact-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 60px;
}

.rules-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}
.price-card.rules-card::before {
  display: none;
}
.rules-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 6px 6px 32px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}
.rules-text h3 {
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: none;
  font-size: 38px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}
.rules-text .svc-list {
  margin: 0;
  gap: 12px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 28px;
}
.logo--small img {
  max-width: 100%;
}
.contact-text {
  line-height: 1.7;
  max-width: 640px;
  font-size: 24px;
}

.contact-text .word-rainbow {
  font-weight: bold;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-outline {
  background: #fff;
  color: var(--x-accent);
  border: 1px solid rgba(140, 92, 171, 0.35);
  box-shadow: 0 8px 18px rgba(140, 92, 171, 0.12);
}
.btn-outline:hover {
  filter: none;
  background: linear-gradient(90deg, #ffd3c7, #fff);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .rules-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rules-media img {
    height: 90%;
    margin-bottom: 0;
  }
  .logo--small img {
    max-width: 250px;
  }
}
@media (max-width: 560px) {
  .contact-actions .main-btn {
    width: 100%;
    max-width: 320px;
  }
  .contact-card {
    padding: 28px 15px;
  }
  .price-card .logo img {
    max-width: 265px;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow: 0 8px 18px rgba(158, 106, 184, 0.15);
}
.lang-switch .lang-btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 16px;
  color: var(--text);
  transition: 0.25s ease;
}
.lang-switch .lang-btn:hover {
  filter: brightness(1.05);
}
.lang-switch .lang-btn.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--x-accent), #ffd3c7);
  box-shadow: 0 8px 18px rgba(158, 106, 184, 0.25);
}
@media (max-width: 980px) {
  header .lang-switch {
    display: none;
  }
}
.x-offcanvas .lang-switch {
  margin: 14px auto 0;
  justify-content: center;
}

.x-offcanvas__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-ico {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #c29ad6, #8c5cab);
  box-shadow: 0 10px 18px rgba(140, 92, 171, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.nav-ico i {
  font-size: 16px;
  line-height: 1;
}
.x-offcanvas__nav a:hover .nav-ico {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(140, 92, 171, 0.32);
  filter: brightness(1.03);
}

@media (max-width: 420px) {
  .nav-ico {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .nav-ico i {
    font-size: 14px;
  }
  .x-offcanvas__nav a {
    font-size: 25px;
  }
}

#why.why-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: stretch;
  color: #fff;
  background: url('images/why.png') center/cover no-repeat;
}

.why-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(28px, 5.4vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: clamp(12px, 2.2vw, 18px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 18px) clamp(16px, 3vw, 28px);
  margin: clamp(12px, 2.5vw, 22px) 0 clamp(16px, 3vw, 28px);
  padding: 0;
}
.why-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 14px 14px 10px;
  border-radius: 18px;
  background: #fff;
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.why-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #c29ad6, #8c5cab);
  box-shadow: 0 10px 22px rgba(140, 92, 171, 0.35);
}
.why-text {
  font-size: clamp(19px, 1.9vw, 18px);
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.why-conclusion {
  font-size: clamp(24px, 2.2vw, 22px);
  max-width: 880px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.why-conclusion b {
  font-weight: 800;
}
.why-emoji {
  margin-left: 6px;
}

.why-side {
  display: grid;
  justify-items: center;
}
.why-portrait {
  position: relative;
  width: 420px;
  height: 420px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}
.why-portrait::before {
  --ring: 16px;
  --rainbow: conic-gradient(
    from 0turn,
    #ff9cc4,
    #ffc08a,
    #fff39c,
    #baff9c,
    #9cfff5,
    #9cc4ff,
    #c7a0ff,
    #ff9cc4
  );
  content: '';
  position: absolute;
  inset: calc(-1 * var(--ring));
  border-radius: calc(50% + var(--ring));
  background: var(--rainbow);
  padding: var(--ring);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.why-portrait img {
  position: relative;
  z-index: 1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 60px rgba(233, 166, 207, 0.45);
}
.why-badge {
  font-size: 14px;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1024px) {
  .why-inner {
    grid-template-columns: 1fr;
  }
  .why-side {
    order: -1;
  }
  .why-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 20px;
  }
  .why-point {
    grid-template-columns: 36px 1fr;
    padding: 12px;
  }
  .why-num {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .why-portrait,
  .why-portrait img {
    width: 80vw;
    height: 80vw;
  }
  .svc-list li {
    font-size: 24px;
  }
  .svc-list li::before {
    width: 20px;
    height: 20px;
  }
  .svc-heading {
    font-size: 32px;
    text-shadow: none;
    line-height: 1.2;
  }
  .pricing-intro {
    font-size: 25px;
  }
  .why-conclusion {
    text-align: center;
  }
}

#about-me.bio-hero {
  margin-top: 100px;
  position: relative;
  padding: 20px;
  background: linear-gradient(
      to bottom right,
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ),
    linear-gradient(
      135deg,
      #edc9d7 0%,
      #fcdbbe 12.5%,
      #fff39c 25%,
      #cce6c1 37.5%,
      #9cfff5 50%,
      #c9dcf7 62.5%,
      #deccf8 75%,
      #fcd2e3 87.5%
    );
  background-size: cover;
  background-repeat: no-repeat;
}
.bio-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(42px, 6.5vw, 90px) 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bio-hero-inner h2 {
  font-size: clamp(36px, 5.4vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: clamp(12px, 2.2vw, 18px);
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-hero-inner p {
  font-weight: bold;
  font-size: clamp(18px, 2.2vw, 22px);
  max-width: 880px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
  font-size: 24px;
  font-weight: 500;
}

.bio-diplomas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bio-diplomas img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.values-row li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #fff;
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.val-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #c29ad6, #8c5cab);
  box-shadow: 0 10px 22px rgba(140, 92, 171, 0.35);
}

@media (max-width: 1300px) {
  .main-btn {
    padding: 10px 20px;
    text-align: center;
  }
  .logo img {
    max-width: 270px;
  }
}

@media (max-width: 1200px) {
  .logo img {
    max-width: 200px;
  }
  header {
    margin-top: 0;
  }
}

@media (max-width: 1024px) {
  .bio-diplomas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .bio-diplomas {
    grid-template-columns: 1fr;
  }
  .dip img {
    height: 220px;
  }
  .val-ico {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
  .values-row li {
    width: 100%;
    justify-content: flex-start;
  }
  #about-me.bio-hero {
    margin-top: 0;
    padding: 0;
    padding-bottom: 20px;
  }
  .bio-hero-inner {
    gap: 5px;
    padding: 40px 15px 30px 15px;
  }
  .rules-text h3 {
    margin-bottom: 30px;
  }
}
body.x-modal-open {
  overflow: hidden;
  height: 100dvh;
}

.x-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  overflow: hidden;
}
.x-modal.is-open {
  display: block;
}
.x-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  opacity: 1;
  transition: opacity 0.25s ease;
}
.x-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(840px, 94vw);
  max-height: calc(100dvh - 8vh);
  margin: 4vh auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.28s ease;
}
.x-modal.is-open .x-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.x-modal__dialog::before {
  display: none;
}
.x-modal__head {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}
.x-modal__logo {
  width: 200px;
  object-fit: contain;
}
.x-modal__head h3 {
  font-size: clamp(23px, 2.6vw, 26px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  text-shadow: none;
}
.x-modal__body {
  padding: 18px 20px;
  overflow: auto;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.x-modal__section + .x-modal__section {
  margin-top: 16px;
}
.x-modal__section h4 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(16px, 2.2vw, 18px);
  margin-bottom: 10px;
  color: var(--x-accent);
}
.x-modal__section ul,
.x-modal__section ol {
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.x-modal__section li {
  list-style: disc;
  font-size: 18px;
  color: var(--text);
}
.x-modal__section ol li {
  list-style: decimal;
}
.x-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.x-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: var(--x-accent);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.x-modal__close:hover {
  filter: brightness(1.03);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-actions .main-btn.btn-outline {
  border-radius: 12px;
  display: block;
  font-size: 20px;
}
