/* ==========================================================================
   Queen Bee Poland — общий стиль для Кракова и Катовиц
   --------------------------------------------------------------------------
   1. Переменные           9.  Смены
   2. База                 10. FAQ
   3. Общие элементы       11. Бенефиты
   4. Шапка                12. Студия (карусель) и видео
   5. Hero                 13. Контакты (Google-форма)
   6. О нас                14. Футер
   7. Вакансии             15. Экран загрузки
   8. Обучение
   ========================================================================== */


/* 1. Переменные
   ========================================================================== */
:root {
   --c-yellow: #FFC933;
   --c-yellow-hover: #FFD65C;
   --c-black: #000;
   --c-text: #151515;
   --c-muted: #555;
   --c-line: #E4E4E4;
   --c-divider: rgba(173, 173, 173, 0.24);
   --c-dark-line: #343434;
   --c-cream: #F7F5EF;

   --font-body: "Montserrat", Arial, sans-serif;
   --font-ui: "Archivo", "Montserrat", Arial, sans-serif;

   --container: 1170px;
   --gutter: 16px;
   --radius: 20px;
   --ease-out: cubic-bezier(.22, .61, .36, 1);
}


/* 2. База
   ========================================================================== */
*,
*::before,
*::after {
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

body {
   margin: 0;
   overflow-x: clip;
   font-family: var(--font-body);
   font-weight: 400;
   line-height: 1.5;
   color: var(--c-text);
   background: #fff;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

img,
svg,
iframe {
   max-width: 100%;
}

img {
   display: block;
   height: auto;
}

a {
   color: inherit;
   text-decoration: none;
}

button {
   font: inherit;
}

[hidden] {
   display: none !important;
}

[id] {
   scroll-margin-top: 16px;
}

::selection {
   color: #111;
   background: var(--c-yellow);
}

a:focus-visible,
button:focus-visible {
   outline: 3px solid var(--c-yellow);
   outline-offset: 3px;
}


/* 3. Общие элементы
   ========================================================================== */
.container {
   width: min(100% - 2 * var(--gutter), var(--container));
   margin-inline: auto;
}

.container--wide {
   width: min(87%, 1500px);
}

.section--divided {
   border-top: 2px solid var(--c-divider);
}

.section-title {
   width: fit-content;
   margin: 0 0 40px;
   padding-bottom: 15px;
   font-size: 40px;
   font-weight: 700;
   line-height: 1.2;
   color: var(--c-text);
   border-bottom: 2px solid var(--c-yellow);
}

.section-title--center {
   margin-inline: auto;
   text-align: center;
}

.sprite {
   position: absolute;
   width: 0;
   height: 0;
   overflow: hidden;
}

.icon {
   width: 22px;
   height: 22px;
   flex: none;
   fill: none;
   stroke: currentColor;
   stroke-width: 2;
   stroke-linecap: round;
   stroke-linejoin: round;
}

.skip-link {
   position: absolute;
   top: -100px;
   left: 16px;
   z-index: 1100;
   padding: 10px 16px;
   font-weight: 600;
   color: #111;
   background: var(--c-yellow);
   border-radius: 8px;
}

.skip-link:focus {
   top: 16px;
}

/* Кнопки */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   min-width: 220px;
   padding: 14px 28px;
   font-family: var(--font-body);
   font-size: 16px;
   font-weight: 600;
   line-height: 1.2;
   letter-spacing: 0.2px;
   color: #111;
   background: var(--c-yellow);
   border: 2px solid var(--c-yellow);
   border-radius: 999px;
   box-shadow: 0 6px 20px rgba(255, 201, 51, 0.25);
   cursor: pointer;
   transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover {
   background: var(--c-yellow-hover);
   border-color: var(--c-yellow-hover);
   box-shadow: 0 10px 28px rgba(255, 201, 51, 0.4);
   transform: translateY(-2px);
}

.btn:active {
   box-shadow: 0 4px 12px rgba(255, 201, 51, 0.3);
   transform: translateY(0);
}

.btn--outline {
   color: var(--c-yellow);
   background: transparent;
   box-shadow: none;
}

.btn--outline:hover {
   color: var(--c-yellow-hover);
   background: rgba(255, 201, 51, 0.12);
   box-shadow: none;
}

/* Соцсети: круглые иконки (hero и футер) */
.socials {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
   margin: 0;
   padding: 0;
   list-style: none;
}

.socials__link {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 48px;
   height: 48px;
   color: #fff;
   border: 1px solid var(--c-dark-line);
   border-radius: 50%;
   transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.socials__link:hover {
   color: var(--c-yellow);
   border-color: var(--c-yellow);
   transform: translateY(-2px);
}

@keyframes fade-in-down {
   from { opacity: 0; transform: translateY(-6px); }
   to { opacity: 1; transform: none; }
}


/* 4. Шапка
   ========================================================================== */
.site-header {
   position: relative;
   z-index: 50;
   background: var(--c-black);
}

.site-header__inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: min(100% - 2 * var(--gutter), var(--container));
   height: 72px;
   margin-inline: auto;
}

.site-header__logo img {
   width: 130px;
   height: 30px;
}

.nav__list {
   display: flex;
   gap: 50px;
   margin: 0;
   padding: 0;
   list-style: none;
}

.nav__link {
   font-weight: 500;
   color: grey;
   transition: color .3s ease;
}

.nav__link:hover {
   color: var(--c-yellow);
}

.nav-toggle {
   display: none;
   flex-direction: column;
   justify-content: space-between;
   width: 30px;
   height: 24px;
   padding: 0;
   background: none;
   border: 0;
   cursor: pointer;
}

.nav-toggle__bar {
   width: 30px;
   height: 4px;
   background: grey;
   transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 960px) {
   .nav-toggle {
      display: flex;
   }

   .nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      padding: 20px 0;
      background: var(--c-black);
   }

   .site-header.is-open .nav {
      display: block;
   }

   .nav__list {
      flex-direction: column;
      align-items: center;
      gap: 30px;
   }

   .site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(10px) rotate(-45deg); }
   .site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
   .site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-10px) rotate(45deg); }
}


/* 5. Hero
   ========================================================================== */
.hero {
   background: var(--c-black);
}

.hero--krakow {
   background: var(--c-black) url("../img/hero-honeycomb.webp") center / cover no-repeat;
}

.hero__inner {
   position: relative;
   width: min(100%, var(--container));
   min-height: 950px;
   margin-inline: auto;
   padding-bottom: 60px;
   background-repeat: no-repeat;
}

.hero--krakow .hero__inner {
   background-image: url("../img/hero-krakow.webp");
   background-position: center;
   background-size: cover;
}

.hero--katowice .hero__inner {
   background-image: url("../img/hero-katowice.webp");
   background-position: right 0 top 241px;
   background-size: 620px auto;
}

/* Переключатель языка */
.lang-switch {
   display: flex;
   gap: 8px;
   padding: 20px 16px 0;
}

.lang-switch__link {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   padding: 6px 11px;
   font-family: var(--font-ui);
   font-stretch: 125%;
   font-size: 13px;
   font-weight: 700;
   line-height: 1;
   letter-spacing: 0.03em;
   color: #BDBDBD;
   background: #0E0E0E;
   border: 1.5px solid #2C2C2C;
   border-radius: 9px;
   transition: border-color .2s ease, color .2s ease;
}

.lang-switch__link:hover {
   color: #fff;
   border-color: #555;
}

.lang-switch__link.is-active {
   color: var(--c-yellow);
   border-color: var(--c-yellow);
}

.lang-switch__flag {
   display: block;
   flex: none;
   width: 20px;
   height: 14px;
   overflow: hidden;
   border-radius: 4px;
}

.lang-switch__flag svg {
   display: block;
   width: 100%;
   height: 100%;
}

.hero__title {
   margin: 0;
   padding-top: 190px;
   font-size: 72px;
   font-weight: 700;
   line-height: 1.15;
   color: #fff;
}

/* соцсети и кнопки — одна колонка, всё по центру под иконками */
.hero__cta {
   display: flex;
   flex-direction: column;
   align-items: center;
   width: 430px;
   margin-top: 130px;
}

.hero__actions {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 20px;
   margin-top: 36px;
}

@media (max-width: 1100px) {
   .hero--katowice .hero__inner {
      background-image: url("../img/hero-katowice-mobile.webp");
      background-position: center 70px;
      background-size: auto 270px;
   }

   .hero__title {
      padding-top: 288px;
      font-size: 48px;
      text-align: center;
   }

   .hero__cta {
      width: 100%;
      margin-top: 75px;
   }

   .hero__actions {
      gap: 32px;
      margin-top: 32px;
   }
}

@media (max-width: 663px) {
   .hero__inner {
      min-height: 786px;
   }

   .hero--krakow .hero__inner {
      background-image: url("../img/hero-krakow-mobile.webp");
   }

   .hero--katowice .hero__inner {
      background-position: center 75px;
      background-size: auto 250px;
   }
}

@media (max-width: 480px) {
   .lang-switch {
      padding-top: 16px;
   }

   .lang-switch__link {
      padding: 5px 10px;
      font-size: 12px;
   }

   .socials {
      gap: 10px;
   }

   .socials__link {
      width: 44px;
      height: 44px;
   }
}


/* 6. О нас
   ========================================================================== */
.about {
   display: flex;
   align-items: flex-start;
   gap: 120px;
   padding: 100px 0;
}

.about__text {
   max-width: 480px;
   margin: 15px 0 0;
   font-size: 17px;
   line-height: 1.7;
   color: var(--c-muted);
}

@media (max-width: 1100px) {
   .about {
      flex-direction: column;
      align-items: center;
      gap: 0;
      padding: 72px 0;
      text-align: center;
   }
}


/* 7. Вакансии
   ========================================================================== */
.jobs {
   padding-top: 40px;
}

.jobs__grid {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-around;
   gap: 70px 20px;
   margin-top: 20px;
}

.job {
   display: flex;
   flex-direction: column;
   align-items: center;
   width: 350px;
}

.job__title {
   margin: 0;
   padding: 30px 0 34px;
   font-size: 28px;
   font-weight: 700;
   line-height: 1.2;
   text-align: center;
}

.job__photo {
   width: 250px;
   height: 250px;
   object-fit: cover;
   border-radius: var(--radius);
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.job__toggle {
   width: 250px;
   min-width: 0;
   margin-top: 18px;
   padding: 12px 20px;
   font-size: 15px;
   box-shadow: 0 6px 18px rgba(255, 201, 51, 0.3);
}

.job__toggle-icon {
   width: 16px;
   height: 16px;
   stroke-width: 3;
   transition: transform .25s ease;
}

.job__toggle[aria-expanded="true"] {
   background: transparent;
   box-shadow: none;
}

.job__toggle[aria-expanded="true"] .job__toggle-icon {
   transform: rotate(180deg);
}

.job__details {
   width: 100%;
   animation: fade-in-down .3s ease;
}

.job__heading {
   margin: 26px 0 8px;
   font-size: 17px;
   font-weight: 700;
   text-align: center;
}

.job__list {
   margin: 0;
   padding-left: 20px;
}

.job__list li {
   padding-top: 7px;
   font-size: 15px;
   line-height: 1.55;
   color: var(--c-muted);
}

.job__note {
   margin: 24px 0 0;
   font-size: 15px;
   font-weight: 600;
   text-align: center;
}

@media (max-width: 1100px) {
   .jobs .section-title {
      margin-inline: auto;
      text-align: center;
   }

   .jobs__grid {
      flex-direction: column;
      align-items: center;
   }
}


/* 8. Обучение
   ========================================================================== */
.training {
   padding-top: 100px;
}

.training__content {
   display: flex;
   align-items: center;
   gap: 30px;
}

.training__photo {
   width: 100%;
   max-width: 700px;
   height: 468px;
   object-fit: cover;
   border-radius: var(--radius);
   box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

.training__text p {
   margin: 0 0 30px;
   line-height: 1.65;
}

@media (max-width: 1100px) {
   .training .section-title {
      margin-inline: auto;
   }

   .training__content {
      flex-direction: column;
   }

   .training__photo {
      height: auto;
      aspect-ratio: 3 / 2;
   }

   .training__text {
      text-align: center;
   }
}


/* 9. Смены
   ========================================================================== */
.shifts {
   margin-top: 120px;
   padding: 100px 0;
}

.shifts__text {
   max-width: 1000px;
   margin-inline: auto;
}

.shifts__text p {
   margin: 0 0 20px;
   line-height: 1.65;
}

.shifts__text--outro {
   text-align: center;
}

.shifts__cards {
   display: flex;
   justify-content: space-around;
   margin: 0;
   padding: 60px 0 40px;
   list-style: none;
}

.shift {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 4px;
   text-align: center;
}

.shift__icon {
   width: 56px;
   height: 56px;
   margin-bottom: 6px;
   object-fit: contain;
}

.shift__label {
   font-weight: 700;
}

@media (max-width: 1100px) {
   .shifts {
      margin-top: 72px;
      padding: 72px 0;
   }

   .shifts__text {
      text-align: center;
   }
}


/* 10. FAQ
   ========================================================================== */
.faq {
   display: grid;
   grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
   column-gap: 40px;
   align-items: start;
   padding: 90px 0 100px;
}

.faq__title {
   margin: 0;
   font-family: var(--font-ui);
   font-stretch: 125%;
   font-size: 64px;
   font-weight: 800;
   line-height: 1;
   color: #111;
}

.faq__hint {
   margin: 28px 0 0;
   font-family: var(--font-ui);
   font-size: 16px;
   color: var(--c-muted);
}

.faq__list {
   border-top: 1px solid var(--c-line);
}

.faq__item {
   border-bottom: 1px solid var(--c-line);
}

.faq__q {
   margin: 0;
}

.faq__question {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 24px;
   width: 100%;
   padding: 26px 0;
   font-family: var(--font-ui);
   font-size: 21px;
   font-weight: 600;
   line-height: 1.35;
   text-align: left;
   color: #111;
   background: none;
   border: 0;
   cursor: pointer;
}

/* «+» превращается в «×» */
.faq__icon {
   position: relative;
   flex: none;
   width: 40px;
   height: 40px;
   background: var(--c-yellow);
   border-radius: 50%;
   transition: background-color .25s ease, transform .2s ease;
}

.faq__icon::before,
.faq__icon::after {
   content: "";
   position: absolute;
   top: 50%;
   left: 50%;
   width: 14px;
   height: 2px;
   background: #111;
   border-radius: 2px;
   transform: translate(-50%, -50%);
   transition: transform .25s ease, background-color .25s ease;
}

.faq__icon::after {
   transform: translate(-50%, -50%) rotate(90deg);
}

.faq__question:hover .faq__icon {
   transform: scale(1.06);
}

.faq__question[aria-expanded="true"] .faq__icon {
   background: #111;
}

.faq__question[aria-expanded="true"] .faq__icon::before {
   background: var(--c-yellow);
   transform: translate(-50%, -50%) rotate(45deg);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
   background: var(--c-yellow);
   transform: translate(-50%, -50%) rotate(135deg);
}

.faq__answer {
   max-width: 680px;
   padding: 0 64px 34px 0;
   animation: fade-in-down .3s ease;
}

.faq__answer p {
   margin: 0;
   font-family: var(--font-ui);
   font-size: 17px;
   line-height: 1.8;
   color: #3A3A3A;
}

@media (max-width: 900px) {
   .faq {
      grid-template-columns: 1fr;
      row-gap: 32px;
      padding: 64px 0 72px;
   }

   .faq__title {
      font-size: 48px;
   }

   .faq__hint {
      margin-top: 16px;
   }

   .faq__question {
      padding: 22px 0;
      font-size: 18px;
   }

   .faq__icon {
      width: 36px;
      height: 36px;
   }

   .faq__answer {
      padding: 0 0 26px;
   }

   .faq__answer p {
      font-size: 16px;
   }
}


/* 11. Бенефиты
   ========================================================================== */
.benefits {
   padding: 50px 0 100px;
}

.benefits__grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 90px 20px;
   margin: 60px 0 0;
   padding: 0;
   list-style: none;
}

.benefit {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 10px;
   text-align: center;
}

.benefit__icon {
   width: 150px;
   height: 150px;
   object-fit: contain;
   transition: transform .3s ease;
}

.benefit:hover .benefit__icon {
   transform: scale(1.06);
}

.benefit__label {
   max-width: 170px;
   font-weight: 600;
   line-height: 1.3;
   color: #222;
}

@media (max-width: 1100px) {
   .benefits__grid {
      gap: 56px 16px;
   }

   .benefit__icon {
      width: 110px;
      height: 110px;
   }
}

@media (max-width: 600px) {
   .benefits__grid {
      gap: 40px 10px;
   }

   .benefit__icon {
      width: 80px;
      height: 80px;
   }

   .benefit__label {
      font-size: 13px;
   }
}


/* 12. Студия (карусель) и видео
   ========================================================================== */
.dark-band {
   background: var(--c-black);
}

.dark-title {
   margin: 0;
   padding-top: 100px;
   font-family: var(--font-ui);
   font-stretch: 125%;
   font-size: 44px;
   font-weight: 800;
   line-height: 1.1;
   text-align: center;
   color: #fff;
}

.carousel {
   --slide-w: 400px;
   position: relative;
   overflow: hidden;
   padding: 48px 0 20px;
}

.carousel__track {
   position: relative;
   height: calc(var(--slide-w) * 4 / 3);
}

/* JS выставляет --tx (сдвиг в ширинах слайда) и data-pos (0, 1, 2, far) */
.carousel__slide {
   --tx: 0;
   position: absolute;
   top: 0;
   left: 50%;
   width: var(--slide-w);
   height: 100%;
   margin: 0 0 0 calc(var(--slide-w) / -2);
   overflow: hidden;
   background: #151515;
   border-radius: 24px;
   opacity: var(--alpha, 1);
   transform: translateX(calc(var(--tx) * var(--slide-w))) scale(var(--scale, 1));
   transition: transform .6s var(--ease-out), opacity .6s ease, box-shadow .6s ease;
   cursor: pointer;
   user-select: none;
   -webkit-tap-highlight-color: transparent;
}

.carousel__slide img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   pointer-events: none;
}

.carousel:not(.is-ready) .carousel__slide:not(:first-child) {
   opacity: 0;
}

.carousel__slide[data-pos="0"] {
   --scale: 1;
   --alpha: 1;
   z-index: 3;
   cursor: default;
   box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 201, 51, 0.35);
}

.carousel__slide[data-pos="1"] { --scale: .86; --alpha: .45; z-index: 2; }
.carousel__slide[data-pos="1"]:hover { --alpha: .7; }
.carousel__slide[data-pos="2"] { --scale: .74; --alpha: .18; z-index: 1; }
.carousel__slide[data-pos="far"] { --scale: .7; --alpha: 0; z-index: 0; pointer-events: none; }

.carousel__controls {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 28px;
   margin-top: 40px;
}

.carousel__arrow {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 52px;
   height: 52px;
   padding: 0;
   color: #fff;
   background: transparent;
   border: 1px solid var(--c-dark-line);
   border-radius: 50%;
   cursor: pointer;
   transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .15s ease;
}

.carousel__arrow:hover {
   color: #111;
   background: var(--c-yellow);
   border-color: var(--c-yellow);
}

.carousel__arrow:active {
   transform: scale(.94);
}

.carousel__dots {
   display: flex;
   align-items: center;
   gap: 8px;
}

.carousel__dot {
   width: 8px;
   height: 8px;
   padding: 0;
   background: rgba(255, 255, 255, 0.28);
   border: 0;
   border-radius: 999px;
   cursor: pointer;
   transition: width .35s ease, background-color .35s ease;
}

.carousel__dot:hover {
   background: rgba(255, 255, 255, 0.55);
}

.carousel__dot.is-active {
   width: 28px;
   background: var(--c-yellow);
}

.video {
   max-width: 750px;
   padding-bottom: 90px;
}

.video__frame {
   margin-top: 40px;
   overflow: hidden;
   aspect-ratio: 16 / 9;
   background: #111;
   border-radius: var(--radius);
}

.video__frame iframe {
   display: block;
   width: 100%;
   height: 100%;
   border: 0;
}

@media (max-width: 600px) {
   .dark-title {
      padding-top: 72px;
      font-size: 32px;
   }

   .carousel {
      --slide-w: 70vw;
      padding-top: 32px;
   }

   .carousel__slide {
      border-radius: 18px;
   }

   .carousel__controls {
      gap: 18px;
      margin-top: 28px;
   }

   .carousel__arrow {
      width: 46px;
      height: 46px;
   }

   .video {
      padding-bottom: 64px;
   }
}


/* 13. Контакты (Google-форма)
   ========================================================================== */
.contact {
   padding: 110px 0;
   background:
      radial-gradient(circle at 12% 18%, rgba(255, 201, 51, 0.16), transparent 42%),
      var(--c-cream);
}

.contact__inner {
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
   gap: 56px;
   align-items: start;
}

.contact__aside {
   position: sticky;
   top: 32px;
}

.contact__title {
   margin: 0;
   font-family: var(--font-ui);
   font-stretch: 125%;
   font-size: 48px;
   font-weight: 800;
   line-height: 1.05;
   color: #111;
}

.contact__lead {
   margin: 20px 0 0;
   font-size: 17px;
   line-height: 1.65;
   color: var(--c-muted);
}

.contact__subtitle {
   margin: 40px 0 16px;
   font-family: var(--font-ui);
   font-size: 13px;
   font-weight: 700;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: #8A8A8A;
}

.steps {
   display: grid;
   gap: 14px;
   margin: 0;
   padding: 0;
   list-style: none;
}

.steps__item {
   display: flex;
   align-items: center;
   gap: 14px;
   font-size: 16px;
   font-weight: 600;
   color: #222;
}

.steps__num {
   display: flex;
   align-items: center;
   justify-content: center;
   flex: none;
   width: 36px;
   height: 36px;
   font-family: var(--font-ui);
   font-weight: 800;
   color: #111;
   background: var(--c-yellow);
   border-radius: 50%;
}

.contact__chat-links {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}

.chat-link {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 10px 16px;
   font-size: 14px;
   font-weight: 600;
   color: #111;
   background: #fff;
   border: 1px solid #E2DED2;
   border-radius: 999px;
   transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.chat-link .icon {
   width: 18px;
   height: 18px;
}

.chat-link--whatsapp .icon { color: #1FAF5A; }
.chat-link--telegram .icon { color: #2AABEE; }

.chat-link:hover {
   border-color: var(--c-yellow);
   box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
   transform: translateY(-2px);
}

.contact__card {
   position: relative;
   overflow: hidden;
   background: #fff;
   border-radius: 24px;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.contact__card::before {
   content: "";
   display: block;
   height: 6px;
   background: linear-gradient(90deg, var(--c-yellow), #FFB000);
}

.contact__form {
   position: relative;
   min-height: 400px;
}

.contact__form iframe {
   display: block;
   width: 100%;
   height: 1400px;
   border: 0;
   opacity: 0;
   transition: opacity .5s ease;
}

.contact__form.is-loaded iframe {
   opacity: 1;
}

/* пока форма грузится — спиннер и подпись */
.contact__form::before,
.contact__form::after {
   position: absolute;
   left: 50%;
   transition: opacity .3s ease;
}

.contact__form::before {
   content: "";
   top: 120px;
   width: 40px;
   height: 40px;
   margin-left: -20px;
   border: 3px solid #EEE;
   border-top-color: var(--c-yellow);
   border-radius: 50%;
   animation: spin .8s linear infinite;
}

.contact__form::after {
   content: attr(data-loading-text);
   top: 180px;
   font-size: 14px;
   color: #888;
   transform: translateX(-50%);
}

.contact__form.is-loaded::before,
.contact__form.is-loaded::after {
   opacity: 0;
}

@keyframes spin {
   to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
   .contact {
      padding: 72px 0;
   }

   .contact__inner {
      grid-template-columns: 1fr;
      gap: 40px;
   }

   .contact__aside {
      position: static;
   }

   .contact__title {
      font-size: 36px;
   }

   .contact__card {
      border-radius: 18px;
   }
}


/* 14. Футер
   ========================================================================== */
.site-footer {
   font-family: var(--font-ui);
   background: var(--c-black);
   border-top: 2px solid var(--c-yellow);
}

.site-footer__inner {
   width: min(100% - 2 * var(--gutter), var(--container));
   margin-inline: auto;
   padding-top: 88px;
}

.site-footer__top {
   display: grid;
   grid-template-columns: 4fr 3.2fr 2.8fr;
   gap: 40px;
   align-items: start;
}

.site-footer__logo {
   width: auto;
   height: 24px;
   margin-bottom: 26px;
}

.site-footer__title {
   margin: 0 0 26px;
   font-family: var(--font-ui);
   font-stretch: 112%;
   font-size: 17px;
   font-weight: 700;
   line-height: 24px;
   color: #fff;
}

.site-footer__text {
   margin: 0;
   font-size: 15px;
   line-height: 1.75;
   color: #CFCFCF;
}

.site-footer__text + .site-footer__text {
   margin-top: 16px;
}

.site-footer__brand .site-footer__text {
   max-width: 340px;
}

.site-footer__link {
   text-decoration: underline;
   text-decoration-color: rgba(255, 255, 255, 0.45);
   text-underline-offset: 4px;
   transition: color .2s ease, text-decoration-color .2s ease;
}

.site-footer__link:hover {
   color: var(--c-yellow);
   text-decoration-color: currentColor;
}

.socials--footer {
   gap: 10px;
}

.socials--footer .socials__link {
   width: 46px;
   height: 46px;
}

.socials--footer .icon {
   width: 21px;
   height: 21px;
}

.site-footer__map {
   margin-top: 60px;
   overflow: hidden;
   line-height: 0;
   background: #1C1C1C;
   border-radius: var(--radius);
}

.site-footer__map iframe {
   display: block;
   width: 100%;
   height: 320px;
   border: 0;
   filter: grayscale(1) invert(0.92) contrast(0.9);   /* тёмная монохромная карта */
}

.site-footer__copy {
   margin: 40px 0 0;
   padding: 28px 0 32px;
   font-size: 15px;
   color: #9A9A9A;
   border-top: 1px solid #262626;
}

@media (max-width: 900px) {
   .site-footer__inner {
      padding-top: 56px;
   }

   .site-footer__top {
      grid-template-columns: 1fr;
   }

   .site-footer__title {
      margin-bottom: 18px;
   }

   .site-footer__map {
      margin-top: 44px;
      border-radius: 16px;
   }

   .site-footer__map iframe {
      height: 260px;
   }
}


/* 15. Экран загрузки
   ========================================================================== */
.loader {
   display: none;
}

.js .loader {
   position: fixed;
   inset: 0;
   z-index: 1000;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--c-black);
   transition: opacity .5s ease, visibility .5s ease;
   animation: loader-failsafe 0s linear 8s forwards;   /* на случай, если JS не сработал */
}

.loader.is-done {
   opacity: 0;
   visibility: hidden;
}

.loader__inner {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 22px;
   animation: loader-appear .6s var(--ease-out) both;
}

/* эмблема «дышит» и мягко светится, по ней пробегает блик */
.loader__logo {
   position: relative;
   width: 150px;
   height: 150px;
   animation: loader-breathe 2s ease-in-out infinite;
}

.loader__logo img {
   width: 100%;
   height: 100%;
}

.loader__logo::after {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%) no-repeat;
   background-size: 250% 100%;
   -webkit-mask: url("../img/loader-logo.webp") center / contain no-repeat;   /* блик только по линиям эмблемы */
   mask: url("../img/loader-logo.webp") center / contain no-repeat;
   animation: loader-shine 2s ease-in-out infinite;
}

.loader__wordmark {
   width: 130px;
   height: 30px;
}

.loader__bar {
   width: 150px;
   height: 3px;
   overflow: hidden;
   background: #222;
   border-radius: 99px;
}

.loader__bar span {
   display: block;
   width: 40%;
   height: 100%;
   background: var(--c-yellow);
   border-radius: 99px;
   animation: loader-bar 1.1s ease-in-out infinite;
}

@keyframes loader-appear {
   from { opacity: 0; transform: scale(.94); }
   to { opacity: 1; transform: none; }
}

@keyframes loader-breathe {
   0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 201, 51, 0)); }
   50% { transform: scale(1.04); filter: drop-shadow(0 0 18px rgba(255, 201, 51, 0.35)); }
}

@keyframes loader-shine {
   0%, 20% { background-position: 100% 0; }
   70%, 100% { background-position: 0 0; }
}

@keyframes loader-bar {
   from { transform: translateX(-100%); }
   to { transform: translateX(260%); }
}

@keyframes loader-failsafe {
   to { opacity: 0; visibility: hidden; }
}


/* Меньше движения — для тех, у кого это включено в системе
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
   html {
      scroll-behavior: auto;
   }

   .carousel__slide {
      transition: opacity .2s ease;
   }

   .loader__inner,
   .loader__logo,
   .loader__logo::after,
   .loader__bar span {
      animation: none;
   }
}
