/* ======================================
 * ИМПОРТ ШРИФТОВ
 * ====================================== */
 @import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 
 /* Локальные шрифты */
 @font-face {
   font-family: "NewCaledonia";
   src: url(./assets/fonts/NewCaledonia/NewCaledoniaLTStdBold.TTF) format("truetype");
   font-weight: bold;
   font-style: normal;
   font-display: swap;
 }
 
 @font-face {
   font-family: "Cinzel";
   src: url(./assets/fonts/Cinzel/cinzel.decorative-bold.otf) format("opentype"),
        url(./assets/fonts/Cinzel/cinzel.decorative-bold.ttf) format("truetype");
   font-weight: 500;
   font-style: normal;
   font-display: swap;
 }
 
 /* ======================================
  * БАЗОВЫЕ СТИЛИ
  * ====================================== */
 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }
 
 :root {
   /* Переменные шрифтов */
   --font_nunito: "Nunito", sans-serif;
   --font_barlow: "Barlow", sans-serif;
   --font_caledonia: "NewCaledonia", serif;
   --font_cinzel: "Cinzel", serif;
   
   /* Переменные цветов */
   --color-text-primary: #515151;
   --color-text-accent: #c8682b;
   --color-background: #ffffff86;
   --color-shadow: rgba(0, 0, 0, 0.1);
 }
 
 main {
   width: 100%;
   background-color: var(--color-background);
   padding-bottom: 60px;
 }
 
 section {
   max-width: 1280px;
   width: 100%;
   margin: 0 auto;
 }
 
 a {
   text-decoration: none;
 }
 
 /* ======================================
  * СТИЛИ ШАПКИ
  * ====================================== */
 header {
   width: 100%;
   background: #fff;
   padding-bottom: 20px;
 }
 
 /* Контейнер шапки */
 header .l-header {
   display: flex;
   justify-content: center;
   align-items: center;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
 }
 
 /* Элемент входа */

 
 /* Логотип */
 header .l-header .logo a img {
   max-width: 500px;
   width: 100%;
 }
 
 /* Логотип телефона */
 header .l-header .phone_logo {
   width: 200px;
   display: flex;
   align-items: center;
   justify-content: flex-end;
   transform: rotate(10deg);
 }
 
 header .l-header .phone_logo img {
   width: 50px;
 }
 
 /* Адаптивность шапки */
 @media screen and (max-width: 768px) {
   header .l-header .logo a img {
     max-width: 320px;
   }
 }
 
 /* ======================================
  * СЕКЦИЯ ПРЕИМУЩЕСТВ
  * ====================================== */
 .advantages {
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 0 0 40px 0;
   gap: 20px;
 }
 
 /* Заголовок */
 .advantages h2 {
   font-family: var(--font_nunito);
   font-weight: 700;
   font-size: 36px;
   color: var(--color-text-primary);
   letter-spacing: 1px;
   align-self: center;
   padding: 30px 0 10px;
 }
 
 /* Сетка карточек */
 .advantages .cards {
   width: 100%;
   display: grid;
   grid-template-columns: repeat(6, 1fr);
   gap: 10px;
 }
 
 /* Базовые стили карточек */
 .advantages .cards .card {
   width: 100%;
   height: 100px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   border-radius: 20px;
   box-shadow: 0px 0px 2px 0px var(--color-shadow);
 }
 
 /* Текст карточек */
 .advantages .cards .card p {
   text-align: center;
   font-size: 24px;
   font-family: var(--font_nunito);
   color: #1a1a1a;
   font-optical-sizing: auto;
   padding: 0 10px;
 }
 
 /* Варианты карточек */
 .advantages .cards .card1 {
   background-color: #f2eeff;
   grid-column: span 4;
 }
 
 .advantages .cards .card2 {
   background-color: #e2eff7;
   grid-column: span 2;
 }
 
 .advantages .cards .card3 {
   background-color: #e7f9df;
   grid-column: span 2;
 }
 
 .advantages .cards .card4 {
   grid-column: span 4;
   background-color: #99a2c1;
 }
 
 /* Сетка карт с картами */
 .advantages .map--cards {
   display: grid;
   grid-template-columns: repeat(6, 1fr);
   width: 100%;
   gap: 20px;
 }
 
 /* Элемент карты */
 .advantages .map--cards .cart {
   width: 100%;
   height: 100px;
   border-radius: 20px;
   box-shadow: 1px 1px 10px 0px var(--color-shadow);
   padding: 3px 5px;
   transition: all .1s ease;
   grid-column: span 2;
 }
 
 .advantages .map--cards .cart:hover {
   transform: scale(1.02);
   transition: all .1s ease;
 }
 
 /* Ссылка в карте */
 .advantages .map--cards .cart a {
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   gap: 10px;
 }
 
 /* Логотип в карте */
 .advantages .map--cards .cart a .logo {
   width: 80px;
   height: 80px;
   border-radius: 50%;
   background-position: center center;
   background-size: cover;
   background-repeat: no-repeat;
   display: flex;
   align-items: center;
   justify-content: center;
 }
 
 /* Изображение Google */
 .advantages .map--cards .cart a .img--goog {
   height: 60px;
 }
 
 /* Логотип Яндекса */
 .advantages .map--cards .cart a .ya {
   background-color: #d61e3b;
 }
 
 /* Адаптивность секции преимуществ */
 @media screen and (max-width: 1280px) {
   .advantages .map--cards .cart {
     grid-column: span 3;
   }
 }
 
 @media screen and (max-width: 768px) {
   .advantages {
     padding: 0;
   }
 
   .advantages h2 {
     font-size: 30px;
     padding: 20px 0 0;
   }
 
   .advantages .cards .card {
     height: 80px;
   }
 
   .advantages .cards .card p {
     font-size: 22px;
   }
 
   .advantages .map--cards .cart {
     height: 50px;
     grid-column: span 6;
   }
 
   .advantages .map--cards .cart a .logo {
     width: 40px;
     height: 40px;
   }
 
   .advantages .map--cards .cart a .logo img {
     max-width: 20px;
     max-height: 20px;
   }
 
   .advantages .map--cards .cart a .img--goog {
     height: 40px;
   }
 
   .advantages .map--cards .cart a img {
     height: 100%;
   }
 }
 
 @media screen and (max-width: 480px) {
   .advantages h2 {
     font-size: 24px;
   }
 
   .advantages .cards .card {
     height: 60px;
   }
 
   .advantages .cards .card p {
     font-size: 16px;
   }
 
   .advantages .cards .card4 p {
     max-width: 182px;
   }
 }
 
 /* ======================================
  * СЕКЦИЯ МЕДИА
  * ====================================== */
 .media {
   max-width: 1280px;
   margin: 0 auto;
   position: relative;
   padding-bottom: 40px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: space-between;
   gap: 80px;
   overflow: hidden;
 }
 
 /* Заголовок секции медиа */
 .title--media {
   font-family: var(--font_nunito);
   font-weight: 700;
   color: var(--color-text-primary);
   letter-spacing: 2px;
   text-align: center;
 }
 
 .title--media h2 {
   font-size: 42px;
 }
 
 .title--media p {
   font-size: 32px;
   color: var(--color-text-accent);
 }
 
 /* Обертка медиа */
 .media--wrapper {
   width: 100%;
   display: flex;
   justify-content: space-around;
   align-items: center;
 }
 
 /* Контейнер медиа */
 .media--container {
   position: relative;
   width: 400px;
   height: 400px;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }
 
 /* Контейнер телефона */
 .phone--container {
   max-width: 388px;
   width: 100%;
   height: 795px;
   position: relative;
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center center;
   padding: 5px 6px 0 2px;
   display: flex;
   align-items: center;
   flex-direction: column;
   gap: 15px;
   box-shadow: 1px 1px 10px 0px var(--color-shadow);
   border-radius: 50px;
   padding-top: 52px;
 }
 
 /* Панель внутри контейнера телефона */
 .panel {
   width: calc(100% - 18px);
   position: relative;
   overflow: hidden;
 }
 
 .panel .mySwiper {
   padding: 10px 20px;
   border: 1px solid #51515184;
 }
 
 .panel span {
   color: var(--color-text-primary);
 }
 
 .panel span:hover {
   color: var(--color-text-accent);
 }
 .swiper-slide_category{
  width: auto !important;
 }
 /* Слайды категорий */
 .category-slider {
   width: auto !important;
   text-align: center;
   font-family: var(--font_nunito);
   font-weight: 700;
   font-size: 14px;
   letter-spacing: 1px;
 }
 
 /* Шапка контейнера телефона */
 .photo--container-header {
   width: calc(100% - 80px);
   position: absolute;
   top: 27px;
   display: flex;
   justify-content: space-between;
 }
 
 .time {
   font-size: 14px;
   font-family: var(--font_nunito);
   font-weight: 700;
   color: var(--color-text-primary);
   letter-spacing: 1px;
   text-align: center;
 }
 
 .right {
   display: flex;
   gap: 10px;
   font-size: 14px;
   font-family: var(--font_nunito);
   font-weight: 700;
   color: var(--color-text-primary);
   letter-spacing: 1px;
   text-align: center;
 }
 
 /* Логотип */
 .phone--container a .logo {
   width: 150px;
   height: auto;
 }
 
 /* Карточки категорий */
 .cards--categorey {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 10px;
 }
 
 .card {
   width: 185px;
   transition: all 0.1s ease-in-out;
 }
 
 .card a {
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 5px;
 }
 
 .card a img {
   width: calc(100% - 30px);
   border-radius: 30px;
 }
 
 .card a p {
   font-family: var(--font_nunito);
   font-weight: 700;
   font-size: 14px;
   color: var(--color-text-primary);
   letter-spacing: 1px;
   text-align: center;
 }
 
 .card:hover {
   transform: scale(1.02);
   transition: all 0.1s ease-in-out;
 }
 
 /* Вращающийся круг */
 .rotating-circle {
   position: absolute;
   width: 100%;
   height: 100%;
   animation: rotate 80s linear infinite reverse;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 20px;
   z-index: 10;
 }
 
 .rotating-circle:hover {
   animation-play-state: paused;
 }
 
 .banned--text {
   width: 150px;
   position: absolute;
   bottom: -25px;
   left: 37px;
   transform: translate(50%, -50%) rotate(25deg);
   z-index: 100;
   font-family: var(--font_nunito);
   color: #333;
 }
 
 .rotating-circle a {
   animation: rotateLink 80s linear infinite reverse;
 }
 
 .rotating-circle a span {
   position: absolute;
   top: -14px;
   right: -12px;
   font-size: 6px;
   color: #333;
 }
 
 /* Ссылка медиа */
 .media-link {
   position: absolute;
   width: 50px;
   height: 50px;
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: #fff;
   border-radius: 50%;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
   text-decoration: none;
   color: #333;
   font-weight: bold;
   transform: translate(-50%, -50%);
   transition: box-shadow 0.3s ease;
 }
 
 .media-link img {
   max-width: 20px;
   max-height: 20px;
 }
 
 .media-link:hover {
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
   z-index: 10;
 }
 
 .rotating-circle:hover .media-link.counter-rotate {
   animation-play-state: paused;
 }
 
 /* Центральная метка */
 .center-label {
   position: absolute;
   z-index: 5;
   background-color: rgba(205, 242, 225, 0.733);
   width: 300px;
   height: 300px;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   box-shadow: 0px 0px 59px 28px rgb(205, 242, 225);
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
 }
 
 .center-label span.text {
   color: rgb(68, 68, 71);
   font-family: var(--font_caledonia);
   font-style: italic;
   font-size: 206px;
   font-weight: 500;
   letter-spacing: .1rem;
 }
 
 .center-label span.symbol {
   position: relative;
   top: 0;
   left: 5px;
   color: rgba(68, 68, 71, 0.87);
   font-family: var(--font_barlow);
   font-size: 120px;
   font-weight: 500;
   letter-spacing: .1rem;
 }
 
 /* Анимации */
 @keyframes rotate {
   from { transform: rotate(0deg); }
   to { transform: rotate(360deg); }
 }
 
 @keyframes counter-rotate {
   from { transform: translate(-50%, -50%) rotate(0deg); }
   to { transform: translate(-50%, -50%) rotate(360deg); }
 }
 
 @keyframes rotateLink {
   from { transform: translate(-50%, -50%) rotate(0deg); }
   to { transform: translate(-50%, -50%) rotate(-360deg); }
 }
 
 /* Адаптивность секции медиа */
 @media screen and (max-width: 1024px) {
   .media {
     gap: 30px;
   }
 
   .media--wrapper {
     flex-direction: column;
     justify-content: space-between;
     gap: 50px;
   }
 
   .center-label {
     width: 250px;
     height: 250px;
   }
 
   .banned--text {
     bottom: 7px;
   }
 }
 
 @media screen and (max-width: 768px) {
   .media {
     gap: 20px;
   }
 
   .title--media h2 {
     font-size: 32px;
   }
 
   .title--media p {
     font-size: 22px;
   }
 
   .media--wrapper {
     gap: 30px;
   }
 
   .media-link {
     width: 38px;
     height: 38px;
   }
 
   .media-link img {
     max-width: 20px;
     max-height: 20px;
   }
 
   .center-label {
     width: 170px;
     height: 170px;
   }
 
   .center-label span.text {
     font-size: 150px;
   }
 }
 
 @media screen and (max-width: 480px) {
   .media {
     gap: 0;
   }
 
   .title--media {
     padding-top: 20px;
   }
 
   .media--wrapper {
     gap: 0;
   }
 
   .phone--container {
     height: 648px;
     max-width: 308px;
     padding-top: 46px;
     gap: 7px;
   }
 
   .panel {
     width: calc(100% - 2px);
   }
 
   .photo--container-header {
     width: calc(100% - 52px);
     top: 19px;
   }
 
   .cards--categorey {
     justify-content: space-around;
   }
 
   .card {
     width: 120px;
     gap: 5px;
   }
 
   .card a img {
     width: calc(100% - 10px);
   }
 
   .banned--text {
     width: 130px;
     bottom: 30px;
     left: 66px;
   }
 }
 
 /* ======================================
  * СЕКЦИЯ ОТЗЫВОВ
  * ====================================== */
 .reviews {
   /* Сохраняем закомментированные стили из оригинального SCSS */
   /* display: flex; */
   /* flex-direction: column; */
   /* justify-content: space-between; */
   /* padding: 50px 0; */
   /* gap: 20px; */
 }
 
 /* Заголовок */
 .reviews h2 {
   font-family: var(--font_nunito);
   font-weight: 700;
   font-size: 42px;
   color: var(--color-text-primary);
   letter-spacing: 1px;
   text-align: center;
   padding: 20px;
   /* align-self: center; */
 }
 
 /* Обертка фото */
 .reviews .mySwiper .photo--wrapper {
   border-radius: 30px;
   padding: 4px;
   width: 400px;
   height: 400px;
   display: flex;
   align-items: center;
   justify-content: center;
 }
 
 /* Элемент фото */
 .reviews .mySwiper .photo--wrapper .photo {
   width: calc(100% - 8px);
   height: calc(100% - 8px);
   border-radius: 30px;
   background-position: center center;
   background-size: contain;
   background-repeat: no-repeat;
   box-shadow: 0px 0px 10px 2px var(--color-shadow);
 }
 
 /* Адаптивность секции отзывов */
 @media screen and (max-width: 768px) {
   .reviews h2 {
     font-size: 32px;
   }
 
   .reviews .mySwiper .photo--wrapper {
     width: 100%;
     height: 300px;
   }
 }
 
 /* ======================================
  * КОМПОНЕНТ СЛАЙДЕРА
  * ====================================== */
 .slider {
   width: 100%;
   padding: 20px 0;
 }
 
 /* Контейнер слайдера */
 .slider--container {
   max-width: 1280px;
   margin: 0 auto;
   padding: 0 20px;
 }
 
 /* Элемент фото */
 .photo {
   width: 100%;
   height: 400px;
   border-radius: 20px;
   background-position: center center;
   background-size: cover;
   background-repeat: no-repeat;
   box-shadow: 0px 0px 10px 2px var(--color-shadow);
 }
 
 /* Кнопки навигации Swiper */
 .swiper-button-next,
 .swiper-button-prev {
   color: var(--color-text-accent);
 }
 
 /* Адаптивность слайдера */
 @media screen and (max-width: 768px) {
   .photo {
     height: 300px;
   }
 }
 
 @media screen and (max-width: 480px) {
   .photo {
     height: 250px;
   }
 }