@font-face {
  font-family: "FormaDJRCyrillicMicro";
  src: url("/assets/fonts/FormaDJRCyrillicMicro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  font-family:
    "Manrope", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif !important;
}

.box {
  display: none;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

@supports (content-visibility: auto) {
  .optimize-cv {
    content-visibility: auto;
    contain-intrinsic-size: 1px 960px;
  }
}
:root {
  --blue: #132239;
  --grey: #adb1ac;
  --light-blue: #445265;
  --white: #ffffff;
  --section-gap: 120px;
  --leon-gradient: linear-gradient(
    135deg,
    #0a454c 0%,
    #10797e 45%,
    #0b5f73 100%
  );
  --br: 4px;
  --bs-breadcrumb-margin-bottom: 0 !important
;
}

main > section {
  margin-block: 0 !important;
}

main > section + section {
  margin-top: 0 !important;
}

/* Main page sections: fixed symmetric spacing */
main > section.about-leon,
main > section.gallery-section,
main > section.container.optimize-cv,
main > section.certs-section,
main > section.market-section,
main > section.messages-section,
main > section.pdf-section,
main > section#projects.optimize-cv {
  padding-top: var(--section-gap) !important;
  padding-bottom: var(--section-gap) !important;
  margin: 0 !important;
}

#messages.messages-section {
  padding: 120px 0 0 0 !important;
}
/* Общие стили документа */

/* Списки с маркерами disc */

/* Заголовок документа */

/* Подзаголовки разделов */

/* Абзацы */

/* Списки */

/* Контактные данные / выделенные строки */

/* Второстепенный текст (даты, пояснения) */

/* Адаптив */

/* Text */

/* Form */

/* Action */

/* Close */
/* body{
  background-color: var(--grey)
} */

a {
  text-decoration: none;
  transition: 0.3s ease;
  color: var(--white);
}

body {
  background: linear-gradient(180deg, #f4fbfb 0%, #eff8f9 52%, #f4fbfb 100%);
}

main {
  margin-top: 166px;
}

#services {
  margin-inline: auto !important;
}

/* COLUMNS */

/* MAN CENTER */

/* CARDS */

/* LEFT column offset effect */

/* RIGHT column offset */
/* #swiper-wrapper-510f1cca73ff01a52{
  transform: translate(0, 0) !important;
} */

footer {
  background: #212a34;
  padding: 50px 0;
}
.adress p {
  color: #a2a2a2;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  display: inline-block;
  /* max-width: 100%; */
  /* white-space: nowrap; */
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
  max-width: 325px;
}
footer .logo img {
  filter: brightness(999);
  display: inline-block;
  width: 100%;
  object-fit: cover;
}
.container {
  margin-inline: auto;
}
.blogsfooter {
  max-width: 170px !important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
footer .logo {
  max-width: 140px;
  width: 100%;
}

.socials a {
  width: 45px;
  height: 40px;
  background-color: rgb(216, 216, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--br);
  transition: all 0.25s ease;
}

.socials a:hover {
  background: var(--blue);
}
/*footer*/

.footer_logo_and_number {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}

footer .adress {
  color: #fff;
}

footer .btns {
  display: flex;
  align-items: flex-end;
  gap: 140px;
}

footer .line {
  height: 1px;
  background: #6b7782;
  width: 100%;
  margin: 40px 0;
}

.footer-nav {
  background: #222a31;
  color: #cfd6dc;
  font-family: "Poppins", sans-serif;
}

.footer-nav__inner {
  display: grid;
  gap: 28px 20px;
  grid-template-columns: repeat(5, auto);
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.footer-col li + li {
  margin-top: 8px;
}

footer .socials div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

footer .socials a:hover {
  background: var(--grey);
}
footer .socials {
  color: #a2a2a2;
  display: block !important;
}
.copyright {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
}

.copyright-2 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.copyright a {
  background-color: rgb(216, 216, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--br);
  height: 40px;
  border: none;
  outline: none;
  padding: 0 20px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  gap: 7px;
  width: fit-content;
  font-size: 14px;
}

.copyright span {
  font-size: 14px;
  color: #a2a2a2;
}
.footer-col a,
.footer-col li {
  color: #c7d5da;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-col__solo li {
  text-overflow: inherit;
}

.footer-col a:hover {
  color: #10797e;
  text-decoration: none;
}

.footer-col__solo {
  margin-top: 36px;
}

/* Responsive */

/* LIST */

/* META */

/* RIGHT IMAGE */
.check_desc ul li::marker {
  content: "\2713";
}

/* FORM */

/* AUTO COUNTER */

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 1201px) {
  html {
    font-size: 0.8333333333vw;
  }
}

@media (max-width: 1200px) {
  .footer-nav__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-col__solo {
    margin-top: 0;
  }

  /* .header__logo, .header__logo-link {
    height: 120px;
  }
  .header__logo {
    width: auto;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  } */
}

@media (max-width: 768px) {
  .footer-col.col1 {
    margin-bottom: -20px;
  }
  .footer-col.col2 {
    margin-bottom: -20px;
  }
  .footer-col {
    width: 100%;
  }
  .copyright {
    flex-direction: column-reverse;
  }
  .empty {
    display: none;
  }
  footer .logo {
    width: 115px;
  }

  .footer-nav__inner {
    grid-template-columns: 1fr;
  }
  .footer-col h3 {
    font-size: 20px;
  }
  .footer-col a {
    font-size: 15px;
  }
}

#projects {
  padding: 50px 0;
  background-color: #eee;
}

#projects > .px-3,
#projects > .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.row.gy-3 {
  --projects-gutter-x: 1.5rem;
  --projects-gutter-y: 0;
  display: flex !important;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--projects-gutter-y));
  margin-right: calc(-0.5 * var(--projects-gutter-x));
  margin-left: calc(-0.5 * var(--projects-gutter-x));
}

.row.gy-3 > [class*="col-"] {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100% !important;
  flex-basis: 100% !important;
  max-width: 100%;
  padding-right: calc(var(--projects-gutter-x) * 0.5);
  padding-left: calc(var(--projects-gutter-x) * 0.5);
  margin-top: var(--projects-gutter-y);
}

.row.gy-3 {
  --projects-gutter-y: 1rem;
}

.row.gy-3 > .col-12 {
  width: 100% !important;
  flex-basis: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 768px) {
  .row.gy-3 > .col-md-6 {
    width: 50% !important;
    flex-basis: 50% !important;
    max-width: 50% !important;
  }
}

@media (min-width: 992px) {
  .row.gy-3 > .col-lg-4 {
    width: 33.333333% !important;
    flex-basis: 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

.projects-title h2 {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

.proj-card {
  height: 576px;
  position: relative;
}
.fulline-text {
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.8;
  color: #183841;
  letter-spacing: 0.01em;
  
}

.fulline-text p {
  margin: 0;
}

.fulline-text p + p {
  margin-top: 16px;
}

.fulline-text h2,
.fulline-text h3,
.fulline-text h4 {
  margin: 28px 0 14px;
  color: #0c2f38;
  line-height: 1.25;
  font-weight: 800;
}

.fulline-text ul,
.fulline-text ol {
  margin: 14px 0;
  padding-left: 22px;
}

.fulline-text li + li {
  margin-top: 8px;
}

.fulline-text strong {
  font-weight: 800;
  color: #0b2f39;
}

.fulline-text .docx-image,
.fulline-text figure {
  margin: 24px 0;
}

.fulline-text .docx-image img,
.fulline-text figure img,
.fulline-text > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0;
}
.text-atelier_inks h3{margin-top: 30px !important;}
@media (max-width: 767px) {
  .fulline-text {
    font-size: 15px;
    line-height: 1.7;
  }
  .fulline-text .docx-image,
  .fulline-text figure {
    margin: 18px 0;
  }
}
/* Cases category cards (responsive grid) */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cases-grid .case-card {
  background: #fff;
  border: 0;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  border-radius: 8px;
  padding: 12px;
}

.cases-grid .case-card h4 {
  margin: 0 0 8px;
}

.cases-grid .case-card__title-link {
  display: block;
  color: #0f1f2b;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid #d7dde3;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.cases-grid .case-card__title-link:hover {
  color: #0a5f67;
  border-bottom-color: #0a5f67;
}

.cases-grid .case-card p {
  margin: 0 0 6px;
}

@media (max-width: 1399px) {
  .cases-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .cases-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.market-contact-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.market-wechat-qr {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border: 1px solid #9bbfc3;
  background: #fff;
}
.market-contact-line {
  margin: 4px 0;
}
.market-contact-line a {
  color: #0a454c;
  text-decoration: none;
}
.market-contact-line a:hover {
  color: #10797e;
}

/* Feedback page premium */
.feedback-premium__shell {
  position: relative;
  overflow: hidden;
  background:#212a34;
  border: 1px solid #ccdde2;
  border-radius: 24px;
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 20px 46px rgba(6, 57, 70, 0.13);
}

.feedback-premium__shell::before,
.feedback-premium__shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(1px);
}

.feedback-premium__shell::before {
  width: 300px;
  height: 300px;
  right: -130px;
  top: -150px;
  background: radial-gradient(
    circle,
    rgba(16, 121, 126, 0.24) 0%,
    rgba(16, 121, 126, 0.03) 66%,
    rgba(16, 121, 126, 0) 100%
  );
}

.feedback-premium__shell::after {
  width: 240px;
  height: 240px;
  left: -120px;
  bottom: -130px;
  background: radial-gradient(
    circle,
    rgba(11, 95, 115, 0.2) 0%,
    rgba(11, 95, 115, 0.02) 68%,
    rgba(11, 95, 115, 0) 100%
  );
}

.feedback-premium__head {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.feedback-premium__kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #0b6166;
  background: #e6f3f5;
  border: 1px solid #c5dfe3;
  border-radius: 999px;
}

.feedback-premium__title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.04;
  font-weight: 800;
  color: #0b2b34;
}

.feedback-premium__subtitle {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.45;
  color: #35545e;
}

.feedback-premium__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) 1.35fr;
  gap: 20px;
}

.feedback-premium__info,
.feedback-premium__form-wrap {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #cddfe4;
  border-radius: 16px;
  padding: clamp(16px, 2vw, 24px);
  backdrop-filter: blur(2px);
}

.feedback-premium__info-title,
.feedback-premium__form-title {
  margin: 0 0 16px;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  font-weight: 800;
  color: #102f37;
}

.feedback-premium__contact-list {
  display: grid;
  gap: 12px;
}

.feedback-premium__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d4e5e9;
  border-radius: 12px;
  background: #fff;
  color: #173641;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.feedback-premium__contact-item:hover {
  transform: translateY(-2px);
  border-color: #a8ccd3;
  background: #f9fdfe;
}

.feedback-premium__contact-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #edf6f8;
  color: #0f6b75;
}

.feedback-premium__contact-icon svg {
  width: 20px;
  height: 20px;
}

.feedback-premium__contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feedback-premium__contact-text strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f2e38;
}

.feedback-premium__contact-text small {
  font-size: 13px;
  line-height: 1.35;
  color: #3f5d67;
  word-break: break-word;
}

.feedback-premium__contact-text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feedback-premium__contact-text li + li {
  margin-top: 2px;
}

.feedback-premium__contact-text li a {
  font-size: 13px;
  line-height: 1.35;
  color: #3f5d67;
  text-decoration: none;
}

.feedback-premium__contact-text li a:hover {
  color: #0f767b;
}

.feedback-premium__line {
  margin: 0 0 8px;
}

.feedback-premium__line a {
  color: #113943;
  text-decoration: none;
}

.feedback-premium__line a:hover {
  color: #0f767b;
}

.feedback-premium__wechat {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d4e5e9;
}

.feedback-premium__wechat p {
  margin: 0;
  font-size: 13px;
  color: #35545d;
  line-height: 1.45;
}

.feedback-premium__qr {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 1px solid #c5dbe0;
  border-radius: 10px;
  background: #fff;
}

.feedback-premium__form-head {
  margin-bottom: 4px;
}

.feedback-premium__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feedback-premium__field{margin-top: 20px;}
.feedback-premium__field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a656e;
}

.feedback-premium__field input,
.feedback-premium__field textarea {
  width: 100%;
  border: 1px solid #b8d2d8;
  border-radius: 10px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.95);
  color: #142f36;
  font-size: 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.feedback-premium__field textarea {
  min-height: 138px;
  resize: vertical;
}

.feedback-premium__field input:focus,
.feedback-premium__field textarea:focus {
  outline: none;
  border-color: #0f7d82;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 125, 130, 0.13);
}

.feedback-premium__field--full {
  grid-column: 1 / -1;
}

.feedback-premium__submit {
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background-image: var(--leon-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.feedback-premium__submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .feedback-premium__grid {
    grid-template-columns: 1fr;
  }
  .feedback-premium__title {
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .feedback-premium__shell {
    border-radius: 18px;
    padding: 18px;
  }
  .feedback-premium__title {
    font-size: 31px;
  }
  .feedback-premium__form {
    grid-template-columns: 1fr;
  }
  .feedback-premium__wechat {
    align-items: flex-start;
  }
  .feedback-premium__contact-item {
    padding: 10px;
  }
}

.request-modal {
  background: radial-gradient(
    circle at 20% 10%,
    rgba(16, 121, 126, 0.18),
    rgba(8, 22, 33, 0.55) 58%
  );
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  transition:
    opacity 0.28s ease,
    backdrop-filter 0.28s ease,
    -webkit-backdrop-filter 0.28s ease,
    background 0.28s ease;
}
.request-modal__dialog {
  width: min(100%, 860px);
  border-radius: 24px;
  border: 1px solid rgba(144, 187, 194, 0.72);
  background: linear-gradient(165deg, #ffffff 0%, #f2fafb 100%);
  box-shadow: 0 30px 80px rgba(4, 35, 43, 0.45);
  overflow: hidden;
  transform: translateY(10px) scale(0.94);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.85, 0.25, 1),
    opacity 0.32s ease;
  transform-origin: center;
}
.request-modal.is-open {
  opacity: 1;
  background: radial-gradient(
    circle at 20% 10%,
    rgba(16, 121, 126, 0.26),
    rgba(8, 22, 33, 0.72) 58%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.request-modal.is-open .request-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.request-modal.is-closing {
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.request-modal.is-closing .request-modal__dialog {
  transform: translateY(10px) scale(0.94);
  opacity: 0;
}
.request-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 28px 18px;
  border-bottom: 1px solid #d8e8ea;
}
.request-modal__title {
  margin: 0;
  color: #0a2e33;
  font-size: clamp(28px, 2.1vw, 40px);
  line-height: 1.1;
  font-weight: 700;
}
.request-modal__subtitle {
  margin: 8px 0 0;
  color: #3f6670;
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
}
.request-modal__close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #c7dde0;
  background: #fff;
  color: #0a454c;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.request-modal__close:hover {
  background: #f1f9f9;
  border-color: #8cbec4;
}
.request-modal__body {
  padding: 24px 28px;
}
.request-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
}
.request-modal__field {
  min-width: 0;
}
.request-modal__field--full {
  grid-column: 1 / -1;
}
.request-modal__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4f7580;
}
.request-modal__input {
  width: 100%;
  height: 48px;
  border: 1px solid #bdd6da;
  border-radius: 12px;
  background: #fff;
  color: #123740;
  padding: 0 14px;
  font-size: 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.request-modal__textarea {
  height: auto;
  min-height: 116px;
  padding: 12px 14px;
  resize: vertical;
}
.request-modal__contact {
  border: 1px solid #cfe2e5;
  background: linear-gradient(180deg, #f8fcfc 0%, #eef7f8 100%);
  border-radius: 14px;
  padding: 14px;
}
.request-modal__contact-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f7580;
  margin: 0 0 10px;
}
.request-modal__contact-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
}
.request-modal__qr {
  width: 96px;
  height: 96px;
  border: 1px solid #b8d3d6;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}
.request-modal__contact-links {
  min-width: 0;
}
.request-modal__contact-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.request-modal__contact-line + .request-modal__contact-line {
  margin-top: 8px;
}
.request-modal__contact-line a {
  color: #0a454c;
  text-decoration: none;
  word-break: break-word;
}
.request-modal__contact-line a:hover {
  color: #10797e;
}
.request-modal__input:focus {
  outline: none;
  border-color: #0f7a7f;
  box-shadow: 0 0 0 4px rgba(16, 121, 126, 0.14);
  background: #fcffff;
}
.request-modal__actions {
  padding: 18px 28px 26px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #d8e8ea;
  background: linear-gradient(180deg, #f8fcfc 0%, #edf7f8 100%);
}
.request-modal__btn {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.request-modal__btn--ghost {
  border-color: #b9d2d6;
  background: #fff;
  color: #24505a;
}
.request-modal__btn--ghost:hover {
  border-color: #8cbec4;
  background: #f3fafa;
}
.request-modal__btn--primary {
  background-image: var(--leon-gradient);
  color: #fff;
  box-shadow: 0 12px 20px rgba(16, 121, 126, 0.3);
}
.request-modal__btn--primary:hover {
  opacity: 0.95;
}
@media (max-width: 767px) {
  .request-modal {
    padding: 14px;
  }
  .request-modal__head,
  .request-modal__body,
  .request-modal__actions {
    padding-left: 16px;
    padding-right: 16px;
  }
  .request-modal__head {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .request-modal__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .request-modal__field--full {
    grid-column: auto;
  }
  .request-modal__actions {
    padding-top: 14px;
    padding-bottom: 16px;
    flex-direction: column-reverse;
  }
  .request-modal__contact-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .request-modal__btn {
    width: 100%;
  }
}
.proj-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  background: #0a454c;
  background: linear-gradient(
    0deg,
    rgb(10 69 76 / 62%) 45%,
    rgb(16 121 126 / 0%) 100%
  );
  height: 100%;
  width: 100%;
}

.proj-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.proj-hover {
  background: rgb(9 89 112 / 32%);
  transition: background 0.5s;
  cursor: pointer;
  position: absolute;
  /*padding: 30px 26px;*/
  transition: all 0.5s;
  /*top: 0;*/
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  /*opacity: 0;*/
  /*content-visibility: hidden;*/
}

.proj-card:hover .proj-hover {
  /*top: 0;*/
  background: rgb(10 69 76 / 74%);
  height: 100%;
  padding: 30px 26px;
  /*opacity: 1;*/
  /*content-visibility: visible;*/
}

/*.proj-card:hover img {*/
/*    filter: sepia(100%);*/
/*}*/

.proj-card:hover .proj-eye {
  top: 15px;
  bottom: 0;
}

.proj-eye {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIHZlcnNpb249IjEuMSIgd2lkdGg9IjEwMCUiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c2VyaWY9Imh0dHA6Ly93d3cuc2VyaWYuY29tLyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjYgOTc2LjM2MiA0NS4zNzkgMzAuMzA5Ij4KCQkJCQk8cGF0aCBmaWxsPSIjZmZmZmZmIiAgZD0iTSAyOC42ODk0MzQwNTE1MTM2NyA5NzYuMzYyMTgyNjE3MTg3NSBDIDE4LjgxNjIwNDA3MTA0NDkyIDk3Ni4zNjIxODI2MTcxODc1IDEwLjI0ODY4NTgzNjc5MTk5IDk4Mi4yOTE2MjU5NzY1NjI1IDYuMjQwMzU1MDE0ODAxMDI1IDk5MC45NzAzMzY5MTQwNjI1IEwgNi4wMDAwMDA0NzY4MzcxNTggOTkxLjUxNjcyMzYzMjgxMjUgTCA2LjI0MDM1NTAxNDgwMTAyNSA5OTIuMDQ0OTIxODc1IEMgMTAuMjQ2MjMyOTg2NDUwMiAxMDAwLjczMDM0NjY3OTY4OCAxOC44MTIxMTQ3MTU1NzYxNyAxMDA2LjY3MTI2NDY0ODQzOCAyOC42ODk0MzQwNTE1MTM2NyAxMDA2LjY3MTI2NDY0ODQzOCBDIDM4LjU2NjYxMjI0MzY1MjM0IDEwMDYuNjcxMjY0NjQ4NDM4IDQ3LjEzMjc0MDAyMDc1MTk1IDEwMDAuNzMwMzQ2Njc5Njg4IDUxLjEzODUyMzEwMTgwNjY0IDk5Mi4wNDQ5MjE4NzUgTCA1MS4zNzg4NzE5MTc3MjQ2MSA5OTEuNTE2NzIzNjMyODEyNSBMIDUxLjEzODUyMzEwMTgwNjY0IDk5MC45NzAzMzY5MTQwNjI1IEMgNDcuMTMwMjQ1MjA4NzQwMjMgOTgyLjI5MTUwMzkwNjI1IDM4LjU2Mjc3NDY1ODIwMzEyIDk3Ni4zNjIxODI2MTcxODc1IDI4LjY4OTQzNDA1MTUxMzY3IDk3Ni4zNjIxODI2MTcxODc1IFogTSAyOC42ODk0MzQwNTE1MTM2NyA5NzguNjkzNjAzNTE1NjI1IEMgMzcuNjI1NTQxNjg3MDExNzIgOTc4LjY5MzYwMzUxNTYyNSA0NS4yOTAwMDQ3MzAyMjQ2MSA5ODMuOTU1MDc4MTI1IDQ5LjAyMzQwMzE2NzcyNDYxIDk5MS41MTY3MjM2MzI4MTI1IEMgNDUuMjg5ODIxNjI0NzU1ODYgOTk5LjA3NjQxNjAxNTYyNSAzNy42MjUwOTkxODIxMjg5MSAxMDA0LjMzOTg0Mzc1IDI4LjY4OTQzNzg2NjIxMDk0IDEwMDQuMzM5ODQzNzUgQyAxOS43NTM2MjM5NjI0MDIzNCAxMDA0LjMzOTg0Mzc1IDEyLjA4OTE1NzEwNDQ5MjE5IDk5OS4wNzY0MTYwMTU2MjUgOC4zNTU0NzQ0NzIwNDU4OTggOTkxLjUxNjcyMzYzMjgxMjUgQyAxMi4wODg5MjA1OTMyNjE3MiA5ODMuOTU1MDc4MTI1IDE5Ljc1MzQzODk0OTU4NDk2IDk3OC42OTM2MDM1MTU2MjUgMjguNjg5NDM0MDUxNTEzNjcgOTc4LjY5MzYwMzUxNTYyNSBaIE0gMjguNjg5NDM0MDUxNTEzNjcgOTc5LjI1ODQyMjg1MTU2MjUgQyAyMi43NTQ2NTU4MzgwMTI3IDk3OS4yNTg0MjI4NTE1NjI1IDE3LjkyMTU2NzkxNjg3MDEyIDk4NC43NzA1MDc4MTI1IDE3LjkyMTU2NzkxNjg3MDEyIDk5MS41MTY3MjM2MzI4MTI1IEMgMTcuOTIxNTY3OTE2ODcwMTIgOTk4LjI2MzA2MTUyMzQzNzUgMjIuNzU0NjU1ODM4MDEyNyAxMDAzLjc1Njk1ODAwNzgxMiAyOC42ODk0MzQwNTE1MTM2NyAxMDAzLjc1Njk1ODAwNzgxMiBDIDM0LjYyNDIyMTgwMTc1NzgxIDEwMDMuNzU2OTU4MDA3ODEyIDM5LjQ1NzMxMzUzNzU5NzY2IDk5OC4yNjMwNjE1MjM0Mzc1IDM5LjQ1NzMxMzUzNzU5NzY2IDk5MS41MTY3MjM2MzI4MTI1IEMgMzkuNDU3MzEzNTM3NTk3NjYgOTg0Ljc3MDUwNzgxMjUgMzQuNjI0MjIxODAxNzU3ODEgOTc5LjI1ODQyMjg1MTU2MjUgMjguNjg5NDM0MDUxNTEzNjcgOTc5LjI1ODQyMjg1MTU2MjUgWiBNIDI4LjY4OTQzNDA1MTUxMzY3IDk4MS42MDc5MTAxNTYyNSBDIDMzLjUxNTc2NjE0Mzc5ODgzIDk4MS42MDc5MTAxNTYyNSAzNy40MDYyODA1MTc1NzgxMiA5ODYuMDMwNTE3NTc4MTI1IDM3LjQwNjI4MDUxNzU3ODEyIDk5MS41MTY3MjM2MzI4MTI1IEMgMzcuNDA2MjgwNTE3NTc4MTIgOTk3LjAwMjkyOTY4NzUgMzMuNTE1NzYyMzI5MTAxNTYgMTAwMS40MDczNDg2MzI4MTIgMjguNjg5NDM0MDUxNTEzNjcgMTAwMS40MDczNDg2MzI4MTIgQyAyMy44NjMxMDM4NjY1NzcxNSAxMDAxLjQwNzM0ODYzMjgxMiAxOS45NzI1ODc1ODU0NDkyMiA5OTcuMDAyOTI5Njg3NSAxOS45NzI1ODc1ODU0NDkyMiA5OTEuNTE2NzIzNjMyODEyNSBDIDE5Ljk3MjU4NzU4NTQ0OTIyIDk4Ni4wMzA1MTc1NzgxMjUgMjMuODYzMTAxOTU5MjI4NTIgOTgxLjYwNzkxMDE1NjI1IDI4LjY4OTQzMjE0NDE2NTA0IDk4MS42MDc5MTAxNTYyNSBaIj4KCQkJCQk8L3BhdGg+CgkJCQk8L3N2Zz4=);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 22px;
  height: 20px;
  font-weight: 300;
  font-size: 16px;
  padding-left: 30px;
  line-height: 20px;
  text-align: right;
  width: auto;
  position: absolute;
  right: 15px;
  display: inline-block;
  /*top: 15px;*/
  bottom: 35px;
  transition: all 0.5s;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.proj-hover > h2 {
  bottom: 60px;
  position: absolute;
  left: 20px;
  right: 20px;
  transition: color 0.5s;
  margin-bottom: 5px;
  text-align: left;
  font-size: 26px;
  line-height: 32px;
  text-transform: uppercase;
  padding-bottom: 20px;
  letter-spacing: 0.1px;
  transition: color 0.5s;
  color: #fff;
}

.proj-card:hover h2 {
  /*color: #000;*/
}

.proj-hover ul.proj-details {
  padding-left: 0;
  bottom: 33px;
  position: absolute;
  left: 20px;
}

.proj-details b {
  border: 2px solid #fff;
  padding: 8px 10px;
  text-align: center;
  display: inline-block;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  transition:
    color 0.5s,
    border-color 0.5s;
  color: #fff;
}

.proj-card:hover b {
  /*border-color: #000;*/
  /*color: #000;*/
}

.proj-card:hover .proj-details span {
  /*color: #000;*/
}
.proj-card .proj-details span {
  transition: color 0.5s;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  display: inline-block;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  transition: color 0.5s;
}

@media screen and (max-width: 768px) {
  .proj-card {
    height: 476px;
  }

  .proj-hover > h2 {
    font-size: 16px;
    bottom: 100px;
    line-height: 25px;
  }
}

/* ===== moved from main.tpl inline style ===== */
body {
  font-size: 15px;
}
:root {
  --header-topbar-height: 46px;
  --header-nav-height: 140px;
  --hero-zoom-duration: 4200ms;
}
.noise-bg {
  position: relative;
}
.noise-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}
.stitch-line {
  background-image: linear-gradient(to right, #9bbfc3 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  background-position: bottom;
}
.ml-switcher {
  position: relative;
}
.ml-switcher__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #9bbfc3;
  min-width: 110px;
  z-index: 70;
}
.ml-switcher.open .ml-switcher__menu {
  display: block;
}
.ml-switcher__menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ml-switcher__menu a {
  display: block;
  padding: 8px 12px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: #1c1c1a;
  text-decoration: none;
}
.ml-switcher__menu a:hover {
  background: #e6f1f2;
}
.ml-switcher__menu .is-active {
  background: #095970;
  color: #fff;
}
.ml-switcher__menu .active a,
.ml-switcher__menu .current a {
  background: #095970;
  color: #fff;
}
.dle-filters .dle-filter-item,
.dle-filters .dle-filters-item > div,
.dle-filters .dle-filters-item > section {
  background: #fff;
  border: 1px solid #9bbfc3;
  padding: 14px;
}
.dle-filters label {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0a454c;
  margin-bottom: 8px;
}
.dle-filters input,
.dle-filters select,
.dle-filters textarea {
  width: 100%;
  border: 1px solid #9bbfc3;
  background: #fff;
  padding: 8px 10px;
  color: #1c1c1a;
}
.dle-filters input[type="checkbox"],
.dle-filters input[type="radio"] {
  width: auto;
  margin-right: 8px;
}
.auto-content img {
  max-width: 100%;
}
.skin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10, 32, 40, 0.08);
}
.skin-header__top {
  padding-block: 12px;
  background: #10797e;
  color: #fff;
  font-size: 14px;
}
.skin-header__top a {
  color: #fff;
  text-decoration: none;
}
.skin-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.skin-top-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.skin-socials {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.skin-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}
.skin-socials svg {
  width: 22px;
  height: 22px;
  display: block;
}
.skin-socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.skin-header__nav {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  padding-block: 10px;
}
.skin-brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.skin-brand img {
  height: 100px;
  width: auto;
  display: block;
}
.skin-main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: #3c3c3c;
  text-decoration: none;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.skin-main-nav a:hover {
  color: #10797e;
}
.skin-nav-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.skin-nav-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  text-decoration: none;
}
.skin-nav-right img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.skin-nav-right a:hover img {
  opacity: 1;
}
.skin-hero {
  margin-top: 166px;
  position: relative;
}
.skin-hero .swiper {
  height: min(78vh, 820px);
  min-height: 520px;
}
.skin-hero .swiper-slide {
  position: relative;
  overflow: hidden;
}
.skin-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 42, 52, 0.28);
  z-index: 1;
}
.skin-hero__image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.banner-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}
.swiper-slide-active .banner-slide__image {
  animation: heroZoom var(--hero-zoom-duration) linear forwards;
}
.banner-slide__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 20px));
  z-index: 2;
  width: min(92vw, 840px);
  text-align: center;
  color: #fff;
  opacity: 0;
}
.swiper-slide-active .banner-slide__center {
  animation: heroTitleIn 0.75s ease forwards;
}
.banner-slide__top {
  font-size: clamp(24px, 2.8vw, 44px);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 10px;
}
.banner-slide__main {
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.banner-slide__desc {
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 500;
  margin: 0 0 32px;
}
.banner-slide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 62px;
  min-width: 220px;
  padding: 0 34px;
  border-radius: 999px;
  background: #10797e;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.banner-slide__btn:hover {
  background: #0a454c;
}
.skin-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  min-width: 170px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #10797e;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.skin-request-btn:hover {
  background: #0a454c;
}
.skin-hero .swiper-pagination {
  bottom: 24px !important;
}
.skin-hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.5;
}
.skin-hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: #10797e;
}
.hero-toolbar {
  position: fixed;
  left: 0;
  top: calc(var(--header-topbar-height) + var(--header-nav-height) + 18px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.hero-toolbar ul,
.hero-toolbar ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-toolbar li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-toolbar a,
.hero-toolbar__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #10797e;
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.hero-toolbar a:hover,
.hero-toolbar__item:hover {
  background: #0a454c;
}
.hero-toolbar .active a,
.hero-toolbar .current a,
.hero-toolbar a.is-active {
  background: #0a454c;
}
.hero-toolbar__item--label {
  width: auto;
  padding: 0 16px 0 12px;
  gap: 10px;
  font-size: 34px;
  font-weight: 400;
}
.hero-toolbar__item span {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
}
.hero-toolbar__hint {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #2d2d2d;
  color: #fff;
  font-size: 12px;
  padding: 5px 9px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.hero-toolbar__item:hover .hero-toolbar__hint {
  opacity: 1;
  visibility: visible;
}
.about-leon {
  background: #f1f3f3;
  position: relative;
  overflow: visible;
}
.about-leon__inner {
  position: relative;
  z-index: 2;
}
.about-leon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 70px;
  width: 34%;
  height: 70%;
  background-image: radial-gradient(#d6dede 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.65;
  pointer-events: none;
}
.about-leon__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #10797e;
  margin-bottom: 18px;
}
.about-leon__kicker::before {
  content: "";
  width: 68px;
  height: 4px;
  background: #10797e;
}
.about-leon__title {
  font-size: clamp(34px, 2.65vw, 56px);
  line-height: 1.13;
  font-weight: 700;
  color: #0a2e33;
  margin-bottom: 22px;
}
.about-leon__title-accent {
  color: #10797e;
}
.about-leon__lead {
  font-size: clamp(18px, 1.1vw, 28px);
  font-weight: 700;
  color: #2f4f57;
  line-height: 1.4;
  margin-bottom: 22px;
}
.about-leon__text {
  font-size: clamp(16px, 1.02vw, 20px);
  line-height: 1.7;
  color: #4d656e;
  margin-bottom: 18px;
}
.about-leon__visual {
  position: relative;
  min-height: 640px;
}
.about-leon__image-wrap {
  position: relative;
  width: 82%;
  margin-right: auto;
  overflow: hidden;
  z-index: 2;
}
.about-leon__image {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}
.about-leon__play {
  position: absolute;
  top: 12px;
  left: 0%;
  transform: translateX(-50%);
  width: 126px;
  height: 126px;
  border-radius: 999px;
  border: 7px solid #d6dee0;
  background: #fff;
  color: #10797e;
  font-size: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
}
.about-leon__play:hover {
  background: #10797e;
  color: #fff;
}
.about-leon__card {
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: min(100%, 560px);
  background: #10797e;
  color: #fff;
  padding: 32px 34px 30px;
  z-index: 3;
}
.about-leon__card-title {
  font-size: clamp(28px, 1.8vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff !important;
}
.about-leon__card-text {
  font-size: clamp(17px, 1.02vw, 22px);
  line-height: 1.6;
  margin-bottom: 20px;
}
.about-leon__video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  background: #fff;
  color: #10797e;
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.video-modal__video {
  width: min(94vw, 1100px);
  max-height: 82vh;
  background: #000;
  border: 1px solid #9bbfc3;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.service-card {
  background: #f3f5f6;
  border: 1px solid #e1e6e8;
  padding: 34px 34px 28px;
  min-height: 650px;
  display: flex;
  flex-direction: column;
}
.service-card__icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 26px;
  opacity: 1;
}
.service-card__title {
  font-size: clamp(30px, 2vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  color: #3a3f44;
  margin: 0 0 24px;
}
.service-card__title-link {
  color: inherit;
  text-decoration: none;
}
.service-card__title-link:hover {
  color: #10797e;
}
.service-card__lead {
  font-size: clamp(16px, 1vw, 22px);
  line-height: 1.6;
  color: #6b7479;
  margin: 0 0 18px;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  flex: 1 1 auto;
}
.service-card__btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background-image: var(--leon-gradient);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.service-card__btn:hover {
  color: #fff;
  opacity: 0.92;
}
.service-list li {
  position: relative;
  padding-left: 34px;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.45;
  color: #6b7479;
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #5f6ca1;
  font-weight: 700;
}
.certs-section {
  background: #f1f3f3;
}
.certs-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}
.certs-layout > div {
  min-width: 0;
}
.certs-aside h2 {
  font-size: clamp(44px, 2.6vw, 58px);
  line-height: 1.1;
  font-weight: 500;
  color: #1f2b31;
  margin: 0 0 30px;
}
.certs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 30px;
  border-radius: 67px;
  background: #10797e;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}
.auto-cert-swiper {
  width: 100%;
  min-width: 0;
  padding: 6px 6px 52px;
}
.cert-slide {
  background: #f6f7f7;
  border-radius: 18px;
  border: 1px solid #e3e7e8;
  padding: 26px;
  height: auto;
}
.cert-slide__image-wrap {
  display: grid;
  place-items: center;
  height: 300px;
  margin-bottom: 14px;
}
.cert-slide__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cert-slide__title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #252d31;
  margin: 0 0 12px;
}
.cert-slide__title-link {
  color: inherit;
  text-decoration: none;
}
.cert-slide__title-link:hover {
  color: #10797e;
}
.cert-slide__text {
  font-size: 15px;
  line-height: 1.55;
  color: #646f75;
  margin: 0 0 20px;
}
.cert-slide__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1b262b;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.cert-slide__link-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #10797e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.auto-cert-swiper .swiper-pagination-bullet-active {
  background: #10797e;
}
.auto-cert-swiper .swiper-pagination,
.auto-messages-swiper .swiper-pagination,
.auto-gallery-swiper .swiper-pagination {
  position: static;
  margin-top: 16px;
  line-height: 1;
}
.market-section {
  background: linear-gradient(180deg, #eef5f6 0%, #f7f9f9 45%, #eef5f6 100%);
}
.market-wrap {
  display: grid;
  gap: 22px;
}
.market-title {
  font-size: clamp(32px, 2.35vw, 48px);
  line-height: 1.16;
  font-weight: 700;
  color: #0a2e33;
  margin: 0 0 14px;
}
section h3,
.market-panel h3 {
  font-size: clamp(32px, 2.35vw, 48px);
  line-height: 1.16;
  font-weight: 700;
  color: #0a2e33;
  margin: 0 0 14px;
}
.market-subtitle {
  font-size: clamp(22px, 1.5vw, 30px);
  font-weight: 600;
  color: #10797e;
  margin: 0 0 14px;
}
.market-lead {
  font-size: 17px;
  line-height: 1.75;
  color: #3c545c;
  margin: 0;
}
.market-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f3fbfb 100%);
  border: 1px solid #d4e4e7;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(8, 73, 90, 0.08);
  position: relative;
  overflow: hidden;
}

.market-panel h4 {
  font-size: 19px;
  font-weight: 700;
  color: #0a2e33;
  margin: 14px 0 10px;
}
.market-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.market-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b646c;
}
.market-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: #10797e;
  font-weight: 700;
}
.market-compare {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.market-compare-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
  border: 1px solid #d4e4e7;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(9, 82, 98, 0.07);
}
.market-compare-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #0a2e33;
  margin: 0 0 10px;
}
.market-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.market-badge--good {
  background-image: var(--leon-gradient);
  color: #fff;
}
.market-badge--risk {
  background: #e8eef0;
  color: #24505a;
}
.market-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.market-news {
  background: linear-gradient(
    120deg,
    rgba(10, 69, 76, 0.08),
    rgba(16, 121, 126, 0.06)
  );
  border: 1px solid #c9dce0;
  border-radius: 14px;
  padding: 20px;
}
.market-form {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
  border: 1px solid #d2e4e8;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 26px rgba(8, 73, 90, 0.08);
  position: relative;
  overflow: hidden;
}
.market-form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background-image: var(--leon-gradient);
}
.market-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.market-form label {
  display: block;
  font-size: 12px;
  color: #5d7680;
  font-weight: 600;
  margin-bottom: 6px;
}
.market-form input,
.market-form textarea {
  width: 100%;
  border: 1px solid #b7d0d6;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  color: #1c3139;
  background: #fff;
}
.market-form textarea {
  min-height: 110px;
  resize: vertical;
}
.market-form .full {
  grid-column: 1 / -1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.service-consult-cta {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #cfe1e5;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbfc 100%);
}

.service-consult-cta h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 1.7vw, 32px);
  line-height: 1.2;
  font-weight: 800;
  color: #0a2e33;
}

.service-consult-cta > p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: #3f5f67;
}

.service-consult-cta__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-consult-cta__form label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #4d6870;
}

.service-consult-cta__form input,
.service-consult-cta__form textarea {
  width: 100%;
  border: 1px solid #b7d1d6;
  border-radius: 8px;
  background: #fff;
  color: #16343c;
  padding: 11px 12px;
  font-size: 15px;
}

.service-consult-cta__form textarea {
  resize: vertical;
  min-height: 120px;
}

.service-consult-cta__form input:focus,
.service-consult-cta__form textarea:focus {
  outline: none;
  border-color: #0f7b80;
  box-shadow: 0 0 0 3px rgba(15, 123, 128, 0.12);
}

.service-consult-cta__full {
  grid-column: 1 / -1;
}

.service-consult-cta__form button {
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background-image: var(--leon-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.service-consult-cta__form button:hover {
  opacity: .93;
}

@media (max-width: 767px) {
  .service-consult-cta__form {
    grid-template-columns: 1fr;
  }
}

/* Market Strategy v2 */
.marketx {
  display: grid;
  gap: 22px;
}

.marketx-intro,
.marketx-block {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfc 100%);
  border: 1px solid #cfe1e5;
  border-radius: 16px;
  padding: clamp(18px, 2.2vw, 28px);
}

.marketx-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 2.5vw, 44px);
  line-height: 1.15;
  color: #0a2e33;
  font-weight: 800;
}

.marketx-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.28;
  color: #0f7378;
  font-weight: 700;
}

.marketx-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #36525a;
}

.marketx-intro p + p {
  margin-top: 12px;
}

.marketx-block__head h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 1.95vw, 34px);
  line-height: 1.2;
  color: #0a2e33;
  font-weight: 800;
}

.marketx-countries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.marketx-country {
  background: #fff;
  border: 1px solid #d7e7ea;
  border-radius: 12px;
  padding: 16px;
}

.marketx-country--ru {
  grid-column: 1 / -1;
}

.marketx-country h3 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 22px;
  line-height: 1.25;
  color: #0b2f37;
  font-weight: 800;
}

.marketx-country h3 img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

.marketx-country ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.marketx-country li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #47646d;
}

.marketx-country li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #10797e;
  font-weight: 700;
}

.marketx-result {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #c5dce1;
  background: rgba(16, 121, 126, 0.08);
  font-size: 16px;
  line-height: 1.65;
  color: #203f47;
}

.marketx-numbered {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.marketx-numbered article,
.marketx-advantages article {
  background: #fff;
  border: 1px solid #d7e7ea;
  border-radius: 12px;
  padding: 14px 16px;
}

.marketx-numbered h3,
.marketx-advantages h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.28;
  color: #0e3038;
  font-weight: 800;
}

.marketx-numbered p,
.marketx-advantages p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #46636c;
}

.marketx-advantages {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.marketx-advantages ul,
.marketx-final {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.marketx-advantages li,
.marketx-final li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #46636c;
}

.marketx-advantages li::before,
.marketx-final li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #10797e;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .marketx-countries,
  .marketx-numbered,
  .marketx-advantages {
    grid-template-columns: 1fr;
  }
  .marketx-country--ru {
    grid-column: auto;
  }
}
.market-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background-image: var(--leon-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.market-submit:hover {
  opacity: 0.92;
}
.news-cec {
  background: #eef3f4;
}
.news-cec__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.news-cec__title {
  font-size: clamp(30px, 2.2vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  color: #0a2e33;
  margin: 0;
}
.news-cec__title small {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #10797e;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-cec__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #10797e;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.news-cec__all:hover {
  background: #0a454c;
}
.news-cec__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.news-cec-card {
  background: #fff;
  border: 1px solid #d9e4e7;
  border-radius: 12px;
  overflow: hidden;
}
.news-cec-card__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.news-cec-card__body {
  padding: 16px;
}
.news-cec-card__meta {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e6f1f2;
  color: #0a454c;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.news-cec-card__headline {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: #21363d;
  margin: 0 0 12px;
}
.news-cec-card__date {
  font-size: 13px;
  color: #587078;
  margin: 0;
}
@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
@media (max-width: 1023px) {
  .auto-nav {
    display: none;
  }
  .auto-nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 70;
    background: #fff;
    border: 1px solid #9bbfc3;
    border-radius: 10px;
    padding: 14px;
    flex-direction: column;
    gap: 10px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    box-shadow: 0 12px 28px rgba(10, 46, 51, 0.14);
  }
  .skin-main-nav a {
    font-size: 16px;
  }
  .skin-request-btn {
    width: 100%;
    min-width: 0;
  }
  .skin-brand img {
    height: 120px;
  }
  .skin-nav-right {
    gap: 10px;
  }
  .skin-hero .swiper {
    height: 66vh;
    min-height: 460px;
  }
  .banner-slide__btn {
    height: 56px;
    min-width: 190px;
    font-size: 24px;
  }
  .about-leon__visual {
    min-height: 0;
  }
  .about-leon__image-wrap {
    width: 100%;
  }
  .about-leon__image {
    height: 500px;
  }
  .about-leon__play {
    left: 50%;
    top: 20px;
    width: 100px;
    height: 100px;
  }
  .about-leon__card {
    position: static;
    width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-card {
    min-height: 0;
  }
  .certs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .certs-btn {
    height: 60px;
    min-width: 210px;
    font-size: 28px;
  }
  .market-compare {
    grid-template-columns: 1fr;
  }
  .market-grid-2 {
    grid-template-columns: 1fr;
  }
  .market-form-grid {
    grid-template-columns: 1fr;
  }
  .news-cec__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
  :root {
    --header-topbar-height: 40px;
    --header-nav-height: 120px;
  }
  .skin-header__top .container {
    font-size: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .skin-header__nav {
    padding-block: 8px;
  }
  #menuToggle {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }
  .skin-main-nav a {
    font-size: 14px;
    padding: 6px 0;
  }
  .skin-brand img {
    height: 88px;
  }
  .skin-nav-right {
    display: none;
  }
  .auto-nav.open {
    top: calc(100% + 8px);
    max-height: calc(100vh - 160px);
  }
  .banner-slide__desc {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .banner-slide__btn {
    height: 48px;
    min-width: 160px;
    font-size: 20px;
  }
  .hero-toolbar {
    display: flex;
    position: fixed;
    left: 10px;
    top: auto;
    bottom: 12px;
    z-index: 95;
    flex-direction: row;
    gap: 6px;
    align-items: center;
  }
  .hero-toolbar ul,
  .hero-toolbar ol {
    flex-direction: row;
    gap: 6px;
  }
  .hero-toolbar a,
  .hero-toolbar__item {
    width: 44px;
    height: 44px;
    font-size: 14px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(10, 46, 51, 0.22);
  }
  .hero-toolbar__hint {
    display: none;
  }
  .about-leon__kicker {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .about-leon__kicker::before {
    width: 46px;
    height: 3px;
  }
  .about-leon__play {
    width: 82px;
    height: 82px;
    font-size: 28px;
    border-width: 5px;
  }
  .about-leon__card {
    padding: 22px 18px;
  }
  .about-leon__video-btn {
    height: 46px;
    font-size: 16px;
    padding: 0 18px;
  }
  .about-leon::after {
    display: none;
  }
  .service-card {
    padding: 22px 18px;
  }
  .service-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }
  .service-card__title {
    font-size: 28px;
    margin-bottom: 14px;
  }
  .certs-aside h2 {
    font-size: 34px;
    margin-bottom: 16px;
  }
  .certs-btn {
    height: 50px;
    min-width: 180px;
    font-size: 20px;
  }
  .cert-slide {
    padding: 18px;
    border-radius: 14px;
  }
  .cert-slide__image-wrap {
    height: 190px;
  }
  .cert-slide__title {
    font-size: 20px;
  }
  .news-cec__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-cec__grid {
    grid-template-columns: 1fr;
  }
  .news-cec-card__image {
    height: 170px;
  }
}

/* ===== end moved from main.tpl ===== */

.skin-header__top {
  background: var(--leon-gradient);
}

.banner-slide__btn,
.skin-request-btn,
.market-submit,
.certs-btn {
  background-image: var(--leon-gradient);
}

.hero-toolbar a,
.hero-toolbar__item,
.about-leon__card,
.section-head__link,
.certs-btn,
.cert-slide__link-icon {
  background-image: var(--leon-gradient);
}

.section-head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 50px;
}

.section-head__main {
  min-width: 0;
}

.section-head h3 {
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  color: #0a2e33;
}

.pdf-section__head p {
  margin: 10px 0 0;
  font-size: 17px;
  color: #366067;
}

.section-head__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 42px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.section-head__link:hover {
  opacity: 0.92;
  color: #fff;
}

.certs-btn {
  padding: 10px 30px;
}

.pdf-section__panel {
  border: 1px solid #c9dee0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 46, 51, 0.1);
}

.pdf-section__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(90deg, #e7f3f4 0%, #f4fbfb 100%);
  border-bottom: 1px solid #c9dee0;
}

.pdf-tab {
  height: 40px;
  padding: 0 16px;
  border: 1px solid #b8d3d6;
  border-radius: 999px;
  background: #fff;
  color: #0a2e33;
  font-size: 14px;
  font-weight: 700;
}

.pdf-tab.is-active {
  border-color: transparent;
  background-image: var(--leon-gradient);
  color: #fff;
}

.pdf-open-link {
  margin-left: auto;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #b8d3d6;
  color: #0a2e33;
  font-weight: 700;
  font-size: 13px;
}

.pdf-open-link:hover {
  border-color: #0f7a7f;
  color: #0f7a7f;
}

.pdf-frame {
  width: 100%;
  height: min(75vh, 820px);
  border: 0;
  display: block;
  background: #f5fbfb;
}

.auto-messages-swiper {
  overflow: hidden;
}

.auto-gallery-swiper {
  overflow: hidden;
}

.auto-messages-swiper .swiper-wrapper,
.auto-gallery-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.message-slide > a[data-fancybox="messages"] {
  display: block;
  border: 1px solid #d7e6e8;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 46, 51, 0.08);
}
.message-card__link {
  display: block;
  margin-top: 10px;
  color: #0a2e33;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.message-card__link:hover {
  color: #10797e;
}

.message-slide img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  display: block;
}

.gallery-slide > a[data-fancybox="gallery"] {
  display: block;
  border: 1px solid #d7e6e8;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 46, 51, 0.08);
}
.gallery-card__link {
  display: block;
  margin-top: 10px;
  color: #0a2e33;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.gallery-card__link:hover {
  color: #10797e;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-category-card a {
  display: block;
  border: 1px solid #d7e6e8;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 46, 51, 0.08);
}

.gallery-category-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.process-lab-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 38px;
  align-items: center;
}

.process-lab-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  overflow: visible;
  background-color: #f0f8f9;
}

.process-lab-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.process-lab-badge {
  position: absolute;
  left: -8px;
  bottom: -8px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #0c5f66;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  line-height: 1.1;
  z-index: 2;
}

.process-lab-badge strong {
  font-size: 11px;
  letter-spacing: 0.04em;
}

.process-lab-badge span {
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.92;
}

.process-lab-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 24px;
  align-items: center;
}

.process-step {
  text-align: center;
  grid-column: span 2;
  padding: 6px 2px;
  align-items: center;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  border: 0;
  border-radius: 0;
  background: transparent;
}

.process-step__icon {
  width: 58px;
  height: 58px;
  line-height: 1;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.process-step__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.process-step__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.process-step h4 {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.18;
  color: #111;
  font-weight: 700;
  max-width: 270px;
}

.process-step:nth-child(4) {
  grid-column: 2 / span 2;
}

.process-step:nth-child(5) {
  grid-column: 4 / span 2;
}

.partners-section {
  background: transparent;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.partners-card {
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 0;
  border-radius: 4px;
  background: #fafbfd;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  overflow: hidden;
  isolation: isolate;
}

.partners-card__logo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  object-fit: contain;
  transform: scale(1) translateZ(0);
  transition: transform 0.4s ease;
}

.partners-card:hover .partners-card__logo-img {
  transform: scale(0.9) translateZ(0);
}

.partners-card::before {
  content: "";
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e0e0e6;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition:
    transform 0.38s ease,
    opacity 0.24s linear;
  z-index: 0;
  pointer-events: none;
}

.partners-card.is-hovered::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(24);
}

.partners-card.is-leaving::before {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

@media (max-width: 1199px) {
  .process-lab-wrap {
    grid-template-columns: 320px 1fr;
    gap: 26px;
  }
  .process-lab-visual {
    max-width: 320px;
  }
  .process-step h4 {
    font-size: 16px;
  }
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .process-lab-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process-lab-visual {
    margin: 0 auto;
    max-width: 280px;
  }
  .process-lab-badge {
    width: 108px;
    height: 108px;
    padding: 12px;
  }
  .process-lab-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-step {
    grid-column: auto;
    min-height: 84px;
    padding: 16px 14px;
  }
  .process-step__icon {
    width: 46px;
    height: 46px;
  }
  .process-step h4 {
    font-size: 16px;
  }
  .section-head {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }
  .section-head h3 {
    font-size: clamp(30px, 7.2vw, 38px);
  }
  .section-head__link {
    height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }
  .pdf-section__head p {
    font-size: 15px;
    margin-top: 8px;
  }
  .pdf-open-link {
    margin-left: 0;
  }
  .pdf-frame {
    height: 62vh;
  }
  .gallery-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .partners-card {
    height: 120px;
    padding: 16px;
  }
}

@media (max-width: 575px) {
  .gallery-category-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partners-card__logo-img {
    width: 88%;
    height: 52px;
  }
}
/* sticky */
.sticky_icon_wrapper {
  display: block;
  position: absolute;
  z-index: 200;
}
#main-div {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 0;
}

#main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  bottom: 10px;
  height: 60px;
  width: 60px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(5, 27, 52, 0.2);
  border: 1px solid #ddd;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.wave {
  animation-name: wave;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes wave {
  0% {
    box-shadow: 0 0 0 0 #1a4d7e5a;
  }

  100% {
    box-shadow: 0 0 0 15px #1a4d7e1b;
  }
}
#main-button ~ .onlineregistration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  visibility: hidden;
  font-weight: 600;
  text-decoration: none;
  height: 52px;
  min-width: 170px;
  padding: 0 26px;
  color: #fff;
  border: 0;
  background-image: var(--leon-gradient);
  background-color: #10797e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: -1;
  right: 10px !important;
  bottom: 10px !important;
  opacity: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 999px;
  font-size: 16px;
}

#main-button ~ .wrappericon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 10px;
  bottom: 0;
  z-index: -1;
  height: 55px;
  width: 55px;
  opacity: 0;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}
#main-button ~ .wrappericon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 10px;
  bottom: 0;
  z-index: -1;
  height: 55px;
  width: 55px;
  opacity: 0;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

#main-button ~ .wrappericon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 10px;
  bottom: 0;
  z-index: -1;
  height: 55px;
  width: 55px;
  opacity: 0;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

#main-button ~ .wrapper_icon_messenger {
  width: fit-content;
  height: fit-content;
  box-shadow: unset;
  border-radius: unset;
}
#main-button.open .icon-mail {
  display: none;
}
.open {
  animation-iteration-count: 1;
}
#main-button.open .icon-close {
  display: block;
}
#main-button .icon-close {
  display: none;
}
#main-button.open ~ .onlineregistration {
  visibility: visible;
  right: 80px !important;
  opacity: 1;
  transition: 0.4s all cubic-bezier(0, 0.01, 0, 1.27);
}
#main-button.open ~ #wrapper_messenger {
  bottom: 82px;
  right: 10px;
  border-radius: 50%;
  overflow: hidden;
}

#main-button.open ~ .wrappericon {
  opacity: 1;
  transition: 0.4s all cubic-bezier(0, 0.01, 0, 1.27);
}
#main-button.open ~ #wrappertg {
  bottom: 150px;
  background: linear-gradient(0deg, #017ab1, #01abe6) !important;
}

#main-button.open ~ .wrappericon {
  opacity: 1;
  transition: 0.4s all cubic-bezier(0, 0.01, 0, 1.27);
}
#main-button.open ~ #wrapper_whatsapp {
  bottom: 220px;
  background: lab(70.5521% -66.5147 45.8073);
}
#main-button.open ~ #wrapper_imo {
  bottom: 350px;
  border-radius: 50%;
  overflow: hidden;
}
#main-button.open ~ .wrappericon {
  opacity: 1;
  transition: 0.4s all cubic-bezier(0, 0.01, 0, 1.27);
}
/* BACKDROP */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.55);
  backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  z-index: 100;
}
