p, h1, h2, h3, h4, h5, h6, div {
    font-family: Geologica;;
}

[id] {
    scroll-margin-top: 80px;
    scroll-behavior: smooth;
}

.ecw-tabs-container {
    max-width: 100%;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 20px;
    cursor: pointer;
    background-color: var(--color-secondary);
    color: #fff;
    font-family: 'Geologica';
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 30px;
    border: none;
}

.tab.active {
    background-color: var(--color-primary);
}

.tabcontent {
    display: none;
}

.tabcontent > .swiper {
    width: 100%;
}


.ecw-slide-link {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: end;
    padding: 30px;
    border-radius: 30px;
    width: 100%;
    overflow: hidden;
  position: relative;
  background-position: 50%;
}

.ecw-slide-link:before {
    display: block;
    content: '';
    width: max(100% + var(--border-left-width) + var(--border-right-width),100%);
    height: max(100% + var(--border-top-width) + var(--border-bottom-width),100%);
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: transparent;
    background-image: linear-gradient(180deg, #FFFFFF00 54%, #013236 96%);
}

.ecw-slide-link .ecw-slide-title {
  font-family: "Geologica", Sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-white);
  margin: 0;
  z-index: 99;
  line-height: 1.5rem;
}

.swiper.ecw-swiper {
    padding-bottom: 50px;
}

.swiper.ecw-swiper .swiper-pagination {
    position: absolute;
    bottom: 0px;
}

.swiper.ecw-swiper .swiper-pagination .swiper-pagination-bullet, 
.swiper.ecw-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #2ea98c;
}

/* === Bookiti Slider === */
.bookiti-slider-wrapper .swiper {
    padding: 10px 0;
    overflow: visible;
}

.bookiti-slider-wrapper .swiper .swiper-wrapper {
    display: flex;
}

.bookiti-slide {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.bookiti-slide .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.bookiti-slide:hover .slide-image {
    transform: scale(1.05);
}

.bookiti-slide .slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

.bookiti-slide .slide-content {
    position: relative;
    z-index: 3;
    padding: 20px 25px;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.4;
}

.bookiti-slide .slide-content a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.bookiti-slide .slide-content a:hover {
    opacity: 0.9;
}


.swiper-pagination-bookiti .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}
.swiper-pagination-bookiti .swiper-pagination-bullet-active {
    opacity: 1;
    background: #0073aa;
}


.bookiti-slider-wrapper .swiper-button-next,
.bookiti-slider-wrapper .swiper-button-prev {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}


@media (max-width: 767px) {
    .bookiti-slide .slide-content {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

/* Минимально необходимые стили для работы слайдера */
.bookiti-slider-wrapper .swiper {
    overflow: hidden;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
}

.bookiti-slider-wrapper .swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.bookiti-slider-wrapper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    position: relative;
    transition-property: transform;
}

/* Пагинация и навигация — только если используете */
.bookiti-slider-wrapper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #2ea98c;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
    opacity: .2;
}
.bookiti-slider-wrapper .swiper-pagination-bullet-active {
    background: #2ea98c;
    opacity: 1;
}

/* ==========================================================================
   Industry Bookiti Section
   ========================================================================== */

.industry_parent {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 40px;
    margin: 0 auto;
    border-radius: 30px;
}

.industry_section.first {
    flex: 1 1 40%;
    min-width: 300px;
}

.industry_section.second {
    flex: 1 1 60%;
    min-width: 300px;
}

/* Порядок секций (меняется через чекбокс) */
.industry_parent .order_1 { order: 1; }
.industry_parent .order_2 { order: 2; }

@media (max-width: 768px) {
    .industry_parent {
        flex-wrap: wrap;
    }
    .industry_section {
        flex: 1 1 100%;
    }

    .industry_section.first {
        order: 2 !important;
    }
    .industry_section.second {
        order: 1 !important;
    }
}

/* Заголовки и текст */
.industry_title {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.3;
    margin-top: 0;
    color: #1ABC9C;
    text-transform: uppercase;
}

.industry_subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #063930;
    margin-top: 0;
}

.industry_description {
    margin-bottom: 30px;
    line-height: 1.2;
    color: #013236;
    font-size: 1rem;
}

/* Специальный текстовый блок */
.special-text {
    margin-top: 0px;
    max-width: 600px;
  line-height: 1em;
  padding: 20px 30px 20px 3cap;
  position: relative;
}

.special-text:before {
    content:'';
    width: calc(100% + 40px);
    height: 100%;
    border-radius: 30px 0 0 30px;
    background-image: linear-gradient(135deg, #013236 50%, #2ba186 100%);
    display: block;
    position: absolute;
    z-index: 0;
    top: 0px;
    left: auto;
    right: -40px;
    bottom: 0;
}

.industry_section.second.order_1 .special-text:before {
    left: -40px;
    right: auto; 
    border-radius: 0 30px 30px 0;  
}  

.percent, .percent_text span {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4em;
    color: #2ea98c;
    display: block;
    position: relative;
    z-index: 10;
}

.percent_text {
    font-size: 1rem;
    color: #fff;
    line-height: 1.2em;
    position: relative;
    z-index: 10;
}

.module-text_parent {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.module_text {
    font-size: 0.9rem;
    color: #063930;

}

.module_icon {
    width: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.module_icon svg.cell-custom-icon {
    width: 16px;
    margin-right: 0;
    display: inline-flex;
}

.module_icon svg.cell-custom-icon path {
    fill: #063930;
}


 .industry_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
    max-width: 514px;
} 


 .industry_grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 250px;
    flex: 0 0 230px;
} 
@media (width < 991px) {
    .industry_grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
        margin-bottom: 10px;
        max-width: 514px;
        flex: none;
    } 
}


.industry_grid-item {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    box-shadow: 3px 0 10px #5ca9994f;
    border-radius: 40px;
    overflow: hidden;
    padding: 5px;
    background-color: #fff;
    max-height: 70px;
}

.industry_grid-item-image {
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
    overflow: hidden;
    width: 60px;
    min-width: 60px;
    border-radius: 40px;
}

.industry_grid-item-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry_grid-item:hover .industry_grid-item-image img {
    transform: scale(1.05);
}

.industry_grid-item-text {
    font-size: 0.85rem;
    line-height: 1.2;
    color: #063930;
    font-weight: 500;
    text-align: left;
    margin: 0;
}

.industry_section.second .flex-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.industry_section.second.order_1 .flex-row {
    flex-direction: row-reverse;
}


.industry_section.second .flex-row .module-column {
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Слайды каруселей */

.industry-carousel-wrapper.carousel_4-3 .industry-slide {
    aspect-ratio: 4 / 3;
    display: block;
}  

.industry-carousel-wrapper.carousel_1-1 .industry-slide {
    aspect-ratio: 1 / 1;
    display: block;
}

.industry-slide {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.industry-slide .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.industry-slide:hover .slide-image {
    transform: scale(1.03);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    z-index: 2;
}

.slide-content p {
    margin: 0;
    line-height: 1.15em;
}

.slide-content a {
    color: inherit;
    text-decoration: none;
}

/* Позиционирование навигации внутри каруселей */
.industry_image-carousel .swiper-button-next,
.industry_image-carousel .swiper-button-prev,
.industry_bookiti-carousel .swiper-button-next,
.industry_bookiti-carousel .swiper-button-prev {
    color: #fff;
    --swiper-navigation-size: 20px;
}

.industry_image-carousel .swiper-pagination,
.industry_bookiti-carousel .swiper-pagination {
    bottom: 10px;
}


/* ==========================================================================
   CTA Overlay Section
   ========================================================================== */

/* 1. Базовая обертка */
.cta-overlay-wrapper {
    position: relative;
    width: 100%;
    min-height: 300px; /* Минимальная высота, чтобы блок не схлопывался */
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex; /* Чтобы можно было прижимать контент */
    align-items: flex-end; /* Прижимаем к низу */
    height: 100%;
}

/* 2. Контейнер для кнопок (Flex) */
.cta-actions-container {
    display: flex;
    gap: 20px;
    padding: 20px 20px 20px 0px;
    z-index: 2;
    width: auto;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 0 30px 0px 0;
    position: relative;
}

.cta-actions-container::after, .cta-actions-container::before {
  content: "";
  position: absolute;
  background-color: transparent;
  bottom: 0;
  height: 60px;
  width: 30px;
  z-index: 0;
}

.cta-actions-container::before {
  box-shadow: 0px 30px 0 0 #fff;
  left: 0;
  right: initial;
  top: -60px;
  bottom: 0;
  -webkit-border-radius: 0 0 0 30px;
  border-radius: 0px 0px 0px 30px;
}

.cta-actions-container::after {
    box-shadow: 0 30px 0 0 #fff;
    right: -30px;
    left: initial;
    bottom: 0px;
    top: initial;
    -webkit-border-radius: 0 0 30px;
    border-radius: 0 0px 0 30px;
}

/* 3. Позиционирование (Left / Right) */

/* Слева */
.cta-pos-left .cta-actions-container {
    justify-content: flex-start;
}

/* Справа */
.cta-pos-right .cta-actions-container {
    justify-content: flex-end;
}

.cta-pos-right .cta-actions-container .cta-btn:first-child {
    align-items: start;
}

.cta-actions-container .cta-btn:nth-child(2) {
    background-color: #29cc8f !important;
    align-items: end;
    flex-direction: column-reverse;
}

.cta-actions-container .cta-btn svg {
    max-width: 80px;
    max-height: 50px;
}

/* 4. Стили самой кнопки */
.cta-btn {
    display: inline-flex;
    align-items: start;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important; 
    line-height: 1.2;
    flex-direction: column;
    padding: 20px;
    max-width: 190px;
    border-radius: 30px;
    max-height: 190px;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    z-index: 10;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.cta-btn-icon {
    display: flex;
    align-items: center;
    font-size: 1.2em; /* Иконка чуть крупнее текста */
}

.cta-btn-text {
    font-weight: 600;
    text-transform: uppercase; /* Как на макете */
    text-align: left;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .cta-actions-container {
        flex-direction: row; 
        align-items: center; /* По центру */
    }
    
    .cta-pos-left .cta-actions-container,
    .cta-pos-right .cta-actions-container {
        justify-content: center;
    }
    
    .cta-btn {
        width: 100%; /* На всю ширину */
        text-align: center;
    }

    .cta-actions-container {
        gap: 10px;
        padding: 10px 10px 10px 0px;
      }
      .cta-btn {
        gap: 10px;
        padding: 10px;
        max-width: 120px;
        max-height: 150px;
      }

      .cta-actions-container .cta-btn svg {
        max-width: 46px;
        max-height: 35px;
      }

      .cta-btn-text {
        font-size: 0.6rem;
      }
}

/* ==========================================================================
   Service Links Widget
   ========================================================================== */

.service-links-widget {
    width: 100%;
    box-sizing: border-box;
    border-radius: 30px;
  padding: 20px 40px;
  margin-bottom: 20px;
}

.service-links-title {
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Контейнер кнопок: Flex с переносом строк */
.service-links-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px; /* Значение по умолчанию, переопределяется через настройки */
}

/* Стили кнопок-ссылок */
.service-link-btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.service-links-bottom-text {
    margin: 20px 0 0;
    line-height: 1.5;
    opacity: 0.9;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .service-links-list {
        flex-direction: column;
        align-items: flex-start; /* Или center, по желанию */
    }
    .service-link-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Feature Banner Widget
   ========================================================================== */

.feature-banner-widget {
    position: relative;
    width: 100%;
    /* Важно: overflow visible позволяет изображению выходить за пределы скругленного блока */
    overflow: visible; 
}

.banner-inner {
    position: relative;
    display: flex;
    align-items: flex-center; 
    background-image: linear-gradient(123deg,#2ea98c 0%, #013236 60%);
    border-radius: 30px;
    overflow: visible; /* Чтобы картинка торчала из скругления */
    min-height: 300px;
    transition: all 0.3s ease;
    padding: 0 40px;
}

/* Обертка для изображения */
.banner-image-wrapper {
    flex: 0 0 auto; /* Не сжимать */
    z-index: 2;
    position: relative;
    bottom: 0; /* Прибито к низу */
    display: flex;
    align-items: flex-end;
    padding: 0;
    min-width: 500px;
    justify-content: center;
}

.banner-image {
    display: block;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    width: auto !important;
}

@media (width < 500px) {
    .banner-image-wrapper {
        min-width: auto;
    }
}

/* Контентная часть */
.banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding: 40px;
    z-index: 3;
}

.banner-content .banner-title {
    margin-bottom: 0;
    line-height: 1.2em;
}

.banner-content .banner-subtitle {
    margin: 0;
}

/* Позиционирование (Left vs Right) */
/* По умолчанию (Left): Картинка слева, контент справа */
.feature-banner-widget .banner-inner {
    flex-direction: row;
}

/* Если выбрано Right: Картинка справа, контент слева */
.feature-banner-widget.banner-img-right .banner-inner {
    flex-direction: row-reverse;
}

/* Преимущества */
.features-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px; /* Отступ по умолчанию */
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 400px;
}

.feature-item .feature-icon  {
    display: flex;
}

.feature-icon img {
    display: block;
    width: 100%;
    height: auto;
    /* Фильтр для инверсии цвета SVG, если иконка черная, а нужно белая/цветная. 
       Если ваши SVG уже нужного цвета, уберите filter. */
    /* filter: brightness(0) invert(1); */ 
}

.feature-item .feature-text {
    line-height: 1em;
    font-size: 1.2rem;
}

/* Нижний блок */
.extra-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-direction: row-reverse;
}

.extra-icon img {
    display: block;
    width: 100%;
    height: auto;
}

/* По умолчанию (Left) */
.banner-img-left .banner-inner {
    flex-direction: row;
}

/* Right: меняем порядок на обратный */
.banner-img-right .banner-inner {
    flex-direction: row-reverse;
}

/* Адаптив */
@media (max-width: 768px) {
    .banner-img-left .banner-inner,
    .banner-img-right .banner-inner {
        flex-direction: column;
    }

    .feature-banner-widget .banner-inner,
    .feature-banner-widget.banner-img-right .banner-inner {
        flex-direction: column; /* Картинка сверху (или снизу, зависит от order), контент под ней */
        align-items: center;
    }
    
    .banner-image-wrapper {
        margin-top: -20px !important; /* Уменьшаем выступ на мобильном */
        width: 80%;
        text-align: center;
        margin-bottom: -30px; /* Картинка заходит на контент */
        position: relative;
        z-index: 2;
    }
    
    .banner-content {
        text-align: center;
        padding: 30px 20px 60px; /* Больший отступ снизу под картинку */
    }
    
    .features-list {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .feature-item {
        width: 100%;
       justify-content: start;
    }

    .feature-item .feature-text {
        text-align: left;
    }
    
    .extra-block {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Comparison Table Widget
   ========================================================================== */

.comp-table-wrapper {
    width: 100%;
    overflow-x: auto; /* Горизонтальный скролл на мобильных */
    -webkit-overflow-scrolling: touch;
  border-radius: 30px;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Минимальная ширина, чтобы не ломалась верстка */
    overflow: hidden;
}

.comp-table thead tr, .comp-table thead th.comp-header-label  {
    background-color: #063930;
}


.comp-table th,
.comp-table td {
    text-align: center;
    vertical-align: middle;
}

.comp-table th {
    padding: 10px 5px;
    font-weight: 400;
    line-height: 1.1em;
}

.comp-table .comp-header-label,
.comp-table .row-label {
    text-align: right;
    font-weight: 400;
    white-space: wrap;
    padding: 5px 20px 5px 0px;
    position: sticky;
    left: 0;
}

.comp-table tbody tr:last-child td,
.comp-table tbody tr:last-child .row-label {
    border-bottom: none;
}

/* Ячейки с состояниями */
.cell-content {
    text-align: center;
}

.cell-content svg {
    max-width: 24px;
    fill: #2ea98c;
    max-height: 24px;
    display: block;
    margin: 0 auto;
}

.cell-check,
.cell-dash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cell-check svg {
    display: block;
    width: 100%;
    height: 100%;
}

.cell-dash {
    font-size: 1.2em;
    line-height: 1;
    opacity: 1;
    font-weight: 600;
}

.cell-custom-icon {
    display: inline-block;
    margin-right: 6px;
}

/* Адаптив */
@media (max-width: 991px) {
    .comp-table th,
    .comp-table td {
        padding: 12px 8px;
        font-size: 14px;
    }
    .industry_section.second.order_1 .flex-row, 
    .industry_section.second.order_2 .flex-row {
        flex-direction: column;
    }

}
@media (max-width: 768px) {
    .comp-table th,
    .comp-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .comp-table .comp-header-label,
    .comp-table .row-label {
        min-width: 120px;
    }
}

@media (width < 480px) {
    .slide-content {
        padding: 10px;
    }
    .industry_section, .banner-inner {
        min-width: 100%;
    }
    .industry_parent {
        padding: 20px;
    }
    .slide-content p {
        font-size: 0.7rem;
    }
    .banner-inner {
        padding: 0 20px;
    }

    .banner-content {
        padding: 30px 00px 60px;
    }
    .industry_title, .banner-content .banner-title {
        line-height: 1.1em;
    }
    .industry_subtitle {
        font-size: 1.2rem;
        line-height: 1.2em;
    }
    .percent, .percent_text span {
        font-size: 1.2rem;
        line-height: 1.1em;
    }
}

@media (768px < width < 1370px) {
    .banner-image-wrapper {
        min-width: auto;
        width: 50%;
    }
    .features-list {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Complex Grid Widget
   ========================================================================== */

.complex-grid-wrapper {
    display: grid;
    /* Колонки управляются через настройки Elementor */
    /* grid-auto-rows: minmax(240px, 1fr); */
    grid-auto-rows: minmax(var(--row-height), 1fr);
    grid-auto-flow: dense; /* Ключевое свойство: автоматически заполняет пустоты */
    width: 100%;
}

.complex-grid-wrapper .grid-item {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%; /* Занимает всю высоту, выделенную гридом */
}

.complex-grid-wrapper .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    position: absolute;
}

.complex-grid-wrapper .grid-item:hover img {
    transform: scale(1.05);
}

.complex-grid-wrapper .grid-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
}

.complex-grid-wrapper .grid-title {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

/* Адаптив: на мобильных сбрасываем все span и order, выстраиваем в 1 колонку */
@media (max-width: 767px) {
    .complex-grid-wrapper {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .complex-grid-wrapper .grid-item {
        grid-column: span 1 !important;
        grid-row: auto !important;
        order: unset !important;
        aspect-ratio: 16 / 9;
    }
}

@media (1099px > width > 768px) {
  .complex-grid-wrapper .grid-item:last-child {
    grid-column: span 1 !important;
    grid-row: span 1;
  }  
}

/* ==========================================================================
   Pricing Plans Widget
   ========================================================================== */

   .pricing-plans-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

/* Переключатель */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    font-weight: 600;
    font-size: 1rem;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: #1a1a1a;
}

.pricing-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.pricing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pricing-toggle input:checked + .toggle-slider {
    background-color: #00d4aa;
}

.pricing-toggle input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.discount-badge {
    display: inline-block;
    background: #fbbf24;
    color: #1a1a1a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 5px;
}

/* Grid */
.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Карточка */
.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.pricing-card.featured {
    border: 2px solid #00d4aa;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Иконка плана */
.plan-icon {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #00d4aa;
    font-size: 1.5rem;
}

/* Заголовок плана */
.plan-header {
    margin-bottom: 25px;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.plan-subtitle {
    font-size: 0.9rem;
    color: #64748b;
}

/* Список функций */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
}

.feature-included {
    color: #1a1a1a;
}

.feature-excluded {
    color: #94a3b8;
}

.feature-icon {
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    width: 20px;
}

.feature-check {
    color: #00d4aa;
}

.feature-cross {
    color: #94a3b8;
}

/* Цена */
.plan-pricing {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 2px;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.plan-period {
    font-size: 1rem;
    color: #64748b;
    margin-left: 5px;
}

/* Кнопка */
.pricing-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    background: #00d4aa;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: #00b894;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,212,170,0.3);
}

/* Адаптив */
@media (max-width: 992px) {
    .pricing-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .pricing-plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-title {
        font-size: 2rem;
    }
    
    .plan-price {
        font-size: 36px;
    }
    
    .pricing-toggle-wrapper {
        flex-wrap: wrap;
    }
}
