/*! ------------------------------------------------
/*! File name: main.css
 * ------------------------------------------------
 * ------------------------------------------------
 * Table of Contents
 * ------------------------------------------------
 *  01. Fonts
 *  02. Variables
 *  03. Template Backgrounds
 *  04. Basic Styles
 *  05. Animations - Transitions
 *  06. Animations - Backgrounds
 *  07. Elements - Typography
 *  08. Elements - Controls
 *  09. Elements - Forms
 *  11. Sections Main
 *  12. Sections Inner
 *  13. Blocks Common
 *  14. Blocks Header
 *  15. Blocks Menu
 *  16. Blocks Footer
 *  17. Blocks Popup Dialogs
 *  18. Features Marquee
 *  19. Features About
 *  20. Features Gallery
 *  21. Features Achievements
 *  22. Features Stacking Cards
 *  23. Features Services
 *  24. Features Resume
 *  25. Features Tools
 *  26. Features Testimonials
 *  27. Features Slider
 *  28. Features Accordion
 *  29. Features Socials
 *  30. Features Contact Data
 * ------------------------------------------------
 * Table of Contents End
 * ------------------------------------------------ */
/* ------------------------------------------------*/
/* Fonts Start */
/* ------------------------------------------------*/
/* Urbanist font */
@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: 'Felidae';
  src: url('../fonts/Felidae.ttf');
  src: local('Felidae'), url('../fonts/Felidae.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ------------------------------------------------*/
/* Fonts End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Variables Start */
/* ------------------------------------------------*/
:root {
  --_size: 1.6rem;
  --_font-default: "Urbanist", sans-serif;
  --_font-accent: "Urbanist", sans-serif;
  --_font-accent2: "Felidae", sans-serif;
  --_radius: 2rem;
  --_radius-s: 1rem;
  --_animspeed-fast: 0.1s;
  --_animspeed-medium: 0.3s;
  --_animspeed-slow: 0.6s;
  --_animbezier: cubic-bezier(0.23, 0.65, 0.74, 1.09);
  /* light color scheme */
  --base--light: #BABEC8;
  --base-rgb--light: 186, 190, 200;
  --base-shade--light: #989ba3;
  --base-tint--light: #d8dde7;
  --stroke-controls--light: #2C2E34;
  --stroke-elements--light: #8F93A1;
  --font-weight-base--light: 400;
  --font-weight-medium--light: 600;
  --t-bright--light: #151617;
  --t-medium--light: #44474a;
  --t-muted--light: #797D83;
  --t-opp-bright--light: #E8E4DE;
  --t-opp-medium--light: #AEB5C5;
  --t-opp-muted--light: #3E4045;
  --neutral-bright--light: #070019;
  /* dark color scheme */
  --base--dark: #070019;
  --base-rgb--dark: 7, 0, 25;
  --base-shade--dark: #070019;
  --base-tint--dark: #242424;
  --stroke-controls--dark: #E8E4DE;
  --stroke-elements--dark: #535762;
  --font-weight-base--dark: 300;
  --font-weight-medium--dark: 500;
  --t-bright--dark: #E8E4DE;
  --t-medium--dark: #AEB5C5;
  --t-muted--dark: #505258;
  --t-opp-bright--dark: #151617;
  --t-opp-medium--dark: #313437;
  --t-opp-muted--dark: #797D83;
  --neutral-bright--dark: #ffffff;
  /* permanent colors */
  --per-base: #070019;
  --t-per-bright-light: #E8E4DE;
  --t-per-medium-light: #AEB5C5;
  --t-per-muted-light: #3E4045;
  --t-per-bright-dark: #151617;
  --t-per-medium-dark: #313437;
  --t-per-muted-dark: #797D83;
  --per-stroke-controls: #E8E4DE;
  --per-stroke-elements: #8F93A1;
  /* neutral colors */
  --neutral-white: #ffffff;
  --neutral-black: #000000;
  --neutral-gray: #878787;
  --neutral-gray-dark: #404040;
}

/* defaults — always dark */
:root {
  --base: var(--base--dark);
  --base-rgb: var(--base-rgb--dark);
  --base-shade: var(--base-shade--dark);
  --base-tint: var(--base-tint--dark);
  --stroke-controls: var(--stroke-controls--dark);
  --stroke-elements: var(--stroke-elements--dark);
  --font-weight-base: var(--font-weight-base--dark);
  --font-weight-medium: var(--font-weight-medium--dark);
  --t-bright: var(--t-bright--dark);
  --t-medium: var(--t-medium--dark);
  --t-muted: var(--t-muted--dark);
  --t-opp-bright: var(--t-opp-bright--dark);
  --t-opp-medium: var(--t-opp-medium--dark);
  --t-opp-muted: var(--t-opp-muted--dark);
  --neutral-bright: var(--neutral-bright--dark);
}

[color-scheme=dark],
[color-scheme=light] {
  --base: var(--base--dark);
  --base-rgb: var(--base-rgb--dark);
  --base-shade: var(--base-shade--dark);
  --base-tint: var(--base-tint--dark);
  --stroke-controls: var(--stroke-controls--dark);
  --stroke-elements: var(--stroke-elements--dark);
  --font-weight-base: var(--font-weight-base--dark);
  --font-weight-medium: var(--font-weight-medium--dark);
  --t-bright: var(--t-bright--dark);
  --t-medium: var(--t-medium--dark);
  --t-muted: var(--t-muted--dark);
  --t-opp-bright: var(--t-opp-bright--dark);
  --t-opp-medium: var(--t-opp-medium--dark);
  --t-opp-muted: var(--t-opp-muted--dark);
  --neutral-bright: var(--neutral-bright--dark);
}

/* ------------------------------------------------*/
/* Variables End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Template Backgrounds Start */
/* ------------------------------------------------*/
.main-image-1 {
  background-image: url("../img/backgrounds/1400x1000_d02.webp");
}

.main-image-2 {
  background-image: url("../img/backgrounds/1920x1080_d01.webp");
}

.about-image-1 {
  background-image: url("../img/backgrounds/1400x1000_d01.webp");
}

.marquee-image-single-1 {
  background-image: url("../img/marquee/01.webp");
}

.marquee-image-single-2 {
  background-image: url("../img/marquee/02.webp");
}

.marquee-image-single-3 {
  background-image: url("../img/marquee/03.webp");
}

.marquee-image-single-4 {
  background-image: url("../img/marquee/04.webp");
}

.marquee-image-single-5 {
  background-image: url("../img/marquee/05.webp");
}

.marquee-image-single-6 {
  background-image: url("../img/marquee/06.webp");
}

.portfolio-item-1 {
  background-image: url("../img/works/1920x1080_w01.webp");
}

.portfolio-item-2 {
  background-image: url("../img/works/1920x1080_w02.webp");
}

.portfolio-item-3 {
  background-image: url("../img/works/1920x1080_w03.webp");
}

.portfolio-item-4 {
  background-image: url("../img/works/1920x1080_w04.webp");
}

.portfolio-item-5 {
  background-image: url("../img/works/1600x1200_w01.webp");
}

.portfolio-item-6 {
  background-image: url("../img/works/1600x1200_w02.webp");
}

.portfolio-item-7 {
  background-image: url("../img/works/1600x1200_w03.webp");
}

.portfolio-item-8 {
  background-image: url("../img/works/1600x1200_w04.webp");
}

.project-image-bg-1 {
  background-image: url("../img/works/work-single-1/1920x1280_w01.webp.html");
}

.project-image-bg-2 {
  background-image: url("../img/works/work-single-1/1920x1080_w01-01.webp.html");
}

.project-image-bg-3 {
  background-image: url("../img/works/work-single-1/1920x1080_w01-02.webp.html");
}

/* ------------------------------------------------*/
/* Template Backgrounds End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Basic Styles Start */
/* ------------------------------------------------*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

button:active,
button:focus {
  outline: none !important;
}

button::-moz-focus-inner {
  border: 0 !important;
}

input::-moz-focus-inner {
  border: 0 !important;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

::-moz-selection {
  background-color: var(--base-tint);
  color: var(--t-medium);
  text-shadow: none;
}

::selection {
  background-color: var(--base-tint);
  color: var(--t-medium);
  text-shadow: none;
}

::-webkit-scrollbar {
  display: none;
  width: 6px;
  background: var(--base-shade);
}

@media only screen and (min-width: 768px) {
  ::-webkit-scrollbar {
    display: block;
  }
}

::-webkit-scrollbar-track {
  background-color: var(--base-shade);
}

::-webkit-scrollbar-thumb {
  background-color: var(--base-tint);
  border-radius: var(--_radius-s);
}

html {
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  width: 100%;
  min-width: 360px;
  overflow-x: unset !important;
  font: normal 400 var(--_size)/1.4 var(--_font-default);
  text-rendering: optimizeLegibility;
  background-color: var(--base);
  color: var(--t-bright);
}

/* AMIRI LK – базовый каркас и лоадер */
.amiri-lk-app {
  display: flex;
  gap: 32px;
}

.amiri-sidebar {
  min-width: 260px;
}

.amiri-sidebar__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.amiri-sidebar__nav li+li {
  margin-top: 12px;
}

.amiri-sidebar__nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
}

.amiri-main {
  flex: 1;
}

.amiri-screen-inner {
  padding: 2.4rem;
}

body.amiri-loading::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5) url('/wp-content/themes/amiri/img/preloader.gif') center/120px no-repeat;
  z-index: 99999;
}

section {
  position: relative;
  min-width: 360px;
}

a {
  text-decoration: none;
  outline: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-transition: all var(--_animspeed-medium) var(--_animbezier);
  -moz-transition: all var(--_animspeed-medium) var(--_animbezier);
  transition: all var(--_animspeed-medium) var(--_animbezier);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.overflow-hidden {
  overflow: hidden !important;
}

.components {
  position: relative;
}

.components__item {
  position: relative;
  padding: 8rem 10%;
  border-bottom: 1px solid var(--stroke-elements);
}

.components__caption {
  display: block;
  font: normal 400 1.3rem/1 var(--_font-default);
  color: var(--t-medium);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
}

.spacer {
  height: 300px;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ------------------------------------------------*/
/* Basic Styles End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Animations - Transitions Start */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Animations - Transitions End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Animations - Backgrounds Start */
/* ------------------------------------------------*/
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-position: center center;
  -moz-background-size: contain;
  background-size: contain;
  -o-object-fit: cover;
  object-fit: cover;
}

/* ------------------------------------------------*/
/* Animations - Backgrounds End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Elements - Typography Start */
/* ------------------------------------------------*/
h1 {
  font: normal 300 5.6rem var(--_font-accent2);
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {
  h1 {
    font-size: 9rem;
  }
}

@media only screen and (min-width: 1200px) {
  h1 {
    font-size: 11rem;
  }
}

@media only screen and (min-width: 1400px) {
  h1 {
    font-size: 12.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  h1 {
    font-size: 14rem;
  }
}

@media only screen and (min-width: 992px) {
  .headline-80-desktop .headline__title {
    max-width: 67rem;
  }
}

@media only screen and (min-width: 1200px) {
  .headline-80-desktop .headline__title {
    max-width: none;
  }
}

.headline__subtitle.space-top {
  margin-top: 4.6rem;
}

.headline__subtitle.space-small-top {
  margin-top: 2.3rem;
}

.headline__subtitle.space-bottom {
  margin-bottom: 3.8rem;
}

@media only screen and (min-width: 768px) {
  .headline__subtitle.space-top {
    margin-top: 5.7rem;
  }

  .headline__subtitle.space-small-top {
    margin-top: 3rem;
  }

  .headline__subtitle.space-bottom {
    margin-bottom: 4.2rem;
  }
}

@media only screen and (min-width: 992px) {
  .headline__subtitle.space-top {
    margin-top: 6.4rem;
  }

  .headline__subtitle.space-small-top {
    margin-top: 3.2rem;
  }

  .headline__subtitle.space-bottom {
    margin-bottom: 4.9rem;
  }
}

@media only screen and (min-width: 1200px) {
  .headline__subtitle.space-top {
    margin-top: 5.8rem;
  }

  .headline__subtitle.space-small-top {
    margin-top: 2.8rem;
  }

  .headline__subtitle.space-bottom {
    margin-bottom: 4rem;
  }
}

@media only screen and (min-width: 1400px) {
  .headline__subtitle.space-top {
    margin-top: 6.3rem;
  }

  .headline__subtitle.space-small-top {
    margin-top: 3.2rem;
  }

  .headline__subtitle.space-bottom {
    margin-bottom: 5.7rem;
  }
}

@media only screen and (min-width: 1600px) {
  .headline__subtitle.space-top {
    margin-top: 6.8rem;
  }

  .headline__subtitle.space-small-top {
    margin-top: 3.4rem;
  }

  .headline__subtitle.space-bottom {
    margin-bottom: 4.1rem;
  }
}

.headline .headline__subtitle {
  padding-left: 5rem;
}

.headline .headline__subtitle.space-small-top {
  padding-left: 0rem;
}

h2 {
  font: normal 300 4.6rem var(--_font-accent);
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {
  h2 {
    font-size: 8rem;
  }
}

@media only screen and (min-width: 1200px) {
  h2 {
    font-size: 9rem;
  }
}

@media only screen and (min-width: 1400px) {
  h2 {
    font-size: 10rem;
  }
}

@media only screen and (min-width: 1600px) {
  h2 {
    font-size: 14rem;
  }
}

.h2__text {
  margin-top: 4.5rem;
}

@media only screen and (min-width: 768px) {
  .h2__text {
    margin-top: 5.7rem;

  }
}

@media only screen and (min-width: 992px) {
  .h2__text {
    margin-top: 6.4rem;
  }
}

@media only screen and (min-width: 1200px) {
  .h2__text {
    margin-top: 5.9rem;

  }

  .h2__text.text-half {
    max-width: 54%;
  }

  .h2__text.text-twothirds {
    max-width: 67%;
  }
}

@media only screen and (min-width: 1400px) {
  .h2__text {
    margin-top: 6.6rem;
  }

  .h2__text.text-half {
    max-width: 50%;
  }
}

@media only screen and (min-width: 1600px) {
  .h2__text {
    margin-top: 6.9rem;
  }

  .h2__text.text-half {
    max-width: 45%;
  }
}

h3,
h1.cs-h3 {
  font: normal 400 3.4rem var(--_font-accent);
  color: var(--t-bright);
}

h2.cs-h3,
a.cs-h3 {
  font: normal 400 2rem var(--_font-accent);
  color: var(--t-bright);
  margin-bottom: 10px;
}

h3.dark {
  color: var(--t-per-bright-dark);
  font-weight: 400;
}

h3.light {
  color: var(--t-per-bright-light);
  font-weight: 300;
}

@media only screen and (min-width: 768px) {

  h3,
  h1.cs-h3 {
    font-size: 4.4rem;
  }

  h2.cs-h3,
  a.cs-h3 {
    font-size: 1.4rem;
  }
}

@media only screen and (min-width: 1200px) {

  h3,
  h1.cs-h3 {
    font-size: 5rem;
  }

  h2.cs-h3,
  a.cs-h3 {
    font-size: 3rem;
  }
}

@media only screen and (min-width: 1400px) {

  h3,
  h1.cs-h3 {
    font-size: 5.6rem;
  }

  h2.cs-h3,
  a.cs-h3 {
    font-size: 4rem;
  }
}

@media only screen and (min-width: 1600px) {

  h3,
  h1.cs-h3 {
    font-size: 6.4rem;
  }

  h2.cs-h3,
  a.cs-h3 {
    font-size: 5.4rem;
  }
}

h4 {
  font: normal 400 2.6rem var(--_font-accent);
  color: var(--t-bright);
}

@media only screen and (min-width: 1400px) {
  h4 {
    font-size: 3rem;
  }
}

@media only screen and (min-width: 1600px) {
  h4 {
    font-size: 3.6rem;
  }
}

h5 {
  font: normal 500 2.2rem var(--_font-accent);
  color: var(--t-bright);
}

h6 {
  font: normal var(--font-weight-base) 1.8rem/1.6 var(--_font-default);
  color: var(--t-bright);
}

@media only screen and (min-width: 1200px) {
  h6 {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1400px) {
  h6 {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  h6 {
    font-size: 2.6rem;
  }
}

.section-name {
  position: relative;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: start;
  -moz-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: flex-start;
  font: normal var(--font-weight-base) 1.8rem/1.4 var(--_font-default);
  color: var(--t-bright);
}

.section-name .section-name-caption,
.section-name i {
  position: relative;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.section-name i {
  font-size: 2.3rem;
  overflow: hidden;
}

.section-name.icon-left .section-name-caption {
  margin-left: 1rem;
}

.section-name.icon-right .section-name-caption {
  margin-right: 1rem;
}

@media only screen and (min-width: 1200px) {
  .section-name {
    font-size: 2rem;
  }

  .section-name i {
    font-size: 2.5rem;
  }
}

@media only screen and (min-width: 1400px) {
  .section-name {
    font-size: 2.2rem;
  }

  .section-name i {
    font-size: 2.7rem;
  }
}

@media only screen and (min-width: 1600px) {
  .section-name {
    font-size: 2.6rem;
  }

  .section-name i {
    font-size: 3.2rem;
  }
}

.tagline-chapter {
  font: normal var(--font-weight-medium) 1.8rem var(--_font-default);
  color: var(--t-bright);
}

.tagline-chapter.small {
  font-size: 1.6rem;
}

.tagline-chapter::before {
  content: "[";
  display: inline;
  padding-right: 0.24em;
}

.tagline-chapter::after {
  content: "]";
  display: inline;
  padding-left: 0.24em;
}

@media only screen and (min-width: 1200px) {
  .tagline-chapter {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1400px) {
  .tagline-chapter {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .tagline-chapter {
    font-size: 2.6rem;
  }

  .tagline-chapter.small {
    font-size: 1.8rem;
  }
}

.tagline-tool {
  font: normal 500 1.7rem var(--_font-default);
  color: var(--t-bright);
}

@media only screen and (min-width: 1200px) {
  .tagline-tool {
    font-size: 1.7rem;
  }
}

@media only screen and (min-width: 1400px) {
  .tagline-tool {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .tagline-tool {
    font-size: 2.6rem;
  }
}

p {
  font: normal var(--font-weight-base) 1.8rem var(--_font-default);
  color: var(--t-bright);
}

p.type-basic-160lh {
  line-height: 1.6;
}

p.type-basic-140lh {
  line-height: 1.4;
}

p.small {
  font-size: 1.6rem;
}

p.dark {
  color: var(--t-per-bright-dark);
  font-weight: 400;
}

p.light {
  color: var(--t-per-bright-light);
  font-weight: 300;
}

@media only screen and (min-width: 1200px) {
  p {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1400px) {
  p {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  p {
    font-size: 2.6rem;
  }

  p.small {
    font-size: 1.8rem;
  }
}

a {
  font: normal var(--font-weight-base) 1.8rem var(--_font-default);
  color: var(--t-bright);
  text-decoration: none;
}

a.link-small {
  font-size: 1.6rem;
}

a.link-small-underline {
  font-size: 1.6rem;
  text-decoration: underline;
}

a.link-small-160lh {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 1.6rem;
  line-height: 1.6;
}

.no-touch a:hover.link-small {
  color: var(--t-medium);
}

.no-touch a:hover.link-small-underline {
  color: var(--t-medium);
}

.no-touch a:hover.link-small-160lh {
  color: var(--t-medium);
}

@media only screen and (min-width: 1200px) {
  a {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1400px) {
  a {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  a {
    font-size: 2.6rem;
  }

  a.link-small {
    font-size: 1.8rem;
  }

  a.link-small-underline {
    font-size: 1.8rem;
    text-decoration: underline;
  }

  a.link-small-160lh {
    font-size: 1.8rem;
    line-height: 1.6;
  }
}

blockquote {
  font: normal 300 3.2rem/1.4 var(--_font-default);
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {
  blockquote {
    font-size: 4.4rem;
    max-width: 76rem;
  }
}

@media only screen and (min-width: 1200px) {
  blockquote {
    font-size: 5rem;
    max-width: none;
  }
}

@media only screen and (min-width: 1400px) {
  blockquote {
    font-size: 5.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  blockquote {
    font-size: 6.8rem;
  }
}

.logo-text {
  font: normal 600 1.8rem var(--_font-default);
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {
  .logo-text {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1400px) {
  .logo-text {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .logo-text {
    font-size: 2.6rem;
  }
}

.menu-link {
  font: normal 500 1.6rem var(--_font-default);
}

@media only screen and (min-width: 1600px) {
  .menu-link {
    font-size: 1.8rem;
  }
}

.text-link {
  color: inherit;
  text-decoration: none;
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0))), -webkit-gradient(linear, left top, right top, from(var(--t-bright)), to(var(--t-bright)));
  background: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), -moz-linear-gradient(left, var(--t-bright), var(--t-bright));
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), linear-gradient(to right, var(--t-bright), var(--t-bright));
  -moz-background-size: 100% 1px, 0 1px;
  background-size: 100% 1px, 0 1px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  -webkit-transition: background-size 400ms, color 300ms;
  -moz-transition: background-size 400ms, color 300ms, -moz-background-size 400ms;
  transition: background-size 400ms, color 300ms;
  transition: background-size 400ms, color 300ms, -moz-background-size 400ms;
}

.text-link.text-link-medium {
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0))), -webkit-gradient(linear, left top, right top, from(var(--t-muted)), to(var(--t-muted)));
  background: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), -moz-linear-gradient(left, var(--t-muted), var(--t-muted));
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), linear-gradient(to right, var(--t-muted), var(--t-muted));
  -moz-background-size: 100% 1px, 0 1px;
  background-size: 100% 1px, 0 1px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  -webkit-transition: background-size 400ms, color 300ms;
  -moz-transition: background-size 400ms, color 300ms, -moz-background-size 400ms;
  transition: background-size 400ms, color 300ms;
  transition: background-size 400ms, color 300ms, -moz-background-size 400ms;
}

.no-touch .text-link:hover {
  -moz-background-size: 0 1px, 100% 1px;
  background-size: 0 1px, 100% 1px;
}

/* ------------------------------------------------*/
/* Elements - Typography End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Elements - Controls Start */
/* ------------------------------------------------*/
.btn {
  position: relative;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: none;
  outline: 0;
  padding: 0;
  font: inherit;
  background-color: transparent;
  cursor: pointer;
  text-decoration: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn-line {
  -webkit-box-pack: start;
  -moz-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  font: normal var(--font-weight-medium) 1.8rem/1.4 var(--_font-default);
  color: var(--t-bright);
}

.btn-line .btn-caption,
.btn-line i {
  position: relative;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.btn-line i {
  font-size: 2.3rem;
  overflow: hidden;
}

.btn-line.icon-left .btn-caption {
  margin-left: 1rem;
}

.btn-line.icon-right .btn-caption {
  margin-right: 1rem;
}

.btn-line:hover {
  color: var(--t-medium);
}

@media only screen and (min-width: 1200px) {
  .btn-line {
    font-size: 2rem;
  }

  .btn-line i {
    font-size: 2.5rem;
  }
}

@media only screen and (min-width: 1400px) {
  .btn-line {
    font-size: 2.2rem;
  }

  .btn-line i {
    font-size: 2.7rem;
  }
}

@media only screen and (min-width: 1600px) {
  .btn-line {
    font-size: 2.6rem;
  }

  .btn-line i {
    font-size: 3.2rem;
  }
}

.btn-line-small {
  -webkit-box-pack: start;
  -moz-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  font: normal var(--font-weight-medium) 1.4rem/1.4 var(--_font-default);
  color: var(--t-bright);
}

.btn-line-small .btn-caption,
.btn-line-small i {
  position: relative;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.btn-line-small i {
  font-size: 1.6rem;
  overflow: hidden;
}

.btn-line-small.icon-left .btn-caption {
  margin-left: 1rem;
}

.btn-line-small.icon-right .btn-caption {
  margin-right: 1rem;
}

.btn-line-small:hover {
  color: var(--t-medium);
}

@media only screen and (min-width: 768px) {
  .btn-line-small {
    font-size: 1.6rem;
  }

  .btn-line-small i {
    font-size: 1.9rem;
  }
}

@media only screen and (min-width: 1600px) {
  .btn-line-small {
    font-size: 2rem;
  }

  .btn-line-small i {
    font-size: 2.2rem;
    padding-bottom: 0.2rem;
  }
}

.btn-default {
  width: 100%;
  height: 8rem;
  padding: 0 7.6rem;
  -moz-border-radius: 5rem;
  border-radius: 5rem;
  border: 1px solid var(--neutral-bright);
  background-color: var(--neutral-bright);
  font: normal var(--font-weight-medium) 1.8rem/10rem var(--_font-default);
  color: var(--t-opp-bright);
}

@media only screen and (min-width: 576px) {
  .btn-default {
    width: auto;
  }
}

@media only screen and (min-width: 1200px) {
  .btn-default {
    border: 1px solid var(--stroke-controls);
    background-color: transparent;
    font-size: 2rem;
    color: var(--t-bright);
  }

  .btn-default .btn-caption {
    display: block;
    position: relative;
  }
}

@media only screen and (min-width: 1400px) {
  .btn-default {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .btn-default {
    height: 8rem;
    line-height: 8rem;
    -moz-border-radius: 6rem;
    border-radius: 6rem;
    font-size: 2.6rem;
  }
}

@media only screen and (min-width: 1200px) {
  .hover-default {
    position: relative;
    overflow: hidden;
    -webkit-transition: color 0.3s 0s, background-color 0s 0s, -webkit-transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0s 0s, -webkit-transform 0.3s ease-in-out;
    -moz-transition: color 0.3s 0s, background-color 0s 0s, transform 0.3s ease-in-out, -moz-transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0s 0s, transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0s 0s, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out, -moz-transform 0.3s ease-in-out;
  }

  .hover-default em {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: var(--t-bright);
    -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    -moz-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .no-touch .hover-default:hover {
    color: var(--t-opp-bright);
    background-color: var(--t-bright);
    -webkit-transition: color 0.3s 0s, background-color 0.3s 0.2s, -webkit-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0.3s 0.2s, -webkit-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out;
    -moz-transition: color 0.3s 0s, background-color 0.3s 0.2s, box-shadow 0.5s, transform 0.3s ease-in-out, -moz-box-shadow 0.5s, -moz-transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0.3s 0.2s, box-shadow 0.5s, transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0.3s 0.2s, box-shadow 0.5s, transform 0.3s ease-in-out, -webkit-box-shadow 0.5s, -moz-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out, -moz-transform 0.3s ease-in-out;
  }

  .no-touch .hover-default:hover em {
    width: 225%;
    height: 22.5rem;
  }
}

.btn-circle-text {
  width: 10rem;
  height: 10rem;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 1px solid var(--neutral-bright);
  background-color: var(--neutral-bright);
  font: normal var(--font-weight-medium) 1.2rem var(--_font-default);
  color: var(--t-opp-bright);
}

@media only screen and (min-width: 1200px) {
  .btn-circle-text {
    width: 11rem;
    height: 11rem;
    font-size: 1.4rem;
    border: 1px solid var(--stroke-controls);
    background-color: transparent;
    color: var(--t-bright);
  }

  .btn-circle-text .btn-caption {
    display: block;
    position: relative;
  }
}

@media only screen and (min-width: 1400px) {
  .btn-circle-text {
    width: 14rem;
    height: 14rem;
    font-size: 1.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  .btn-circle-text {
    width: 16rem;
    height: 16rem;
    font-size: 1.8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .hover-circle {
    position: relative;
    overflow: hidden;
    -webkit-transition: color 0.3s 0s, background-color 0s 0s, -webkit-transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0s 0s, -webkit-transform 0.3s ease-in-out;
    -moz-transition: color 0.3s 0s, background-color 0s 0s, transform 0.3s ease-in-out, -moz-transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0s 0s, transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0s 0s, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out, -moz-transform 0.3s ease-in-out;
  }

  .hover-circle em {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: var(--t-bright);
    -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    -moz-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .no-touch .hover-circle:hover {
    color: var(--t-opp-bright);
    background-color: var(--t-bright);
    -webkit-transition: color 0.3s 0s, background-color 0.3s 0.2s, -webkit-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0.3s 0.2s, -webkit-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out;
    -moz-transition: color 0.3s 0s, background-color 0.3s 0.2s, box-shadow 0.5s, transform 0.3s ease-in-out, -moz-box-shadow 0.5s, -moz-transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0.3s 0.2s, box-shadow 0.5s, transform 0.3s ease-in-out;
    transition: color 0.3s 0s, background-color 0.3s 0.2s, box-shadow 0.5s, transform 0.3s ease-in-out, -webkit-box-shadow 0.5s, -moz-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out, -moz-transform 0.3s ease-in-out;
  }

  .no-touch .hover-circle:hover em {
    width: 225%;
    height: 225%;
  }

  .no-touch .hover-circle:hover i {
    color: var(--t-opp-bright);
    -webkit-transition: color 0.3s 0s;
    -moz-transition: color 0.3s 0s;
    transition: color 0.3s 0s;
  }
}

.btn-circle-icon {
  width: 10rem;
  height: 10rem;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 1px solid var(--neutral-bright);
  background-color: var(--neutral-bright);
  font-size: 2.4rem;
  color: var(--t-opp-bright);
}

@media only screen and (min-width: 768px) {
  .btn-circle-icon {
    width: 15.4rem;
    height: 15.4rem;
    font-size: 3.6rem;
  }
}

@media only screen and (min-width: 1200px) {
  .btn-circle-icon {
    width: 17.4rem;
    height: 17.4rem;
    border: 1px solid var(--stroke-controls);
    background-color: transparent;
    color: var(--t-bright);
    font-size: 3.8rem;
  }

  .btn-circle-icon i {
    display: block;
    position: relative;
    overflow: hidden;
  }
}

@media only screen and (min-width: 1400px) {
  .btn-circle-icon {
    width: 19rem;
    height: 19rem;
    font-size: 4rem;
  }
}

@media only screen and (min-width: 1600px) {
  .btn-circle-icon {
    width: 26.6rem;
    height: 26.6rem;
    font-size: 5rem;
  }
}

.btn-line-circle-icon {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -moz-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font: normal var(--font-weight-medium) 1.8rem var(--_font-default);
  color: var(--t-bright);
}

.btn-line-circle-icon .btn-caption {
  position: relative;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-right: 2rem;
}

.btn-line-circle-icon .circle {
  position: relative;
  width: 10rem;
  height: 10rem;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 1px solid var(--neutral-bright);
  background-color: var(--neutral-bright);
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btn-line-circle-icon .circle em {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background: var(--t-bright);
  -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  -moz-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.btn-line-circle-icon .circle i {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  font-size: 2.3rem;
  color: var(--t-opp-bright);
  z-index: 2;
  overflow: hidden;
  -webkit-transition: color 0.3s 0s;
  -moz-transition: color 0.3s 0s;
  transition: color 0.3s 0s;
}

.btn-line-circle-icon:hover {
  color: var(--t-medium);
}

.btn-line-circle-icon.permanent-dark {
  color: var(--t-per-bright-dark);
}

.btn-line-circle-icon.permanent-dark .circle {
  border: 1px solid var(--t-per-bright-dark);
  background-color: var(--t-per-bright-dark);
}

.btn-line-circle-icon.permanent-dark em {
  background: var(--t-per-bright-dark);
}

.btn-line-circle-icon.permanent-dark i {
  color: var(--t-per-bright-light);
}

@media only screen and (min-width: 1200px) {
  .btn-line-circle-icon {
    font-size: 2rem;
  }

  .btn-line-circle-icon .circle {
    border: 1px solid var(--stroke-controls);
    background-color: transparent;
  }

  .btn-line-circle-icon .circle i {
    font-size: 2.5rem;
    color: var(--t-bright);
  }
}

@media only screen and (min-width: 1400px) {
  .btn-line-circle-icon {
    font-size: 2.2rem;
  }

  .btn-line-circle-icon .circle i {
    font-size: 2.7rem;
  }
}

@media only screen and (min-width: 1600px) {
  .btn-line-circle-icon {
    font-size: 2.6rem;
  }

  .btn-line-circle-icon .circle i {
    font-size: 3.2rem;
  }
}

.btn-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 4rem;
  height: 4rem;
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  background-color: rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--t-bright);
  font-size: 1.8rem;
  z-index: 9;
  overflow: hidden;
}

.btn-to-top i {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .btn-to-top {
    position: fixed;
    right: 5rem;
    bottom: 3rem;
  }
}

@media only screen and (min-width: 1200px) {
  .btn-to-top {
    font-size: 1.9rem;
  }

  .no-touch .btn-to-top:hover {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

@media only screen and (min-width: 1400px) {
  .btn-to-top {
    width: 5rem;
    height: 5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .btn-to-top {
    font-size: 2.2rem;
  }
}

.slide-right:hover i::before {
  -webkit-animation: 0.4s ease-in-out 0s 1 both slideRight;
  -moz-animation: 0.4s ease-in-out 0s 1 both slideRight;
  animation: 0.4s ease-in-out 0s 1 both slideRight;
}

.slide-right-up:hover i::before {
  -webkit-animation: 0.4s ease-in-out 0s 1 both slideRightUp;
  -moz-animation: 0.4s ease-in-out 0s 1 both slideRightUp;
  animation: 0.4s ease-in-out 0s 1 both slideRightUp;
}

.slide-right-down:hover i::before {
  -webkit-animation: 0.4s ease-in-out 0s 1 both slideRightDown;
  -moz-animation: 0.4s ease-in-out 0s 1 both slideRightDown;
  animation: 0.4s ease-in-out 0s 1 both slideRightDown;
}

.slide-left:hover i::before {
  -webkit-animation: 0.4s ease-in-out 0s 1 both slideLeft;
  -moz-animation: 0.4s ease-in-out 0s 1 both slideLeft;
  animation: 0.4s ease-in-out 0s 1 both slideLeft;
}

.slide-left-up:hover i::before {
  -webkit-animation: 0.4s ease-in-out 0s 1 both slideLeftUp;
  -moz-animation: 0.4s ease-in-out 0s 1 both slideLeftUp;
  animation: 0.4s ease-in-out 0s 1 both slideLeftUp;
}

.slide-left-down:hover i::before {
  -webkit-animation: 0.4s ease-in-out 0s 1 both slideLeftDown;
  -moz-animation: 0.4s ease-in-out 0s 1 both slideLeftDown;
  animation: 0.4s ease-in-out 0s 1 both slideLeftDown;
}

.slide-down:hover i::before {
  -webkit-animation: 0.4s ease-in-out 0s 1 both slideDown;
  -moz-animation: 0.4s ease-in-out 0s 1 both slideDown;
  animation: 0.4s ease-in-out 0s 1 both slideDown;
}

.slide-up:hover i::before {
  -webkit-animation: 0.4s ease-in-out 0s 1 both slideUp;
  -moz-animation: 0.4s ease-in-out 0s 1 both slideUp;
  animation: 0.4s ease-in-out 0s 1 both slideUp;
}

@-webkit-keyframes slideRight {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  50% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-moz-keyframes slideRight {
  0% {
    -moz-transform: translateX(0);
    transform: translateX(0);
  }

  50% {
    -moz-transform: translateX(100%);
    transform: translateX(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -moz-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes slideRight {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }

  50% {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    transform: translateX(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes slideRightUp {
  0% {
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -webkit-transform: translateX(100%) translateY(-100%);
    transform: translateX(100%) translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(-100%) translateY(100%);
    transform: translateX(-100%) translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@-moz-keyframes slideRightUp {
  0% {
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -moz-transform: translateX(100%) translateY(-100%);
    transform: translateX(100%) translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -moz-transform: translateX(-100%) translateY(100%);
    transform: translateX(-100%) translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@keyframes slideRightUp {
  0% {
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -webkit-transform: translateX(100%) translateY(-100%);
    -moz-transform: translateX(100%) translateY(-100%);
    transform: translateX(100%) translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(-100%) translateY(100%);
    -moz-transform: translateX(-100%) translateY(100%);
    transform: translateX(-100%) translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@-webkit-keyframes slideRightDown {
  0% {
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -webkit-transform: translateX(100%) translateY(100%);
    transform: translateX(100%) translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(-100%) translateY(-100%);
    transform: translateX(-100%) translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@-moz-keyframes slideRightDown {
  0% {
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -moz-transform: translateX(100%) translateY(100%);
    transform: translateX(100%) translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -moz-transform: translateX(-100%) translateY(-100%);
    transform: translateX(-100%) translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@keyframes slideRightDown {
  0% {
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -webkit-transform: translateX(100%) translateY(100%);
    -moz-transform: translateX(100%) translateY(100%);
    transform: translateX(100%) translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(-100%) translateY(-100%);
    -moz-transform: translateX(-100%) translateY(-100%);
    transform: translateX(-100%) translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@-webkit-keyframes slideLeft {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  50% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-moz-keyframes slideLeft {
  0% {
    -moz-transform: translateX(0);
    transform: translateX(0);
  }

  50% {
    -moz-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -moz-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }

  50% {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes slideLeftUp {
  0% {
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -webkit-transform: translateX(-100%) translateY(-100%);
    transform: translateX(-100%) translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(100%) translateY(100%);
    transform: translateX(100%) translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@-moz-keyframes slideLeftUp {
  0% {
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -moz-transform: translateX(-100%) translateY(-100%);
    transform: translateX(-100%) translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -moz-transform: translateX(100%) translateY(100%);
    transform: translateX(100%) translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@keyframes slideLeftUp {
  0% {
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -webkit-transform: translateX(-100%) translateY(-100%);
    -moz-transform: translateX(-100%) translateY(-100%);
    transform: translateX(-100%) translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(100%) translateY(100%);
    -moz-transform: translateX(100%) translateY(100%);
    transform: translateX(100%) translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@-webkit-keyframes slideLeftDown {
  0% {
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -webkit-transform: translateX(-100%) translateY(100%);
    transform: translateX(-100%) translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(100%) translateY(-100%);
    transform: translateX(100%) translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@-moz-keyframes slideLeftDown {
  0% {
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -moz-transform: translateX(-100%) translateY(100%);
    transform: translateX(-100%) translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -moz-transform: translateX(100%) translateY(-100%);
    transform: translateX(100%) translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@keyframes slideLeftDown {
  0% {
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }

  50% {
    -webkit-transform: translateX(-100%) translateY(100%);
    -moz-transform: translateX(-100%) translateY(100%);
    transform: translateX(-100%) translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateX(100%) translateY(-100%);
    -moz-transform: translateX(100%) translateY(-100%);
    transform: translateX(100%) translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
}

@-webkit-keyframes slideDown {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-moz-keyframes slideDown {
  0% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -moz-transform: translateY(100%);
    transform: translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    transform: translateY(100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes slideUp {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-moz-keyframes slideUp {
  0% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -moz-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  51% {
    opacity: 0;
  }

  52% {
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

/* ------------------------------------------------*/
/* Elements - Controls End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Elements - Forms Start */
/* ------------------------------------------------*/
.form-container {
  position: relative;
}

.form {
  opacity: 1;
  -webkit-transition: opacity var(--_animspeed-slow) ease-in-out;
  -moz-transition: opacity var(--_animspeed-slow) ease-in-out;
  transition: opacity var(--_animspeed-slow) ease-in-out;
}

.form.is-hidden {
  opacity: 0;
}

.form__item {
  padding: 0 1rem;
  margin-bottom: 3rem;
}

.form__item:last-of-type {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .form__item {
    padding: 0 1.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .form__item {
    padding: 0 2.5rem;
    margin-bottom: 5rem;
  }
}

form {
  position: relative;
  width: 100%;
}

form input,
form textarea {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  outline: none;
  margin: 0;
  padding: 1.6rem 0.4rem 1.6rem 0.4rem;
  background-color: transparent;
  border-bottom: 1px solid var(--stroke-elements);
  font: normal 400 1.8rem var(--_font-default);
  color: var(--t-bright);
}

form input:focus,
form textarea:focus {
  border-bottom: 1px solid var(--stroke-controls);
}

form textarea {
  height: 16rem;
  resize: none;
}

form ::-webkit-input-placeholder {
  color: var(--t-muted);
}

form :-moz-placeholder {
  color: var(--t-muted);
}

form ::-moz-placeholder {
  color: var(--t-muted);
}

form :-ms-input-placeholder {
  color: var(--t-muted);
}

form input:focus:required:invalid,
form textarea:focus:required:invalid {
  color: var(--t-bright);
}

form input:required:valid,
form textarea:required:valid {
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {

  form input,
  form textarea {
    font-size: 2rem;
  }

  form textarea {
    height: 20rem;
  }
}

@media only screen and (min-width: 1400px) {

  form input,
  form textarea {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {

  form input,
  form textarea {
    font-size: 2.6rem;
  }
}

.form__reply {
  position: absolute;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  opacity: 0;
  -webkit-transition: opacity var(--_animspeed-slow) ease-in-out;
  -moz-transition: opacity var(--_animspeed-slow) ease-in-out;
  transition: opacity var(--_animspeed-slow) ease-in-out;
}

.form__reply.centered {
  position: absolute;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  max-width: 300px;
}

.form__reply.is-visible {
  opacity: 1;
}

.reply__icon {
  display: block;
  font-size: 6rem;
  color: var(--t-bright);
  margin-bottom: 1rem;
}

.reply__title {
  font: normal var(--font-weight-base) 2.6rem var(--_font-accent);
  color: var(--t-bright);
  margin-bottom: 1rem;
}

.reply__text {
  display: block;
  font: normal var(--font-weight-base) 1.8rem var(--_font-default);
  color: var(--t-bright);
}

/* ------------------------------------------------*/
/* Elements - Forms End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Sections Main Start */
/* ------------------------------------------------*/
.main {
  position: relative;
  padding-top: 6rem;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .main {
    padding-top: 0;
  }
}

@media only screen and (min-width: 1200px) {
  .main {
    padding-top: 0;
  }
}

.main__intro {
  position: relative;
  height: auto;
  margin-bottom: 3.4rem;
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%), url('../img/37573682_8557036.svg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.main__intro.intro-95-desktop {
  margin-bottom: 11.5rem;
}

.main__intro.intro-fullheight-centered {
  margin-bottom: 12rem;
}

@media only screen and (min-width: 768px) {
  .main__intro {
    margin-bottom: 4.4rem;
  }

  .main__intro.intro-95-desktop {
    margin-bottom: 14.5rem;
  }

  .main__intro.intro-fullheight-centered {
    margin-bottom: 14.3rem;
  }
}

@media only screen and (min-width: 1200px) {
  .main__intro {
    height: 100vh;
    margin-bottom: 0;
  }

  .main__intro.intro-95-desktop {
    height: 95vh;
    margin-bottom: 0;
    padding-top: 7rem;
  }

  .main__intro.intro-fullheight-centered {
    margin-bottom: 0;
    padding-top: 7rem;
  }
}

@media only screen and (min-width: 1400px) {

  .main__intro.intro-95-desktop,
  .main__intro.intro-fullheight-centered {
    padding-top: 8rem;
  }
}

.intro__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.intro__background.intro-bg-01 img,
.intro__background.intro-bg-02 img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-bg__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.intro-bg-01__01,
.intro-bg-01__02,
.intro-bg-02__01,
.intro-bg-02__02,
.intro-bg-03__01,
.intro-bg-03__02 {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  -moz-background-size: cover;
  background-size: cover;
}

.intro-bg-01__01 {
  top: -160px;
  right: -100px;
  width: 320px;
  height: 320px;
}

@media only screen and (min-width: 768px) {
  .intro-bg-01__01 {
    top: -320px;
    right: -20px;
    width: 450px;
    height: 450px;
  }
}

@media only screen and (min-width: 992px) {
  .intro-bg-01__01 {
    top: -280px;
  }
}

@media only screen and (min-width: 1200px) {
  .intro-bg-01__01 {
    top: -160px;
    right: -80px;
    width: 500px;
    height: 500px;
  }
}

@media only screen and (min-width: 1400px) {
  .intro-bg-01__01 {
    top: -200px;
    right: 0;
    width: 570px;
    height: 570px;
  }
}

@media only screen and (min-width: 1600px) {
  .intro-bg-01__01 {
    top: -300px;
    right: 0;
    width: 700px;
    height: 700px;
  }
}

.intro-bg-01__02 {
  bottom: -80px;
  left: auto;
  right: 0;
  width: 150px;
  height: 150px;
}

@media only screen and (min-width: 768px) {
  .intro-bg-01__02 {
    bottom: -120px;
    left: auto;
    right: 0;
    width: 240px;
    height: 240px;
  }
}

@media only screen and (min-width: 1200px) {
  .intro-bg-01__02 {
    bottom: -40px;
    left: -96px;
    width: 300px;
    height: 300px;
  }
}

@media only screen and (min-width: 1400px) {
  .intro-bg-01__02 {
    bottom: -10px;
    left: -86px;
    width: 360px;
    height: 360px;
  }
}

@media only screen and (min-width: 1600px) {
  .intro-bg-01__02 {
    bottom: -60px;
    left: -175px;
    width: 500px;
    height: 500px;
  }
}

.intro-bg-02__01 {
  top: auto;
  bottom: -60px;
  right: 0;
  width: 160px;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .intro-bg-02__01 {
    top: auto;
    bottom: -100px;
    right: 0;
    width: 260px;
    height: auto;
  }
}

@media only screen and (min-width: 992px) {
  .intro-bg-02__01 {
    top: auto;
    bottom: -80px;
    right: 0;
    width: 340px;
    height: auto;
  }
}

@media only screen and (min-width: 1200px) {
  .intro-bg-02__01 {
    top: auto;
    bottom: 80px;
    right: 0;
    width: 330px;
    height: auto;
  }
}

@media only screen and (min-width: 1400px) {
  .intro-bg-02__01 {
    top: auto;
    bottom: 100px;
    right: 0;
    width: 350px;
    height: auto;
  }
}

@media only screen and (min-width: 1600px) {
  .intro-bg-02__01 {
    top: auto;
    bottom: 60px;
    right: 0;
    width: 530px;
    height: auto;
  }
}

.intro-bg-02__02 {
  bottom: -160px;
  top: auto;
  left: -30px;
  width: 100px;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .intro-bg-02__02 {
    bottom: -200px;
    top: auto;
    left: -42px;
    width: 140px;
    height: auto;
  }
}

@media only screen and (min-width: 992px) {
  .intro-bg-02__02 {
    bottom: -200px;
    top: auto;
    left: -30px;
    width: 140px;
    height: auto;
  }
}

@media only screen and (min-width: 1200px) {
  .intro-bg-02__02 {
    bottom: auto;
    top: 150px;
    left: -68px;
    width: 200px;
    height: auto;
  }
}

@media only screen and (min-width: 1400px) {
  .intro-bg-02__02 {
    bottom: auto;
    top: 210px;
    left: -82px;
    width: 240px;
    height: auto;
  }
}

@media only screen and (min-width: 1600px) {
  .intro-bg-02__02 {
    top: 150px;
    bottom: auto;
    left: -120px;
    width: 350px;
    height: auto;
  }
}

.intro-bg-03__01 {
  height: 440px;
  width: auto;
  bottom: -300px;
  right: -40px;
}

.intro-bg-03__01 img {
  display: block;
  height: 100%;
  width: auto;
}

@media only screen and (min-width: 768px) {
  .intro-bg-03__01 {
    height: 910px;
    width: auto;
    bottom: -150px;
    right: -80px;
  }
}

@media only screen and (min-width: 992px) {
  .intro-bg-03__01 {
    height: 910px;
    width: auto;
    bottom: -150px;
    right: -60px;
  }
}

@media only screen and (min-width: 1200px) {
  .intro-bg-03__01 {
    height: 110vh;
    width: auto;
    top: -10vh;
    right: -60px;
  }
}

@media only screen and (min-width: 1400px) {
  .intro-bg-03__01 {
    height: 110vh;
    width: auto;
    top: -10vh;
    right: -60px;
  }
}

@media only screen and (min-width: 1600px) {
  .intro-bg-03__01 {
    height: 126vh;
    width: auto;
    top: -16vh;
    right: -80px;
  }
}

.intro-bg-03__02 {
  height: 180px;
  width: auto;
  bottom: -220px;
  left: 40px;
}

.intro-bg-03__02 img {
  display: block;
  height: 100%;
  width: auto;
}

@media only screen and (min-width: 768px) {
  .intro-bg-03__02 {
    height: 350px;
    width: auto;
    bottom: -340px;
    left: 80px;
  }
}

@media only screen and (min-width: 992px) {
  .intro-bg-03__02 {
    height: 400px;
    width: auto;
    bottom: -340px;
    left: 150px;
  }
}

@media only screen and (min-width: 1200px) {
  .intro-bg-03__02 {
    height: 420px;
    width: auto;
    bottom: -210px;
    left: auto;
    right: 220px;
  }
}

@media only screen and (min-width: 1400px) {
  .intro-bg-03__02 {
    height: 450px;
    width: auto;
    bottom: -245px;
    right: 220px;
  }
}

@media only screen and (min-width: 1600px) {
  .intro-bg-03__02 {
    height: 540px;
    width: auto;
    bottom: -265px;
    right: 320px;
  }
}

.headline {
  position: relative;
  padding: 0 2rem;
  margin-top: 11.2rem;
}

.headline.headline-95-desktop,
.headline.headline-centered {
  margin-top: 9.5rem;
}

@media only screen and (min-width: 768px) {
  .headline {
    padding: 0 5rem;
    margin-top: 14.2rem;
  }

  .headline.headline-95-desktop,
  .headline.headline-centered {
    margin-top: 10.9rem;
  }
}

@media only screen and (min-width: 1200px) {
  .headline {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-top: 0;
  }

  .headline.headline-95-desktop {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-bottom: 9rem;
  }

  .headline.headline-centered {
    bottom: auto;
    left: auto;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    margin-top: 0;
  }
}

@media only screen and (min-width: 1400px) {
  .headline.headline-95-desktop {
    padding-bottom: 9.9rem;
  }
}

@media only screen and (min-width: 1600px) {
  .headline.headline-95-desktop {
    padding-bottom: 11.3rem;
  }
}

@media only screen and (min-width: 768px) {
  .headline__title.fullwidth {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
  }
}

.title__line {
  position: relative;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.title__line em {
  font: normal var(--font-weight-base) 1.8rem/1.4 var(--_font-default);
  color: var(--t-bright);
}

.title__line em,
.title__line .btn {
  display: none;
}

@media only screen and (min-width: 768px) {
  .title__line span {
    white-space: nowrap;
  }

  .title__line .btn {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-left: 3rem;
    margin-top: 0.5rem;
  }
}

@media only screen and (min-width: 992px) {
  .title__line {
    padding: 0 3rem;
  }

  .title__line .btn {
    margin-left: 4rem;
  }
}

@media only screen and (min-width: 1200px) {
  .title__line em {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    max-width: 260px;
    margin-right: 5rem;
    padding-top: 3.7rem;
    font-size: 1.8rem;
  }

  .title__line .btn {
    margin-left: 5rem;
  }
}

@media only screen and (min-width: 1400px) {
  .title__line em {
    max-width: 300px;
    padding-top: 4.3rem;
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .title__line {
    padding: 0 5rem;
  }

  .title__line em {
    max-width: 370px;
    padding-top: 6rem;
    font-size: 2.4rem;
  }
}

.headline__datamobile {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  text-align: left;
  margin-top: 4.5rem;
}

.headline__datamobile p {
  font: normal var(--font-weight-base) 1.8rem/1.4 var(--_font-default);
  color: var(--t-bright);
  margin-bottom: 6rem;
}

@media only screen and (min-width: 768px) {
  .headline__datamobile {
    margin-top: 5.4rem;
    padding: 0 3rem;
    text-align: center;
  }

  .headline__datamobile p {
    max-width: 370px;
    margin: 0 auto;
    font-size: 2rem;
  }

  .headline__datamobile .btn {
    display: none;
  }
}

@media only screen and (min-width: 992px) {
  .headline__datamobile {
    margin-top: 6.1rem;
  }
}

@media only screen and (min-width: 1200px) {
  .headline__datamobile {
    display: none;
  }
}

.headline__btn {
  margin-top: 5rem;
}

@media only screen and (min-width: 768px) {
  .headline__btn {
    margin-top: 11.9rem;
  }
}

@media only screen and (min-width: 1200px) {
  .headline__btn {
    margin-top: 5.9rem;
    margin-bottom: 4.4rem;
  }
}

@media only screen and (min-width: 1400px) {
  .headline__btn {
    margin-top: 11rem;
  }
}

@media only screen and (min-width: 1600px) {
  .headline__btn {
    margin-top: 10.1rem;
  }
}

.intro__btn {
  position: relative;
  padding: 0 2rem;
}

@media only screen and (min-width: 768px) {
  .intro__btn {
    padding: 0 5rem;
  }
}

.intro__btn-absolute {
  display: none;
}

@media only screen and (min-width: 1200px) {
  .intro__btn-absolute {
    display: block;
    position: absolute;
    right: 5rem;
    bottom: 4.4rem;
  }
}

.main__media {
  position: relative;
}

.main__media.media-grid-bottom {
  padding-bottom: 2.5rem;
}

.main__media.media-stack-bottom {
  padding-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .main__media.media-grid-bottom {
    padding-bottom: 3.5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .main__media.media-grid-bottom {
    padding-bottom: 3.7rem;
  }
}

@media only screen and (min-width: 1400px) {
  .main__media.media-grid-bottom {
    padding-bottom: 4.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .main__media.media-grid-bottom {
    padding-bottom: 5.5rem;
  }
}

/* ------------------------------------------------*/
/* Sections Main End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Sections Inner Start */
/* ------------------------------------------------*/
.inner {
  position: relative;
}

.inner.inner-grid-bottom {
  padding: 11rem 0 2.5rem 0;
}

.inner.inner-stack {
  padding: 2.2rem 0 0.5rem 0;
}

.inner.inner-stack-bottom {
  padding: 11rem 0 0.5rem 0;
}

.inner.inner-type-bottom {
  padding: 11rem 0 2.2rem 0;
}

.inner.no-padding-top {
  padding-top: 0 !important;
}

.inner.no-padding-bottom {
  padding-bottom: 0 !important;
}

.inner.pre-no-padding-top {
  padding: 11rem 0 4.7rem 0;
}

@media only screen and (min-width: 768px) {
  .inner.inner-grid-bottom {
    padding: 16rem 0 3.5rem 0;
  }

  .inner.inner-stack {
    padding: 5.3rem 0 0.5rem 0;
  }

  .inner.inner-stack-bottom {
    padding: 16rem 0 0.5rem 0;
  }

  .inner.inner-type-bottom {
    padding: 16rem 0 2.9rem 0;
  }

  .inner.pre-no-padding-top {
    padding: 16rem 0 8.8rem 0;
  }
}

@media only screen and (min-width: 1200px) {
  .inner.inner-grid-bottom {
    padding: 16rem 0 3.7rem 0;
  }

  .inner.inner-stack {
    padding: 8.3rem 0 0.7rem 0;
  }

  .inner.inner-stack-bottom {
    padding: 16rem 0 0.7rem 0;
  }

  .inner.inner-type-bottom {
    padding: 16rem 0 3.1rem 0;
  }

  .inner.pre-no-padding-top {
    padding: 16rem 0 12rem 0;
  }
}

@media only screen and (min-width: 1400px) {
  .inner.inner-grid-bottom {
    padding: 18rem 0 4.5rem 0;
  }

  .inner.inner-stack {
    padding: 9.5rem 0 1.5rem 0;
  }

  .inner.inner-stack-bottom {
    padding: 18rem 0 1.5rem 0;
  }

  .inner.inner-type-bottom {
    padding: 18rem 0 3.9rem 0;
  }

  .inner.pre-no-padding-top {
    padding: 18rem 0 14rem 0;
  }
}

@media only screen and (min-width: 1600px) {
  .inner.inner-grid-bottom {
    padding: 21rem 0 5.5rem 0;
  }

  .inner.inner-stack {
    padding: 13.5rem 0 0.5rem 0;
  }

  .inner.inner-stack-bottom {
    padding: 21rem 0 0.5rem 0;
  }

  .inner.inner-type-bottom {
    padding: 21rem 0 4.8rem 0;
  }

  .inner.pre-no-padding-top {
    padding: 21rem 0 19rem 0;
  }
}

.inner__wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.inner__name {
  margin-bottom: 0.4rem;
}

@media only screen and (min-width: 768px) {
  .inner__name {
    margin-bottom: 1.2rem;
  }
}

@media only screen and (min-width: 1200px) {
  .inner__name {
    margin-bottom: 0;
    margin-top: 1.6rem;
  }
}

@media only screen and (min-width: 1400px) {
  .inner__name {
    margin-top: 1.8rem;
  }
}

@media only screen and (min-width: 1600px) {
  .inner__name {
    margin-top: 2.6rem;
  }
}

.inner__content {
  position: relative;
  width: 100%;
}

.bottom__background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: visible;
  z-index: 1;
}

.bottom__background.bottom-bg-01 img,
.bottom__background.bottom-bg-02 img,
.bottom__background.bottom-bg-03 img {
  display: block;
  width: 100%;
  height: auto;
}

.bottom-bg__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(78%, rgba(var(--base-rgb), 0)), color-stop(97%, rgba(var(--base-rgb), 1)));
  background: -moz-linear-gradient(top, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%);
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%);
}

.bottom-bg-01__01,
.bottom-bg-01__02,
.bottom-bg-02__01,
.bottom-bg-02__02,
.bottom-bg-03__01,
.bottom-bg-03__02 {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  -moz-background-size: cover;
  background-size: cover;
}

.bottom-bg-01__01 {
  bottom: 100px;
  right: -50px;
  width: 200px;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .bottom-bg-01__01 {
    bottom: 130px;
    right: -50px;
    width: 200px;
    height: auto;
  }
}

@media only screen and (min-width: 992px) {
  .bottom-bg-01__01 {
    bottom: 120px;
    right: -75px;
    width: 260px;
    height: auto;
  }
}

@media only screen and (min-width: 1200px) {
  .bottom-bg-01__01 {
    bottom: 65px;
    right: -105px;
    width: 360px;
    height: auto;
  }
}

@media only screen and (min-width: 1400px) {
  .bottom-bg-01__01 {
    bottom: 70px;
    right: -120px;
    width: 400px;
    height: auto;
  }
}

@media only screen and (min-width: 1600px) {
  .bottom-bg-01__01 {
    bottom: 80px;
    right: -150px;
    width: 510px;
    height: auto;
  }
}

.bottom-bg-01__02 {
  bottom: 140px;
  left: -30px;
  width: 100px;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .bottom-bg-01__02 {
    bottom: 200px;
    left: -50px;
    width: 150px;
    height: auto;
  }
}

@media only screen and (min-width: 992px) {
  .bottom-bg-01__02 {
    bottom: 200px;
    left: -60px;
    width: 170px;
    height: auto;
  }
}

@media only screen and (min-width: 1200px) {
  .bottom-bg-01__02 {
    bottom: 200px;
    left: -65px;
    width: 240px;
    height: auto;
  }
}

@media only screen and (min-width: 1400px) {
  .bottom-bg-01__02 {
    bottom: 200px;
    left: -80px;
    width: 280px;
    height: auto;
  }
}

@media only screen and (min-width: 1600px) {
  .bottom-bg-01__02 {
    bottom: 260px;
    left: -100px;
    width: 350px;
    height: auto;
  }
}

.bottom-bg-02__01 {
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .bottom-bg-02__01 {
    bottom: -40px;
    right: -60px;
  }
}

@media only screen and (min-width: 992px) {
  .bottom-bg-02__01 {
    bottom: -50px;
    right: -70px;
    width: 230px;
  }
}

@media only screen and (min-width: 1200px) {
  .bottom-bg-02__01 {
    width: 300px;
  }
}

@media only screen and (min-width: 1400px) {
  .bottom-bg-02__01 {
    bottom: -60px;
    right: -80px;
    width: 340px;
  }
}

@media only screen and (min-width: 1600px) {
  .bottom-bg-02__01 {
    width: 360px;
  }
}

.bottom-bg-02__02 {
  display: none;
}

@media only screen and (min-width: 768px) {
  .bottom-bg-02__02 {
    display: block;
    top: 50px;
    left: -35px;
    width: 140px;
    height: auto;
  }
}

@media only screen and (min-width: 992px) {
  .bottom-bg-02__02 {
    top: 50px;
    left: -35px;
    width: 140px;
  }
}

@media only screen and (min-width: 1200px) {
  .bottom-bg-02__02 {
    top: 50px;
    left: -60px;
    width: 240px;
  }
}

@media only screen and (min-width: 1400px) {
  .bottom-bg-02__02 {
    top: 60px;
    left: -70px;
    width: 280px;
  }
}

@media only screen and (min-width: 1600px) {
  .bottom-bg-02__02 {
    top: 60px;
    left: -75px;
    width: 300px;
  }
}

.bottom-bg-03__01 {
  bottom: 100px;
  right: -30px;
  width: 180px;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .bottom-bg-03__01 {
    bottom: 180px;
    right: -30px;
    width: 180px;
  }
}

@media only screen and (min-width: 992px) {
  .bottom-bg-03__01 {
    bottom: 150px;
    right: -30px;
    width: 180px;
  }
}

@media only screen and (min-width: 1200px) {
  .bottom-bg-03__01 {
    bottom: 170px;
    right: -70px;
    width: 280px;
  }
}

@media only screen and (min-width: 1400px) {
  .bottom-bg-03__01 {
    bottom: 170px;
    right: -80px;
    width: 320px;
  }
}

@media only screen and (min-width: 1600px) {
  .bottom-bg-03__01 {
    bottom: 200px;
    right: -80px;
    width: 360px;
  }
}

.bottom-bg-03__02 {
  display: none;
}

@media only screen and (min-width: 768px) {
  .bottom-bg-03__02 {
    display: block;
    top: auto;
    bottom: -30px;
    left: -100px;
    width: 240px;
  }
}

@media only screen and (min-width: 992px) {
  .bottom-bg-03__02 {
    top: auto;
    bottom: -30px;
    left: -100px;
    width: 240px;
  }
}

@media only screen and (min-width: 1200px) {
  .bottom-bg-03__02 {
    top: auto;
    bottom: -50px;
    left: -150px;
    width: 360px;
  }
}

@media only screen and (min-width: 1400px) {
  .bottom-bg-03__02 {
    top: auto;
    bottom: -60px;
    left: -170px;
    width: 400px;
  }
}

@media only screen and (min-width: 1600px) {
  .bottom-bg-03__02 {
    top: auto;
    bottom: -70px;
    left: -180px;
    width: 440px;
  }
}

/* ------------------------------------------------*/
/* Sections Inner End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Blocks Common Start */
/* ------------------------------------------------*/
.page-content {
  position: relative;
  width: 100%;
  min-width: 360px;
  height: auto;
  z-index: 3;
  overflow: hidden;
}

.fullheight-desktop {
  position: relative;
  height: auto;
}

@media only screen and (min-width: 1200px) {
  .fullheight-desktop {
    height: 100%;
  }
}

.grid-item {
  padding: 0 1rem;
  margin-top: 2rem;
}

@media only screen and (min-width: 768px) {
  .grid-item {
    padding: 0 1.5rem;
    margin-top: 3rem;
  }
}

@media only screen and (min-width: 1600px) {
  .grid-item {
    padding: 0 2.5rem;
    margin-top: 5rem;
  }
}

.grid-item-s {
  padding: 0 1rem;
  margin-top: 2rem;
}



.account-page .content__block {
  width: 100%;
  max-width: 87%;

}

.content__block.no-padding {
  padding: 0;
}

.content__block.name-block {
  padding: 0 2rem;
}

.content__block.grid-block {
  padding: 0 1rem;
}

@media only screen and (min-width: 768px) {


  .content__block.name-block {
    padding: 0 5rem;
  }

  .content__block.grid-block {
    padding: 0 3.5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .content__block.name-block {
    padding: 0 0 0 5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .content__block.grid-block {
    padding: 0 2.5rem;
  }
}

.content__block.section-title {
  margin-bottom: 4rem;
}

.content__block.section-grid-title {
  margin-bottom: 3.6rem;
}

.content__block.section-grid-text-title {
  margin-bottom: 4rem;
}

.content__block.section-stack-title {
  margin-bottom: 0;
}

.content__block.section-tagline-title {
  margin-bottom: 4.8rem;
}

.content__block.section-form-title {
  margin-bottom: 3.5rem;
}

.content__block.large-text-block {
  margin: 10.3rem 0 10.8rem 0;
}

.content__block.middle-text-block {
  margin: 5.3rem 0 5.8rem 0;
}

.content__block.large-text-block.pre-stack {
  margin-bottom: 2.8rem;
}

.content__block.pre-grid-items {
  margin-bottom: 4.8rem;
}

.content__block.pre-text-items {
  margin-bottom: 6rem;
}

.content__block.pre-offcanvas-text-block {
  margin-bottom: 12.7rem;
}

.content__block.pre-offcanvas-grid-block {
  margin-bottom: 14rem;
}

.content__block.pre-stack-block {
  position: relative;
  z-index: 1000;
  margin-bottom: -2.4rem;
}

.content__block.pre-stack-text-block {
  position: relative;
  z-index: 1000;
  margin-bottom: -2rem;
}

@media only screen and (min-width: 768px) {
  .content__block.section-text-title {
    margin-bottom: 2.7rem;
  }

  .content__block.section-grid-title {
    margin-bottom: 3.8rem;
  }

  .content__block.section-grid-text-title {
    margin-bottom: 4.9rem;
  }

  .content__block.section-stack-title {
    margin-bottom: 0;
  }

  .content__block.section-tagline-title {
    margin-bottom: 6rem;
  }

  .content__block.section-form-title {
    margin-bottom: 5.4rem;
  }

  .content__block.large-text-block {
    margin: 12.6rem 0 13.4rem 0;
  }

  .content__block.middle-text-block {
    margin: 6.6rem 0 7rem 0;
  }

  .content__block.large-text-block.pre-stack {
    margin-bottom: 3.4rem;
  }

  .content__block.pre-grid-items {
    margin-bottom: 5.8rem;
  }

  .content__block.pre-text-items {
    margin-bottom: 8rem;
  }

  .content__block.pre-offcanvas-text-block {
    margin-bottom: 17.8rem;
  }

  .content__block.pre-offcanvas-grid-block {
    margin-bottom: 20rem;
  }

  .content__block.pre-stack-block {
    margin-bottom: -3.2rem;
  }

  .content__block.pre-stack-text-block {
    margin-bottom: -2.1rem;
  }
}

@media only screen and (min-width: 992px) {
  .content__block.section-text-title {
    margin-bottom: 3.4rem;
  }

  .content__block.section-grid-title {
    margin-bottom: 4.5rem;
  }

  .content__block.section-grid-text-title {
    margin-bottom: 5.6rem;
  }

  .content__block.section-stack-title {
    margin-bottom: 0;
  }

  .content__block.section-tagline-title {
    margin-bottom: 6.7rem;
  }

  .content__block.section-form-title {
    margin-bottom: 6.1rem;
  }

  .content__block.large-text-block.pre-stack {
    margin-bottom: 3.4rem;
  }

  .content__block.pre-grid-items {
    margin-bottom: 6.5rem;
  }

  .content__block.pre-text-items {
    margin-bottom: 8.7rem;
  }

  .content__block.pre-stack-block {
    margin-bottom: -2.5rem;
  }

  .content__block.pre-stack-text-block {
    margin-bottom: -1.4rem;
  }
}

@media only screen and (min-width: 1200px) {
  .content__block.section-text-title {
    margin-bottom: 3.9rem;
  }

  .content__block.section-grid-title {
    margin-bottom: 4.2rem;
  }

  .content__block.section-grid-text-title {
    margin-bottom: 5.6rem;
  }

  .content__block.section-stack-title {
    margin-bottom: 0;
  }

  .content__block.section-tagline-title {
    margin-bottom: 6.3rem;
  }

  .content__block.section-form-title {
    margin-bottom: 6.1rem;
  }

  .content__block.large-text-block {
    margin: 14.3rem 0 15.2rem 0;
  }

  .content__block.middle-text-block {
    margin: 6.3rem 0 7rem 0;
  }

  .content__block.large-text-block.pre-stack {
    margin-bottom: 5.2rem;
  }

  .content__block.pre-grid-items {
    margin-bottom: 7.5rem;
  }

  .content__block.pre-text-items {
    margin-bottom: 8.6rem;
  }

  .content__block.pre-offcanvas-text-block {
    margin-bottom: 19.5rem;
  }

  .content__block.pre-offcanvas-grid-block {
    margin-bottom: 22rem;
  }

  .content__block.pre-stack-block {
    margin-bottom: -2.8rem;
  }

  .content__block.pre-stack-text-block {
    margin-bottom: -1.4rem;
  }
}

@media only screen and (min-width: 1400px) {
  .content__block.section-text-title {
    margin-bottom: 3.6rem;
  }

  .content__block.section-grid-title {
    margin-bottom: 5rem;
  }

  .content__block.section-grid-text-title {
    margin-bottom: 6.5rem;
  }

  .content__block.section-stack-title {
    margin-bottom: 0;
  }

  .content__block.section-tagline-title {
    margin-bottom: 7rem;
  }

  .content__block.section-form-title {
    margin-bottom: 6.8rem;
  }

  .content__block.large-text-block {
    margin: 17rem 0 17.9rem 0;
  }

  .content__block.middle-text-block {
    margin: 8rem 0 8.9rem 0;
  }

  .content__block.large-text-block.pre-stack {
    margin-bottom: 7rem;
  }

  .content__block.pre-grid-items {
    margin-bottom: 7.5rem;
  }

  .content__block.pre-text-items {
    margin-bottom: 9.5rem;
  }

  .content__block.pre-offcanvas-text-block {
    margin-bottom: 22.2rem;
  }

  .content__block.pre-offcanvas-grid-block {
    margin-bottom: 25rem;
  }

  .content__block.pre-stack-block {
    margin-bottom: -3rem;
  }

  .content__block.pre-stack-text-block {
    margin-bottom: -1.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .content__block.section-text-title {
    margin-bottom: 1.9rem;
  }

  .content__block.section-grid-title {
    margin-bottom: 3.5rem;
  }

  .content__block.section-grid-text-title {
    margin-bottom: 5.8rem;
  }

  .content__block.section-stack-title {
    margin-bottom: 0;
  }

  .content__block.section-tagline-title {
    margin-bottom: 7.3rem;
  }

  .content__block.section-form-title {
    margin-bottom: 7.9rem;
  }

  .content__block.large-text-block {
    margin: 16.3rem 0 17.6rem 0;
  }

  .content__block.middle-text-block {
    margin: 8.3rem 0 8.6rem 0;
  }

  .content__block.large-text-block.pre-stack {
    margin-bottom: 6.6rem;
  }

  .content__block.pre-grid-items {
    margin-bottom: 7rem;
  }

  .content__block.pre-text-items {
    margin-bottom: 10.8rem;
  }

  .content__block.pre-offcanvas-text-block {
    margin-bottom: 26.2rem;
  }

  .content__block.pre-offcanvas-grid-block {
    margin-bottom: 30rem;
  }

  .content__block.pre-stack-block {
    margin-bottom: -2.5rem;
  }

  .content__block.pre-stack-text-block {
    margin-bottom: -0.2rem;
  }
}

.block__subtitle.grid-block-subtitle {
  padding: 0 1rem;
}

@media only screen and (min-width: 768px) {
  .block__subtitle.grid-block-subtitle {
    padding: 0 1.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .block__subtitle.grid-block-subtitle {
    padding: 0 2.5rem;
  }
}

.block__subtitle {
  margin-bottom: 6.3rem;
}

.block__subtitle.grid-block-subtitle {
  margin-bottom: 4.3rem;
}

@media only screen and (min-width: 768px) {
  .block__subtitle {
    margin-bottom: 8.3rem;
  }

  .block__subtitle.grid-block-subtitle {
    margin-bottom: 5.3rem;
  }
}

@media only screen and (min-width: 992px) {
  .block__subtitle {
    margin-bottom: 9rem;
  }

  .block__subtitle.grid-block-subtitle {
    margin-bottom: 6rem;
  }
}

@media only screen and (min-width: 1200px) {
  .block__subtitle {
    margin-bottom: 9rem;
  }

  .block__subtitle.grid-block-subtitle {
    margin-bottom: 6rem;
  }
}

@media only screen and (min-width: 1400px) {
  .block__subtitle {
    margin-bottom: 9.9rem;
  }

  .block__subtitle.grid-block-subtitle {
    margin-bottom: 6.9rem;
  }
}

@media only screen and (min-width: 1600px) {
  .block__subtitle {
    margin-bottom: 11.3rem;
  }

  .block__subtitle.grid-block-subtitle {
    margin-bottom: 6.3rem;
  }
}

.fullheight-l {
  height: auto;
}

@media only screen and (min-width: 992px) {
  .fullheight-l {
    height: 100%;
  }
}

.divider {
  position: relative;
  width: 100%;
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
}

.divider-image,
.divider-video {
  background-repeat: no-repeat;
  background-position: center;
  -moz-background-size: cover;
  background-size: cover;
  height: 440px;
}

@media only screen and (min-width: 768px) {

  .divider-image,
  .divider-video {
    height: 500px;
  }
}

@media only screen and (min-width: 1400px) {

  .divider-image,
  .divider-video {
    height: 600px;
  }
}

@media only screen and (min-width: 1600px) {

  .divider-image,
  .divider-video {
    height: 700px;
  }
}

.divider-image-xl,
.divider-video-xl {
  background-repeat: no-repeat;
  background-position: center;
  -moz-background-size: cover;
  background-size: cover;
  height: 440px;
}

@media only screen and (min-width: 768px) {

  .divider-image-xl,
  .divider-video-xl {
    height: 500px;
  }
}

@media only screen and (min-width: 1200px) {

  .divider-image-xl,
  .divider-video-xl {
    height: 600px;
  }
}

@media only screen and (min-width: 1400px) {

  .divider-image-xl,
  .divider-video-xl {
    height: 700px;
  }
}

@media only screen and (min-width: 1600px) {

  .divider-image-xl,
  .divider-video-xl {
    height: 800px;
  }
}

.section-title__name {
  margin-bottom: 0.4rem;
}

@media only screen and (min-width: 768px) {
  .section-title__name {
    margin-bottom: 1.2rem;
  }
}

@media only screen and (min-width: 1200px) {
  .section-title__name {
    margin-bottom: 0;
    margin-top: 1.6rem;
  }
}

@media only screen and (min-width: 1400px) {
  .section-title__name {
    margin-top: 1.8rem;
  }
}

@media only screen and (min-width: 1600px) {
  .section-title__name {
    margin-top: 2.6rem;
  }
}

/* ------------------------------------------------*/
/* Blocks Common End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Blocks Header Start */
/* ------------------------------------------------*/
.header {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: auto;
  width: auto;
  z-index: 11;
  -moz-border-radius: 50px;
  border-radius: 50px;
  background-color: rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media only screen and (min-width: 768px) {
  .header {
    bottom: 3rem;
    left: 5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .header {
    position: fixed;
    top: 3rem;
    bottom: auto;

    background-color: rgba(0, 0, 0, 0);
    z-index: 9;
    width: 90%;
  }
}

@media only screen and (min-width: 1400px) {
  .header {
    position: fixed;
    top: 3rem;
    bottom: auto;
  }
}

.header__navigation {
  position: relative;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0px;
}

.header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.header__social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.header__social-link i {
  font-size: 1.4rem;
}

.header__social-link img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
  display: block;
}

@media only screen and (min-width: 1200px) {
  .header__navigation {
    height: 6rem;
  }

}

@media only screen and (min-width: 1400px) {
  .header__navigation {
    height: 5rem;
  }
}

@media (max-width: 767px) {
  .header__navigation {
    display: none;
  }

  .header {
    justify-content: flex-end;
  }
}


.header__account {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.header__account-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.header__account-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.header__account-link i {
  font-size: 1.4rem;
}

@media (max-width: 1200px) {
  .header__social {
    display: none;
  }

}

@media (max-width: 767px) {

  .header__account {
    margin-left: 10px;
  }

  .header__account-link {
    width: 40px;
    height: 40px;
  }

  .header__account-link i {
    font-size: 1.2rem;
  }
}

.logo {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;

  overflow: hidden;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  z-index: 100;
  padding: 5px 10px;
  border-radius: 60px;
}

@media only screen and (min-width: 768px) {
  .logo {
    top: 3rem;
    left: 5rem;
  }
}

.logo__link {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.logo__link img {
  width: auto;
  height: 7rem;
}

.logo__link img.main-logo {
  animation: weworkrotate 20s infinite linear;
}

@keyframes weworkrotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.logo__link span img {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  height: 4rem;
  padding-left: 1.4rem;
  padding-right: 1rem;
}

@media only screen and (min-width: 1400px) {
  .logo__link img {
    height: 5rem;
  }

  .logo__link span {
    padding-left: 1.6rem;
  }
}

.color {
  position: fixed;
  top: 2rem;
  right: 2rem;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  overflow: hidden;
  z-index: 100;
}

@media only screen and (min-width: 768px) {
  .color {
    top: 3rem;
    right: 5rem;
  }
}

@media only screen and (min-width: 1400px) {
  .color {
    width: 5rem;
    height: 5rem;
  }
}

.color-switcher {
  position: relative;
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  border: none;
  outline: 0;
  padding: 0;
  font: inherit;
  background-color: var(--neutral-bright);
  cursor: pointer;
  text-decoration: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 1.8rem;
  height: 1.8rem;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

@media only screen and (min-width: 768px) {
  .color-switcher {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media only screen and (min-width: 1400px) {
  .color-switcher {
    width: 2.6rem;
    height: 2.6rem;
  }
}

.header-offset {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 8rem;
  background-color: var(--base);
  z-index: 3;
}

@media only screen and (min-width: 768px) {
  .header-offset {
    height: 8.8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .header-offset {
    height: 0;
  }
}

/* Ховаємо меню повністю на мобільному */
@media only screen and (max-width: 767px) {
  .header {
    left: 2rem;
  }
}

/* Стиль для мобільної кнопки */
.mobile-menu-toggle {
  position: fixed;
  right: 2rem;
  top: 2rem;
  background-color: rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: white;
  border-radius: 50px;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999 !important;
  font-size: 1.8rem;
  cursor: pointer !important;
  display: none;
  text-align: center;
  pointer-events: auto !important;
}

.mobile-menu-toggle span {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* Сховати на ширших екранах */
@media (max-width: 1199px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: white;
  z-index: 99998 !important;
  padding: 2rem;
  overflow-y: auto;
  text-align: center;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu__close {
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--t-bright);
  margin-bottom: 2.2rem;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1;
}

.mobile-menu.active {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
  z-index: 99998 !important;
}

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

.mobile-menu li {
  margin-bottom: 2.2rem;
  text-align: center;
  display: flex;
  justify-content: center;
}

.mobile-menu li:last-child {
  margin-bottom: 0rem;
}

.mobile-menu a {
  text-decoration: none;
  font: normal 300 2.2rem var(--_font-accent2);
  color: var(--t-bright);
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 7px;
}

.mobile-menu a i {
  font-size: 2rem;
}

/* Мобильное меню: выпадающий список «Продукты» */
.mobile-menu .menu-item-has-children {
  flex-direction: column;
  /* Кнопка «Продукты» сверху, список ниже */
  align-items: center;
}

.mobile-menu .menu-item-has-children>a {
  position: relative;
}

.mobile-menu .menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-left: 2px solid var(--t-bright);
  border-bottom: 2px solid var(--t-bright);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.mobile-menu .menu-item-has-children.is-open>a::after {
  transform: rotate(135deg);
}

.mobile-menu .menu-item-has-children>.sub-menu {
  display: none;
  margin-top: 0.8rem;
  width: 100%;
  text-align: center;
}

.mobile-menu .menu-item-has-children.is-open>.sub-menu {
  display: block;
}

.mobile-menu .menu-item-has-children>.sub-menu>li {
  display: inline-block;
  /* ссылки идут в строку и переносятся */
  margin: 0 2rem 1rem;
}

.mobile-menu .menu-item-has-children>.sub-menu a {
  display: inline;
  padding: 0;
  font-size: 1.8rem;
  line-height: 1.3;
}

.mobile-menu__social {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

.mobile-menu__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.mobile-menu__social a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.mobile-menu__social a i {
  font-size: 1.4rem;
  margin-right: 0;
}

.mobile-menu__social a img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
  display: block;
}


/* ------------------------------------------------*/
/* Blocks Header End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Blocks Menu Start */
/* ------------------------------------------------*/
.menu__list {
  position: relative;
}

@media only screen and (min-width: 1200px) {
  .menu__list {
    height: 4rem;
  }
}

@media only screen and (min-width: 1400px) {
  .menu__list {
    height: 5rem;
  }
}

.menu__item {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.menu__link {
  width: 4rem;
  height: 4rem;
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  color: rgba(232, 228, 222, 0.8);
  white-space: nowrap;
  font-size: 1.8rem;
  font-weight: 500;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.menu__link.active {
  color: var(--t-opp-bright);
  background-color: var(--neutral-bright);
}

@media only screen and (min-width: 1200px) {
  .menu__link {
    width: auto;
    height: 4rem;
    padding: 0 2rem;
    font: normal var(--font-weight-medium) 1.6rem/4rem var(--_font-default);
    color: rgba(232, 228, 222, 0.8);
  }

  .menu__link i {
    display: none;
  }

  .menu__link:hover {
    color: var(--t-bright);
  }

  .menu__link:hover .menu__caption {
    color: var(--t-bright);
  }

  .menu__link.active {
    color: var(--t-bright);
    background-color: transparent;
  }

  .menu__link.active .menu__caption {
    color: var(--t-bright);
    -moz-background-size: 0 1px, 100% 1px;
    background-size: 0 1px, 100% 1px;
  }
}

@media only screen and (min-width: 1400px) {
  .menu__link {
    height: 5rem;
    line-height: 5rem;
    padding: 0 2.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .menu__link {
    font-size: 1.8rem;
  }
}

.menu__caption {
  display: none;
}

@media only screen and (min-width: 1200px) {
  .menu__caption {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    text-decoration: none;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0))), -webkit-gradient(linear, left top, right top, from(var(--t-bright)), to(var(--t-bright)));
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), -moz-linear-gradient(left, var(--t-bright), var(--t-bright));
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), linear-gradient(to right, var(--t-bright), var(--t-bright));
    -moz-background-size: 100% 1px, 0 1px;
    background-size: 100% 1px, 0 1px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    -webkit-transition: background-size 300ms, color 300ms;
    -moz-transition: background-size 300ms, color 300ms, -moz-background-size 300ms;
    transition: background-size 300ms, color 300ms;
    transition: background-size 300ms, color 300ms, -moz-background-size 300ms;
  }
}

/* Выпадающее меню «Продукты» (верхнее меню WordPress) */
@media only screen and (min-width: 1200px) {

  .header__navigation,
  nav#menu,
  nav#menu ul.menu__list {
    overflow: visible;
  }
}

nav#menu ul.menu__list>li.menu-item-has-children {
  position: relative;
  z-index: 1;
}

/* Открытый пункт выше соседей в шапке — иначе курсор при движении к sub-menu попадает на соседний <li> и hover сбрасывается */
nav#menu ul.menu__list>li.menu-item-has-children:hover,
nav#menu ul.menu__list>li.menu-item-has-children:focus-within {
  z-index: 1002;
}

/* Невидимая зона под пунктом — «мост» между ссылкой и выпадашкой, без разрыва hover */
@media only screen and (min-width: 1200px) {
  nav#menu ul.menu__list>li.menu-item-has-children::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: max(100%, 16rem);
    height: 36px;
    z-index: 999;
    pointer-events: none;
  }

  nav#menu ul.menu__list>li.menu-item-has-children:hover::after,
  nav#menu ul.menu__list>li.menu-item-has-children:focus-within::after {
    pointer-events: auto;
  }
}

/* Субменю: не display:none (из-за него часто рвётся :hover), а visibility + opacity + pointer-events */
nav#menu ul.menu__list>li.menu-item-has-children>ul.sub-menu {
  position: absolute !important;
  top: calc(100% - 12px);
  left: 0;
  z-index: 1000;
  padding: 16px 24px 18px;
  margin: 0;
  list-style: none;
  background: rgba(10, 11, 25, 0.96);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  min-width: 420px;
  display: grid !important;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 32px;
  row-gap: 8px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.12s ease, visibility 0.12s ease;
  -moz-transition: opacity 0.12s ease, visibility 0.12s ease;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

nav#menu ul.menu__list>li.menu-item-has-children:hover>ul.sub-menu,
nav#menu ul.menu__list>li.menu-item-has-children:focus-within>ul.sub-menu,
nav#menu ul.menu__list>li.menu-item-has-children>ul.sub-menu:hover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

nav#menu ul.menu__list>li.menu-item-has-children>ul.sub-menu>li.menu-item {
  margin: 0;
}

nav#menu ul.menu__list>li.menu-item-has-children>ul.sub-menu>li.menu-item>a.menu__link {
  display: block;
  width: 100%;
  height: auto;
  padding: 4px 0;
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(232, 228, 222, 0.9);
  background: transparent;
}

nav#menu ul.menu__list>li.menu-item-has-children>ul.sub-menu>li.menu-item>a.menu__link .menu__caption {
  display: inline;
  background: none;
}

nav#menu ul.menu__list>li.menu-item-has-children>ul.sub-menu>li.menu-item>a.menu__link:hover .menu__caption {
  color: var(--t-bright);
}

/* ------------------------------------------------*/
/* Blocks Menu End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Blocks Footer Start */
/* ------------------------------------------------*/
.footer {
  position: relative;
  padding: 10.4rem 0 0 0;
  z-index: 3;
}

.footer.footer-marquee {
  padding: 12.2rem 0 0 0;
}

@media only screen and (min-width: 768px) {
  .footer {
    padding: 14.6rem 0 0 0;
  }

  .footer.footer-marquee {
    padding: 17.2rem 0 0 0;
  }
}

@media only screen and (min-width: 1200px) {
  .footer {
    padding: 16.1rem 0 9.8rem 0;
  }

  .footer.footer-marquee {
    padding: 19rem 0 4rem 0;
  }
}

@media only screen and (min-width: 1400px) {
  .footer {
    padding: 18.1rem 0 9.7rem 0;
  }

  .footer.footer-marquee {
    padding: 21.7rem 0 4rem 0;
  }
}

@media only screen and (min-width: 1600px) {
  .footer {
    padding: 21.2rem 0 11rem 0;
  }

  .footer.footer-marquee {
    padding: 25.6rem 0 4rem 0;
  }
}

.footer__link {
  position: relative;
  margin-bottom: 6.8rem;
}

@media only screen and (min-width: 992px) {
  .footer__link {
    margin-bottom: 7.5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .footer__link {
    margin-bottom: 8.2rem;
  }
}

@media only screen and (min-width: 1400px) {
  .footer__link {
    margin-bottom: 8rem;
  }
}

@media only screen and (min-width: 1600px) {
  .footer__link {
    margin-bottom: 8.5rem;
  }
}

.footer__text {
  font: normal 300 4.6rem var(--_font-accent);
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {
  .footer__text {
    font-size: 8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .footer__text {
    font-size: 9rem;
  }
}

@media only screen and (min-width: 1400px) {
  .footer__text {
    font-size: 10rem;
  }
}

@media only screen and (min-width: 1600px) {
  .footer__text {
    font-size: 14rem;
  }
}

.footer__btn {
  margin-top: 2.8rem;
}

@media only screen and (min-width: 768px) {
  .footer__btn {
    margin-top: 0;
  }
}

.footer__divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: var(--stroke-elements);
}

.footer-logo {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer-logo svg {
  width: 4rem;
  height: auto;
}

.footer-logo span {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding-left: 1.4rem;
}

@media only screen and (min-width: 1400px) {
  .footer-logo svg {
    width: 5rem;
  }

  .footer-logo span {
    padding-left: 1.6rem;
  }
}

/* ------------------------------------------------*/
/* Blocks Footer End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Blocks Popup Dialogs Start */
/* ------------------------------------------------*/
.popup {
  position: relative;
  background-color: var(--base);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  padding: 0;
  width: -moz-calc(100% - 4rem);
  width: calc(100% - 4rem);
  margin: 2rem auto;
  overflow: hidden;
  -webkit-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
  -moz-box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
}

@media only screen and (min-width: 768px) {
  .popup {
    margin: 3rem auto;
    width: -moz-calc(100% - 10rem);
    width: calc(100% - 10rem);
  }
}

@media only screen and (min-width: 1600px) {
  .popup {
    max-width: 1620px;
  }
}

.project__block {
  padding: 0 2rem;
}

.project__block.no-padding {
  padding: 0;
}

.project__block.grid-block {
  padding: 0 1rem;
}

@media only screen and (min-width: 768px) {
  .project__block {
    padding: 0 5rem;
  }

  .project__block.grid-block {
    padding: 0 3.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .project__block.grid-block {
    padding: 0 2.5rem;
  }
}

.project__block {
  margin-top: 6rem;
  margin-bottom: 5.9rem;
}

.project__block.pre-grid-items {
  margin-bottom: 3.9rem;
}

.project__block.grid-items {
  margin-top: 3.8rem;
}

.project__block.normal-size {
  margin-top: 6rem;
  margin-bottom: 6.8rem;
}

.project__block.small-size {
  margin: 2rem 0;
}

.project__block.no-margin {
  margin: 0;
}

.project__block.no-margin-bottom {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .project__block {
    margin-top: 8rem;
    margin-bottom: 7.9rem;
  }

  .project__block.pre-grid-items {
    margin-bottom: 4.9rem;
  }

  .project__block.grid-items {
    margin-top: 5rem;
  }

  .project__block.normal-size {
    margin-top: 8rem;
    margin-bottom: 8.8rem;
  }

  .project__block.small-size {
    margin: 5rem 0;
  }

  .project__block.no-margin-bottom {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 992px) {
  .project__block {
    margin-top: 8.7rem;
    margin-bottom: 8.6rem;
  }

  .project__block.pre-grid-items {
    margin-bottom: 5.6rem;
  }

  .project__block.grid-items {
    margin-top: 5.7rem;
  }

  .project__block.normal-size {
    margin-top: 8.7rem;
    margin-bottom: 9.5rem;
  }

  .project__block.no-margin-bottom {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1200px) {
  .project__block {
    margin-top: 8.2rem;
    margin-bottom: 8.6rem;
  }

  .project__block.pre-grid-items {
    margin-bottom: 5.6rem;
  }

  .project__block.grid-items {
    margin-top: 5.2rem;
  }

  .project__block.normal-size {
    margin-top: 9.5rem;
    margin-bottom: 9.5rem;
  }

  .project__block.no-margin-bottom {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1400px) {
  .project__block {
    margin-top: 9.1rem;
    margin-bottom: 9.4rem;
  }

  .project__block.pre-grid-items {
    margin-bottom: 6.5rem;
  }

  .project__block.grid-items {
    margin-top: 6.1rem;
  }

  .project__block.normal-size {
    margin-top: 10.5rem;
    margin-bottom: 10.5rem;
  }

  .project__block.no-margin-bottom {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1600px) {
  .project__block {
    margin-top: 10.4rem;
    margin-bottom: 10.7rem;
  }

  .project__block.pre-grid-items {
    margin-bottom: 5.7rem;
  }

  .project__block.grid-items {
    margin-top: 5.4rem;
  }

  .project__block.normal-size {
    margin-top: 12rem;
    margin-bottom: 12rem;
  }

  .project__block.no-margin-bottom {
    margin-bottom: 0;
  }
}

.project-image-bg {
  position: relative;
  width: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  -moz-background-size: cover;
  background-size: cover;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .project-image-bg {
    height: auto;
  }
}

@media (orientation: landscape) {
  .project-image-bg__landscape {
    display: block;
  }

  .project-image-bg__portrait {
    display: none;
  }
}

@media (orientation: portrait) {
  .project-image-bg__portrait {
    display: block;
  }

  .project-image-bg__landscape {
    display: none;
  }
}

.project__title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.4rem 2rem;
}

@media only screen and (min-width: 768px) {
  .project__title {
    padding: 2.6rem 5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .project__title {
    padding: 4rem 5rem 4.6rem 5rem;
  }
}

.project__subtitle {
  margin-bottom: 2.8rem;
}

.project__subtitle.image-top-subtitle {
  margin-bottom: 3rem;
}

@media only screen and (min-width: 768px) {
  .project__subtitle {
    margin-bottom: 3.4rem;
  }

  .project__subtitle.image-top-subtitle {
    margin-bottom: 4.5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .project__subtitle {
    margin-bottom: 0;
    padding-top: 0.4rem;
  }

  .project__subtitle.image-top-subtitle {
    margin-bottom: 0;
    padding-top: 0;
  }
}

.project__illustration,
.project__illustration-xl {
  position: relative;
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
}

.project__data {
  position: relative;
}

@media only screen and (min-width: 1600px) {
  .pdata__item {
    padding-top: 0.4rem;
  }
}

.project__feedback {
  position: relative;
  margin-bottom: 5.9rem;
}

@media only screen and (min-width: 768px) {
  .project__feedback {
    margin-bottom: 8rem;
  }
}

@media only screen and (min-width: 992px) {
  .project__feedback {
    margin-bottom: 8.6rem;
  }
}

@media only screen and (min-width: 1200px) {
  .project__feedback {
    margin-bottom: 8.6rem;
  }
}

@media only screen and (min-width: 1400px) {
  .project__feedback {
    margin-bottom: 9.5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .project__feedback {
    margin-bottom: 10.7rem;
  }
}

@media only screen and (max-width: 1400px) {
  #menu-menu-2 {
    max-width: 700px;
    justify-content: center;
    flex-wrap: wrap;
    justify-content: center !important;
  }

  .header {
    gap: 0;
  }
}

.fauthor__avatar {
  width: 60px;
  min-width: 60px;
  height: 60px;
  margin-right: 2rem;
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .fauthor__avatar {
    width: 120px;
    min-width: 120px;
    height: 120px;
    margin-right: 3rem;
  }
}

.fauthor__name {
  color: var(--t-bright);
}

.fauthor__position {
  margin-top: 0.6rem;
}

@media only screen and (min-width: 1600px) {
  .fauthor__position {
    margin-top: 0.8rem;
  }
}

.fauthor__rating {
  margin-top: 1.3rem;
}

.fauthor__rating i {
  display: block;
  margin-right: 1rem;
  font-size: 1.6rem;
  color: var(--t-bright);
}

.fauthor__rating i:last-of-type {
  margin-right: 0;
}

@media only screen and (min-width: 1400px) {
  .fauthor__rating i {
    font-size: 1.8rem;
  }
}

@media only screen and (min-width: 1600px) {
  .fauthor__rating {
    margin-bottom: 0.4rem;
  }

  .fauthor__rating i {
    font-size: 2rem;
  }
}

.feedback__descr {
  margin-top: 2.8rem;
}

@media only screen and (min-width: 768px) {
  .feedback__descr {
    margin-top: 3.8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .feedback__descr {
    margin-top: 3.6rem;
  }
}

@media only screen and (min-width: 1400px) {
  .feedback__descr {
    margin-top: 3.4rem;
  }
}

.project__divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: var(--stroke-elements);
}

.mfp-wrap {
  position: fixed !important;
}

.mfp-fade {
  overflow: hidden;
}

.mfp-fade .mfp-container {
  position: fixed;
  overflow-y: scroll;
}

.mfp-bg {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.6);
}

.mfp-container {
  padding: 0;
}

.mfp-close-btn-in .mfp-close {
  width: 4rem;
  height: 4rem;
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  border: 1px solid var(--t-per-bright-dark);
  right: 3rem;
  top: 3rem;
  opacity: 1;
  padding: 0;
  font: inherit;
  color: var(--t-per-bright-dark);
  font-size: 1.8rem;
  line-height: 1;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.mfp-close-btn-in .mfp-close::before {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-family: "Phosphor";
  content: "\eddb";
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.mfp-close-btn-in .mfp-close.permanent-dark {
  border: 1px solid var(--t-per-bright-dark);
  background-color: var(--t-per-bright-dark);
  color: var(--t-per-bright-light);
}

.mfp-close-btn-in .mfp-close.permanent-light {
  border: 1px solid var(--t-per-bright-light);
  background-color: var(--t-per-bright-light);
  color: var(--t-per-bright-dark);
}

@media only screen and (min-width: 1200px) {
  .mfp-close-btn-in .mfp-close.permanent-dark {
    border: 1px solid var(--t-per-bright-dark);
    background-color: transparent;
    color: var(--t-per-bright-dark);
  }

  .mfp-close-btn-in .mfp-close.permanent-light {
    border: 1px solid var(--t-per-bright-light);
    background-color: transparent;
    color: var(--t-per-bright-light);
  }

  .no-touch .mfp-close-btn-in .mfp-close:hover.permanent-dark {
    border: 1px solid var(--t-per-bright-dark);
    background-color: var(--t-per-bright-dark);
    color: var(--neutral-white);
  }

  .no-touch .mfp-close-btn-in .mfp-close:hover.permanent-light {
    border: 1px solid var(--t-per-bright-light);
    background-color: var(--t-per-bright-light);
    color: var(--t-per-bright-dark);
  }
}

@media only screen and (min-width: 1400px) {
  .mfp-close-btn-in .mfp-close {
    width: 5rem;
    height: 5rem;
  }
}

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 1;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transform: translateY(3rem);
  -moz-transform: translateY(3rem);
  -ms-transform: translateY(3rem);
  transform: translateY(3rem);
  -webkit-transition: all 0.3s var(--_animbezier);
  -moz-transition: all 0.3s var(--_animbezier);
  transition: all 0.3s var(--_animbezier);
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
  -webkit-transform: translateY(3rem);
  -moz-transform: translateY(3rem);
  -ms-transform: translateY(3rem);
  transform: translateY(3rem);
}

/* ------------------------------------------------*/
/* Blocks Popup Dialogs End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Marquee Start */
/* ------------------------------------------------*/
.items {
  max-width: 100%;
  overflow: hidden;
}

.items--gsap {
  color: #fff;
}

.items--gsap .items__container {
  translate: -moz-calc(-100% + 100vw) !important;
  translate: calc(-100% + 100vw) !important;
}

.items__caption {
  max-width: 50vw;
  padding: 0 1.5rem;
}

.items__container {
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  will-change: transform;
}

.items .item {
  margin-right: 2rem;
}

@media only screen and (min-width: 768px) {
  .items .item {
    margin-right: 3rem;
  }
}

@media only screen and (min-width: 1600px) {
  .items .item {
    margin-right: 5rem;
  }
}

.item {
  position: relative;
  width: 45vw;
  height: auto;
  background-color: var(--base);
  -moz-border-radius: 20px;
  border-radius: 20px;
  overflow: hidden;
  color: var(--t-bright);
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  -webkit-animation: animateZ 1s infinite;
  -moz-animation: animateZ 1s infinite;
  animation: animateZ 1s infinite;
}

.item.item-regular {
  width: auto;
  -moz-border-radius: 0;
  border-radius: 0;
  gap: 0;
  background-color: transparent;
  color: var(--t-bright);
  -webkit-animation: animateZ 1s infinite;
  -moz-animation: animateZ 1s infinite;
  animation: animateZ 1s infinite;
}

.item.icon {
  border: 1px solid var(--stroke-elements);
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.item.icon svg {
  display: block;
  height: 70px;
  width: auto;
}

.item.image {
  background-repeat: no-repeat;
  background-position: center;
  -moz-background-size: cover;
  background-size: cover;
}

.item.image-1 {
  background-image: url("../img/marquee/01.webp");
}

.item.image-2 {
  background-image: url("../img/marquee/02.webp");
}

.item.image-3 {
  background-image: url("../img/marquee/03.webp");
}

.item img {
  display: block;
  width: 100%;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .item.icon svg {
    height: 120px;
  }
}

@media only screen and (min-width: 992px) {
  .item {
    width: 30vw;
  }
}

@media only screen and (min-width: 1200px) {
  .item {
    width: 25vw;
  }
}

@media only screen and (min-width: 1600px) {
  .item {
    width: 20vw;
  }

  .item.icon svg {
    height: 140px;
  }
}

.item__text {
  margin-right: 2rem;
}

.item__text.text-with-gliph {
  margin-right: 0;
}

.item__text.text-with-gliph::after {
  content: "/";
  display: inline;
  padding-left: 2rem;
}

@media only screen and (min-width: 768px) {
  .item__text {
    margin-right: 3rem;
  }

  .item__text.text-with-gliph::after {
    padding-left: 3rem;
  }
}

@media only screen and (min-width: 1600px) {
  .item__text {
    margin-right: 5rem;
  }

  .item__text.text-with-gliph::after {
    padding-left: 5rem;
  }
}

.item__image {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
}

@media only screen and (min-width: 768px) {
  .item__image {
    width: 7rem;
    height: 7rem;
  }
}

@media only screen and (min-width: 1400px) {
  .item__image {
    width: 8rem;
    height: 8rem;
  }
}

@media only screen and (min-width: 1600px) {
  .item__image {
    width: 11rem;
    height: 11rem;
  }
}

.item__image img,
.item__image video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.item__text {
  font: normal 300 4.6rem var(--_font-accent);
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {
  .item__text {
    font-size: 8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .item__text {
    font-size: 9rem;
  }
}

@media only screen and (min-width: 1400px) {
  .item__text {
    font-size: 10rem;
  }
}

@media only screen and (min-width: 1600px) {
  .item__text {
    font-size: 14rem;
  }
}

@-webkit-keyframes toLeft {
  to {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@-moz-keyframes toLeft {
  to {
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@keyframes toLeft {
  to {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@-webkit-keyframes toRight {
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-moz-keyframes toRight {
  to {
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes toRight {
  to {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes animateZ {
  to {
    -webkit-transform: translateZ(1px);
    transform: translateZ(1px);
  }
}

@-moz-keyframes animateZ {
  to {
    -moz-transform: translateZ(1px);
    transform: translateZ(1px);
  }
}

@keyframes animateZ {
  to {
    -webkit-transform: translateZ(1px);
    -moz-transform: translateZ(1px);
    transform: translateZ(1px);
  }
}

/* ------------------------------------------------*/
/* Features Marquee End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features About Start */
/* ------------------------------------------------*/
.about-descr,
.about-info {
  padding-top: 2.8rem;
}

.about-descr.pre-grid,
.about-info.pre-grid {
  padding-top: 3.7rem;
}

.about-descr.pre-title,
.about-info.pre-title {
  padding-top: 2.5rem;
}

@media only screen and (min-width: 768px) {

  .about-descr,
  .about-info {
    padding-top: 0;
  }

  .about-descr.pre-title,
  .about-info.pre-title {
    padding-top: 0rem;
  }

  .about-descr.pre-grid,
  .about-info.pre-grid {
    padding-top: 4.7rem;
  }
}

@media only screen and (min-width: 768px) {

  .about-descr.pre-grid,
  .about-info.pre-grid {
    padding-top: 5.4rem;
  }
}

@media only screen and (min-width: 1200px) {

  .about-descr.pre-grid,
  .about-info.pre-grid {
    padding-top: 5.2rem;
  }
}

@media only screen and (min-width: 1600px) {

  .about-descr.pre-grid,
  .about-info.pre-grid {
    padding-top: 5.4rem;
  }
}

.about-descr__text {
  margin-bottom: 2.1rem;
}

.about-descr__text:last-of-type {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .about-descr__text {
    margin-bottom: 3rem;
  }
}

@media only screen and (min-width: 1200px) {
  .about-descr__text {
    margin-bottom: 2.8rem;
  }
}

@media only screen and (min-width: 1400px) {
  .about-descr__text {
    margin-bottom: 2.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  .about-descr__text {
    margin-bottom: 3.2rem;
  }
}

.about-descr__btnholder {
  margin-top: 3.2rem;
}

@media only screen and (min-width: 768px) {
  .about-descr__btnholder {
    margin-top: 4.1rem;
  }
}

@media only screen and (min-width: 1400px) {
  .about-descr__btnholder {
    margin-top: 4rem;
  }
}

@media only screen and (min-width: 1600px) {
  .about-descr__btnholder {
    margin-top: 4.7rem;
  }
}

.about-info__item {
  margin-bottom: 2rem;
}

.about-info__item:last-of-type {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .about-info__item {
    margin-bottom: 3rem;
  }
}

@media only screen and (min-width: 1200px) {
  .about-info__item {
    margin-bottom: 2.8rem;
  }
}

@media only screen and (min-width: 1400px) {
  .about-info__item {
    margin-bottom: 2.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  .about-info__item {
    margin-bottom: 3.2rem;
  }
}

/* ------------------------------------------------*/
/* Features About End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Gallery Start */
/* ------------------------------------------------*/
.inner__gallery {
  position: relative;
}

.gallery__btn {
  position: relative;
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -moz-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
  padding: 0 1rem;
  margin-top: 2rem;
}

@media only screen and (min-width: 768px) {
  .gallery__btn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 0 1.5rem;
    margin-top: 0;
  }
}

@media only screen and (min-width: 1600px) {
  .gallery__btn {
    padding: 0 2.5rem;
  }
}

.gallery__item {
  position: relative;
  cursor: pointer;
}

.gallery__link {
  display: block;
  position: relative;
  overflow: hidden;
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
}

.gallery__link .picture {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 112%;
  height: 112%;
  background-repeat: no-repeat;
  background-position: center center;
  -moz-background-size: cover;
  background-size: cover;
  -webkit-transition: background-position 0.5s;
  -moz-transition: background-position 0.5s;
  transition: background-position 0.5s;
  -webkit-transition: opacity 0.5s ease-in-out, width 0.3s var(--_animbezier), height 0.3s var(--_animbezier), -webkit-transform 0.7s ease-in-out;
  transition: opacity 0.5s ease-in-out, width 0.3s var(--_animbezier), height 0.3s var(--_animbezier), -webkit-transform 0.7s ease-in-out;
  -moz-transition: transform 0.7s ease-in-out, opacity 0.5s ease-in-out, width 0.3s var(--_animbezier), height 0.3s var(--_animbezier), -moz-transform 0.7s ease-in-out;
  transition: transform 0.7s ease-in-out, opacity 0.5s ease-in-out, width 0.3s var(--_animbezier), height 0.3s var(--_animbezier);
  transition: transform 0.7s ease-in-out, opacity 0.5s ease-in-out, width 0.3s var(--_animbezier), height 0.3s var(--_animbezier), -webkit-transform 0.7s ease-in-out, -moz-transform 0.7s ease-in-out;
}

@media only screen and (min-width: 1200px) {
  .gallery__link {
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transition: -webkit-transform 0.3s var(--_animbezier);
    transition: -webkit-transform 0.3s var(--_animbezier);
    -moz-transition: transform 0.3s var(--_animbezier), -moz-transform 0.3s var(--_animbezier);
    transition: transform 0.3s var(--_animbezier);
    transition: transform 0.3s var(--_animbezier), -webkit-transform 0.3s var(--_animbezier), -moz-transform 0.3s var(--_animbezier);
  }

  .no-touch .gallery__link:hover .picture {
    width: 100%;
    height: 100%;
  }
}

.gallery__image {
  opacity: 0;
}

/* Подпись-карточка поверх галереи больше не нужна — полностью скрываем подложку и текст */
.gallery__descr {
  display: none !important;
}

/* PhotoSwipe: страница не скроллится (JS + класс на html); контент лайтбокса — как в оригинале, скролл у .pswp */
html.pswp-lightbox-open,
html.pswp-lightbox-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.pswp.pswp--open {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* plugins.css задаёт touch-action: none — из‑за этого жесты не скроллят контейнер */
  touch-action: pan-y pinch-zoom !important;
}

.pswp__bg {
  background: var(--per-base);
}

.pswp__top-bar,
.pswp__ui--fit .pswp__top-bar {
  height: 74px;
  padding: 1.5rem;
  background-color: transparent;
}

.pswp__counter {
  left: 1.5rem;
  top: 1.5rem;
  padding: 0 1.4rem;
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  background-color: rgba(0, 0, 0, 0.6);
  font: normal 400 1.8rem/44px var(--_font-default);
  font-variant-numeric: lining-nums;
  color: var(--t-per-bright-light);
  opacity: 1;
}

.pswp__counter:active {
  opacity: 1;
}

.pswp__caption,
.pswp__ui--fit .pswp__caption {
  padding: 1.5rem;
  background-color: transparent;
  width: fit-content;
  position: absolute;
  left: 50%;
  top: 87%;
  transform: translate(-50%, -50%);
  height: fit-content;
  min-height: 400px;
  overflow-y: auto;
}

.pswp__caption__center {
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  padding: 2.6rem 3rem;
  background-color: rgba(0, 0, 0, 0.6);
  min-height: 400px;
}

.pswp__caption__center h5 {
  font: normal 500 2.4rem var(--_font-accent);
  color: var(--t-per-bright-light);
  margin-bottom: 1.8rem;
  letter-spacing: normal;
}

.pswp__caption__center h5 small {
  display: block;
  font: normal 400 1.6rem var(--_font-default);
  color: var(--t-per-medium-light);
  margin-top: 0.4rem;
}

.pswp__caption__center p {
  font: normal 300 1.8rem/1.4 var(--_font-default);
  color: var(--t-per-bright-light);
  display: flex;
  justify-content: center;

}

/* Стрелки галереи PhotoSwipe всегда поверх капшена и слайдера */
.pswp__button--arrow--left,
.pswp__button--arrow--right,
.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* Капшен и весь контент внутри — ниже стрелок */
.pswp__caption,
.pswp__caption__center {
  z-index: 1;
}

.pswp__caption__center .vm-swiper-outer--tariff,
.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide__image img,
.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide__image .attachment-medium_large,
.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide__image .size-medium_large {
  z-index: 1;
}

/* Отступы капшена при наличии слайдера, чтобы не перекрывать стрелки pswp */
.pswp__caption__center:has(.vm-swiper-outer--tariff) {
  padding-left: 48px;
  padding-right: 48px;
  box-sizing: border-box;
}

/* Слайдер тарифа только в лайтбоксе (pswp__caption__center) */
.pswp__caption__center .vm-swiper-outer--tariff {
  margin-bottom: 1.5rem;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-section--tariff {
  padding: 1rem 3.5rem;
}

.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper--caption {
  padding: 0 0 2rem;
  overflow: hidden;
}

.pswp__caption__center .vm-swiper-outer--tariff .swiper-button-prev,
.pswp__caption__center .vm-swiper-outer--tariff .swiper-button-next {
  position: absolute;
  top: 50%;
  margin-top: -26px;
  width: 40px;
  height: 40px;
  z-index: 10;
}

.pswp__caption__center .vm-swiper-outer--tariff .swiper-button-prev {
  left: 4px;
  right: auto;
}

.pswp__caption__center .vm-swiper-outer--tariff .swiper-button-next {
  left: auto;
  right: 4px;
}

.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide--tariff {
  overflow: hidden;
  border-radius: 8px;
  min-height: 180px;
  height: 180px;
}

.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide--tariff .vm-swiper-slide__image {
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  position: relative;
}

.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide--tariff .vm-swiper-slide__image img,
.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide--tariff .vm-swiper-slide__image .attachment-medium_large,
.pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide--tariff .vm-swiper-slide__image .size-medium_large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px;
}

/* Слайдеры услуг в ЛК (amiri-section-sliders) */
.amiri-section-sliders {
  margin: 2rem 0 2.5rem;
  margin-left: 5rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.amiri-section-sliders .vm-swiper-outer--tariff {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.amiri-section-sliders .vm-swiper-outer--tariff .vm-swiper-section--tariff {
  padding: 1rem 2.5rem;
  overflow: hidden;
}

.amiri-section-sliders .vm-swiper-outer--tariff .vm-swiper--caption {
  overflow: hidden;
}

.amiri-section-sliders .vm-swiper-outer--tariff .vm-swiper-slide--tariff {
  min-height: 220px;
  height: 285px;
}

/* Стрелки в ЛК — компактные, внутри контейнера (родитель с overflow:hidden иначе обрежет) */
.amiri-section-sliders .vm-swiper-outer--tariff .swiper-button-prev,
.amiri-section-sliders .vm-swiper-outer--tariff .swiper-button-next {
  width: 36px;
  height: 36px;
  margin-top: -18px;
}

.amiri-section-sliders .vm-swiper-outer--tariff .swiper-button-prev {
  left: 4px;
  right: auto;
}

.amiri-section-sliders .vm-swiper-outer--tariff .swiper-button-next {
  left: auto;
  right: 4px;
}

.amiri-section-sliders .vm-swiper-outer--tariff .swiper-button-prev::after,
.amiri-section-sliders .vm-swiper-outer--tariff .swiper-button-next::after {
  font-size: 1rem;
}

/* Адаптация слайдера тарифа под мобильную версию */
@media (max-width: 767px) {
  .pswp__caption__center:has(.vm-swiper-outer--tariff) {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-section--tariff {
    padding: 0.75rem 2.5rem;
  }

  .pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-slide--tariff {
    min-height: 160px;
    height: 160px;
  }

  .pswp__caption__center .vm-swiper-outer--tariff .swiper-button-prev {
    width: 36px;
    height: 36px;
    margin-top: -18px;
    left: 2px;
    right: auto;
  }

  .pswp__caption__center .vm-swiper-outer--tariff .swiper-button-next {
    width: 36px;
    height: 36px;
    margin-top: -18px;
    left: auto;
    right: 2px;
  }
}

@media (max-width: 480px) {
  .pswp__caption__center:has(.vm-swiper-outer--tariff) {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pswp__caption__center .vm-swiper-outer--tariff .vm-swiper-section--tariff {
    padding: 0.5rem 2rem;
  }


}

@media only screen and (min-width: 1200px) {
  .pswp__caption__center {
    max-width: 600px;
  }
}

.pswp__button {
  background-color: var(--per-base);
  border: 1px solid var(--per-stroke-elements);
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  opacity: 1;
}

.pswp__button:active {
  opacity: 1;
}

.pswp__button--zoom,
.pswp__button--fs,
.pswp__button--share {
  margin-right: 1rem;
}

.pswp__button--close {
  position: relative;
  background-color: var(--neutral-white);
  border: none;
  opacity: 1;
}

.pswp__button--close:active {
  opacity: 1;
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
  width: 74px;
  opacity: 1;
  border: none;
  background-color: transparent;
}

.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
  top: 28px;
  width: 44px;
  height: 44px;
  line-height: 44px;
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  background-color: var(--neutral-white);
  color: var(--t-per-bright-dark);
  font-size: 1.6rem;
}

.pswp__button--arrow--left:before {
  left: 1.5rem;
  background-position: -132px -44px;
}

.pswp__button--arrow--right:before {
  right: 1.5rem;
  background-position: -88px -44px;
}

/* ------------------------------------------------*/
/* Features Gallery End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Achievements Start */
/* ------------------------------------------------*/
.numblock {
  padding: 1rem 1.25rem;
  margin-right: 1rem;
  border: 1px solid var(--stroke-elements);
  background-color: var(--base);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
}

.numblock:last-of-type {
  margin-right: 0;
}

.numblock__number {
  display: block;
  font: normal 700 2.25rem/1 var(--_font-accent);
  font-variant-numeric: lining-nums;
  color: var(--t-bright);
}

.numblock__descr {
  font: normal 700 -moz-calc(var(--_size) * 0.938)/1.2 var(--_font-default);
  font: normal 700 calc(var(--_size) * 0.938)/1.2 var(--_font-default);
  color: var(--t-muted);
  margin-top: 0.375rem;
}

@media only screen and (min-width: 768px) {
  .numblock__descr {
    margin-top: 0;
    margin-left: 0.375rem;
  }
}

.achievements__item {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .achievements__item {
    width: 33.33333334%;
  }
}

.achievements__card {
  height: 100%;
  padding: 3rem;
  background-color: var(--base);
  border: 1px solid var(--stroke-elements);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  text-align: center;
}

@media only screen and (min-width: 1600px) {
  .achievements__card {
    padding: 5rem 3rem;
  }
}

.achievements__number {
  font: normal 300 4.6rem/0.8 var(--_font-accent);
  font-variant-numeric: lining-nums;
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {
  .achievements__number {
    font-size: 8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .achievements__number {
    font-size: 9rem;
  }
}

@media only screen and (min-width: 1400px) {
  .achievements__number {
    font-size: 10rem;
  }
}

@media only screen and (min-width: 1600px) {
  .achievements__number {
    font-size: 12rem;
  }
}

.achievements__descr {
  font: normal 400 1.8rem var(--_font-default);
  color: var(--t-bright);
  margin-top: 1.5rem;
}

@media only screen and (min-width: 768px) {
  .achievements__descr {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1400px) {
  .achievements__descr {
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .achievements__descr {
    font-size: 2.6rem;
  }
}

/* ------------------------------------------------*/
/* Features Achievements End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Stacking Cards Start */
/* ------------------------------------------------*/
.stack-wrapper {
  position: relative;
  width: 100%;
}

.stack-offset {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 8rem;
  background-color: var(--base);
}

.stack-offset.solid-block {
  height: 8rem;
}

@media only screen and (min-width: 768px) {
  .stack-offset {
    height: 10rem;
  }

  .stack-offset.solid-block {
    height: 10rem;
  }
}

@media only screen and (min-width: 992px) {
  .stack-offset {
    height: 10rem;
  }

  .stack-offset.solid-block {
    height: 10rem;
  }
}

@media only screen and (min-width: 1200px) {
  .stack-offset.solid-block {
    height: 10rem;
  }
}

@media only screen and (min-width: 1400px) {
  .stack-offset {
    height: 11rem;
  }

  .stack-offset.solid-block {
    height: 11rem;
  }
}

@media only screen and (min-width: 1600px) {
  .stack-offset.solid-block {
    height: 11rem;
  }
}

.services-stack {
  width: 100%;
  position: relative;
  height: 65vh;
  min-height: 615px;
}

@media only screen and (min-width: 768px) {
  .services-stack {
    height: 500px;
    min-height: 0;
  }
}

@media only screen and (min-width: 1400px) {
  .services-stack {
    height: 600px;
  }
}

@media only screen and (min-width: 1600px) {
  .services-stack {
    height: 700px;
  }
}

.portfolio-stack {
  width: 100%;
  position: relative;
  height: 460px;
}

@media only screen and (min-width: 768px) {
  .portfolio-stack {
    height: 530px;
  }
}

@media only screen and (min-width: 1400px) {
  .portfolio-stack {
    height: 630px;
  }
}

@media only screen and (min-width: 1600px) {
  .portfolio-stack {
    height: 750px;
  }
}

.stack-item {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  padding-bottom: 2rem;
}

@media only screen and (min-width: 768px) {
  .stack-item {
    padding-bottom: 3rem;
  }
}

@media only screen and (min-width: 1600px) {
  .stack-item {
    padding-bottom: 5rem;
  }
}

.services-stack__inner {
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: var(--base);
  border: 1px solid var(--stroke-elements);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
}

.services-stack__title {
  padding: 2.6rem 3rem 0 3rem;
  margin-bottom: 2.3rem;
}

@media only screen and (min-width: 768px) {
  .services-stack__title {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 80%;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1400px) {
  .services-stack__title {
    padding: 4rem 5rem 4.6rem 5rem;
  }
}

.services-stack__text {
  font-size: 16px;
}

.services-stack__descr ul,
.about-descr ul,
.hidden-content ul,
.hidden-content2 ul {
  font: normal var(--font-weight-base) 1.8rem var(--_font-default);
  color: var(--t-bright);
  line-height: 1.2;
  font-size: 16px;
}

.services-stack__descr {
  padding: 0 3rem;
  margin-bottom: 2.3rem;
}

.services-stack__descr i {
  display: inline-block;
  font-size: 5.4rem;
  color: var(--t-bright);
  margin-bottom: 2.3rem;
  margin-left: -0.2rem;
}

@media only screen and (min-width: 768px) {
  .services-stack__descr {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 70%;
    margin-bottom: 0;
    padding: 2.6rem 3rem;
  }
}

@media only screen and (min-width: 1400px) {
  .services-stack__descr {
    padding: 4rem 5rem 4.6rem 5rem;
  }
}

.services-stack__image {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 3rem;
  position: relative;
  overflow: hidden;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.services-stack__image .service-img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.services-stack__image .service-img-m {
  display: none;
}

@media only screen and (min-width: 768px) {
  .services-stack__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding-left: 0;
  }

  .services-stack__image .service-img {
    position: absolute;
    right: -10%;
    bottom: 0;
    width: 300px;
  }

  .services-stack__image .service-img-s {
    display: none;
  }

  .services-stack__image .service-img-m {
    display: block;
  }
}

@media only screen and (min-width: 992px) {
  .services-stack__image .service-img {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

.portfolio-stack__inner {
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: var(--base);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center center;
  -moz-background-size: cover;
  background-size: cover;
}

.portfolio-stack__descr {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.4rem 3rem;
}

@media only screen and (min-width: 768px) {
  .portfolio-stack__descr {
    display: block;
    width: 60%;
    padding: 2.6rem 3rem;
  }
}

@media only screen and (min-width: 1200px) {
  .portfolio-stack__descr {
    width: 40%;
    padding: 4rem 5rem 4.6rem 5rem;
  }
}

@media only screen and (min-width: 1600px) {
  .portfolio-stack__descr {
    width: 33.3334%;
  }
}

.portfolio-stack__title {
  color: var(--t-per-bright-light);
}

.portfolio-stack__title.dark {
  color: var(--t-per-bright-dark);
  font-weight: 400;
}

.portfolio-stack__title.light {
  color: var(--neutral-white);
  font-weight: 300;
}

.portfolio-stack__text {
  margin-top: 3rem;
  font-weight: 300;
  color: var(--t-per-bright-light);
}

.portfolio-stack__text.dark {
  font-weight: 400;
  color: var(--t-per-bright-dark);
}

@media only screen and (min-width: 1400px) {
  .portfolio-stack__text {
    margin-top: 4rem;
  }
}

/* ------------------------------------------------*/
/* Features Stacking Cards End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Services Start */
/* ------------------------------------------------*/
.services {
  position: relative;
}

.services__item {
  position: relative;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .services__item {
    height: 500px;
  }
}

@media only screen and (min-width: 1400px) {
  .services__item {
    height: 600px;
  }
}

@media only screen and (min-width: 1600px) {
  .services__item {
    height: 700px;
  }
}

.services__card {
  position: relative;
  height: 100%;
  background-color: var(--base);
  border: 1px solid var(--stroke-elements);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
}

.services__title {
  padding: 2.6rem 3rem 0 3rem;
  margin-bottom: 2.3rem;
}

@media only screen and (min-width: 768px) {
  .services__title {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 60%;
    z-index: 2;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1400px) {
  .services__title {
    padding: 4rem 5rem 4.6rem 5rem;
  }
}

.services__descr {
  padding: 0 3rem;
  margin-bottom: 2.3rem;
}

.services__descr i {
  display: inline-block;
  font-size: 5.4rem;
  color: var(--t-bright);
  margin-bottom: 2.3rem;
  margin-left: -0.2rem;
}

@media only screen and (min-width: 768px) {
  .services__descr {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 50%;
    z-index: 2;
    margin-bottom: 0;
    padding: 2.6rem 3rem;
  }
}

@media only screen and (min-width: 1400px) {
  .services__descr {
    padding: 4rem 5rem 4.6rem 5rem;
  }
}

@media only screen and (min-width: 768px) {
  .services__text {
    margin-bottom: 0;
  }
}

.services__image {
  padding-left: 3rem;
  position: relative;
  overflow: hidden;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.services__image .service-img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.services__image .service-img-m {
  display: none;
}

@media only screen and (min-width: 768px) {
  .services__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding-left: 0;
  }

  .services__image .service-img {
    position: absolute;
    right: -10%;
    bottom: 0;
    height: 100%;
    width: auto;
  }

  .services__image .service-img-s {
    display: none;
  }

  .services__image .service-img-m {
    display: block;
  }
}

@media only screen and (min-width: 992px) {
  .services__image .service-img {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

.cards {
  position: relative;
}

.cards__item {
  position: relative;
  overflow: hidden;
}

.cards__card {
  height: 100%;
  background-color: var(--base);
  border: 1px solid var(--stroke-elements);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
}

.cards__descr {
  padding: 2.6rem 3rem;
}

@media only screen and (min-width: 1400px) {
  .cards__descr {
    padding: 4rem 5rem 4.6rem 5rem;
  }
}

.cards__text {
  margin-top: 3rem;
}

@media only screen and (min-width: 1400px) {
  .cards__text {
    margin-top: 4rem;
  }
}

.cards__image {
  position: relative;
  overflow: hidden;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -moz-border-radius-topleft: var(--_radius);
  border-top-left-radius: var(--_radius);
  -moz-border-radius-topright: var(--_radius);
  border-top-right-radius: var(--_radius);
}

.cards__image img {
  -o-object-fit: cover;
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
}

.cards__image-v2 {
  padding-left: 3rem;
}

@media only screen and (min-width: 1400px) {
  .cards__image-v2 {
    padding-left: 5rem;
  }
}

/* ------------------------------------------------*/
/* Features Services End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Resume Start */
/* ------------------------------------------------*/
.resume-lines,
.resume-lines-number {
  position: relative;
}

.resume-lines__item,
.resume-lines-number__item {
  padding: 4.3rem 0 4.1rem 0;
}

@media only screen and (min-width: 1600px) {

  .resume-lines__item,
  .resume-lines-number__item {
    padding: 5rem 0 4.8rem 0;
  }
}

.resume-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: var(--stroke-elements);
}

.resume-lines__date {
  margin-bottom: 1.9rem;
}

@media only screen and (min-width: 768px) {
  .resume-lines__date {
    margin-bottom: 0;
  }
}

.resume-lines-number__date {
  margin-top: 2.6rem;
}

@media only screen and (min-width: 768px) {
  .resume-lines-number__date {
    margin-top: 0;
  }
}

.resume-lines__title,
.resume-lines__source {
  padding-right: 3rem;
}

@media only screen and (min-width: 1600px) {

  .resume-lines__title,
  .resume-lines__source {
    padding-right: 5rem;
  }
}

@media only screen and (min-width: 768px) {

  .resume-lines-number__title,
  .resume-lines-number__source {
    padding-right: 3rem;
  }
}

@media only screen and (min-width: 1600px) {

  .resume-lines-number__title,
  .resume-lines-number__source {
    padding-right: 5rem;
  }
}

.resume-lines__title {
  margin-bottom: 0.6rem;
  font-family: var(--_font-accent2);
}

.resume-lines__source,
.resume-lines-number__source {
  display: inline-block;
}

.resume-lines__descr {
  margin-top: 2.3rem;
}

@media only screen and (min-width: 768px) {
  .resume-lines__descr {
    margin-top: 0;
  }
}

.resume-lines-number__descr {
  margin-bottom: 2.4rem;
}

/* ------------------------------------------------*/
/* Features Resume End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Tools Start */
/* ------------------------------------------------*/
.tools-cards__item {
  width: 50%;
}

@media only screen and (min-width: 768px) {
  .tools-cards__item {
    width: 33.33333334%;
  }
}

@media only screen and (min-width: 992px) {
  .tools-cards__item {
    width: 25%;
  }
}

.tools-cards__card {
  position: relative;
  width: 100%;
  padding: 3rem;
  background-color: var(--base);
  border: 1px solid var(--stroke-elements);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  text-align: center;
  transition: all 0.35s;
}

.tools-cards__card:hover {
  border: 1px solid #9b49eb;
}

@media only screen and (min-width: 1600px) {
  .tools-cards__card {
    padding: 5rem 3rem;
  }
}

.tools-cards__icon {
  width: auto;
  height: 6rem;
  margin: 0 auto;
}

@media only screen and (min-width: 1400px) {
  .tools-cards__icon {
    height: 7rem;
  }
}

@media only screen and (min-width: 1600px) {
  .tools-cards__icon {
    height: 9rem;
  }
}

.tools-cards__caption {
  line-height: 1;
  margin-top: 1.5rem;
}

.tools-card {
  padding: 3rem;
  background-color: var(--base);
  border: 1px solid var(--stroke-elements);
  -moz-border-radius: var(--_radius-xl);
  border-radius: var(--_radius-xl);
  overflow: hidden;
}

.tools-card__icon {
  width: auto;
  height: 60px;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .tools-card__icon {
    height: 90px;
  }
}

.tools-card__caption {
  line-height: 1;
  margin-top: 1.5rem;
}

/* ------------------------------------------------*/
/* Features Tools End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Testimonials Start */
/* ------------------------------------------------*/
.testimonials-card {
  padding: 3rem;
  background-color: transparent;
  border: 1px solid #9b49eb;
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
}



.quiz-offer-container section {
  min-width: auto;
}

@media only screen and (min-width: 992px) {
  .testimonials-card {
    height: 500px;
  }
}

@media only screen and (min-width: 1400px) {
  .testimonials-card {
    padding: 5rem;
    height: 600px;
  }
}

@media only screen and (min-width: 1600px) {
  .testimonials-card {
    height: 700px;
  }
}

.testimonials-card__tdata {
  position: relative;
  padding-right: 0;
}

@media only screen and (min-width: 992px) {
  .testimonials-card__tdata {
    height: 100%;
    padding-right: 1.5rem;
  }
}

@media only screen and (min-width: 1400px) {
  .testimonials-card__tdata {
    padding-right: 2.5rem;
  }
}

.testimonials-card__timage {
  position: relative;
  padding-left: 0;
}

@media only screen and (min-width: 992px) {
  .testimonials-card__timage {
    height: 100%;
    padding-left: 0;
  }
}

@media only screen and (min-width: 1400px) {
  .testimonials-card__timage {
    padding-left: 0;
  }
}

.timage__inner {
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
}

.timage__inner img {
  min-width: 100%;
  min-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.testimonials-card__descr {
  max-width: 1050px;
  margin-top: 2.8rem;
}

@media only screen and (min-width: 768px) {
  .testimonials-card__descr {
    margin-top: 3.8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .testimonials-card__descr {
    margin-top: 3.6rem;
  }
}

@media only screen and (min-width: 1400px) {
  .testimonials-card__descr {
    margin-top: 3.4rem;
  }
}

.testimonials-card__btnholder {
  margin-top: 2.2rem;
  margin-bottom: 3.3rem;
}

@media only screen and (min-width: 768px) {
  .testimonials-card__btnholder {
    margin-top: 3.2rem;
    margin-bottom: 4.2rem;
  }
}

@media only screen and (min-width: 992px) {
  .testimonials-card__btnholder {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
  }
}

.tauthor__avatar {
  width: 60px;
  min-width: 60px;
  height: 60px;
  margin-right: 2rem;
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .tauthor__avatar {
    width: 120px;
    min-width: 120px;
    height: 120px;
    margin-right: 3rem;
  }
}

.tauthor__name {
  color: var(--t-bright);
}

.tauthor__position {
  margin-top: 0.6rem;
}

@media only screen and (min-width: 1600px) {
  .tauthor__position {
    margin-top: 0.8rem;
  }
}

.tauthor__rating {
  margin-top: 1.3rem;
}

.tauthor__rating i {
  display: block;
  margin-right: 1rem;
  font-size: 1.6rem;
  color: var(--t-bright);
}

.tauthor__rating i:last-of-type {
  margin-right: 0;
}

@media only screen and (min-width: 1400px) {
  .tauthor__rating i {
    font-size: 1.8rem;
  }
}

@media only screen and (min-width: 1600px) {
  .tauthor__rating {
    margin-bottom: 0.4rem;
  }

  .tauthor__rating i {
    font-size: 2rem;
  }
}

/* ------------------------------------------------*/
/* Features Testimonials End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Slider Start */
/* ------------------------------------------------*/
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.swiper-testimonials {
  padding-bottom: 4.8rem;
}

@media only screen and (min-width: 1200px) {
  .swiper-testimonials {
    padding-bottom: 5rem;
  }
}

@media only screen and (min-width: 1400px) {
  .swiper-testimonials {
    padding-bottom: 7.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .swiper-testimonials {
    padding-bottom: 7.6rem;
  }
}

.mxd-swiper-pagination-fraction {
  width: auto;
  top: auto;
  bottom: 0;
  left: auto;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  padding-top: 3rem;
  font: normal 400 1.8rem/1 var(--_font-default);
  color: var(--t-bright);
}

@media only screen and (min-width: 1200px) {
  .mxd-swiper-pagination-fraction {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1400px) {
  .mxd-swiper-pagination-fraction {
    padding-top: 5rem;
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-swiper-pagination-fraction {
    font-size: 2.6rem;
  }
}

.mxd-slider-btn {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0;
  left: auto;
  width: auto;
  height: auto;
  margin: 0;
}

.mxd-slider-btn::after {
  display: none;
}

.mxd-slider-btn .btn .btn-caption {
  display: none;
}

@media only screen and (min-width: 768px) {
  .mxd-slider-btn .btn .btn-caption {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    line-height: 1;
  }
}

.mxd-slider-btn-square-prev {
  padding-left: 3rem;
  left: 0;
}

@media only screen and (min-width: 1400px) {
  .mxd-slider-btn-square-prev {
    padding-left: 5rem;
  }
}

.mxd-slider-btn-square-next {
  padding-right: 3rem;
  right: 0;
}

@media only screen and (min-width: 1400px) {
  .mxd-slider-btn-square-next {
    padding-right: 5rem;
  }
}

/* Отзывы: перебить дефолт Swiper (top:50% + margin-top), если порядок CSS меняется — стрелки снизу в одну линию с пагинацией */
.testimonials-slider .swiper-testimonials {
  --swiper-navigation-top-offset: auto;
}

.testimonials-slider .swiper-testimonials .swiper-button-prev,
.testimonials-slider .swiper-testimonials .swiper-button-next {
  top: auto;
  bottom: 0;
  margin-top: 0;
  height: auto;
  width: auto;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  transform: none;
}

/* ------------------------------------------------*/
/* Features Slider End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Socials Start */
/* ------------------------------------------------*/
/* Socials Cards */
.socials-cards {
  position: relative;
}

.socials-cards__item {
  width: 50%;
}

@media only screen and (min-width: 768px) {
  .socials-cards__item {
    width: 33.33333334%;
  }
}

@media only screen and (min-width: 992px) {
  .socials-cards__item {
    width: 20%;
  }
}

.socials-cards__link {
  position: relative;
  width: 100%;
  height: auto;
  padding: 2.6rem 0;
  background-color: var(--base);
  border: 1px solid var(--stroke-elements);
  -moz-border-radius: var(--_radius);
  border-radius: var(--_radius);
  overflow: hidden;
}

.socials-cards__link em {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: var(--t-bright);
  -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  -moz-transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.socials-cards__link i {
  position: relative;
  display: block;
  font-size: 7rem;
  line-height: 1;
  color: var(--t-bright);
  -webkit-transform: scale3d(1, 1, 1);
  -moz-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  -webkit-transition: color 0.3s 0s, -webkit-transform 0.3s 0.1s ease-in-out;
  transition: color 0.3s 0s, -webkit-transform 0.3s 0.1s ease-in-out;
  -moz-transition: color 0.3s 0s, transform 0.3s 0.1s ease-in-out, -moz-transform 0.3s 0.1s ease-in-out;
  transition: color 0.3s 0s, transform 0.3s 0.1s ease-in-out;
  transition: color 0.3s 0s, transform 0.3s 0.1s ease-in-out, -webkit-transform 0.3s 0.1s ease-in-out, -moz-transform 0.3s 0.1s ease-in-out;
  will-change: transform;
}

.no-touch .socials-cards__link:hover {
  color: var(--t-opp-bright);
  background-color: var(--t-bright);
  -webkit-transition: color 0.3s 0s, background-color 0.3s 0.24s, -webkit-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out;
  transition: color 0.3s 0s, background-color 0.3s 0.24s, -webkit-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out;
  -moz-transition: color 0.3s 0s, background-color 0.3s 0.24s, box-shadow 0.5s, transform 0.3s ease-in-out, -moz-box-shadow 0.5s, -moz-transform 0.3s ease-in-out;
  transition: color 0.3s 0s, background-color 0.3s 0.24s, box-shadow 0.5s, transform 0.3s ease-in-out;
  transition: color 0.3s 0s, background-color 0.3s 0.24s, box-shadow 0.5s, transform 0.3s ease-in-out, -webkit-box-shadow 0.5s, -moz-box-shadow 0.5s, -webkit-transform 0.3s ease-in-out, -moz-transform 0.3s ease-in-out;
}

.no-touch .socials-cards__link:hover i {
  color: var(--t-opp-bright);
  -webkit-transform: scale3d(0.96, 0.96, 1);
  -moz-transform: scale3d(0.96, 0.96, 1);
  transform: scale3d(0.96, 0.96, 1);
}

.no-touch .socials-cards__link:hover em {
  width: 225%;
  height: 40.95rem;
}

@media only screen and (min-width: 1400px) {
  .socials-cards__link i {
    font-size: 8rem;
  }
}

@media only screen and (min-width: 1600px) {
  .socials-cards__link {
    padding: 4rem 0;
  }

  .socials-cards__link i {
    font-size: 10rem;
  }
}

/* Socials Lines */
.socials-lines {
  position: relative;
}

.socials-lines__item {
  position: relative;
  display: block;
}

.socials-lines__divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: var(--stroke-elements);
}

.socials-lines__link {
  position: relative;
  padding: 3rem 0.4rem;
  color: var(--t-bright);
  overflow: hidden;
}

.socials-lines__link h4 {
  font-family: var(--_font-accent2);
}

.socials-lines__link::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  background: linear-gradient(120deg, #742cbc 0%, #9b49eb 50%, #1D2190 100%);
  -webkit-transition: height var(--_animspeed-medium) var(--_animbezier);
  -moz-transition: height var(--_animspeed-medium) var(--_animbezier);
  transition: height var(--_animspeed-medium) var(--_animbezier);
}

.socials-lines__link h4,
.socials-lines__link i {
  color: var(--t-bright);
  -webkit-transition: all var(--_animspeed-medium) var(--_animbezier);
  -moz-transition: all var(--_animspeed-medium) var(--_animbezier);
  transition: all var(--_animspeed-medium) var(--_animbezier);
}

@media only screen and (min-width: 768px) {
  .socials-lines__link {
    padding: 5rem 0.4rem;
  }
}

@media only screen and (min-width: 1200px) {
  .no-touch .socials-lines__link:hover::before {
    height: 100%;
  }

  .no-touch .socials-lines__link:hover h4 {
    -webkit-transform: translate(1rem, 0px) !important;
    -moz-transform: translate(1rem, 0px) !important;
    -ms-transform: translate(1rem, 0px) !important;
    transform: translate(1rem, 0px) !important;
  }

  .no-touch .socials-lines__link:hover i {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}

.socials-lines__icon {
  font-size: 3rem;
}

@media only screen and (min-width: 1400px) {
  .socials-lines__icon {
    font-size: 3.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  .socials-lines__icon {
    font-size: 4rem;
  }
}

/* ------------------------------------------------*/
/* Features Socials End */
/* ------------------------------------------------*/
/* ------------------------------------------------*/
/* Features Contact Data Start */
/* ------------------------------------------------*/
.contact-data__item {
  margin-bottom: 3.2rem;
}

.contact-data__item:last-of-type {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .contact-data__item {
    margin-bottom: 4.3rem;
  }

  .contact-data__item:nth-of-type(3),
  .contact-data__item:last-of-type {
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 992px) {
  .contact-data__item {
    margin-bottom: 0;
  }
}

.contact-data__title {
  margin-bottom: 2.5rem;
}

@media only screen and (min-width: 768px) {
  .contact-data__title {
    margin-bottom: 3.5rem;
  }
}

@media only screen and (min-width: 1400px) {
  .contact-data__title {
    margin-bottom: 3.4rem;
  }
}

@media only screen and (min-width: 1600px) {
  .contact-data__title {
    margin-bottom: 4.2rem;
  }
}

.btn.btn-line-small {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #742cbc 0%, #9b49eb 50%, #1D2190 100%);
  padding: 10px 30px;
  border-radius: 40px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  transition: all 0.35s;
}

/* Блиск */
.btn.btn-line-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
  pointer-events: none;
  z-index: 1;
}

/* Анімація блиску */
@keyframes shine {
  0% {
    left: -75%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.btn.btn-line-small:hover {
  color: var(--t-bright);
  background: #9b49eb;
}

@media (max-width: 1199px) {
  .headline .headline__subtitle {
    padding-left: 0rem;
  }

  .header {
    top: 2rem;
    padding-left: 0px;
    background-color: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    bottom: auto;
  }

  .menu {
    display: none;
  }
}

.cloud-img {
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  width: 100%;
  height: 300px;
  background-image: url("../img/cloud.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 2;
}

@keyframes move-twink-back {
  from {
    background-position: 0 0
  }

  to {
    background-position: -10000px 5000px
  }
}

@-webkit-keyframes move-twink-back {
  from {
    background-position: 0 0
  }

  to {
    background-position: -10000px 5000px
  }
}

@-moz-keyframes move-twink-back {
  from {
    background-position: 0 0
  }

  to {
    background-position: -10000px 5000px
  }
}

@-ms-keyframes move-twink-back {
  from {
    background-position: 0 0
  }

  to {
    background-position: -10000px 5000px
  }
}

.stars {
  background: #070019 url("../img/stars.png") repeat top center;
  z-index: 0;
}

.twinkling,
.stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.twinkling {
  background: transparent url("../img/twinkling2.png") repeat top center;
  z-index: 1;
  -moz-animation: move-twink-back 200s linear infinite;
  -ms-animation: move-twink-back 200s linear infinite;
  -o-animation: move-twink-back 200s linear infinite;
  -webkit-animation: move-twink-back 200s linear infinite;
  animation: move-twink-back 200s linear infinite;
}

.services .inner__content {
  z-index: 2;
}

.pin-spacer ul li,
.about-descr ul li,
.pswp__caption ul li,
.hidden-content ul li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: start;
  gap: 8px;
  margin-top: 20px;
}

.pin-spacer ul li:before,
.about-descr ul li:before,
.pswp__caption ul li:before,
.hidden-content ul li:before,
.hidden-content2 ul li:before {
  content: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.421 9.87878C19.0047 9.87878 18.6673 10.2162 18.6673 10.6326C18.6673 15.3155 14.8577 19.125 10.1748 19.125C5.49215 19.125 1.68234 15.3155 1.68234 10.6326C1.68234 5.94991 5.49215 2.14011 10.1748 2.14011C10.5911 2.14011 10.9286 1.80269 10.9286 1.38636C10.9286 0.96999 10.5911 0.632568 10.1748 0.632568C4.66074 0.632568 0.174805 5.11851 0.174805 10.6326C0.174805 16.1464 4.66074 20.6326 10.1748 20.6326C15.6886 20.6326 20.1748 16.1464 20.1748 10.6326C20.1748 10.2162 19.8374 9.87878 19.421 9.87878Z" fill="%23A175CC"/><path d="M19.6032 3.36678C19.309 3.07205 18.8316 3.07154 18.5374 3.36553L9.4947 12.3844L6.23212 8.84088C5.9502 8.53486 5.47356 8.51502 5.16704 8.79689C4.86075 9.07881 4.84114 9.55568 5.12306 9.86197L8.91704 13.9823C9.05599 14.1333 9.25044 14.221 9.45548 14.2253C9.46099 14.2255 9.4663 14.2255 9.47157 14.2255C9.67083 14.2255 9.86251 14.1464 10.0037 14.0057L19.6017 4.43283C19.8967 4.13889 19.8972 3.6615 19.6032 3.36678Z" fill="%23A175CC"/></svg>');
  position: relative;
  top: 3px;
}

.pswp__caption ul li:before,
.hidden-content ul li:before,
.hidden-content2 ul li:before {
  top: 0px;
}

.pswp__caption ul li,
.hidden-content ul li {
  margin-top: 0px;
}

.hidden-content2 ul li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: start;
  gap: 8px;
  margin-bottom: 20px;
}

.pswp__caption ul,
.hidden-content ul {
  margin-top: 20px;
  font-size: 15px;
}

.hidden-content2 ul {
  font-size: 15px;
  text-align: left;
  columns: 2;
}

@media (max-width: 767px) {
  .services-stack__image {
    overflow: visible;
  }

  .hidden-content2 ul {
    font-size: 15px;
    text-align: left;
    columns: 1;
  }
}

.about:before,
.author:before,
.resume:before {
  content: '';
  display: block;
  height: 145px;
  left: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 0;
  background-image: url("../img/bottom-slider.png");
}

.about {
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%), url('../img/bg-3.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.triangle {
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%), url('../img/37573682_8557036.svg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.resume {
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%), url('../img/bg-5.png'), url('../img/37573682_8557036.svg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.author {
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%), url('../img/bg-4.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.bg-author-black {
  content: '';
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%);
  position: absolute;
  bottom: 0;
  height: 400px;
  width: 100%;
  z-index: 1;
}

@media (min-width: 768px) and (max-width: 979px) {
  .author {
    background-image: none;
    position: relative;
    overflow: hidden;
  }

  .author .bg-author-mob {
    position: sticky;
    z-index: -1;
  }

  .author .bg-author-mob::before {
    content: '';
    position: fixed;
    z-index: -1;
    display: block;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%), url('../img/bg-4.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (max-width: 767px) {
  .author {
    background-image: none;
    position: relative;
    overflow: hidden;
  }

  .author .bg-author-mob {
    position: sticky;
    z-index: -1;
  }

  .author .bg-author-mob::before {
    content: '';
    position: fixed;
    z-index: -1;
    display: block;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 78%, rgba(var(--base-rgb), 1) 97%), url('../img/bg-4.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

.author .block__descr .reveal-type,
.hidden-content h2,
.matrica h2 {
  font-family: var(--_font-accent2);
}

.hidden-content h2,
.matrica h2 {
  margin-bottom: 30px;
  margin-top: 30px;
  font-size: 40px;
  letter-spacing: 1px;
}

.portfolio .inner__content,
.portfolio .content__block.name-block {
  z-index: 2;
}

.author .about-info__item img {
  width: 320px;
  margin-top: -130px;
  margin-right: -100px;
}

.gallery__descr .btn {
  width: 100%;
  justify-content: center;
  font-weight: bold;
}

.services-stack__title h3,
.triangle h3,
h1.cs-h3,
h2.cs-h3,
a.cs-h3 {
  font-family: var(--_font-accent2);
}

.mb-20 {
  margin-bottom: 20px;
}

.gallery__descr h5 {
  padding-bottom: 30px;
}

.gallery__descr small {
  font-size: 30px;
  text-shadow: 1px 1px #000;
}

.gallery__image-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  z-index: 1;
  background: linear-gradient(to top, rgba(var(--base-rgb), 1) 0%, rgba(var(--base-rgb), 0) 100%);
  pointer-events: none;
}



@media (max-width: 767px) {
  .author .about-info__item img {
    margin: 0 auto;
  }
}

.hidden-content,
.hidden-content2 {
  height: 0;
  overflow: hidden;
  transition: height 0.6s ease;
}

.author .about-descr__text::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4C6 10 4 18 4 28h8c0-6 2-12 6-16V4h-6zm16 0c-6 6-8 14-8 24h8c0-6 2-12 6-16V4h-6z' fill='%23A175CC'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.hidden-content h2::before,
.matrica h2::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4C6 10 4 18 4 28h8c0-6 2-12 6-16V4h-6zm16 0c-6 6-8 14-8 24h8c0-6 2-12 6-16V4h-6z' fill='%23A175CC'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .hidden-content h2 {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .hidden-content blockquote {
    margin-top: 30px;
  }
}

.jet-parallax-section__layout {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.jet-parallax-section__image {
  width: 100%;
  height: 100%;
  background-image: url('../img/moon-phasing1.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.4s ease-out;
  will-change: transform;
}

@-webkit-keyframes rotated {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotated {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.animate-rotate img {
  -webkit-animation: rotated 120s infinite linear;
  animation: rotated 120s infinite linear;
}

.elementor-widget-image img {
  vertical-align: middle;
  display: inline-block
}

.animate-rotate-reverse img {
  -webkit-animation: rotated 120s infinite linear reverse;
  animation: rotated 120s infinite linear reverse;
}

.matrica blockquote {
  margin-bottom: 50px;
}

.elemento-rel {
  position: relative;
}

.elementor-absolute {
  position: absolute;
}

.elemento-rel {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.elemento-rel>div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.img1 {
  width: 100%;
  z-index: 1;
}

.img2,
.img3 {
  width: 60%;
  z-index: 2;
}

.img2 {
  transform: translate(-50%, -50%) translateX(-10%);
}

.img3 {
  transform: translate(-50%, -50%) translateX(10%);
}

.elemento-rel img {
  width: 100%;
  height: auto;
  display: block;
}

#calendar .inner__wrapper {
  z-index: 1;
}

#calendar blockquote {
  margin-bottom: 30px;
}

s {
  opacity: 0.7;
}

.resume-lines__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
  opacity: 0;
}

.resume-lines__item.open .resume-lines__details {
  max-height: 300px;
  /* або достатньо велике значення */
  padding-top: 20px;
  opacity: 1;
}

.resume-lines__item {
  padding-left: 20px;
  padding-right: 20px;
  transition: all 0.4s;
}

.resume-lines__item:hover {
  background: linear-gradient(120deg, #742cbc 0%, #9b49eb 50%, #1D2190 100%);
}

.resume-lines__item {
  position: relative;
}

.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99;
  width: 150px;
  height: auto;
  display: none;
  transition: transform 0.1s ease;
}

.swiper-slide {
  transition: transform 0.3s ease;
}

.swiper-slide-prev,
.swiper-slide-next {
  transform: scale(0.85);
  opacity: 0.4;
}

.faq {
  overflow: hidden;
}

.faq .inner__wrapper {
  z-index: 2;
}

.socials-lines__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
  opacity: 0;
}

.socials-lines__item.open .socials-lines__details {
  max-height: 200px;
  /* або достатньо для вмісту */
  padding-top: 10px;
  opacity: 1;
}

.zi9 {
  z-index: 9;
}

/* ------------------------------------------------*/
/* Features Contact Data End */
/* ------------------------------------------------*/
.ptb20 {
  padding-bottom: 20px;
  padding-top: 50px;
}

.pt50 {
  padding-top: 50px;
}

.triangle-img {
  width: 150px;
  margin: 0 auto;
  margin-top: 20px;
}

.blog-img {
  border-radius: 40px;
  max-height: 300px;
  overflow: hidden;
  margin-bottom: 20px;
}

article p {
  margin-bottom: 10px;
  opacity: 0.8;
}

article h1 {
  margin-bottom: 20px;
}

article .a-block {
  -moz-border-radius: 40px;
  border-radius: 40px;
  background-color: rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 40px;
}

.main-block {
  padding-top: 120px;
  z-index: 9;
  position: relative;
}

.z-index9 {
  z-index: 9;
  position: relative;
}

/* Blog/Article: держим контент поверх звездного слоя */
.amiri-blog-section,
.amiri-article,
.amiri-article__inner {
  position: relative;
  z-index: 2;
}

article img {
  border-radius: 40px;
}

/* ------------------------------------------------*/
/* Account Page */
/* ------------------------------------------------*/


/* Управление подпиской */
.account-subscription-management {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.account-subscription-management__header {
  margin-bottom: 20px;
}


.account-subscription-management__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account-subscription-management__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.account-subscription-management__status,
.account-subscription-management__next-billing {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-subscription-management__next-billing h3 {
  font-size: 1.7rem;
}

.account-subscription-management__actions {
  display: flex;
  gap: 10px;
}

.account-subscription-management__actions .btn {
  min-width: 200px;
}

@media (max-width: 768px) {
  .account-subscription-management__info {
    grid-template-columns: 1fr;
  }

  .account-subscription-management__actions {
    flex-direction: column;
  }

  .account-subscription-management__actions .btn {
    width: 100%;
  }
}

.account-page .account-stats {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.account-page .account-stats__item {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(10, 11, 25, 0.6);
  backdrop-filter: blur(6px);
}

.account-stats__item h3 {
  font-size: 5.3rem;
}

.account-page .account-orders .orders-table {
  margin-top: 30px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.account-page .content__block.middle-text-block,
.account-page .account-orders,
.account-page .account-downloads {
  margin: 4.4rem;
}

.account-downloads {
  padding-bottom: 50px;
}

.account-page .orders-table__head,
.account-page .orders-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 20px;
  align-items: center;
}

.account-page .orders-table__head {
  background: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.account-page .orders-table__row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.account-page .orders-table__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.account-page .orders-table__pdfs {
  padding: 18px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.account-page .orders-table__pdfs p {
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.account-page {
  padding-bottom: 160px;
}

.account-page .orders-table__pdfs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* VIP: ожидание ответа — в стиле тёмного стекла ЛК (как статистика / таблицы заказов) */
.account-page .account-vip-pending {
  margin-top: 4rem;
  max-width: min(72rem, 100%);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 3.5rem 2rem 3.75rem;
  min-height: min(280px, 50vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(10, 11, 25, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

@media only screen and (min-width: 768px) {
  .account-page .account-vip-pending {
    margin-top: 4.5rem;
    padding: 4.5rem 4rem 4.75rem;
    min-height: min(320px, 45vh);
  }
}

@media only screen and (min-width: 1200px) {
  .account-page .account-vip-pending {
    padding: 5rem 5rem 5.25rem;
    min-height: 340px;
  }
}

.account-page .account-vip-pending__icon {
  display: block;
  margin: 0 auto 1.75rem;
  font-size: clamp(2.75rem, 6vw, 4rem);
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(212, 175, 106, 0.45));
}

.account-page .account-vip-pending__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 3.8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 248, 235, 0.98);
}

.account-page .account-vip-pending__text {
  margin: 0 auto;
  max-width: min(52rem, 100%);
  font-size: clamp(1.1rem, 2.2vw, 2.0rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.account-page .downloads-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.account-page .downloads-list li {
  margin: 0;
}

.account-page .inner {
  position: relative;
  z-index: 1;
}

.account-page .account-summary {
  position: relative;
  overflow: hidden;
}

.account-page .account-summary::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(4, 4, 16, 1) 0%, rgba(4, 4, 16, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

.account-page .cloud-img,
.account-page .stars,
.account-page .twinkling {
  z-index: 0;
  pointer-events: none;
}

.account-page .inner__wrapper,
.account-page .content__block,
.account-page .account-stats,
.account-page .account-credentials {
  position: relative;
  z-index: 2;
}

.account-page .inner .col-12.col-xl-8 {
  max-width: 1400px;
  margin: 0 auto;
}

.account-page .account-summary .cloud-img {
  display: block;
  opacity: 0.8;
  top: -80px;
}

.account-page .account-heading {
  margin-bottom: 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.account-page .account-heading__tagline {
  font-size: 5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  opacity: 0.7;
}

.account-page .account-heading__title {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  margin: 0 0 0.5rem;
  font-family: "BerlingskeSerif-Regular", serif;
}

.account-page .account-heading__subtitle {
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
  opacity: 0.85;
}

.account-page .account-heading__logout {
  margin-top: 0.4rem;
}

.account-page .block__descr h2 {
  font: normal 300 5.6rem var(--_font-accent2);
  color: var(--t-bright);
}

@media only screen and (min-width: 768px) {
  .account-page .block__descr h2 {
    font-size: 8rem;
  }
}

@media only screen and (min-width: 1200px) {
  .account-page .block__descr h2 {
    font-size: 6rem;
  }

  .account-page .inner .col-12.col-xl-8 {
    width: 80%;
  }
}

@media only screen and (min-width: 1400px) {
  .account-page .block__descr h2 {
    font-size: 8rem;
  }
}

@media only screen and (min-width: 1600px) {
  .account-page .block__descr h2 {
    font-size: 10rem;
  }
}

.lk-wrapper {
  display: flex;
}

@media only screen and (max-width: 1200px) {
  .lk-wrapper {
    flex-direction: column;
  }

  .lk-wrapper>.content__block.middle-text-block {
    display: contents;
  }

  .lk-wrapper>.content__block.middle-text-block>.account-heading {
    order: 1;
  }

  .lk-wrapper>.account-tabs__nav {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0;
    margin-bottom: 32px;
  }

  .lk-wrapper>.content__block.middle-text-block>.account-tabs {
    order: 3;
  }

}

.account-page .account-credentials {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  margin: 20px auto 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: rgba(10, 11, 25, 0.65);
  backdrop-filter: blur(8px);
}

.account-page .account-password {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.account-page .account-credentials h3 {
  font-size: clamp(1.4rem, 1.8vw, 2.2rem);
  word-break: break-all;
  margin: 0;
}

.account-page .account-password .btn {
  flex-shrink: 0;
}

/* Блок «Данные для расчётов» — в стиле карточек ЛК (как account-credentials / account-stats) */
.account-page .account-user-data {
  position: relative;
  z-index: 2;
  margin: 2rem 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(10, 11, 25, 0.65);
  backdrop-filter: blur(8px);
}

#amiri-api-extra-form-fields {
  width: 100%;
}

.account-page .account-user-data__form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem 1.5rem;
}

.account-page .account-user-data__form p {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.account-page .account-user-data__form p.account-user-data__row {
  flex: 1 1 100%;
  min-width: 0;
}

.account-page .account-user-data__form label {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--t-bright, #fff);
}

.account-page .account-user-data__form p:last-of-type {
  margin-bottom: 0;
}

.account-page .account-user-data__input {
  display: block;
  width: 100%;
  min-width: 140px;
  max-width: 220px;
  padding: 12px 16px;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--t-bright, #fff);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.account-page .account-user-data__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.account-page .account-user-data__input:focus {
  border-color: rgba(165, 117, 204, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.account-page .account-user-data__input--date {
  color-scheme: dark;
}

/* Блок «Данные для расчётов» — форма и поля всегда кликабельны */
.account-page .account-user-data,
.account-page .account-user-data__form,
.account-page .account-user-data__form label,
.account-page .account-user-data__input {
  pointer-events: auto !important;
}

.account-page .account-user-data__input {
  cursor: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

.account-page .account-user-data__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Пол в ЛК — аккуратное выравнивание под общую сетку */
.account-page .account-user-data__gender {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 1.2rem;
}

.account-page .account-user-data__gender label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 400;
}

.account-page .account-user-data__gender input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: #e8c84a;
}

.account-page .account-user-data__message {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
  .account-page .account-user-data__form {
    flex-direction: column;
    align-items: stretch;
  }

  .account-page .account-user-data__form p {
    flex: none;
  }

  .account-page .account-user-data__form p.account-user-data__row {
    flex: none;
  }

  .account-page .account-user-data__input {
    max-width: none;
    min-width: 0;
  }
}

.account-page .account-tabs__wrapper {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: rgba(10, 11, 25, 0.6);
  padding: 24px;
}

.account-page .account-tabs {
  margin-top: 0;
}

.account-page .account-tabs__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
  padding-top: 20rem;
}

.account-page .account-tabs__nav-item {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--t-bright);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font: normal var(--font-weight-base) 1.4rem/1.6 var(--_font-default);
  white-space: nowrap;
  outline: none;
}

.account-page .account-tabs__nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.account-page .account-tabs__nav-item.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--t-bright);
}

.account-page .account-tabs__nav-item.is-locked {
  opacity: 0.6;
  position: relative;
  cursor: not-allowed;
}

.account-page .account-tabs__nav-item.is-locked::after {
  content: '🔒';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.account-page .account-tabs__nav-item.is-locked:hover {
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.05);
}

.account-page .account-tabs__content {
  position: relative;
  z-index: 2;
}

.account-page .account-tabs__panel {
  display: none;
}

.account-page .account-tabs__panel.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Стили для календаря AMIRI */
.account-page .amiri-calendar-wrapper {
  position: relative;
}

.account-page .amiri-calendar-container {
  position: relative;
  z-index: 1;
}

.account-page .amiri-calendar-container .hero h1 {
  font-family: var(--_font-accent2);
}

.account-page .amiri-calendar-container input:focus,
.account-page .amiri-calendar-container select:focus {
  border-color: #7aa2ff;
  box-shadow: 0 0 0 3px rgba(61, 127, 255, 0.2);
}

@media only screen and (max-width: 1200px) {
  .account-page .account-tabs__nav {
    padding-top: 0;
    flex-direction: row;
    justify-content: center;
  }

  .lk-wrapper {
    padding: 0 20px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Попап блокировки вкладок */
.amiri-lock-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.amiri-lock-modal.is-active {
  display: flex;
}

#amiri-feedback-success-modal.is-active {
  z-index: 10050;
}

.amiri-lock-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.amiri-lock-modal__content {
  position: relative;
  background: rgba(10, 11, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  z-index: 1;
  animation: fadeIn 0.3s ease;
}

.amiri-lock-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--t-bright);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.amiri-lock-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.amiri-lock-modal__title {
  font-size: 2.4rem;
  font-weight: var(--font-weight-base);
  color: var(--t-bright);
  margin: 0 0 16px 0;
  font-family: var(--_font-accent2);
}

.amiri-lock-modal__description {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.amiri-lock-modal__price {
  font-size: 3.2rem;
  font-weight: var(--font-weight-base);
  color: var(--c-gold, #d4af37);
  margin: 0 0 32px 0;
  font-family: var(--_font-accent2);
}

.amiri-lock-modal__price-old {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 2.2rem;
  color: var(--c-gold, #d4af37);
}

.amiri-lock-modal__price-current {
  color: var(--c-gold, #d4af37);
}

.amiri-lock-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.amiri-lock-modal__total {
  font-size: 2rem;
  font-weight: 600;
  color: var(--t-bright);
}

.amiri-lock-modal__buy {
  flex-shrink: 0;
}

.amiri-lock-modal__upsells {
  text-align: left;
}

.amiri-lock-modal__upsell-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  min-height: 40px;
  flex-wrap: nowrap;
}

.amiri-lock-modal__upsell-label {
  flex: 1;
  min-width: 0;
  font-size: 1.5rem;
  line-height: 1.4;
  text-align: left;
}

.amiri-lock-modal__upsell-row .btn {
  flex-shrink: 0;
  margin-left: auto;
}

.amiri-lock-modal__upsell-price {
  white-space: nowrap;
}

/* Блок информации о подписке во вкладке */
.amiri-subscription-info {
  border-radius: 10px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.amiri-subscription-info--active {
  border-color: rgba(80, 200, 120, 0.35);
  background: rgba(80, 200, 120, 0.07);
}

.amiri-subscription-info--grace {
  border-color: rgba(230, 180, 60, 0.35);
  background: rgba(230, 180, 60, 0.07);
}

.amiri-subscription-info--expired {
  border-color: rgba(220, 80, 80, 0.35);
  background: rgba(220, 80, 80, 0.07);
}

.amiri-subscription-info__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.amiri-subscription-info__dot {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.amiri-subscription-info--active .amiri-subscription-info__dot {
  color: #50c878;
}

.amiri-subscription-info--grace .amiri-subscription-info__dot {
  color: #e6b43c;
}

.amiri-subscription-info--expired .amiri-subscription-info__dot {
  color: #dc5050;
}

.amiri-subscription-info__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.amiri-subscription-info__status {
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}

.amiri-subscription-info--active .amiri-subscription-info__status {
  color: #50c878;
}

.amiri-subscription-info--grace .amiri-subscription-info__status {
  color: #e6b43c;
}

.amiri-subscription-info--expired .amiri-subscription-info__status {
  color: #dc5050;
}

.amiri-subscription-info__period,
.amiri-subscription-info__expires {
  font-size: 1.3rem;
  opacity: 0.8;
  white-space: nowrap;
}

.amiri-subscription-info__expires strong {
  font-weight: 600;
  opacity: 1;
}

/* Список товаров для выбора при клике на вкладку */
.amiri-lock-modal__choices-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.amiri-lock-choice-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.amiri-lock-choice-card__info {
  flex: 1;
  min-width: 0;
}

.amiri-lock-choice-card__name {
  font-size: 1.5rem;
  line-height: 1.4;
}

.amiri-lock-choice-card__price {
  font-size: 1.5rem;
  opacity: 0.75;
  white-space: nowrap;
}

.amiri-lock-choice-card__price-old {
  font-size: 1.5rem;
  opacity: 0.45;
  white-space: nowrap;
  text-decoration: line-through;
}

.amiri-lock-choice-card__buy {
  flex-shrink: 0;
  margin-left: auto;
}

/* Попап «Укажите данные» — шире и просторнее */
.amiri-user-data-popup__content {
  max-width: 620px;
  width: 92%;
  padding: 48px 52px;
}

.amiri-user-data-popup__content .amiri-lock-modal__title {
  text-align: center;
}

.amiri-user-data-popup__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0 0 24px 0;
  text-align: center;
}

.amiri-user-data-popup__content #amiri-user-data-popup-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 24px;
  text-align: left;
  margin-top: 8px;
}

.amiri-user-data-popup__content #amiri-user-data-popup-form>p {
  margin: 0;
  flex: 1 1 0;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.amiri-user-data-popup__content #amiri-user-data-popup-form>p.account-user-data__row {
  flex: 1 1 100%;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.amiri-user-data-popup__content #amiri-user-data-popup-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: var(--t-bright, #fff);
}

.amiri-user-data-popup__content #amiri-user-data-popup-form .account-user-data__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--t-bright, #fff);
  font-size: 1.4rem;
  box-sizing: border-box;
}

.amiri-user-data-popup__content #amiri-user-data-popup-form .account-user-data__gender {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
  min-height: 44px;
}

.amiri-user-data-popup__content #amiri-user-data-popup-form .account-user-data__gender label {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 1.4rem;
}

.amiri-user-data-popup__content #amiri-user-data-popup-form .account-user-data__gender input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--c-gold, #e8c84a);
  flex-shrink: 0;
}

.amiri-user-data-popup__content #amiri-user-data-popup-form .account-user-data__message {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
}

@media only screen and (max-width: 640px) {
  .amiri-user-data-popup__content #amiri-user-data-popup-form {
    flex-direction: column;
    gap: 20px;
  }

  .amiri-user-data-popup__content #amiri-user-data-popup-form>p {
    min-width: 0;
  }
}

/* Попап доп. полей для API после оплаты */
.amiri-api-extra-modal__overlay-block {
  cursor: default;
}

.amiri-api-extra-modal__content {
  max-width: 560px;
  width: 92%;
  padding: 40px 36px 36px;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.amiri-api-extra-modal__content #amiri-api-extra-form {
  margin-top: 16px;
  flex-direction: column;
}

.amiri-api-extra-modal__content .account-user-data__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.amiri-matrix-module .formGrid {
  grid-template-columns: auto !important;
}

.amiri-api-extra-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 18px 8px;
  margin: 0 0 20px 0;
}

.amiri-api-extra-fieldset legend {
  padding: 0 8px;
  font-size: 1.4rem;
  color: var(--c-gold, #e8c84a);
}

.amiri-api-extra-modal__content #amiri-api-extra-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: var(--t-bright, #fff);
}

.amiri-api-extra-modal__content #amiri-api-extra-form .account-user-data__input {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--t-bright, #fff);
  font-size: 1.4rem;
  box-sizing: border-box;
}

.amiri-api-extra-modal__content #amiri-api-extra-form textarea.account-user-data__input {
  min-height: 100px;
  resize: vertical;
}

@media only screen and (max-width: 768px) {
  .amiri-lock-modal__content {
    padding: 30px 20px;
  }

  .amiri-lock-modal__title {
    font-size: 2rem;
  }

  .amiri-lock-modal__price {
    font-size: 2.4rem;
  }
}

/* Главный апсейл: полноэкранный модал при первом входе в ЛК после покупки */
.amiri-main-upsell-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.amiri-main-upsell-modal.is-active {
  display: flex;
}

.amiri-main-upsell-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.amiri-main-upsell-modal__content {
  position: relative;
  background: radial-gradient(circle at top, rgba(120, 116, 255, 0.35), transparent 60%), rgba(10, 11, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  padding: 56px 52px;
  max-width: 720px;
  width: 100%;
  text-align: center;
  z-index: 1;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(120, 116, 255, 0.25);
  animation: fadeIn 0.3s ease, scaleIn 0.3s ease;
}

.amiri-main-upsell-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--t-bright);
  font-size: 3.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.amiri-main-upsell-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.amiri-main-upsell-modal__title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--t-bright);
  margin: 0 0 20px 0;
  font-family: var(--_font-accent2);
  line-height: 1.25;
}

.amiri-main-upsell-modal__description {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px 0;
  line-height: 1.5;
}

.amiri-main-upsell-modal__products {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.amiri-main-upsell-modal__price {
  font-size: 3.4rem;
  font-weight: 800;
  color: #e8c84a;
  text-shadow: 0 0 20px rgba(232, 200, 74, 0.4);
  text-align: center;
}

.amiri-main-upsell-modal__price-old {
  font-size: 1.6rem;
  font-weight: 400;
  color: rgba(232, 200, 74, 0.5);
  text-decoration: line-through;
  margin-right: 8px;
  text-shadow: none;
}

.amiri-main-upsell-modal__buy {
  min-width: 260px;
  padding: 1rem 2.8rem;
  font-size: 1.15rem;
  justify-content: center;
  font-weight: 700;
}

@keyframes scaleIn {
  from {
    transform: translateY(10px) scale(0.96);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .amiri-main-upsell-modal__content {
    padding: 44px 28px;
    max-width: 100%;
  }

  .amiri-main-upsell-modal__title {
    font-size: 2.4rem;
  }

  .amiri-main-upsell-modal__description {
    font-size: 1.35rem;
  }

  .amiri-main-upsell-modal__price {
    font-size: 2.6rem;
  }

  .amiri-main-upsell-modal__buy {
    min-width: 220px;
    font-size: 1.05rem;
  }
}

/* Боковая панель ЛК: главный и обычные апсейлы */
.account-sidebar {
  position: relative;
  z-index: 2;
  display: none;
  padding-top: 20rem;
  padding-left: 0;
}

@media (min-width: 1200px) {
  .account-sidebar {
    padding-left: 24px;
  }
}

.account-sidebar__inner {
  position: sticky;
  top: 120px;
}

/* Апсейлы в конце content__block middle-text-block */
.account-upsells-end {
  margin-top: 3rem;
}

.account-upsells-end .account-upsell-block {
  margin-bottom: 24px;
}

.account-upsells-end .account-upsell-block:last-child {
  margin-bottom: 0;
}

/* Апсейлы перед обратной связью — в одну строку */
.account-panel-upsells {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

.account-panel-upsells .account-upsell-block {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}

.account-upsell-block {
  display: none;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}

.account-upsell-block.is-visible {
  display: block;
}

/* Кнопка «свернуть» у главного апсейла в боковой панели — внутри блока, не в углу экрана */
.account-upsell-block--main .account-upsell-block__dismiss {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--t-bright);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.account-upsell-block--main .account-upsell-block__dismiss:hover {
  background: rgba(255, 255, 255, 0.2);
}

.account-upsell-block--main .account-upsell-block__title {
  padding-right: 36px;
}

.account-upsell-block__title {
  font-size: 1.6rem;
  font-weight: var(--font-weight-base);
  color: var(--t-bright);
  margin: 0 0 10px 0;
  font-family: var(--_font-accent2);
}

.account-upsell-block__description {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.account-upsell-block__products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-upsell-block__products .btn {
  width: 100%;
}

/* Апсейл между секциями контента (переиспользуемый блок по вкладке) */
.account-inline-upsell {
  margin-top: 2rem;
}

.account-inline-upsell__inner {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
}

.account-inline-upsell__title {
  font-size: 1.6rem;
  font-weight: var(--font-weight-base);
  color: var(--t-bright);
  margin: 0 0 10px 0;
  font-family: var(--_font-accent2);
}

.account-inline-upsell__description {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.account-inline-upsell__btn {
  margin-top: 8px;
}

/* Вкладка «Мои PDF» и карточки Высшей миссии — компактная сетка */
.account-my-pdfs__grid,
.amiri-soul-mission-pdfs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 1rem;
}

.amiri-generated-deliveries.account-my-pdfs__grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.account-pdf-card {
  margin: 0;
  min-width: 0;
}

.account-pdf-card__inner {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.account-pdf-card__inner:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.account-pdf-card__title {
  font-size: 1.35rem;
  font-weight: var(--font-weight-base);
  color: var(--t-bright);
  margin: 0;
  font-family: var(--_font-accent2);
  line-height: 1.25;
}

.account-pdf-card__btn,
.account-pdf-card .btn.account-pdf-card__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.5rem !important;
  padding: 8px 14px;
  letter-spacing: 0.02em;
  max-width: 100%;
  white-space: normal;
}

.account-pdf-card__btn .ph,
.account-pdf-card .account-pdf-card__btn i {
  font-size: 1rem !important;
}

.account-pdf-card__placeholder {
  font-size: 0.95rem;
  color: var(--t-medium);
  opacity: 0.9;
}

/* ── Voice play button ─────────────────────────────────── */
.amiri-voice-play-btn {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}

.amiri-voice-play-btn .amiri-voice-play-icon {
  display: inline-block;
  width: 1.1em;
  text-align: center;
  line-height: 1;
  transition: color 0.2s;
}

.amiri-voice-play-btn.is-playing {
  color: var(--c-accent, #9b7eff);
  border-color: var(--c-accent, #9b7eff);
}

.amiri-voice-play-btn.is-playing .amiri-voice-play-icon {
  color: var(--c-accent, #9b7eff);
}

.amiri-voice-play-btn:focus-visible {
  outline: 2px solid var(--c-accent, #9b7eff);
  outline-offset: 2px;
}

/* Форма обратной связи в тарифе ЛК — компактная, в отдельном блоке */
.account-tariff-feedback {
  margin-top: 1.5rem;
  max-width: 420px;
}

.account-tariff-feedback .account-tariff-feedback__form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
}

.account-tariff-feedback__title {
  font-size: 1.35rem;
  font-weight: var(--font-weight-base);
  color: var(--t-bright);
  margin: 0 0 0.9rem 0;
  font-family: var(--_font-accent2);
}

.account-tariff-feedback__field {
  margin-bottom: 0.65rem;
}

.account-tariff-feedback__field label {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}

.account-tariff-feedback__field input,
.account-tariff-feedback__field select,
.account-tariff-feedback__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: var(--t-bright);
  font-size: 1.3rem;
  transition: border-color 0.2s, background 0.2s;
}

.account-tariff-feedback__field input:focus,
.account-tariff-feedback__field select:focus,
.account-tariff-feedback__field textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.account-tariff-feedback__field textarea {
  min-height: 72px;
  resize: vertical;
}

.account-tariff-feedback__field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M7 9L3 5h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

.account-tariff-feedback__field select option {
  background: #1e1e2e;
  color: rgba(255, 255, 255, 0.95);
  padding: 10px 12px;
}

.account-tariff-feedback__field select option:checked,
.account-tariff-feedback__field select option:hover {
  background: rgba(212, 175, 55, 0.25);
  color: var(--t-bright);
}

.account-tariff-feedback__submit {
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.account-tariff-feedback__submit .btn {
  padding: 10px 20px;
  font-size: 1.25rem;
  min-width: 140px;
}

.account-tariff-feedback__message {
  margin-top: 0.6rem;
  padding: 0.5rem 0;
  min-height: 1.5em;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--c-gold, #d4af37);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Форма «Поддержка» в ЛК — те же компактные стили */
.account-support-form {
  max-width: 420px;
  margin-top: 1rem;
}

.account-support-form .account-tariff-feedback__form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
}

.downloads-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.downloads-list__item .account-pdf-issue-trigger {
  flex-shrink: 0;
}

.amiri-pdf-issue-modal__content .amiri-lock-modal__title {
  margin-bottom: 8px;
}

.amiri-pdf-issue-report-name {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.amiri-pdf-issue-modal__content form p {
  margin-bottom: 12px;
}

.amiri-pdf-issue-modal__content label {
  display: block;
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.amiri-pdf-issue-modal__content select,
.amiri-pdf-issue-modal__content textarea {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--t-bright);
}

.amiri-pdf-issue-modal__content select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M7 9L3 5h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

.amiri-pdf-issue-modal__content select option {
  background: #1e1e2e;
  color: rgba(255, 255, 255, 0.95);
  padding: 10px 12px;
}

.amiri-pdf-issue-modal__content select option:checked {
  background: rgba(212, 175, 55, 0.25);
  color: var(--t-bright);
}

.amiri-pdf-issue-message {
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: var(--c-gold, #d4af37);
}

@media (max-width: 991px) {
  .account-sidebar {
    padding-top: 2rem;
  }

  .account-sidebar__inner {
    position: static;
  }
}

@media (max-width: 991px) {
  .account-page {
    padding-bottom: 120px;
  }

  .account-page .orders-table__head,
  .account-page .orders-table__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-page .orders-table__head span:nth-child(3),
  .account-page .orders-table__head span:nth-child(4),
  .account-page .orders-table__head span:nth-child(5) {
    display: none;
  }

  .account-page .orders-table__row span:nth-child(3),
  .account-page .orders-table__row span:nth-child(4),
  .account-page .orders-table__row span:nth-child(5) {
    grid-column: 1 / -1;
  }

  .account-page .account-downloads {
    padding-bottom: 100px;
  }

  .account-page .orders-table__actions {
    justify-content: flex-start;
  }

  .account-page .orders-table__pdfs {
    padding: 18px;
  }

  .account-page .account-tabs__nav {
    gap: 8px;
  }

  .account-page .account-tabs__nav-item {
    padding: 8px 14px;
    font-size: 1.2rem;
  }

  .account-page .account-credentials {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ------------------------------------------------*/
/* Auth Page */
/* ------------------------------------------------*/
.auth-page {
  position: relative;
  overflow: hidden;
}

.auth-hero {
  position: relative;
  padding: 12rem 0 6rem 0;
  background: var(--base);
  overflow: hidden;
}

.auth-hero .stars,
.auth-hero .twinkling {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.auth-hero__inner {
  position: relative;
  z-index: 2;
}

.auth-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(4, 4, 16, 1) 0%, rgba(4, 4, 16, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.auth-section .stars,
.auth-section .twinkling {
  z-index: 0;
  pointer-events: none;
}

.auth-section .inner__wrapper,
.auth-section .auth-card {
  position: relative;
  z-index: 2;
}

.auth-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.auth-hero .account-heading__tagline {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.auth-hero .account-heading__title {
  margin: 1rem 0 0.8rem;
}

.auth-section {
  padding-top: 4rem;
}

.amiri-quiz {
  min-width: 400px;
}

.auth-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: 32px;
  background: rgba(10, 11, 25, 0.8);
  backdrop-filter: blur(12px);
  margin-bottom: 100px;
}

.auth-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.auth-tabs__link {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.auth-tabs__link.is-active,
.auth-tabs__link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.auth-form-panel {
  display: none;
}

.auth-form-panel.is-active {
  display: block;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form__field span {
  display: block;
  font-size: 1.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  opacity: 0.8;
}

.auth-form__field input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
}

.auth-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.4rem;
  line-height: 1.5;
}

.auth-form__checkbox input {
  width: auto;
  margin-top: 2px;
  flex-shrink: 0;
}

.auth-form__checkbox span {
  flex: 1;
}

.auth-form__checkbox--required span {
  font-weight: 500;
}

.auth-form__checkbox a {
  color: inherit;
  text-decoration: underline;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.auth-form__checkbox a:hover {
  opacity: 1;
}

.auth-form__note {
  margin-top: 10px;
  text-align: right;
}

.auth-form__note a {
  color: inherit;
  opacity: 0.8;
  text-decoration: underline;
}

.auth-form button,
.auth-btn {
  align-self: center;
  width: auto;
}

.auth-alert {
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.auth-alert--error {
  border: 1px solid rgba(255, 0, 64, 0.4);
  background: rgba(255, 0, 64, 0.08);
}

.auth-alert--success {
  border: 1px solid rgba(0, 255, 160, 0.4);
  background: rgba(0, 255, 160, 0.08);
}

/* Privacy and Oferta Pages */
.privacy-page,
.oferta-page {
  padding: 8rem 0 6rem;
}

.privacy-content,
.oferta-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(10, 11, 25, 0.8);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-title,
.oferta-title {
  font-size: 3.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.privacy-intro,
.oferta-intro {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.privacy-content h2,
.oferta-content h2 {
  font-size: 2.4rem;
  margin: 3rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-content p,
.oferta-content p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.privacy-content ul,
.oferta-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.privacy-content li,
.oferta-content li {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  opacity: 0.85;
}

@media (max-width: 767px) {

  .privacy-content,
  .oferta-content {
    padding: 24px;
  }

  .privacy-title,
  .oferta-title {
    font-size: 2.4rem;
  }

  .privacy-content h2,
  .oferta-content h2 {
    font-size: 2rem;
  }
}


@media (max-width: 1200px) {
  .auth-card {
    margin: 0 10px;
  }


  .header__account {
    display: none !important;
  }

  .account-stats__item h3 {
    font-size: 4.4rem;
  }
}

@media (max-width: 767px) {
  .auth-card {
    padding: 24px;
  }

  .auth-hero {
    padding: 8rem 0 4rem;
  }

  .auth-hero .account-heading__title {
    margin-top: 50px;
  }

  .account-stats__item h3 {
    font-size: 3.4rem;
  }

}

@media (max-width: 540px) {
  .account-page .account-credentials {
    grid-template-columns: 1fr;
  }

  .account-page {
    padding-bottom: 0;
  }

  .account-page .account-downloads {
    padding-bottom: 50px;
  }
}

/* ------------------------------------------------*/
/* Order Details Modal */
/* ------------------------------------------------*/
.order-details-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.order-details-modal.is-active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.order-details-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 4, 16, 0.85);
  backdrop-filter: blur(4px);
}

.order-details-modal__content {
  position: relative;
  z-index: 1;
  background: transparent;
  max-width: 100%;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  transform: scale(0.95);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.order-details-modal.is-active .order-details-modal__content {
  opacity: 1;
  transform: scale(1);
}


.order-details-modal__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  background-color: var(--neutral-white);
  border: none;
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--t-per-bright-dark);
  font-size: 1.8rem;
  line-height: 1;
  padding: 0;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.order-details-modal__close i {
  display: block;
  font-size: 1.8rem;
  color: var(--t-per-bright-dark);
}

.order-details-modal__close:active {
  opacity: 1;
}

.order-details-modal__close:hover {
  transform: rotate(90deg);
  background-color: var(--neutral-white);
  opacity: 0.9;
}

.order-details-modal__body {
  padding: 2rem 1.5rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  position: relative;
}

.order-details-modal__items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 500px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

/* Стили для карточки товара в модальном окне */
.order-details-modal__items .order-details-item {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.order-details-modal__items .order-details-item__image {
  width: 100%;
  max-width: 400px;
  margin-bottom: 0;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}

.order-details-modal__items .order-details-item__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.order-details-modal__items .order-details-item__content {
  width: 100%;
  margin-top: -80px;
}

/* Применяем стили pswp__caption__center к контенту */
.order-details-modal__items .pswp__caption__center {
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  position: relative;
  z-index: 1;
  padding: 2.6rem 2rem;
}

/* Заголовок в модальном окне */
.order-details-modal__items .pswp__caption__center h5 {
  font: normal 500 2.4rem var(--_font-accent);
  color: var(--t-per-bright-light);
  margin-bottom: 1.8rem;
  letter-spacing: normal;
  line-height: 1.3;
}

.order-details-modal__items .pswp__caption__center h5 small {
  display: block;
  font: normal 400 1.6rem var(--_font-default);
  color: var(--t-per-medium-light);
  margin-top: 0.4rem;
  font-weight: 400;
}

/* Убеждаемся что списки правильно стилизованы */
.order-details-modal__items .pswp__caption__center ul.small {
  margin-top: 20px;
  font-size: 15px;
  list-style: none;
  padding: 0;
}

.order-details-modal__items .pswp__caption__center ul.small li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: start;
  gap: 8px;
  margin-top: 10px;
}

.order-details-modal__items .pswp__caption__center ul.small li:before {
  content: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.421 9.87878C19.0047 9.87878 18.6673 10.2162 18.6673 10.6326C18.6673 15.3155 14.8577 19.125 10.1748 19.125C5.49215 19.125 1.68234 15.3155 1.68234 10.6326C1.68234 5.94991 5.49215 2.14011 10.1748 2.14011C10.5911 2.14011 10.9286 1.80269 10.9286 1.38636C10.9286 0.96999 10.5911 0.632568 10.1748 0.632568C4.66074 0.632568 0.174805 5.11851 0.174805 10.6326C0.174805 16.1464 4.66074 20.6326 10.1748 20.6326C15.6886 20.6326 20.1748 16.1464 20.1748 10.6326C20.1748 10.2162 19.8374 9.87878 19.421 9.87878Z" fill="%23A175CC"/><path d="M19.6032 3.36678C19.309 3.07205 18.8316 3.07154 18.5374 3.36553L9.4947 12.3844L6.23212 8.84088C5.9502 8.53486 5.47356 8.51502 5.16704 8.79689C4.86075 9.07881 4.84114 9.55568 5.12306 9.86197L8.91704 13.9823C9.05599 14.1333 9.25044 14.221 9.45548 14.2253C9.46099 14.2255 9.4663 14.2255 9.47157 14.2255C9.67083 14.2255 9.86251 14.1464 10.0037 14.0057L19.6017 4.43283C19.8967 4.13889 19.8972 3.6615 19.6032 3.36678Z" fill="%23A175CC"/></svg>');
  position: relative;
  top: 3px;
  flex-shrink: 0;
}

.order-details-modal__items .pswp__caption__center:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .order-details-modal__content {
    padding: 0.5rem;
  }

  .order-details-modal__body {
    padding: 1rem 0.5rem 0.5rem;
  }

  .order-details-modal__close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .order-details-modal__body {
    padding: 1.5rem 1rem 1rem;
  }

  .order-details-modal__items {
    gap: 20px;
    max-width: 100%;
  }

  .order-details-modal__items .order-details-item__image {
    max-width: 350px;
  }

  .order-details-modal__items .order-details-item__content {
    margin-top: -70px;
  }

  .order-details-modal__items .pswp__caption__center {
    padding: 2rem 1.5rem;
  }

  .order-details-modal__items .pswp__caption__center h5 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .order-details-modal__items .pswp__caption__center h5 small {
    font-size: 1.4rem;
    margin-top: 0.4rem;
  }
}

@media (max-width: 480px) {
  .order-details-modal__items .order-details-item__image {
    max-width: 280px;
    border-radius: 50%;
  }

  .order-details-modal__items .order-details-item__content {
    margin-top: -60px;
  }

  .order-details-modal__items .pswp__caption__center {
    padding: 1.5rem 1.2rem;
  }

  .order-details-modal__items .pswp__caption__center h5 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .order-details-modal__items .pswp__caption__center h5 small {
    font-size: 1.3rem;
    margin-top: 0.4rem;
  }

  .order-details-modal__items .pswp__caption__center ul.small {
    margin-top: 15px;
    font-size: 14px;
  }

  .order-details-modal__items .pswp__caption__center ul.small li {
    margin-top: 15px;
  }

  .order-details-modal__close {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .order-details-modal__close i {
    font-size: 1.6rem;
  }
}

/* ------------------------------------------------*/
/* AMIRI Module Modal */
/* ------------------------------------------------*/
.amiri-module-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.amiri-module-modal.is-active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.amiri-module-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 4, 16, 0.85);
  backdrop-filter: blur(4px);
}

.amiri-module-modal__content {
  position: relative;
  z-index: 1;
  background: transparent;
  max-width: 95vw;
  max-height: 95vh;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.amiri-module-modal.is-active .amiri-module-modal__content {
  opacity: 1;
  transform: scale(1);
}

.amiri-module-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  background-color: var(--neutral-white);
  border: none;
  -moz-border-radius: var(--_radius-s);
  border-radius: var(--_radius-s);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--t-per-bright-dark);
  font-size: 1.8rem;
  line-height: 1;
  padding: 0;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.amiri-module-modal__close i {
  display: block;
  font-size: 1.8rem;
  color: var(--t-per-bright-dark);
}

.amiri-module-modal__close:active {
  opacity: 1;
}

.amiri-module-modal__close:hover {
  transform: rotate(90deg);
  background-color: var(--neutral-white);
  opacity: 0.9;
}

.amiri-module-modal__container {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* Изоляция стилей модуля */
.amiri-module-modal__container>* {
  max-width: 100%;
}

.menu__link {
  font-weight: 500 !important;
}

@media (max-width: 768px) {
  .amiri-module-modal__content {
    max-width: 100vw;
    max-height: 100vh;
    padding: 0;
  }

  .amiri-module-modal__close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .amiri-module-modal__close i {
    font-size: 1.4rem;
  }

  .pswp__caption,
  .pswp__ui--fit .pswp__caption {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .amiri-module-modal__close {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .amiri-module-modal__close i {
    font-size: 1.2rem;
  }
}

/* Скрываем toast блок внизу страницы */
.toast {
  display: none !important;
}

/* Скрываем форму Unisender полностью - данные отправляются автоматически при регистрации */
.b-unisender-form {
  display: none !important;
}

/* =========================================================
   Стили для формы расчета матрицы .intro__calculation
   Скопировано с matrixbf7.tutorplace.ru
   ========================================================= */
.intro__calculation {
  border-radius: 1.6666666667vw;
  pointer-events: auto !important;
}

/* Поля формы расчёта — всегда кликабельны и принимают фокус (галерея, попап, ЛК) */
.intro__calculation-input,
.intro__calculation .name__input,
.intro__calculation .date__input,
.intro__calculation-inputs,
.intro__calculation form,
.intro__calculation .date__wrapper {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

.intro__calculation-input,
.name__input,
.date__input {
  cursor: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

@media (max-width: 768px) {
  .intro__calculation {
    border-radius: 22px;
    padding: 17px 13px;
  }
}

.intro__calculation-categoties {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.0416666667vw;
  list-style: none;
  margin-bottom: 1.9791666667vw;
  padding: 0;
}

@media (max-width: 768px) {
  .intro__calculation-categoties {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 18px;
  }
}

.intro__calculation-category {
  border: 1px solid #fff;
  border-radius: 5.2083333333vw;
  color: #fff;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: .78125vw;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25vw;
  list-style: none;
  padding: .5729166667vw;
  text-align: center;
  width: 100%;
  transition: all 0.3s ease;
}

.intro__calculation-category--active {
  background: #ffec8b;
  color: #15132f;
}

@media (max-width: 768px) {
  .intro__calculation-category {
    border-radius: 100px;
    font-size: 12px;
    line-height: 24px;
    padding: 5px;
  }
}

.intro__calculation-form {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: none;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.0416666667vw;
  width: 100%;
}

.intro__calculation-form--active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 768px) {
  .intro__calculation-form {
    gap: 10px;
  }
}

.intro__calculation-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMUw1IDVMOSAxIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+);
  background-position: right 1.25vw center;
  background-repeat: no-repeat;
  border-radius: 5.2083333333vw;
  font-size: .8333333333vw;
  outline: 0;
  padding: .9375vw 1.25vw;
  width: 100%;
  border: 2px solid transparent;
  color: #333;
  font-weight: 400;
  line-height: 1.25vw;
  cursor: pointer;
}

@media (max-width: 768px) {
  .intro__calculation-select {
    background-position: right 24px center;
    border-radius: 100px;
    font-size: 13px;
    line-height: 24px;
    padding: 7px 24px;
  }
}

.intro__calculation-inputs {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.0416666667vw;
  width: 100%;
}

.intro__calculation-inputs--compatibility {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.0416666667vw;
}

@media (max-width: 768px) {
  .intro__calculation-inputs {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }
}

.intro__calculation-input {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 5.2083333333vw;
  color: #333;
  font-size: .8333333333vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25vw;
  outline: 0;
  padding: .8333333333vw 1.25vw;
  width: 100%;
  font-family: Inter, sans-serif;
}

.intro__calculation-input::-webkit-input-placeholder {
  color: #333;
  font-size: .8333333333vw;
}

.intro__calculation-input::-moz-placeholder {
  color: #333;
  font-size: .8333333333vw;
}

.intro__calculation-input:-ms-input-placeholder {
  color: #333;
  font-size: .8333333333vw;
}

.intro__calculation-input::-ms-input-placeholder {
  color: #333;
  font-size: .8333333333vw;
}

.intro__calculation-input::placeholder {
  color: #333;
  font-size: .8333333333vw;
}

.intro__calculation-input:focus {
  outline: 0;
  border-color: #ffec8b;
}

.intro__calculation-input--error {
  border: 2px solid red;
}

@media (max-width: 768px) {
  .intro__calculation-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 100px;
    font-size: 13px;
    line-height: 24px;
    padding: 7px 24px;
    width: 100%;
  }

  .intro__calculation-input::-webkit-input-placeholder {
    font-size: 13px;
    line-height: 24px;
  }

  .intro__calculation-input::-moz-placeholder {
    font-size: 13px;
    line-height: 24px;
  }

  .intro__calculation-input:-ms-input-placeholder {
    font-size: 13px;
    line-height: 24px;
  }

  .intro__calculation-input::-ms-input-placeholder {
    font-size: 13px;
    line-height: 24px;
  }

  .intro__calculation-input::placeholder {
    font-size: 13px;
    line-height: 24px;
  }
}

.intro__calculation-button {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {}

/* Стили для date__wrapper и date__label */
.date__wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
}

body #amiriTariffsFloat {
  display: none !important;
}

.date__input {
  width: 100%;
  cursor: pointer;
}

.date__label {
  position: absolute;
  left: 1.25vw;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: .8333333333vw;
  pointer-events: none;
  transition: all 0.3s ease;
  font-family: Inter, sans-serif;
  z-index: 1;
}

.date__input:focus+.date__label,
.date__input:not(:placeholder-shown)+.date__label,
.date__input:valid+.date__label {
  top: -8px;
  left: 0.5vw;
  font-size: 0.7vw;
  color: #333;
  background: #fff;
  padding: 0 4px;
}

@media (max-width: 768px) {
  .date__label {
    left: 24px;
    font-size: 13px;
  }

  .date__input:focus+.date__label,
  .date__input:not(:placeholder-shown)+.date__label,
  .date__input:valid+.date__label {
    left: 12px;
    font-size: 11px;
  }
}

/* Убеждаемся, что поля формы в PhotoSwipe доступны для ввода */
.pswp__caption__center .intro__calculation-input,
.pswp__caption__center .name__input,
.pswp__caption__center .date__input {
  pointer-events: auto !important;
  position: relative;
  z-index: 1000 !important;
  background: #fff !important;
  cursor: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  touch-action: manipulation;
}

.pswp__caption__center .intro__calculation-inputs {
  pointer-events: auto !important;
  position: relative;
  z-index: 1000 !important;
}

.pswp__caption__center form {
  pointer-events: auto !important;
  position: relative;
  z-index: 1000 !important;
}

.pswp__caption__center .date__wrapper {
  pointer-events: auto !important;
  position: relative;
  z-index: 1000 !important;
}

.pswp__caption__center .intro__calculation-button {
  pointer-events: auto !important;
  position: relative;
  z-index: 1000 !important;
  cursor: pointer;
}

.pswp__caption__center .intro__calculation {
  pointer-events: auto !important;
  position: relative;
  z-index: 1000 !important;
}

/* Убеждаемся, что PhotoSwipe UI не блокирует форму; поднимаем слой выше контейнера слайдов */
.pswp__caption,
.pswp__caption__center {
  pointer-events: auto !important;
  z-index: 999 !important;
}

.pswp__caption__center .intro__calculation {
  position: relative;
  z-index: 10000 !important;
}

/* Блокируем перехват событий PhotoSwipe для формы */
.pswp__caption__center .intro__calculation * {
  pointer-events: auto !important;
}

.amiri-tri-num {
  fill: white;
}

.amiri-tri-text h3 {
  color: #fff !important;
  margin: 10px 0 8px !important;
  font-weight: 600 !important;
  font-size: 20px !important;
}

.amiri-tri-kpi {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px;
}

.amiri-tri-kpi .amiri-tri-box {
  max-width: 100px !important;
}

.amiri-tri-text p {
  margin: 8px 0 !important;
  color: #fff !important;
  line-height: 1.55 !important;
  font-size: 15px !important;
}

.main-container .amiri-tri-header {
  display: none;
}

/* Календарь удачи: сетка и отзывы всегда видны (не скрывать до «оплаты») */
.amiri-calendar-wrapper #calendar,
.amiri-calendar-wrapper #reviews {
  display: block !important;
}

.main-container .amiri-calendar-wrapper .hero {
  display: none !important;
}

#amiri-dux {
  display: none;
}

/* Попап с формой для календаря */
.amiri-calendar-popup {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 9999999 !important;
  /* Выше PhotoSwipe (z-index: 1500) */
  display: none;
  /* Скрыт по умолчанию */
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  /* По умолчанию не реагирует на клики */
}

.amiri-calendar-popup[style*="display: flex"],
.amiri-calendar-popup.show {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  /* Разрешаем клики когда показывается */
}

.amiri-calendar-popup__overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(5px);
  z-index: 1;
}

.amiri-calendar-popup__content {
  position: relative !important;
  z-index: 2 !important;
  background: #3e288d !important;
  border-radius: 22px !important;
  padding: 30px !important;
  max-width: 500px !important;
  width: 90% !important;
  max-height: 90vh !important;
  overflow-y: auto;
}

.amiri-calendar-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.amiri-calendar-popup__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.amiri-calendar-popup .intro__calculation {
  background: transparent;
  padding: 0;
  border-radius: 0;
  pointer-events: auto !important;
}

.amiri-calendar-popup .intro__calculation-input,
.amiri-calendar-popup .name__input,
.amiri-calendar-popup .date__input,
.amiri-calendar-popup .intro__calculation-inputs,
.amiri-calendar-popup .date__wrapper {
  pointer-events: auto !important;
  cursor: text !important;
  user-select: text !important;
}

.amiri-calendar-popup .intro__calculation-input {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 100px;
  color: #333;
  font-size: 14px;
  padding: 10px 20px;
  width: 100%;
}

.amiri-calendar-popup .intro__calculation-input:focus {
  border-color: #ffec8b;
  outline: none;
}

.amiri-calendar-popup .intro__calculation-input--error {
  border-color: #ff6b6b;
}

.amiri-calendar-popup .intro__calculation-button {
  margin-top: 15px;
  width: 100%;
}

.amiri-children-matrix-module-raw {
  padding-top: 150px;
}

/* ================================================
   AMIRI – Визуальная карта тарифов
   ================================================ */
.visual-map-page {
  background: #08080d;
  color: #eee;
  font-family: 'Inter', sans-serif;
  padding: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.visual-map-page h1.main {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  margin: 30px 0 6px;
  letter-spacing: 2px;
  color: #C9A84C;
}

.visual-map-page .sub {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin-bottom: 40px;
}

.visual-map-page .tariff {
  margin: 50px 0 20px;
  padding: 16px 0 10px;
  border-bottom: 1px solid #1a1a2e;
}

.visual-map-page .tariff h2 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.visual-map-page .tariff .pr {
  font-size: 16px;
  color: #C9A84C;
  font-weight: 700;
  margin-top: 2px;
}

.visual-map-page .tariff .pr s {
  color: #555;
  font-weight: 400;
}

.visual-map-page .slider-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6C63FF;
  margin: 14px 0 8px;
  font-weight: 700;
}

.visual-map-page .slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.visual-map-page .slider::-webkit-scrollbar {
  height: 3px;
}

.visual-map-page .slider::-webkit-scrollbar-track {
  background: #111;
}

.visual-map-page .slider::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 2px;
}

.visual-map-page .card {
  min-width: 220px;
  max-width: 220px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
  position: relative;
}

.visual-map-page .card img {
  width: 100%;
  display: block;
  border-radius: 14px 14px 0 0;
}

.visual-map-page .card .overlay {
  padding: 12px 14px 14px;
  background: linear-gradient(to bottom, rgba(10, 10, 20, 0.0), rgba(10, 10, 20, 0.95) 20%);
  position: relative;
}

.visual-map-page .card .num {
  font-size: 9px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.visual-map-page .card .card-description {
  font-size: 13px;
  color: #ddd;
  line-height: 1.45;
}

.visual-map-page .card .card-description p {
  margin: 0 0 8px;
}

.visual-map-page .card .card-description p:last-child {
  margin-bottom: 0;
}

.visual-map-page .card ul {
  list-style: none;
  padding: 0;
}

.visual-map-page .card ul li {
  font-size: 12px;
  font-weight: 600;
  color: #ddd;
  padding: 3px 0 3px 12px;
  position: relative;
  line-height: 1.3;
}

.visual-map-page .card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #C9A84C;
}

.visual-map-page .page-desc {
  margin: 16px 0;
  padding: 16px 20px;
  background: #0f0f18;
  border-radius: 12px;
  border-left: 3px solid #6C63FF;
}

.visual-map-page .page-desc .lb {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6C63FF;
  margin-bottom: 6px;
  font-weight: 700;
}

.visual-map-page .page-desc p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.5;
}

.visual-map-page .cta {
  margin: 12px 0;
  padding: 12px 16px;
  background: linear-gradient(90deg, #6C63FF, #8B5CF6);
  border-radius: 10px;
  text-align: center;
}

.visual-map-page .cta span {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.visual-map-page hr.div {
  border: none;
  border-top: 1px solid #151520;
  margin: 30px 0;
}

.visual-map-page .note {
  margin: 10px 0;
  padding: 10px 14px;
  background: #111118;
  border-radius: 8px;
  border: 1px solid #1a1a2e;
}

.visual-map-page .note .nl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #C9A84C;
  font-weight: 700;
  margin-bottom: 3px;
}

.visual-map-page .note p {
  font-size: 12px;
  color: #888;
  line-height: 1.35;
}

.visual-map-page .inner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.visual-map-page .inner-card {
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.visual-map-page .inner-card img {
  width: 100%;
  display: block;
}

.visual-map-page .inner-card .ic-text {
  padding: 6px 8px;
  font-size: 10px;
  color: #999;
  font-weight: 600;
}

/* ================================================
   Визуальная карта тарифов — новый стиль (vm-*)
   Тёмный космический фон, золотые акценты, Swiper
   ================================================ */
.vm-page {
  background: linear-gradient(180deg, #06060a 0%, #0c0c14 40%, #08080d 100%);
  color: #e8e6e3;
  font-family: 'Inter', sans-serif;
  min-height: 60vh;
  padding: 4rem 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vm-empty {
  text-align: center;
  color: #6c6c7a;
  padding: 2rem;
}

.vm-hero {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 15rem;
  padding: 2rem 0 1rem;
}

.anc-cta-bar {
  display: none !important;
}

.vm-hero__title {
  font-size: clamp(2rem, 5vw, 6.75rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #e8c84a;
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.amiri-tri-num:hover {
  transform: none !important;
}

.vm-hero__subtitle {
  font-size: 0.95rem;
  color: #9a9aa8;
  margin: 0;
}

.vm-hero__desc {
  width: 100%;
  margin: 1.25rem 0 0;
  font-size: 1rem;
  color: #d4d4e0;
  line-height: 1.7;
  text-align: left;
  padding: 1.25rem 1.5rem 1.25rem 1.5rem;
  border-left: 3px solid rgba(212, 175, 55, 0.6);
  background: rgba(20, 20, 32, 0.4);
  border-radius: 0 10px 10px 0;
  box-sizing: border-box;
}

.vm-hero__desc p {
  margin: 0 0 0.85rem;
}

.vm-hero__desc p:last-child {
  margin-bottom: 0;
}

/* Кнопки на странице визуальной карты — золотые (не синие) */
.vm-page .vm-hero__btn,
.vm-page .vm-card__btn,
.vm-page .vm-swiper-slide__btn,
.vm-page .vm-hero__btn.btn,
.vm-page .vm-card__btn.btn,
.vm-page .vm-swiper-slide__btn.btn,
.vm-page .btn.vm-hero__btn,
.vm-page .btn.vm-card__btn,
.vm-page .btn.vm-swiper-slide__btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.75rem;
  font-weight: 700;
  color: #1a1510;
  background: linear-gradient(180deg, #e8c84a 0%, #d4af37 50%, #b8962e 100%);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.vm-page .vm-hero__btn:hover,
.vm-page .vm-card__btn:hover,
.vm-page .vm-swiper-slide__btn:hover,
.vm-page .vm-hero__btn.btn:hover,
.vm-page .vm-card__btn.btn:hover,
.vm-page .vm-swiper-slide__btn.btn:hover {
  color: #1a1510;
  background: linear-gradient(180deg, #f0d454 0%, #e8c84a 50%, #d4af37 100%);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.vm-page .vm-card__btn {
  margin-top: 0;
}

/* Карточки товаров — сетка (визуально отдельный блок) */
.vm-cards {
  margin-bottom: 0;
  padding: 2rem 1.5rem 2.5rem;
  background: rgba(14, 14, 24, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.vm-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.vm-card {
  background: linear-gradient(145deg, rgba(18, 18, 28, 0.95) 0%, rgba(12, 12, 22, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vm-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 175, 55, 0.08);
}

.vm-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #d4af37;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.vm-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.vm-card__list li {
  font-size: 1.75rem;
  color: #b8b8c4;
  line-height: 1.45;
  padding: 0.25rem 0 0.25rem 1rem;
  position: relative;
}

.vm-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d4af37;
}

.vm-card__action {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.vm-card__image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.3);
}

.vm-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.vm-card__price {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.vm-card__price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #d4af37;
  margin-right: 0.5rem;
}

.vm-card__price-old {
  font-size: 0.9rem;
  color: #6c6c7a;
}

.vm-card__price-old s {
  color: #5a5a68;
}

/* Обёртка слайдера: стрелки absolute, сдвинуты левее и правее за пределы слайдера */
.vm-swiper-outer {
  position: relative;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 0;
}

.vm-swiper-outer .swiper-button-prev,
.vm-swiper-outer .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  margin-top: 0;
}

.vm-swiper-outer .swiper-button-prev {
  left: -70px;
}

.vm-swiper-outer .swiper-button-next {
  right: -70px;
}

/* Секция слайдера Swiper — визуально отдельный блок от карточек */
.vm-swiper-section {
  flex: 1;
  min-width: 0;
  padding: 2.5rem 1.5rem 2rem;
  background: rgba(10, 10, 20, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.vm-swiper-section__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d4af37;
  margin: 0 0 1.25rem;
  text-align: center;
}

.vm-swiper {
  overflow: hidden;
  padding: 0 2.5rem 2.5rem;
}

.vm-swiper .swiper-slide {
  height: auto;
  opacity: 0.65;
  filter: brightness(0.88);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.vm-swiper .swiper-slide-active {
  opacity: 1;
  filter: brightness(1);
}

.vm-swiper .swiper-slide:hover {
  opacity: 1;
  filter: brightness(1);
}

.vm-swiper-slide {
  background: linear-gradient(145deg, rgba(18, 18, 28, 0.95) 0%, rgba(12, 12, 22, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.vm-swiper-slide__image {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.vm-swiper-slide__image img {
  width: 100%;
  height: auto;
  display: block;
}

.vm-swiper-slide__content {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 18, 0.9) 20%);
  font-size: 1.75rem;
}

.vm-swiper-slide__num {
  font-size: 0.7rem;
  color: #6c6c7a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.vm-swiper-slide__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vm-swiper-slide__list li {
  font-size: 1.75rem;
  color: #c4c4d0;
  padding: 0.25rem 0 0.25rem 1rem;
  position: relative;
  line-height: 1.4;
}

.vm-swiper-slide__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d4af37;
}

.vm-swiper-slide__action {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.vm-gold-toggle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.9rem;
  color: #d4af37;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  user-select: none;
  cursor: pointer;
}

.vm-gold-toggle__input {
  width: 1.6rem;
  height: 1.6rem;
  accent-color: #d4af37;
}

.vm-swiper-slide--gold-outline {
  border-color: rgba(212, 175, 55, 0.95);
  box-shadow: none !important;
  filter: none !important;
  position: relative;
  isolation: isolate;
  animation: amiriGoldBorderPulse 1.2s ease-in-out infinite;
}

.vm-card--gold-outline {
  border-color: rgba(212, 175, 55, 0.95);
  box-shadow: none !important;
  position: relative;
  isolation: isolate;
  animation: amiriGoldBorderPulse 1.2s ease-in-out infinite;
}

.amiri-triangles-wrapper svg {
  overflow: visible;
}

.amiri-tri-tri .amiri-tri-muted {
  transform: translateY(-6px);
}

.vm-swiper-slide--gold-outline,
.vm-card--gold-outline {
  /* На случай если где-то border-color переопределяется: наша анимация должна работать. */
  transition: border-color 0.2s linear;
}

@keyframes amiriGoldBorderPulse {
  0% {
    border-color: rgba(212, 175, 55, 0.95);
  }

  50% {
    border-color: rgba(212, 175, 55, 0);
  }

  100% {
    border-color: rgba(212, 175, 55, 0.95);
  }
}

.vm-swiper-slide--gold-outline::after,
.vm-card--gold-outline::after {
  content: '';
  display: none;
}

.vm-swiper-slide--gold-outline>*,
.vm-card--gold-outline>* {
  position: relative;
  z-index: 1;
}

@keyframes amiriGoldBorderSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.vm-swiper-slide__btn {
  font-weight: 700;
  cursor: pointer;
}

/* Кнопки и пагинация Swiper — золотые */
.vm-swiper-outer .swiper-button-prev,
.vm-swiper-outer .swiper-button-next {
  color: #e8c84a;
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.3);
  border: 2px solid rgba(212, 175, 55, 0.7);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.vm-swiper-outer .swiper-button-prev:hover,
.vm-swiper-outer .swiper-button-next:hover {
  background: rgba(212, 175, 55, 0.5);
  border-color: #d4af37;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.4);
  color: #fff;
}

.vm-swiper-outer .swiper-button-prev::after,
.vm-swiper-outer .swiper-button-next::after {
  font-size: 1.5rem;
  font-weight: 700;
}

.vm-swiper-pagination .swiper-pagination-bullet {
  background: rgba(212, 175, 55, 0.4);
  opacity: 1;
}

.vm-swiper-pagination .swiper-pagination-bullet-active {
  background: #d4af37;
  transform: scale(1.2);
}

/* Попап выбора пола для гостей (страница визуальной карты) */
.vm-gender-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.vm-gender-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.vm-gender-modal__content {
  position: relative;
  max-width: 380px;
  width: 100%;
  padding: 2rem 1.75rem;
  background: linear-gradient(145deg, #12122a 0%, #0c0c1a 100%);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #e8e6e3;
  text-align: center;
}

.vm-gender-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e8c84a;
}

.vm-gender-modal__text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: #b8b8c4;
  line-height: 1.5;
}

.vm-gender-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vm-gender-modal__btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1510;
  background: linear-gradient(180deg, #e8c84a 0%, #d4af37 50%, #b8962e 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.vm-gender-modal__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

@media (max-width: 767px) {
  .vm-hero {
    margin-top: 4rem;
  }

}

/* ------------------------------------------------ */
/* Quiz «Матрица Судьбы» (главная)                  */
/* ------------------------------------------------ */
.amiri-quiz {
  max-width: 900px;
  margin: 0 auto;
}

.amiri-quiz__label {
  text-align: center;
  padding: 30px 0 10px;
  font-size: 11px;
  letter-spacing: 4px;
  color: #C9A84C;
  text-transform: uppercase;
  font-weight: 600;
}

.amiri-quiz__frame {
  width: 100%;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #0D0221, #110328, #0A0118);
  box-shadow: 0 0 60px rgba(123, 47, 190, 0.15);
  position: relative;
}

.amiri-quiz__frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(123, 47, 190, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.amiri-quiz__steps {
  position: relative;
  z-index: 1;

}



.quiz-step {
  display: none;
  padding: 0 0 28px;
}

.quiz-step.is-active {
  display: block;
}

/* Progress */
.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 30px 8px;
}

.quiz-progress__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.quiz-progress__dot.is-active {
  background: linear-gradient(135deg, #7B2FBE, #9B4FDE);
  color: #fff;
  box-shadow: 0 0 16px rgba(123, 47, 190, 0.5);
}

.quiz-progress__dot.is-done {
  background: #7B2FBE;
  color: #fff;
}

.quiz-progress__dot.is-future {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.3);
}

.quiz-progress__line {
  width: 40px;
  height: 1.5px;
  flex-shrink: 0;
}

.quiz-progress__line.is-done {
  background: #7B2FBE;
}

.quiz-progress__line.is-future {
  background: rgba(255, 255, 255, 0.1);
}

.quiz-progress-text {
  text-align: center;
  padding: 2px 0 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

/* Entry */
.quiz-step__entry {
  text-align: center;
  padding: 50px 24px 40px;
}

.quiz-step__entry-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
}

.quiz-step__entry-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.quiz-step__entry-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Content */
.quiz-content {
  padding: 0 20px 28px;
}

.quiz-above {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
  line-height: 1.5;
}

.quiz-question {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  text-align: center;
  line-height: 1.3;
}

.quiz-question--small {
  font-size: 20px;
}

.quiz-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-card {
  width: 100%;
  text-align: left;
  border: 1.5px solid rgba(123, 47, 190, 0.25);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s;
}

.quiz-card:hover {
  border-color: rgba(123, 47, 190, 0.6);
  background: rgba(123, 47, 190, 0.06);
}

.quiz-card.is-selected {
  border-color: #7B2FBE;
  background: rgba(123, 47, 190, 0.1);
  box-shadow: 0 0 20px rgba(123, 47, 190, 0.15);
}

.quiz-card__emoji {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.quiz-card__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.quiz-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

/* Плашка: ощущение, что система реально считает расчёт */
.quiz-status-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px 20px;
  margin: 40px 0;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.amiri-quiz .quiz-step--calc {
  /* Локальные переменные для верстки из макета */
  --gold: #D4AF37;
  --gold-light: #F2D06B;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent-glow: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(5, 5, 7, 0) 70%);
}

.amiri-quiz .quiz-step--calc .quiz-offer-container {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.amiri-quiz .quiz-step--calc .bg-glow {
  position: absolute;
  inset: 0;
  background: var(--accent-glow);
  pointer-events: none;
  z-index: 0;
  border-radius: 24px;
}

.amiri-quiz .quiz-step--calc .container {
  max-width: 430px;
  margin: 0 auto;
  padding: 20px;
  /* Внутри quiz-frame ширина ограничена, чтобы ничего не вылезало */
  width: 100%;
  box-sizing: border-box;
}

.amiri-quiz .quiz-step--calc .hero {
  text-align: center;
  padding: 26px 0 16px;
}

.amiri-quiz .quiz-step--calc .hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  background: linear-gradient(180deg, #FFFFFF 0%, #D4AF37 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.1;
}

.amiri-quiz .quiz-step--calc .hero p {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  opacity: 0.8;
  margin: 0;
}

.amiri-quiz .quiz-step--calc .progress-label {
  color: var(--gold);
}

.amiri-quiz .quiz-step--calc .pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.amiri-quiz .quiz-step--calc .tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.amiri-quiz .quiz-step--calc .price-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 18px;
  transition: 0.3s;
}

.amiri-quiz .quiz-step--calc .price-card.featured {
  border: 1px solid var(--gold);
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent);
}

.amiri-quiz .quiz-step--calc .price-card h3 {
  font-family: 'Cinzel', serif;
  margin: 0 0 10px;
  font-size: 18px;
}

.amiri-quiz .quiz-step--calc .price-val {
  font-size: 22px;
  font-weight: 600;
}

.amiri-quiz .quiz-step--calc .price-val span {
  font-size: 13px;
  opacity: 0.5;
  font-weight: 300;
}

.amiri-quiz .quiz-step--calc .upsell-container {
  background: rgba(212, 175, 55, 0.05);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 16px;
  margin: 18px 0;
}

.amiri-quiz .quiz-step--calc .upsell-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amiri-quiz .quiz-step--calc .checkbox-custom {
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.amiri-quiz .quiz-step--calc .checkbox-custom::after {
  content: '✓';
  color: var(--gold);
  display: block;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.amiri-quiz .quiz-step--calc .checkbox-custom.is-checked::after {
  opacity: 1;
}

.amiri-quiz .quiz-step--calc .upsell-info b {
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}

.amiri-quiz .quiz-step--calc .upsell-info p {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.4;
}

.amiri-quiz .quiz-step--calc .cta-button {
  background: linear-gradient(180deg, #F2D06B 0%, #D4AF37 100%);
  color: #000;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: block;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  margin-top: 16px;
  transition: opacity 0.2s;
  font-size: 1.2rem;
}

.amiri-quiz .quiz-step--calc .cta-button:hover {
  opacity: 0.95;
}

.amiri-quiz .quiz-step--calc .review-card {
  padding: 26px 22px;
  line-height: 1.6;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  position: relative;
  background: var(--glass);
  border-radius: 24px;
  margin-top: 26px;
}

.amiri-quiz .quiz-step--calc .review-card::before {
  content: '“';
  position: absolute;
  top: 6px;
  left: 16px;
  font-size: 48px;
  color: var(--gold);
  opacity: 0.3;
}

.amiri-quiz .quiz-step--calc .review-card div {
  font-family: 'Inter', sans-serif;
}

.quiz-status-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

/* Мигание процентов при достижении 100% */
.amiri-quiz .quiz-step--calc .quiz-calc-percent.is-finished {
  animation: quiz-percent-blink 0.9s ease-in-out infinite;
}

@keyframes quiz-percent-blink {
  0% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }

  100% {
    opacity: 0.35;
    transform: scale(1);
  }
}

.progress-container {
  margin: 20px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #D4AF37;
  margin-bottom: 10px;
}

.bar-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #D4AF37, #fff);
  box-shadow: 0 0 15px #D4AF37;
  animation: none;
}

@keyframes loading {
  0% {
    opacity: 0.5;
    width: 80%;
  }

  50% {
    opacity: 1;
    width: 85%;
  }

  100% {
    opacity: 0.5;
    width: 80%;
  }
}

/* Transition / Load */
.quiz-load {
  text-align: center;
  padding: 80px 24px;
}

.quiz-load--big {
  padding-top: 100px;
}

.quiz-load__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  animation: quiz-pulse 1.5s ease-in-out infinite;
}

@keyframes quiz-pulse {

  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.quiz-load__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA */
.quiz-cta {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #7B2FBE, #9B4FDE);
  color: #fff;
  box-shadow: 0 4px 20px rgba(123, 47, 190, 0.4);
  transition: opacity 0.2s;
}

.quiz-cta:hover {
  opacity: 0.95;
}

.quiz-cta--outline {
  background: none;
  border: 1.5px solid #7B2FBE;
  color: #C9A84C;
  box-shadow: none;
  margin-top: 10px;
}

/* Form */
.quiz-form .quiz-field {
  margin-bottom: 16px;
}

.quiz-form label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.quiz-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(123, 47, 190, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  color: #fff;
  outline: none;
}

.quiz-form input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.quiz-gender {
  display: flex;
  gap: 10px;
}

.quiz-gender__btn {
  flex: 1;
  padding: 14px;
  border: 1.5px solid rgba(123, 47, 190, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.quiz-gender__btn.is-active {
  border-color: #7B2FBE;
  background: rgba(123, 47, 190, 0.12);
  color: #fff;
}

.quiz-micro {
  display: block;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 12px;
}

/* Result */
.quiz-result-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 24px 20px 8px;
  line-height: 1.3;
  color: #fff;
}

/* ─── Quiz Calc Step ─────────────────────────────────────────────────────── */

.quiz-step--calc {
  position: relative;
  overflow: hidden;
}

.quiz-calc-inner {
  padding: 0 20px 32px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-calc-bg-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero */
.quiz-calc-hero {
  text-align: center;
  padding: 12px 0 4px;
}

.quiz-calc-hero__title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(180deg, #fff 0%, #C9A84C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px;
}

.quiz-calc-hero__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

/* Прогресс */
.quiz-calc-status {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 22px 20px 18px;
  position: relative;
}

.quiz-calc-status::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}

.quiz-calc-status__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #C9A84C;
  margin-bottom: 10px;
}

.quiz-calc-status__pct {
  font-weight: 700;
  font-size: 13px;
}

.quiz-calc-bar-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.quiz-calc-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C9A84C, #f0d080);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.6);
  border-radius: 10px;
  transition: width 0.06s linear;
}

.quiz-calc-status__hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin: 12px 0 0;
}

/* Бегущие числа */
.quiz-calc-matrix {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0 4px;
}

.quiz-calc-matrix__row {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.quiz-calc-matrix__row--2 {
  gap: 8px;
  flex-wrap: wrap;
}

.quiz-calc-matrix__num {
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.7);
  width: 28px;
  text-align: center;
  animation: quiz-num-pulse 1s ease-in-out infinite alternate;
}

.quiz-calc-matrix__num:nth-child(2n) {
  animation-delay: 0.2s;
}

.quiz-calc-matrix__num:nth-child(3n) {
  animation-delay: 0.4s;
}

.quiz-calc-matrix__num:nth-child(4n) {
  animation-delay: 0.6s;
}

@keyframes quiz-num-pulse {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 0.9;
  }
}

.quiz-calc-matrix__key {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.3);
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  align-self: center;
}

.quiz-calc-matrix__val {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.6);
  min-width: 22px;
  text-align: center;
  animation: quiz-num-pulse 0.8s ease-in-out infinite alternate;
}

/* Карточки */
.quiz-calc-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-calc-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 18px 20px;
}

.quiz-calc-card--featured {
  border-color: rgba(201, 168, 76, 0.45);
  background: radial-gradient(circle at top right, rgba(201, 168, 76, 0.07), transparent);
}

.quiz-calc-card__tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #C9A84C;
  display: block;
  margin-bottom: 6px;
}

.quiz-calc-card__title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.quiz-calc-card__price {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.quiz-calc-card__price span {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.5;
}

.quiz-calc-card__sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin: 6px 0 0;
  line-height: 1.5;
}

/* CTA */
.quiz-calc-cta {
  width: 100%;
  margin-top: 4px;
  opacity: 0.4;
  transition: opacity 0.4s, box-shadow 0.4s;
  cursor: not-allowed;
}

.quiz-calc-cta.is-ready {
  opacity: 1;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(123, 47, 190, 0.4);
  animation: quiz-cta-glow 1.5s ease-in-out infinite alternate;
}

@keyframes quiz-cta-glow {
  from {
    box-shadow: 0 6px 20px rgba(123, 47, 190, 0.35);
  }

  to {
    box-shadow: 0 10px 36px rgba(123, 47, 190, 0.6);
  }
}

/* Отзыв */
.quiz-calc-review {
  background: rgba(255, 255, 255, 0.025);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
}

.quiz-calc-review::before {
  content: '"';
  position: absolute;
  top: 6px;
  left: 16px;
  font-size: 52px;
  line-height: 1;
  color: #C9A84C;
  opacity: 0.25;
  font-family: Georgia, serif;
}

.quiz-calc-review__text {
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0 0 12px;
  padding-top: 8px;
}

.quiz-calc-review__author {
  font-size: 13px;
  font-weight: 600;
  color: #C9A84C;
}

/* ─── /Quiz Calc Step ────────────────────────────────────────────────────── */

.quiz-pdf-area {
  margin: 16px 20px;
  min-height: 180px;
  border-radius: 16px;
  border: 1px dashed rgba(123, 47, 190, 0.3);
  background: rgba(123, 47, 190, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quiz-pdf-iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 16px;
  display: block;
}

.quiz-pdf-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.5;
}

.quiz-pdf-placeholder__icon {
  font-size: 24px;
  color: rgba(201, 168, 76, 0.4);
}

.quiz-pdf-placeholder__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.quiz-result-save-hint {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin: 4px 20px 0;
  line-height: 1.5;
}

.quiz-result-btns {
  padding: 0 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 190, 0.3), transparent);
  margin: 0 20px;
}

.quiz-upsell {
  margin: 16px 20px 24px;
  padding: 22px 20px;
  border-radius: 18px;
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.04);
  text-align: center;
}

.quiz-upsell__title {
  font-size: 18px;
  color: #C9A84C;
  margin-bottom: 10px;
  font-weight: 700;
}

.quiz-upsell__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 12px;
}

.quiz-upsell__price {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.quiz-upsell .quiz-cta {
  background: linear-gradient(135deg, #B8860B, #C9A84C);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

@media screen and (max-width: 768px) {

  .form-block {
    padding: 0;
    border: none;
  }

  .amiri-quiz {
    padding: 0;
    min-width: 100%;
  }

  .amiri-section-sliders {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .amiri-section-sliders .vm-swiper-outer--tariff .vm-swiper-section--tariff {
    padding: 0.75rem 0.5rem;
  }

  .amiri-section-sliders .vm-swiper-outer--tariff .vm-swiper-slide--tariff {
    min-height: 200px;
    height: 200px;
  }

  .account-page .content__block {
    width: 100%;
    max-width: 99%;
  }

  .amiri-tri-kpi {
    display: flex !important;
    flex-wrap: wrap;
  }


}

@media (max-width: 480px) {
  .amiri-section-sliders .vm-swiper-outer--tariff .vm-swiper-section--tariff {
    padding: 0.5rem 0.25rem;
  }
}

/* Стрелки слайдера ЛК: скрыты только на узких мобильных */
@media (max-width: 575px) {

  .amiri-section-sliders .vm-swiper-outer--tariff .swiper-button-prev,
  .amiri-section-sliders .vm-swiper-outer--tariff .swiper-button-next {
    display: none;
  }
}

#starWrap {
  margin-top: 10px !important;
}

/* =====================================================================
   Форма расчёта совместимости в ЛК
   ===================================================================== */
.amiri-compat-form-wrap {
  padding: 0;
}

.amiri-compat-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.amiri-compat-form--limited {
  opacity: 0.7;
}

.amiri-compat-form__limit-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #ff9090;
}

.amiri-compat-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.amiri-compat-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.amiri-compat-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.amiri-compat-form__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.amiri-compat-form__input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.amiri-compat-form__input:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.amiri-compat-form__input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.amiri-date-input {
  position: relative;
  width: 100%;
}

.amiri-date-input__btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.amiri-date-input__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.amiri-date-input__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.amiri-date-input__native {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
  z-index: 1;
}

/* небольшой отступ справа под кнопку календаря */
.amiri-date-input .amiri-date-input__text {
  padding-right: 56px !important;
}


.amiri-compat-form__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.amiri-compat-form__btn {
  background: #f5c842;
  color: #1a1a2e;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.amiri-compat-form__btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.amiri-compat-form__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.amiri-compat-form__status {
  font-size: 14px;
}

.amiri-compat-form__status--ok {
  color: #7ee89c;
}

.amiri-compat-form__status--error {
  color: #ff9090;
}

.amiri-compat-form__hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-left: auto;
}

.amiri-compat-pdf--hidden {
  display: none !important;
}

/* =====================================================================
   Форма расчёта детской матрицы в ЛК
   ===================================================================== */
.amiri-children-matrix-form-wrap {
  padding: 0;
}

.amiri-children-matrix-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.amiri-children-matrix-form--limited {
  opacity: 0.7;
}

.amiri-children-matrix-form__limit-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #ff9090;
}

.amiri-children-matrix-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.amiri-children-matrix-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.amiri-children-matrix-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.amiri-children-matrix-form__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.amiri-children-matrix-form__input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.amiri-children-matrix-form__input:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.amiri-children-matrix-form__input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.amiri-children-matrix-form__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.amiri-children-matrix-form__btn {
  background: #f5c842;
  color: #1a1a2e;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.amiri-children-matrix-form__btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.amiri-children-matrix-form__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.amiri-children-matrix-form__status {
  font-size: 14px;
}

.amiri-children-matrix-form__status--ok {
  color: #7ee89c;
}

.amiri-children-matrix-form__status--error {
  color: #ff9090;
}

.amiri-children-matrix-form__hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-left: auto;
}

.amiri-children-pdf--hidden {
  display: none !important;
}

/* ── Блок автосписания в ЛК (Главная) ──────────────────────────────── */
.account-autorenew-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-autorenew-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.account-autorenew-row__name {
  flex: 1;
  min-width: 140px;
  font-size: 0.95em;
}

.account-autorenew-row__off {
  font-size: 0.85em;
  opacity: 0.55;
}

.account-autorenew-row__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Отвязка карты ЮKassa (требования к интерфейсу автоплатежей) */
.amiri-yookassa-card-unlink {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  flex-wrap: wrap;
  width: 100%;
  flex-basis: 100%;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.amiri-yookassa-card-unlink__label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9em;
  line-height: 1.35;
  margin: 0;
  flex: 1 1 220px;
  min-width: 0;
}

.amiri-yookassa-card-unlink__label input[type="checkbox"] {
  flex-shrink: 0;
  margin: 0;
}

.amiri-yookassa-card-unlink .amiri-detach-saved-payment {
  flex-shrink: 0;
  white-space: nowrap;
  align-self: center;
}

.amiri-detach-saved-payment:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .amiri-yookassa-card-unlink {
    flex-direction: column;
    align-items: stretch;
  }

  .amiri-yookassa-card-unlink .amiri-detach-saved-payment {
    white-space: normal;
    width: 100%;
    align-self: stretch;
  }
}

@media (max-width: 600px) {
  .amiri-compat-form__row {
    grid-template-columns: 1fr;
  }

  .amiri-compat-form__hint {
    margin-left: 0;
  }

  .amiri-children-matrix-form__row {
    grid-template-columns: 1fr;
  }

  .account-panel-upsells {
    flex-direction: column;
  }

  .amiri-children-matrix-form__hint {
    margin-left: 0;
  }
}

/* ------------------------------------------------*/
/* Blog – Listing & Article Styles                 */
/* ------------------------------------------------*/

/* === Listing page === */
.amiri-blog-section {
  padding: 120px 0 80px;
}

.amiri-blog-section__header {
  margin-bottom: 56px;
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.amiri-blog-section__title {
  font: normal 300 11.6rem/1.05 var(--_font-accent2);
  color: var(--t-bright);
  margin-bottom: 12px;
}

.amiri-blog-section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.amiri-blog-section__subtitle {
  font: normal 300 2.8rem/1.5 var(--_font-default);
  color: var(--t-medium);
  margin: 0;
}

.amiri-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1199px) {
  .amiri-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .amiri-blog-section {
    padding: 80px 16px 60px;
  }

  .amiri-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .amiri-blog-section__title {
    font-size: 4.4rem;
    line-height: 1.08;
  }

  .amiri-blog-section__subtitle {
    font-size: 2.1rem;
    line-height: 1.45;
  }
}

/* Blog page: убираем тяжёлое мерцание фона (даёт лаги при скролле) */
body.page-template-template-blog .twinkling {
  animation: none !important;
}

/* Articles: отключаем тяжелое мерцание фона */
body.single-post .twinkling {
  animation: none !important;
}

/* Reduce motion / heavy transforms on blog+article pages */
body.page-template-template-blog .amiri-blog-card__img,
body.single-post .amiri-blog-card__img {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {

  body.page-template-template-blog .amiri-blog-card__img,
  body.page-template-template-blog .amiri-blog-card__img-overlay,
  body.page-template-template-blog .amiri-blog-card,
  body.single-post .amiri-article__hero-img,
  body.single-post .amiri-article__hero-overlay {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.amiri-blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.amiri-blog-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.amiri-blog-card__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.amiri-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
  will-change: transform;
}

.amiri-blog-card:hover .amiri-blog-card__img {
  transform: scale(1.04);
}

.amiri-blog-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 8, 20, 0.7));
  pointer-events: none;
}

.amiri-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px 28px;
  gap: 10px;
}

.amiri-blog-card__meta {
  font: normal 300 1.3rem/1 var(--_font-default);
  color: var(--t-muted);
  letter-spacing: 0.01em;
}

.amiri-blog-card__title {
  font: normal 400 2rem/1.25 var(--_font-accent2);
  color: var(--t-bright);
  margin: 0;
}

.amiri-blog-card__title a {
  color: inherit;
  font: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.amiri-blog-card__title a:hover {
  opacity: 0.75;
}

.amiri-blog-card__excerpt {
  font: normal 300 1.5rem/1.6 var(--_font-default);
  color: var(--t-medium);
  margin: 0;
  flex: 1;
}

.amiri-blog-card__btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* Gold buttons for blog + article — same as vm-page buttons */
.amiri-blog-card__btn.btn,
.amiri-article__footer .btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.75rem;
  font-weight: 700;
  color: #1a1510 !important;
  background: linear-gradient(180deg, #e8c84a 0%, #d4af37 50%, #b8962e 100%);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background 0.2s, box-shadow 0.2s;
}

.amiri-blog-card__btn.btn:hover,
.amiri-article__footer .btn:hover {
  color: #1a1510 !important;
  background: linear-gradient(180deg, #f0d454 0%, #e8c84a 50%, #d4af37 100%);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: none;
  filter: none;
}

.amiri-blog-card__btn.btn:active,
.amiri-article__footer .btn:active {
  transform: none;
}

.amiri-blog-empty {
  color: var(--t-muted);
  font-size: 1.6rem;
  padding: 40px 0;
}

/* Pagination */
.amiri-blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  align-items: center;
  justify-content: center;
}

.amiri-blog-pagination a,
.amiri-blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: var(--t-bright);
  font: normal 500 1.4rem/1 var(--_font-default);
  text-decoration: none;
  transition: border-color .2s, background-color .2s, transform .2s;
}

.amiri-blog-pagination a:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.amiri-blog-pagination .current {
  border-color: rgba(201, 169, 110, 0.45);
  background: rgba(201, 169, 110, 0.12);
  color: #c9a96e;
}

/* === Article page === */
.amiri-article {
  padding-bottom: 100px;
}

.amiri-article__hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 80px;
  margin-bottom: 0;
  max-height: 480px;
}

.amiri-article__hero-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.amiri-article__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10, 8, 20, 0.85));
  pointer-events: none;
}

.amiri-article__inner {
  max-width: 920px;
  margin: -84px auto 0;
  padding: 44px 44px 36px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 8, 20, 0.55);
  /* backdrop-filter сильно лагает на больших страницах */
  backdrop-filter: none;
}

.amiri-article__meta {
  font: normal 300 1.4rem/1 var(--_font-default);
  color: #b7b9c2;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.amiri-article__meta a {
  color: var(--t-muted);
  font: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.amiri-article__meta a:hover {
  color: var(--t-bright);
}

.amiri-article__title {
  font: normal 300 5.6rem/1.05 var(--_font-accent2);
  color: var(--t-bright);
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .amiri-article__hero {
    border-radius: 16px;
    margin-top: 60px;
  }

  .amiri-article__title {
    font-size: 3rem;
  }

  .amiri-article__inner {
    margin: -56px 16px 0;
    padding: 28px 18px 22px;
  }
}

/* === Article content body === */
.amiri-article__content {
  font: normal 300 2rem/1.75 var(--_font-default);
  /* единый цвет текста (без «серее/светлее» между абзацами и списками) */
  color: var(--t-bright);
  max-width: 780px;
}

.amiri-article__content p,
.amiri-article__content li,
.amiri-article__content td,
.amiri-article__content th,
.amiri-article__content blockquote,
.amiri-article__content figcaption,
.amiri-article__content .wp-block-image figcaption {
  color: var(--t-bright) !important;
  opacity: 1 !important;
}

.amiri-article__content p {
  font: inherit;
  color: inherit;
  margin: 0 0 1.2em;
}

.amiri-article__content h2 {
  font: normal 300 3.2rem/1.2 var(--_font-accent2);
  color: var(--t-bright);
  margin: 2.1em 0 0.65em;
}

.amiri-article__content h3 {
  font: normal 400 2.4rem/1.3 var(--_font-accent2);
  color: var(--t-bright);
  margin: 1.7em 0 0.6em;
}

.amiri-article__content h4 {
  font: normal 500 2rem/1.4 var(--_font-default);
  color: var(--t-bright);
  margin: 1.5em 0 0.55em;
}

.amiri-article__content strong,
.amiri-article__content b {
  font-weight: 500;
  color: var(--t-bright);
}

.amiri-article__content em,
.amiri-article__content i {
  font-style: italic;
}

.amiri-article__content a {
  color: #c9a96e;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.amiri-article__content a:hover {
  opacity: 0.75;
}

.amiri-article__content ul,
.amiri-article__content ol {
  padding-left: 2.4rem;
  margin: 1.2em 0 1.6em;
  list-style-position: outside;
}

.amiri-article__content ul {
  list-style-type: disc;
}

.amiri-article__content ol {
  list-style-type: decimal;
}

.amiri-article__content ul li,
.amiri-article__content ol li {
  font: inherit;
  color: inherit;
  margin: 0.55em 0;
  padding-left: 0.35em;
  line-height: 1.7;
}

.amiri-article__content ul li::marker {
  color: #c9a96e;
}

.amiri-article__content ol li::marker {
  color: #c9a96e;
  font-weight: 500;
}

/* nested lists */
.amiri-article__content ul ul,
.amiri-article__content ul ol,
.amiri-article__content ol ul,
.amiri-article__content ol ol {
  margin: 0.9em 0 0.9em;
}

/* prettier list bullets */
.amiri-article__content ul li::marker {
  font-size: 1em;
}

/* Fix: some global CSS may disable markers */
.amiri-article__content li::marker {
  opacity: 1;
}

/* Optional: align lists a bit cleaner */
.amiri-article__content ul li,
.amiri-article__content ol li {
  text-indent: 0;
}

.amiri-article__content blockquote {
  font: normal 300 2rem/1.5 var(--_font-accent2);
  color: var(--t-bright);
  border-left: 3px solid #c9a96e;
  padding: 16px 24px;
  margin: 2em 0;
  background: rgba(201, 169, 110, 0.05);
  border-radius: 0 12px 12px 0;
}

.amiri-article__content img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2em 0;
  display: block;
}

.amiri-article__content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 3em 0;
}

/* Tables in articles */
.amiri-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1.7;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
  display: table;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.amiri-article__content table thead tr {
  background: rgba(201, 169, 110, 0.10);
}

.amiri-article__content table th {
  font: inherit;
  font-weight: 600;
  color: var(--t-bright);
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  letter-spacing: 0.02em;
}

.amiri-article__content table td {
  font: inherit;
  color: inherit;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.amiri-article__content table tr:last-child td {
  border-bottom: none;
}

.amiri-article__content table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* zebra for readability */
.amiri-article__content table tbody tr:nth-child(2n) td {
  background: rgba(255, 255, 255, 0.015);
}

/* responsive tables */
.amiri-article__content table {
  max-width: 100%;
}

.amiri-article__content .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.amiri-article__content .wp-block-table table {
  min-width: 640px;
}

@media (max-width: 767px) {
  .amiri-article__content {
    font-size: 1.8rem;
    line-height: 1.75;
  }

  .amiri-article__content table th,
  .amiri-article__content table td {
    padding: 10px 12px;
    font-size: inherit;
  }

  .amiri-article__content h2 {
    font-size: 2.4rem;
  }

  .amiri-article__content h3 {
    font-size: 2rem;
  }
}

/* Article footer */
.amiri-article__footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1400px) {
  .amiri-tri-grid {
    grid-template-columns: 1fr !important;
  }
}
