/**
 * WP Bakery Custom Styles for Swetch
 * 
 * @package Swetch
 */

/* Remove default WPBakery bottom margins */
.wpb_button,
.wpb_content_element,
ul.wpb_thumbnails-fluid > li {
    margin-bottom: 0 !important;
}

/* Global button style (template-like) */
.btn,
.wpb_button,
.vc_btn,
.vc_btn3,
.wpcf7 input[type="submit"],
.wpcf7 input[type="button"],
.wpcf7 .wpcf7-submit {
    background: #f5f7fb;
    color: #1F1F21;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.12);
    padding: 12px 22px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn:hover,
.wpb_button:hover,
.vc_btn:hover,
.vc_btn3:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="button"]:hover,
.wpcf7 .wpcf7-submit:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.16);
}

/* Primary buttons */
.btn-primary,
.swetch-btn-primary,
.vc_btn.vc_btn-blue,
.vc_btn3.vc_btn3-color-blue,
.vc_btn3.vc_btn3-color-primary,
.wpcf7 .wpcf7-submit {
    background: linear-gradient(180deg, #35A7DF 0%, #2f9dd3 100%);
    color: #ffffff;
    border: 1px solid rgba(53, 167, 223, 0.6);
    box-shadow: 0 10px 24px rgba(53, 167, 223, 0.28);
}

.btn-primary:hover,
.swetch-btn-primary:hover,
.vc_btn.vc_btn-blue:hover,
.vc_btn3.vc_btn3-color-blue:hover,
.vc_btn3.vc_btn3-color-primary:hover,
.wpcf7 .wpcf7-submit:hover {
    background: linear-gradient(180deg, #1a6b94 0%, #35A7DF 100%);
}

/* ========== Hero / Slider Section (Home) ========== */
.swetch-hero-section {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #35A7DF;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.swetch-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(53, 167, 223, 0.75);
    z-index: 0;
}

/* Сильнее затемнение при фоновом фото — текст хорошо читается */
.swetch-hero-section.swetch-hero-intro::before {
    background: rgba(0, 0, 0, 0.55);
}

.swetch-hero-section .vc_column-inner,
.swetch-hero-section .vc_column-inner > * {
    position: relative;
    z-index: 1;
}

.swetch-hero-section .vc_custom_heading,
.swetch-hero-section h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.swetch-hero-section .vc_column_text p,
.swetch-hero-section p {
    color: #ffffff !important;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.4);
}

.swetch-hero-section .swetch-hero-cta,
.swetch-hero-section .vc_btn {
    min-width: 200px;
    border-radius: 8px;
    font-weight: 600;
    padding: 14px 28px !important;
}

/* Hero intro (без слайдера): компактная высота, аккуратные отступы */
.swetch-hero-section.swetch-hero-intro {
    min-height: 320px;
    padding: 3rem 1.5rem;
}

.swetch-hero-section.swetch-hero-intro .vc_custom_heading,
.swetch-hero-section.swetch-hero-intro h1 {
    margin-bottom: 1rem !important;
}

.swetch-hero-section.swetch-hero-intro .vc_column_text p {
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Hero slider: жёстко 450px (приоритет над WPBakery) */
.swetch-wpbakery-template .vc_row.swetch-hero-slider,
.swetch-wpbakery-template .vc_row.swetch-fullpage-slider {
    height: 450px !important;
    max-height: 450px !important;
    min-height: 450px !important;
}

.swetch-hero-slider .vc_carousel,
.swetch-fullpage-slider .vc_carousel {
    margin-bottom: 0;
    height: 450px !important;
    max-height: 450px !important;
}

.swetch-hero-slider .vc_carousel .vc_carousel-slideline > li {
    padding: 0;
}

.swetch-hero-slider .vc_carousel,
.swetch-fullpage-slider .vc_carousel,
.swetch-hero-slider .vc_carousel .vc_carousel-slideline-inner,
.swetch-fullpage-slider .vc_carousel .vc_carousel-slideline-inner {
    overflow: hidden;
}

.swetch-hero-slider .vc_carousel img,
.swetch-fullpage-slider .vc_carousel img {
    width: 100% !important;
    min-width: 100%;
    height: 450px !important;
    max-height: 450px !important;
    object-fit: cover !important;
    display: block;
}

.swetch-fullpage-slider.vc_row {
    max-height: 450px !important;
    height: 450px !important;
    display: flex;
    align-items: stretch;
    margin: 0 !important;
    overflow: hidden;
}

.swetch-fullpage-slider .vc_column-inner {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    max-height: 450px;
}

.swetch-fullpage-slider .vc_carousel,
.swetch-fullpage-slider .vc_images_carousel {
    flex: 1;
    max-height: 450px;
    display: flex;
    flex-direction: column;
}

.swetch-fullpage-slider .vc_carousel .vc_carousel-slideline,
.swetch-fullpage-slider .vc_carousel .vc_carousel-slideline-inner {
    height: 100%;
}

.swetch-fullpage-slider .vc_carousel .vc_carousel-slideline > li {
    height: 100%;
}

@media (max-width: 767.98px) {
    .swetch-wpbakery-template .vc_row.swetch-hero-slider,
    .swetch-wpbakery-template .vc_row.swetch-fullpage-slider {
        height: 280px !important;
        max-height: 280px !important;
        min-height: 280px !important;
    }
    .swetch-hero-slider .vc_carousel img,
    .swetch-fullpage-slider .vc_carousel img {
        height: 280px !important;
        max-height: 280px !important;
    }
    .swetch-fullpage-slider.vc_row {
        max-height: 280px !important;
        height: 280px !important;
    }
}

/* ========== Разделитель [swetch_separator] ========== */
.swetch-separator {
    width: var(--swetch-sep-width, 80%);
    max-width: 200px;
    height: 5px;
    margin: 1rem auto 1.25rem;
    background: var(--swetch-sep-color, #35A7DF);
    border: none;
    border-radius: 2px;
    flex-shrink: 0;
}

.swetch-services-row .swetch-separator {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

/* ========== What We Do — карточки услуг (улучшенный вид) ========== */
.swetch-services-row.vc_row {
    margin-left: 0;
    margin-right: 0;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Заголовок секции: линия под заголовком (если шорткод разделителя не сработал) */
.swetch-services-row .vc_column-inner > .vc_custom_heading:first-child {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem !important;
}
.swetch-services-row .vc_column-inner > .vc_custom_heading:first-child::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #35A7DF 20%, #35A7DF 80%, transparent);
    border-radius: 2px;
}

.swetch-services-row .vc_row {
    gap: 0;
}

.swetch-services-row .vc_col-sm-4 {
    padding: 1.5rem !important;
}

.swetch-services-row .vc_col-sm-4 .vc_column-inner {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem !important;
    box-shadow: 0 8px 30px rgba(53, 167, 223, 0.08);
    border: none;
    border-top: 4px solid #35A7DF;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.swetch-services-row .vc_row,
.swetch-services-row .vc_col-sm-4,
.swetch-services-row .vc_col-sm-4 .vc_column-inner {
    overflow: visible;
}

.swetch-services-row .vc_col-sm-4:hover .vc_column-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(53, 167, 223, 0.25);
    border-top-color: #1a6b94;
    border: 1px solid rgba(53, 167, 223, 0.2);
}

.swetch-services-row .vc_custom_heading {
    margin-bottom: 1rem !important;
    color: #35A7DF !important;
    font-family: var(--swetch-font-headings, 'Open Sans', Arial, sans-serif) !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
}

.swetch-services-row .vc_column_text p {
    color: #555 !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
    font-size: 0.95rem;
}

.swetch-services-row .vc_separator {
    margin: 0.75rem auto 0 !important;
}

/* Фон секции услуг */
.swetch-services-row.css .vc_custom_xxx {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

/* ========== Our Projects — секция проектов ========== */
.swetch-projects-section.vc_row {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.swetch-projects-section .vc_column-inner {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.swetch-projects-section .vc_custom_heading {
    color: #35A7DF !important;
    font-family: var(--swetch-font-headings, 'Open Sans', Arial, sans-serif) !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
}

.swetch-projects-section .vc_separator {
    margin: 1rem auto 1.5rem !important;
}

.swetch-projects-section .vc_column_text p {
    color: #444 !important;
    line-height: 1.75 !important;
    font-size: 1.05rem;
}

.swetch-projects-section .vc_btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swetch-projects-section .vc_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(53, 167, 223, 0.35);
}

/* Custom WP Bakery Row Styles */

/* Swetch Header Widget */
.vc_row-o-full-height .swetch-header {
    background-color: #35A7DF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

/* Swetch Values Section — единый стиль карточек */
.vc_row .swetch-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.swetch-value-card .vc_column-inner {
    background-color: #ffffff !important;
    padding: 2.25rem !important;
    border-radius: var(--swetch-card-radius, 12px) !important;
    box-shadow: var(--swetch-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.06)) !important;
    border: none !important;
    transition: all 0.25s ease;
    text-align: left !important;
}

.swetch-value-card .vc_custom_heading,
.swetch-value-card h5 {
    color: var(--swetch-heading-neutral, #1f2937) !important;
    font-weight: 700 !important;
}

.swetch-value-card .vc_column_text p,
.swetch-value-card .text-secondary {
    color: var(--swetch-text-secondary, #6b7280) !important;
}

.swetch-value-card:hover .vc_column-inner {
    transform: translateY(-2px);
    box-shadow: var(--swetch-card-shadow-hover, 0 4px 12px rgba(0, 0, 0, 0.08)) !important;
}

.swetch-value-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* Values grid — GeneratePress minimal (без акцентных линий) */
.swetch-values-accent.vc_row {
    border-top: none;
}

.swetch-values-accent .vc_column_container {
    box-sizing: border-box;
    border: none;
}

/* Swetch Facts Section */
.vc_row .swetch-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vc_row .swetch-fact-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #35A7DF, #1a6b94);
    border-radius: 8px;
    color: #ffffff;
}

.vc_row .swetch-fact-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.vc_row .swetch-fact-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.vc_row .swetch-fact-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Swetch Projects Grid */
.vc_row .swetch-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vc_row .swetch-project-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.vc_row .swetch-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.vc_row .swetch-project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Swetch Contact Section */
.vc_row .swetch-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center; /* Центрирование карточек в grid */
}

.vc_row .swetch-contact-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.vc_row .swetch-contact-card img,
.vc_row .swetch-contact-card .wpb_single_image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 0;
    margin-bottom: 1.5rem;
    background-color: #e8a838;
}

.vc_row .swetch-contact-card h3 {
    font-family: var(--swetch-font-headings, 'Open Sans', Arial, sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F1F21;
    margin: 0 0 0.35rem 0;
}

.vc_row .swetch-contact-card p,
.vc_row .swetch-contact-card .contact-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.vc_row .swetch-contact-card a {
    color: var(--swetch-logo-blue, #35A7DF);
}

/* Team members grid (shortcode [swetch_team]) — не наследует swetch-contacts-grid */
.swetch-team-grid {
    display: grid;
    grid-template-columns: repeat(var(--team-cols, 5), minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
    justify-items: center;
}

.swetch-team-grid .swetch-team-card,
.swetch-team-grid .swetch-contact-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.swetch-team-grid .swetch-team-card img,
.swetch-team-grid .swetch-team-card .swetch-team-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    border: 2px solid rgba(53, 167, 223, 0.3);
}

.swetch-team-grid .swetch-team-card h3 {
    font-family: var(--swetch-font-headings, 'Open Sans', Arial, sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #35A7DF;
    margin: 0 0 0.35rem 0;
}

.swetch-team-grid .swetch-team-card p {
    font-size: 0.95rem;
    color: #333;
    margin: 0 0 0.5rem 0;
}

/* 5 колонок — меньше текст и отступы */
.swetch-team-cols-5 .swetch-team-card h3 {
    font-size: 1rem;
    line-height: 1.25;
}

.swetch-team-cols-5 .swetch-team-card p,
.swetch-team-cols-5 .swetch-team-card .contact-title {
    font-size: 0.8rem;
    margin: 0 0 0.35rem 0;
}

.swetch-team-cols-5 .swetch-team-card,
.swetch-team-cols-5 .swetch-contact-card {
    padding: 1.25rem 1rem;
}

.swetch-team-cols-5 .swetch-team-card img,
.swetch-team-cols-5 .swetch-team-card .swetch-team-placeholder {
    margin-bottom: 1rem;
}

/* 4 колонки — чуть компактнее */
.swetch-team-cols-4 .swetch-team-card h3 {
    font-size: 1.1rem;
}

.swetch-team-cols-4 .swetch-team-card p,
.swetch-team-cols-4 .swetch-team-card .contact-title {
    font-size: 0.875rem;
}

.swetch-team-grid .swetch-team-card .contact-title {
    font-weight: 600;
}

.swetch-team-grid .swetch-team-card a {
    color: var(--swetch-logo-blue, #35A7DF);
}

/* Contact card v2 — обновлённый дизайн с иконками */
.swetch-contact-card-v2 {
    text-align: center !important;
    border-radius: var(--swetch-card-radius, 12px) !important;
    box-shadow: var(--swetch-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.06)) !important;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.swetch-contact-card-v2:hover {
    box-shadow: var(--swetch-card-shadow-hover, 0 4px 12px rgba(0, 0, 0, 0.08)) !important;
    transform: translateY(-2px);
}

.swetch-contact-card-v2 img,
.swetch-contact-card-v2 .swetch-team-placeholder {
    width: 100% !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    margin: 0 auto 1.25rem !important;
    display: block !important;
    max-width: 160px;
}

.swetch-contact-card-v2 .swetch-team-placeholder {
    background: #e9edf2 !important;
    max-width: 160px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.swetch-contact-card-v2 h3,
.swetch-contact-card-v2 .swetch-contact-name {
    color: var(--swetch-heading-neutral, #1f2937) !important;
    font-size: 1.15rem !important;
    margin-bottom: 0.35rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.swetch-linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #35A7DF !important;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.swetch-linkedin-icon:hover {
    opacity: 0.8;
}

.swetch-contact-card-v2 .contact-title {
    font-size: 0.85rem !important;
    color: var(--swetch-text-secondary, #6b7280) !important;
    margin-bottom: 1rem !important;
}

.swetch-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.swetch-contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #374151 !important;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.swetch-contact-row:hover {
    background: #e5e7eb;
    color: #1f2937 !important;
}

.swetch-contact-row i {
    color: #35A7DF !important;
    font-size: 1rem;
    flex-shrink: 0;
}

.swetch-contact-row span {
    overflow-wrap: break-word;
    word-break: break-all;
}

.swetch-team-cols-5 .swetch-contact-card-v2 .swetch-contact-row {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
}

.swetch-team-cols-5 .swetch-contact-card-v2 .swetch-contact-row i {
    font-size: 0.9rem;
}

.swetch-team-cols-5 .swetch-linkedin-icon {
    font-size: 0.85rem;
}

@media (max-width: 1199.98px) {
    .swetch-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .swetch-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .swetch-team-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer styles */
.vc_row .swetch-footer {
    background: linear-gradient(135deg, #1a6b94 0%, #35A7DF 100%);
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

/* Contact Form 7 — clean CV/apply style */
.wpcf7 form {
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

/* Material Design — About Us (WPBakery) */
.swetch-md-about {
    background: #f6f8fb;
    padding: 56px 0 72px;
}

.swetch-md-hero {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    margin: 0 auto 32px;
    max-width: 1100px;
    padding: 40px 48px;
}

.swetch-md-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: #35A7DF;
    font-weight: 700;
    margin-bottom: 8px;
}

.swetch-md-section {
    max-width: 1100px;
    margin: 0 auto 32px;
    padding: 0 48px;
}

.swetch-md-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.swetch-md-grid-row .vc_column-inner {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(53, 167, 223, 0.08);
}

.swetch-md-card-title {
    font-weight: 700;
    color: #1f1f21;
    margin-bottom: 8px;
}

@media (max-width: 767.98px) {
    .swetch-md-hero {
        padding: 28px 20px;
    }

    .swetch-md-section {
        padding: 0 20px;
    }
}

/* Full-page Apply section (CF7) */
.swetch-apply-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eef7ff 0%, #e6f4ff 40%, #f2f9ff 100%);
    padding: 2.5rem 20px;
}

.swetch-apply-full .swetch-apply-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

/* Career Apply — если структура через vc_row_inner */
.swetch-apply-full .vc_row_inner {
    align-items: center !important;
}

.swetch-apply-full .swetch-apply-inner > .wpb_column,
.swetch-apply-full .swetch-apply-inner > .vc_column_container {
    flex: 1 1 280px;
    min-width: 280px;
}

.swetch-apply-full .swetch-apply-inner .swetch-apply-card {
    order: 2;
}

.swetch-apply-full .swetch-apply-inner > .wpb_column:not(.swetch-apply-card),
.swetch-apply-full .swetch-apply-inner > .vc_column_container:not(.swetch-apply-card) {
    order: 1;
}

.swetch-apply-full .swetch-apply-copy h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.75rem;
    color: #2b2f35;
}

.swetch-apply-full .swetch-apply-copy p {
    color: #4b4f55;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.swetch-apply-full .swetch-apply-bullets {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.swetch-apply-full .swetch-apply-bullets li {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    color: #2b2f35;
}

.swetch-apply-full .swetch-apply-bullets li::before {
    content: '✓';
    color: #35A7DF;
    font-weight: 700;
}

.swetch-apply-full .swetch-apply-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 20px 60px rgba(34, 54, 120, 0.15);
    border: 1px solid rgba(53, 167, 223, 0.08);
    overflow: hidden;
}

.swetch-apply-full .wpcf7 form,
.swetch-contact-form-full .wpcf7 form {
    max-width: 100%;
}

.swetch-apply-full .wpcf7 form p,
.swetch-contact-form-full .wpcf7 form p {
    display: block;
    width: 100%;
    margin: 0;
    padding-bottom: 12px;
}

.swetch-apply-full .wpcf7 form p:last-of-type,
.swetch-contact-form-full .wpcf7 form p:last-of-type {
    padding-bottom: 0;
}

.swetch-apply-full .wpcf7 .wpcf7-form-control-wrap,
.swetch-contact-form-full .wpcf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.swetch-apply-full .wpcf7 .wpcf7-submit {
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(90deg, #35A7DF, #5cb8e7);
    box-shadow: 0 10px 24px rgba(53, 167, 223, 0.28);
}

.swetch-apply-full .wpcf7 .wpcf7-submit:hover {
    background: linear-gradient(90deg, #1a6b94, #3aa7d8);
}

@media (max-width: 1199.98px) {
    .swetch-apply-full .swetch-apply-inner {
        flex-direction: column;
    }

    .swetch-apply-full .swetch-apply-inner > .wpb_column,
    .swetch-apply-full .swetch-apply-inner > .vc_column_container {
        flex: 1 1 auto;
        min-width: 100%;
    }
}

/* Contacts form section — same style as Apply block */
.swetch-contact-form-full {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eef7ff 0%, #e6f4ff 40%, #f2f9ff 100%);
    padding: 2.5rem 20px;
}

.swetch-contact-form-full .swetch-apply-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.swetch-contact-form-full .swetch-apply-inner > .wpb_column,
.swetch-contact-form-full .swetch-apply-inner > .vc_column_container {
    flex: 1 1 280px;
    min-width: 280px;
}

.swetch-contact-form-full .swetch-apply-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 20px 60px rgba(34, 54, 120, 0.15);
    border: 1px solid rgba(53, 167, 223, 0.08);
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .swetch-contact-form-full .swetch-apply-inner {
        flex-direction: column;
    }

    .swetch-contact-form-full .swetch-apply-inner > .wpb_column,
    .swetch-contact-form-full .swetch-apply-inner > .vc_column_container {
        flex: 1 1 auto;
        min-width: 100%;
    }
}

/* About Us — 2026 clean cards (page scope) */
body.page-about-us .swetch-wpbakery-template {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 35%, #f7f9fc 100%);
    padding: 2.5rem 0 3.5rem;
}

body.page-about-us .swetch-wpbakery-template .vc_row {
    margin-top: 0;
    margin-bottom: 2rem;
}

body.page-about-us .swetch-wpbakery-template .vc_row:first-child .vc_column-inner {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 !important;
}

body.page-about-us .swetch-wpbakery-template .vc_column_container > .vc_column-inner {
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
    border-radius: 16px;
    padding: 28px 26px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.page-about-us .swetch-wpbakery-template .vc_column_container > .vc_column-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}

body.page-about-us .swetch-wpbakery-template .vc_custom_heading h1,
body.page-about-us .swetch-wpbakery-template .vc_custom_heading h2,
body.page-about-us .swetch-wpbakery-template .vc_custom_heading h3 {
    color: #1f2a44 !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.page-about-us .swetch-wpbakery-template .vc_column_text p {
    color: #4b5565;
    line-height: 1.7;
}

body.page-about-us .swetch-wpbakery-template .vc_icon {
    color: #35A7DF !important;
    margin-bottom: 0.5rem;
}

body.page-about-us .swetch-wpbakery-template .vc_icon i {
    font-size: 36px !important;
}

@media (max-width: 991.98px) {
    body.page-about-us .swetch-wpbakery-template .vc_column_container > .vc_column-inner {
        padding: 22px 20px !important;
    }
}

@media (max-width: 767.98px) {
    .swetch-apply-full,
    .swetch-contact-form-full {
        padding: 2rem 16px;
    }
    
    .swetch-apply-full .swetch-apply-card,
    .swetch-contact-form-full .swetch-apply-card {
        padding: 16px 18px;
    }
}

.wpcf7 form::after {
    content: '';
    display: block;
    clear: both;
}

.wpcf7 form p {
    margin: 0;
    padding-bottom: 12px;
}

.wpcf7 form p:last-of-type {
    padding-bottom: 0;
}

.wpcf7 form label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a8791;
    margin-bottom: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 input[type="file"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d7dde3;
    background: #e9edf2;
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.wpcf7 textarea {
    min-height: 70px;
    height: 90px;
    max-height: 140px;
    resize: vertical;
}

.swetch-apply-full .wpcf7 textarea,
.swetch-contact-form-full .wpcf7 textarea {
    min-height: 60px !important;
    height: 75px !important;
    margin-top: 12px !important;
}

.wpcf7 input[type="file"] {
    padding: 6px 8px;
}

.wpcf7 input[type="file"]::file-selector-button {
    background: #ffffff;
    border: 1px solid #d7dde3;
    padding: 6px 10px;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
}

.wpcf7 .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 4px;
    background: #1a3d5c;
    color: #ffffff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    float: right;
}

.wpcf7 .wpcf7-submit:hover {
    background: #112a41;
}

/* CF7 layout helpers (no grid) */
.wpcf7 .swetch-cf7-row,
.wpcf7 .swetch-cf7-col {
    display: block;
}

.wpcf7 .swetch-cf7-actions {
    margin-top: 8px;
}

/* Stats block in WP Bakery — add class to Row: swetch-stats-custom */
.swetch-stats-custom {
    position: relative;
    background: var(--swetch-logo-blue, #35A7DF);
    color: #ffffff;
    padding: 5rem 20px;
    overflow: hidden;
    margin-top: 0 !important;
}

.swetch-stats-custom .vc_row_inner,
.swetch-stats-custom .vc_column_container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.swetch-stats-custom::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 24px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.7) 2px, transparent 2.5px);
    background-size: 18px 18px;
    opacity: 0.6;
    pointer-events: none;
}

.swetch-stats-custom .vc_column_container {
    text-align: center;
}

.swetch-stats-custom h1,
.swetch-stats-custom h2,
.swetch-stats-custom h3,
.swetch-stats-custom h4 {
    color: #ffffff !important;
    font-family: var(--swetch-font-headings, 'Open Sans', Arial, sans-serif);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.swetch-stats-custom h2,
.swetch-stats-custom h3 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.swetch-stats-custom p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    margin: 0.25rem 0 0;
}

.swetch-stats-custom .vc_column_container .wpb_text_column {
    margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
    .swetch-stats-custom {
        padding: 3.5rem 12px;
    }
}

/* Ensure WP Bakery rows use full width when needed */
.vc_row-o-full-width {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ========== Fullpage-style: секции на всю высоту экрана (как Manufax / fullPage) ========== */
.swetch-fullpage-mode {
    scroll-behavior: smooth;
}

.swetch-fullpage-mode .swetch-wpbakery-template {
    scroll-snap-type: y proximity;
}

.swetch-wpbakery-template .vc_row.swetch-fp-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.swetch-wpbakery-template .vc_row.swetch-fp-section > .vc_row_inner,
.swetch-wpbakery-template .vc_row.swetch-fp-section > .vc_column_container {
    width: 100%;
}

@media (max-width: 767.98px) {
    .swetch-wpbakery-template .vc_row.swetch-fp-section {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Ограничение контента WP Bakery (без общего .container: слайдер на всю ширину) */
.swetch-wpbakery-template {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.swetch-wpbakery-template *,
.swetch-wpbakery-template *::before,
.swetch-wpbakery-template *::after {
    box-sizing: border-box;
}

/* Когда слайдера нет — первый блок без большого отступа сверху */
.swetch-wpbakery-template .vc_row:first-child {
    margin-top: 0 !important;
    padding-top: 1.5rem !important;
}

.swetch-wpbakery-template .vc_row.swetch-services-row:first-child {
    padding-top: 1.5rem !important;
}

/* Все строки — Bootstrap 5 container breakpoints */
.swetch-wpbakery-template .vc_row {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .swetch-wpbakery-template .vc_row {
        max-width: 540px;
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (min-width: 768px) { .swetch-wpbakery-template .vc_row { max-width: 720px; } }
@media (min-width: 992px) { .swetch-wpbakery-template .vc_row { max-width: 960px; } }
@media (min-width: 1200px) { .swetch-wpbakery-template .vc_row { max-width: 1140px; } }
@media (min-width: 1400px) { .swetch-wpbakery-template .vc_row { max-width: 1320px; } }

/* Внутренний контент строк не вылезает за 1200px */
.swetch-wpbakery-template .vc_row .vc_row_inner,
.swetch-wpbakery-template .vc_row > .vc_column_container,
.swetch-wpbakery-template .vc_row .vc_column-inner,
.swetch-wpbakery-template .vc_row .wpb_wrapper {
    max-width: 100%;
}

/* Убираем отрицательные отступы у внутренних обёрток WPBakery (чтобы контент не убегал за 1200px) */
.swetch-wpbakery-template .vc_row:not(.swetch-hero-slider):not(.swetch-fullpage-slider):not(.swetch-service-fullpage):not(.swetch-se-hero):not(.swetch-se-cta) .vc_row_inner {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
}

/* Только слайдер с картинками — на всю ширину; hero-intro ограничен 1200px как остальные секции */
.swetch-wpbakery-template .vc_row.swetch-hero-slider,
.swetch-wpbakery-template .vc_row.swetch-fullpage-slider,
.swetch-wpbakery-template .vc_row.swetch-service-fullpage,
.swetch-wpbakery-template .vc_row.swetch-se-hero,
.swetch-wpbakery-template .vc_row.swetch-se-cta {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Oxford blocks in WP Bakery: stretch to full width. Set Row to "Full width" for best result. */
.swetch-wpbakery-template .vc_row-o-full-width .swetch-block-full {
    max-width: 100%;
}

/* Для полной ширины секций (hero, footer) можно использовать класс .vc_row-o-full-width */
.swetch-wpbakery-template .vc_row-o-full-width {
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

/* WPBakery "Stretch row" + "No padding" — принудительная полная ширина */
.swetch-wpbakery-template .vc_row[data-vc-full-width="true"],
.swetch-wpbakery-template .vc_row.vc_row-o-full-width {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Stretch row: фон на всю ширину, контент в контейнере (стандарт WPBakery) */
.swetch-wpbakery-template .vc_row[data-vc-full-width="true"]:not(.swetch-hero-slider):not(.swetch-fullpage-slider):not(.swetch-hero-concept):not(.swetch-service-fullpage):not(.swetch-se-hero):not(.swetch-se-cta) {
    padding-left: max(15px, calc((100vw - 1320px) / 2)) !important;
    padding-right: max(15px, calc((100vw - 1320px) / 2)) !important;
}

.vc_row-o-content-middle {
    display: flex;
    align-items: center;
}

/* Hero Section with Background Image */
.swetch-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swetch-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(53, 167, 223, 0.75), rgba(26, 107, 148, 0.8));
    z-index: 1;
}

.swetch-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
}

/* About Us page — GeneratePress-style */
.swetch-about-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin: 0 !important;
    color: #35A7DF !important;
}

.swetch-about-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 0 !important;
}

.swetch-about-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #35A7DF;
    border-radius: 2px;
}

.swetch-about-intro .swetch-about-intro-text p,
.swetch-about-intro .vc_column_text p {
    max-width: 800px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--swetch-text-secondary, #6b7280) !important;
    margin-bottom: 1.25rem;
}

.swetch-about-intro .vc_column_text p:last-child {
    margin-bottom: 0;
}

/* Three columns: Portfolio, Objective, Greatest asset */
.swetch-about-columns .vc_column_container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.swetch-about-col .vc_column-inner {
    padding: 1.5rem 1.25rem !important;
    background: #fff !important;
    border-radius: var(--swetch-card-radius, 12px) !important;
    box-shadow: var(--swetch-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.06)) !important;
    height: 100%;
    transition: box-shadow 0.25s ease;
}

.swetch-about-col .vc_column-inner:hover {
    box-shadow: var(--swetch-card-shadow-hover, 0 4px 12px rgba(0, 0, 0, 0.08)) !important;
}

.swetch-about-col .vc_custom_heading,
.swetch-about-col h3 {
    color: var(--swetch-heading-neutral, #1f2937) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.swetch-about-col .vc_column_text p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: var(--swetch-text-secondary, #6b7280) !important;
    margin: 0 !important;
}

.swetch-about-facts .vc_custom_heading,
.swetch-about-facts h2,
.swetch-about-facts-title {
    color: var(--swetch-heading-neutral, #1f2937) !important;
    position: relative;
    padding-bottom: 0.75rem;
}

.swetch-about-facts .vc_column-inner > .vc_custom_heading:first-child,
.swetch-about-facts-title {
    display: inline-block;
}

.swetch-about-facts .vc_column-inner > .vc_custom_heading:first-child::after,
.swetch-about-facts .vc_custom_heading.swetch-about-facts-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #35A7DF;
    border-radius: 2px;
}

.swetch-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.swetch-facts-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--swetch-text-secondary, #6b7280);
}

.swetch-facts-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    background: #35A7DF;
    border-radius: 50%;
}

.swetch-facts-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .swetch-about-columns .vc_column_container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        margin-bottom: 1rem;
    }

    .swetch-about-col .vc_column-inner {
        padding: 1.25rem 1rem !important;
    }
}

@media (max-width: 767.98px) {
    .swetch-about-columns .vc_row_inner {
        flex-direction: column;
    }

    .swetch-about-columns .vc_column_container {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* About Section with Image */
.swetch-about-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.swetch-about-section .vc_custom_heading {
    margin-bottom: 0.5rem !important;
}

.swetch-about-section .vc_column_text p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #444 !important;
}

.swetch-about-section img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Facts row (Why Us) — в общем стиле с карточками What We Do: белый фон, синяя полоска сверху */
.swetch-facts-row.vc_row {
    margin-left: 0;
    margin-right: 0;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.swetch-facts-row .vc_column_container {
    padding: 0 1rem !important;
}

.swetch-facts-row .vc_column-inner {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem !important;
    text-align: center;
    box-shadow: 0 8px 30px rgba(53, 167, 223, 0.08);
    border: none;
    border-top: 4px solid #35A7DF;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.swetch-facts-row .vc_col-sm-4:hover .vc_column-inner {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(53, 167, 223, 0.2);
    border-top-color: #1a6b94;
}

.swetch-facts-row .vc_custom_heading.swetch-fact-number,
.swetch-facts-row .swetch-fact-number {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: #1a1a1a !important;
}

.swetch-facts-row .vc_column_text p {
    color: #555 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 !important;
}

/* CTA section (Contact Us) */
.swetch-cta-section .vc_custom_heading {
    margin-bottom: 0 !important;
}

.swetch-cta-section .vc_column_text p {
    margin-bottom: 0 !important;
    color: #555 !important;
}

.swetch-cta-section .vc_btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
}

/* Hero card (правая колонка) — только WPBakery элементы */
.swetch-hero-card .vc_column-inner {
    background: #fff !important;
    padding: 2rem !important;
    border-radius: var(--swetch-card-radius, 12px) !important;
    box-shadow: var(--swetch-card-shadow, 0 10px 30px rgba(2, 6, 23, 0.08)) !important;
}

.swetch-hero-card .vc_custom_heading,
.swetch-hero-card h5 {
    color: var(--swetch-logo-blue, #35A7DF) !important;
    margin: 0 0 0.5rem 0 !important;
}

.swetch-hero-card .vc_column_text ul {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.8;
}

.swetch-hero-card .vc_column_text p,
.swetch-hero-card .vc_column_text li {
    color: #1F1F21;
}

/* Services Section with Icons/Images */
.swetch-service-card,
.swetch-service-card .vc_column-inner {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff !important;
    border-radius: var(--swetch-card-radius, 12px) !important;
    box-shadow: var(--swetch-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.06)) !important;
    transition: all 0.3s ease;
}

.swetch-service-card .vc_custom_heading,
.swetch-service-card h3,
.swetch-service-card h5 {
    color: var(--swetch-heading-neutral, #1f2937) !important;
}

.swetch-service-card:hover .vc_column-inner,
.swetch-service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--swetch-card-shadow-hover, 0 4px 12px rgba(0, 0, 0, 0.08)) !important;
}

.swetch-service-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

/* Карточки услуг с выравниванием по левому краю (Home) */
.swetch-services-row .swetch-service-card,
.swetch-services-row .swetch-service-card .vc_column-inner {
    text-align: left;
}

.swetch-services-row .swetch-service-card .vc_custom_heading,
.swetch-services-row .swetch-service-card h5 {
    margin: 0 0 0.5rem 0 !important;
}

/* ========== Bootstrap 5 Full-Page Concept ========== */
.swetch-hero-concept {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
}

.swetch-hero-concept::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(53, 167, 223, 0.75));
    z-index: 0;
}

.swetch-hero-concept .vc_column-inner,
.swetch-hero-concept .vc_column-inner > * {
    position: relative;
    z-index: 1;
}

.swetch-hero-concept .vc_custom_heading,
.swetch-hero-concept h1 { color: #fff !important; }

.swetch-hero-concept .vc_column_text p,
.swetch-hero-concept p { color: rgba(255, 255, 255, 0.85) !important; }

.swetch-hero-concept .lead { font-size: 1.2rem; }

.badge-accent {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(53, 167, 223, 0.2);
    color: #35A7DF;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.swetch-btn-hero.vc_btn,
.swetch-hero-concept .swetch-btn-hero {
    background: #35A7DF !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 28px !important;
}

.swetch-btn-hero-outline.vc_btn,
.swetch-hero-concept .swetch-btn-hero-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

/* ========== Services full-page rows (2026 style) ========== */
.swetch-service-fullpage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 24px !important;
    background-size: cover !important;
    background-position: center !important;
}

.swetch-service-fullpage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(26, 107, 148, 0.5));
    pointer-events: none;
}

.swetch-service-fullpage .vc_column-inner,
.swetch-service-fullpage .vc_column-inner > * {
    position: relative;
    z-index: 1;
}

.swetch-service-col-fullpage .vc_column-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 2.5rem !important;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
}

.swetch-service-num {
    display: inline-block;
    font-weight: 800 !important;
    letter-spacing: 0.15em;
    margin: 0 !important;
}

.swetch-service-fullpage .swetch-service-title,
.swetch-service-fullpage .vc_custom_heading.swetch-service-title {
    color: #1f2937 !important;
    font-weight: 700 !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.swetch-service-fullpage .vc_column_text p {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
    margin: 0 !important;
}

@media (max-width: 767.98px) {
    .swetch-service-fullpage {
        min-height: auto;
        padding: 3rem 16px !important;
    }

    .swetch-service-col-fullpage .vc_column-inner {
        padding: 2rem 1.5rem !important;
    }
}

/* ========== Structural Engineering page ========== */
.swetch-se-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
    padding: 4rem 24px !important;
}

.swetch-se-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

.swetch-se-hero .vc_column-inner,
.swetch-se-hero .vc_column-inner > * {
    position: relative;
    z-index: 1;
}

.swetch-se-hero .vc_column-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 2rem 24px !important;
}

.swetch-se-cta .vc_column-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 24px !important;
}

.swetch-se-hero .vc_btn {
    margin-right: 12px;
    margin-bottom: 8px;
}

.swetch-se-hero .swetch-btn-hero.vc_btn {
    background: #35A7DF !important;
    color: #fff !important;
    border: none !important;
}

.swetch-se-hero .swetch-btn-hero-outline.vc_btn {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.swetch-se-hero .swetch-btn-hero-outline.vc_btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.swetch-hero-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.swetch-hero-icon-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.swetch-hero-icon-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #35A7DF;
    font-weight: 700;
}

.swetch-se-trust .vc_column-inner,
.swetch-trust-card .vc_column-inner {
    padding: 2rem 1.5rem !important;
    background: #fff;
    border-radius: var(--swetch-card-radius, 12px);
    box-shadow: var(--swetch-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.swetch-trust-card:hover .vc_column-inner {
    transform: translateY(-4px);
    box-shadow: var(--swetch-card-shadow-hover, 0 8px 24px rgba(0, 0, 0, 0.1));
}

.swetch-se-divider .vc_column-inner {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    min-height: 1px;
    padding: 0 !important;
}

.swetch-se-divider.vc_row {
    padding: 0 !important;
    margin: 0 !important;
}

.swetch-why-card .vc_column-inner {
    padding: 1.75rem 1.5rem !important;
    background: #fff;
    border-radius: var(--swetch-card-radius, 12px);
    box-shadow: var(--swetch-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.swetch-why-card:hover .vc_column-inner {
    transform: translateY(-4px);
    box-shadow: var(--swetch-card-shadow-hover, 0 8px 24px rgba(0, 0, 0, 0.1));
}

.swetch-why-card .vc_icon {
    margin-bottom: 1rem;
}

.swetch-service-bullet-card .vc_column-inner {
    padding: 2rem 1.5rem !important;
    background: #fff;
    border-radius: var(--swetch-card-radius, 12px);
    box-shadow: var(--swetch-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.swetch-service-bullet-card:hover .vc_column-inner {
    transform: translateY(-4px);
    box-shadow: var(--swetch-card-shadow-hover, 0 8px 24px rgba(0, 0, 0, 0.1));
}

.swetch-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.swetch-bullet-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--swetch-text-secondary, #6b7280);
    line-height: 1.5;
}

.swetch-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    background: #35A7DF;
    border-radius: 50%;
}

.swetch-se-workflow-steps {
    position: relative;
}

.swetch-se-workflow-steps .vc_row_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.swetch-workflow-step .vc_column-inner {
    padding: 1.5rem 1rem !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--swetch-card-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.swetch-workflow-step:hover .vc_column-inner {
    transform: translateY(-3px);
    box-shadow: var(--swetch-card-shadow-hover, 0 6px 20px rgba(0, 0, 0, 0.08));
}

.swetch-workflow-step .vc_column-inner::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #35A7DF, transparent);
    opacity: 0.5;
}

.swetch-workflow-step:last-child .vc_column-inner::after {
    display: none;
}

.swetch-step-num {
    font-weight: 800 !important;
    letter-spacing: 0.05em;
}

.swetch-step-text {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: var(--swetch-text-secondary, #6b7280) !important;
}

.swetch-industry-item .vc_column-inner {
    padding: 1.5rem 1rem !important;
    text-align: center;
    transition: transform 0.25s ease;
}

.swetch-industry-item:hover .vc_column-inner {
    transform: translateY(-3px);
}

.swetch-industry-item .vc_custom_heading,
.swetch-industry-item h3,
.swetch-industry-item h4 {
    font-size: 14px !important;
    color: var(--swetch-heading-neutral, #1f2937) !important;
}

.swetch-se-cta {
    padding: 5rem 20px !important;
    background: #35A7DF !important;
    text-align: center;
    color: #fff;
}

.swetch-se-cta .vc_column-inner {
    text-align: center;
}

.swetch-se-cta .vc_custom_heading,
.swetch-se-cta .vc_column_text,
.swetch-se-cta h1,
.swetch-se-cta h2,
.swetch-se-cta h3,
.swetch-se-cta p {
    color: #fff !important;
}

.swetch-se-cta .vc_column_text a {
    color: rgba(255, 255, 255, 0.9);
}

.swetch-se-cta .vc_column_text a:hover {
    color: #fff;
}

.swetch-cta-btn.vc_btn {
    background: #fff !important;
    color: #35A7DF !important;
    border: none !important;
}

.swetch-cta-btn.vc_btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1a6b94 !important;
}

@media (max-width: 991.98px) {
    .swetch-workflow-step .vc_column-inner::after {
        display: none;
    }

    .swetch-se-workflow-steps .vc_column_container {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 767.98px) {
    .swetch-se-hero {
        min-height: auto;
        padding: 3rem 16px !important;
    }

    .swetch-se-cta {
        padding: 3rem 16px !important;
    }

    .swetch-se-cta .vc_column-inner {
        padding: 1.5rem 16px !important;
    }

    .swetch-se-trust .vc_column_container,
    .swetch-se-why-cards .vc_column_container,
    .swetch-se-services-cards .vc_column_container {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .swetch-se-workflow-steps .vc_column_container {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .swetch-se-industries-grid .vc_column_container {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.d-none { display: none !important; }
@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
}

.swetch-section-concept { padding: 5rem 0; background: var(--bg-section, #f5f5f5); }

/* Отступы — карточки не сливаются */
.swetch-services-cards-row .vc_row_inner {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
}

.swetch-services-cards-row .vc_column_container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}



.swetch-services-cards-row {
    margin-top: 2.5rem !important;
}

.swetch-section-concept .text-secondary,
.swetch-concept .text-secondary { color: var(--swetch-text-secondary, #6b7280) !important; }

/* Заголовки секций — neutral */
.swetch-section-concept .vc_custom_heading,
.swetch-section-concept h2 {
    color: var(--swetch-heading-neutral, #1f2937) !important;
}

.swetch-service-card-concept .vc_column-inner {
    background: #fff !important;
    padding: 2.5rem !important;
    padding-top: 4.5rem !important;
    border-radius: var(--swetch-card-radius, 12px) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    height: 100%;
    position: relative;
    isolation: isolate;
    margin: 0 1.25rem !important;
}

.swetch-services-cards-row .vc_column_container:first-child .swetch-service-card-concept .vc_column-inner {
    margin-left: 0 !important;
}

.swetch-services-cards-row .vc_column_container:last-child .swetch-service-card-concept .vc_column-inner {
    margin-right: 0 !important;
}

.swetch-service-card-concept .vc_custom_heading,
.swetch-service-card-concept h5 {
    color: var(--swetch-heading-neutral, #1f2937) !important;
    margin-bottom: 0.75rem !important;
}

.swetch-service-card-concept .vc_column_text {
    margin-top: 0 !important;
}

.swetch-service-card-concept .vc_column_text p {
    margin: 0;
    line-height: 1.65;
}

.swetch-service-card-concept .vc_column-inner::before {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(53, 167, 223, 0.15);
    color: #35A7DF;
    font-weight: 700;
    font-size: 0.85rem;
    position: absolute;
    top: 2rem;
    left: 2.5rem;
}

/* Отступ от значка до заголовка */
.swetch-service-card-concept .vc_custom_heading {
    margin-top: 1.5rem !important;
}

.swetch-icon-RC .vc_column-inner::before { content: 'RC'; }
.swetch-icon-BIM .vc_column-inner::before { content: 'BIM'; }
.swetch-icon-FEM .vc_column-inner::before { content: 'FEM'; }

.swetch-divider {
    padding: 3rem 0 !important;
    margin: 0 !important;
}

.swetch-divider .vc_column-inner {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    min-height: 1px;
    padding: 0 !important;
}

.swetch-values-accent {
    margin-top: 2.5rem !important;
}

.swetch-value-card .vc_column-inner {
    background: #fff !important;
    padding: 2.5rem !important;
    border-radius: var(--swetch-card-radius, 1.25rem) !important;
    box-shadow: var(--swetch-card-shadow, 0 10px 30px rgba(2, 6, 23, 0.08)) !important;
    height: 100%;
}

.swetch-values-accent .vc_column_container {
    padding: 1rem !important;
}

.swetch-values-accent .vc_row_inner {
    gap: 0;
}

.swetch-section-concept { background: var(--bg-section, #f5f9fc); }
.swetch-facts-concept { background: #fff !important; }

.swetch-stat-card-concept .vc_column-inner {
    background: #fff !important;
    padding: 2.5rem !important;
    border-radius: var(--swetch-card-radius, 12px) !important;
    box-shadow: var(--swetch-card-shadow, 0 10px 30px rgba(2, 6, 23, 0.08)) !important;
    text-align: center;
}

.swetch-stat-card-concept .stat,
.swetch-stat-card-concept h2 {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.swetch-stat-card-concept .text-secondary { color: #64748b !important; }

.swetch-stats-cards-row {
    margin-top: 2.5rem !important;
}

.swetch-stats-cards-row .vc_row_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.swetch-stats-cards-row .vc_column_container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (max-width: 991.98px) {
    .swetch-hero-concept .vc_column-inner { min-height: auto; }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom WP Bakery column gaps */
/* Bootstrap 5 gutter: 1.5rem (24px) */
.vc_row-o-columns-gap-10 .vc_column_container {
    padding: 0 5px;
}

.vc_row-o-columns-gap-15 .vc_column_container {
    padding: 0 7.5px;
}

.vc_row-o-columns-gap-20 .vc_column_container {
    padding: 0 10px;
}

.vc_row-o-columns-gap-25 .vc_column_container {
    padding: 0 12.5px;
}

.vc_row-o-columns-gap-30 .vc_column_container {
    padding: 0 15px;
}

/* Image Gallery Styles */
.swetch-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.swetch-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.swetch-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.swetch-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Image Placeholder Styles */
.swetch-image-placeholder {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    min-height: 200px;
}

/* ============================================
   Meta Slider Styles for Swetch Theme
   ============================================ */

/* Meta Slider Container */
.metaslider {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
}

.metaslider .flexslider,
.metaslider .nivoSlider,
.metaslider .coin-slider {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Meta Slider Images */
.metaslider img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation Arrows */
.metaslider .flex-direction-nav a,
.metaslider .nivo-directionNav a {
    background-color: var(--swetch-primary, #35A7DF);
    color: #ffffff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.metaslider .flex-direction-nav a:hover,
.metaslider .nivo-directionNav a:hover {
    background-color: var(--swetch-accent, #1a6b94);
    opacity: 1;
    transform: scale(1.1);
}

.metaslider .flex-direction-nav .flex-prev {
    left: 20px;
}

.metaslider .flex-direction-nav .flex-next {
    right: 20px;
}

/* Pagination Dots */
.metaslider .flex-control-paging li a,
.metaslider .nivo-controlNav a {
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--swetch-primary, #35A7DF);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.metaslider .flex-control-paging li a.flex-active,
.metaslider .flex-control-paging li a:hover,
.metaslider .nivo-controlNav a.active,
.metaslider .nivo-controlNav a:hover {
    background-color: var(--swetch-accent, #35A7DF);
    border-color: var(--swetch-accent, #35A7DF);
    transform: scale(1.2);
}

/* Caption Styles */
.metaslider .caption-wrap {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    padding: 2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.metaslider .caption-wrap h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.metaslider .caption-wrap p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* Responsive Meta Slider */
@media (max-width: 767.98px) {
    .metaslider .flex-direction-nav a,
    .metaslider .nivo-directionNav a {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    
    .metaslider .flex-direction-nav .flex-prev {
        left: 10px;
    }
    
    .metaslider .flex-direction-nav .flex-next {
        right: 10px;
    }
    
    .metaslider .caption-wrap {
        padding: 1rem;
    }
    
    .metaslider .caption-wrap h3 {
        font-size: 1.2rem;
    }
    
    .metaslider .caption-wrap p {
        font-size: 0.9rem;
    }
}

/* Meta Slider in WP Bakery Row */
.vc_row .metaslider {
    margin-bottom: 2rem;
}

/* Hero Slider Styles */
.swetch-hero-slider .metaslider {
    min-height: 600px;
}

.swetch-hero-slider .metaslider img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .swetch-hero-slider .metaslider {
        min-height: 400px;
    }
    
    .swetch-hero-slider .metaslider img {
        height: 400px;
    }
}

/* ============================================
   WPBakery Tabs/Tour (vc_tta_*) - Swetch style
   ============================================ */

/* Outer container */
.vc_tta-container,
.vc_tta-tabs,
.vc_tta-tours {
    margin-top: 1.5rem;
    position: relative;
    width: 100%;
}

.vc_tta.vc_general .vc_tta-panels,
.vc_tta.vc_general .vc_tta-panels-container {
    width: 100%;
}

.vc_tta.vc_general {
    position: relative;
}

/* Tabs list — всегда поверх контента панелей */
.vc_tta.vc_general .vc_tta-tabs-container {
    margin: 0 0 14px 0;
    position: relative;
    z-index: 10;
}

.vc_tta.vc_general .vc_tta-tabs-list {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
}

.vc_tta.vc_general .vc_tta-tab {
    margin: 0;
    position: relative;
    z-index: 10;
    list-style: none;
    display: flex;
    align-items: center;
}

/* Разделитель между табами (вертикальная черта) */
.vc_tta.vc_general .vc_tta-tab:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1em;
    background: rgba(53, 167, 223, 0.35);
    margin-left: 16px;
    margin-right: 16px;
    flex-shrink: 0;
}

.vc_tta.vc_general .vc_tta-tab > a {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 16px;
    font-family: var(--swetch-font-primary, 'Open Sans', Arial, sans-serif);
    font-weight: 600;
    font-size: 14px;
    color: #1F1F21;
    line-height: 1;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.vc_tta.vc_general .vc_tta-tab > a:hover {
    color: #35A7DF;
    box-shadow: none;
    transform: none;
}

.vc_tta.vc_general .vc_tta-tab.vc_active > a {
    background: transparent;
    color: #35A7DF;
    box-shadow: none;
}

.vc_tta.vc_general .vc_tta-tab.vc_active > a::after {
    display: none;
}

/* Panels wrapper — ниже табов по z-index */
.vc_tta.vc_general .vc_tta-panels-container {
    border: none;
    position: relative;
    z-index: 1;
}

.vc_tta.vc_general .vc_tta-panels {
    background: #ffffff;
    border: 1px solid rgba(31, 31, 33, 0.08);
    border-radius: 14px;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

/* Скрываем неактивные панели — показываем только активный таб */
.vc_tta.vc_general .vc_tta-panel:not(.vc_active),
.swetch-jobs-tabs .vc_tta-panel:not(.vc_active) {
    display: none !important;
}

.vc_tta.vc_general .vc_tta-panel.vc_active,
.swetch-jobs-tabs .vc_tta-panel.vc_active {
    display: block;
}

/* swetch_jobs_tabs: табы сверху горизонтально, без точек */
.swetch-jobs-tabs .vc_tta-tabs-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    list-style: none;
}

.swetch-jobs-tabs .vc_tta-tab {
    list-style: none;
}

.swetch-jobs-tabs .vc_tta-tab:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1em;
    background: rgba(53, 167, 223, 0.35);
    margin-left: 16px;
    margin-right: 16px;
    vertical-align: middle;
}

/* subtle white-on-white “lift” */
.vc_tta.vc_general .vc_tta-panels::before {
    content: none;
}

/* Individual panel */
.vc_tta.vc_general .vc_tta-panel .vc_tta-panel-body {
    padding: 28px 28px 24px;
    position: relative;
    z-index: 1;
}

/* Career-style tabs: large image left, content right */
.vc_tta.vc_general .vc_tta-panel-body {
    padding: 0;
}

.vc_tta.vc_general .vc_tta-panel-body > .vc_row {
    margin-left: 0;
    margin-right: 0;
    background: #ffffff;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
    min-height: 280px;
    flex-direction: row;
    overflow: hidden;
}

.vc_tta.vc_general .vc_tta-panel-body > .vc_row > .wpb_column {
    padding-left: 0;
    padding-right: 0;
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
    flex: 1 1 0;
}

.vc_tta.vc_general .vc_tta-panel-body > .vc_row > .wpb_column:first-child {
    overflow: hidden;
    min-width: 0;
    padding-right: 1rem;
}

.vc_tta.vc_general .vc_tta-panel-body > .vc_row .wpb_single_image {
    margin: 0;
    overflow: hidden;
    max-width: 100%;
}

.vc_tta.vc_general .vc_tta-panel-body > .vc_row .wpb_single_image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
    vertical-align: top;
}

.vc_tta.vc_general .vc_tta-panel-body > .vc_row .wpb_text_column {
    padding: 36px 40px;
    border-left: 1px solid rgba(31, 31, 33, 0.06);
}

/* Typography inside tab content */
.vc_tta.vc_general .vc_tta-panel-body h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    font-family: var(--swetch-font-headings, 'Open Sans', Arial, sans-serif);
    color: #35A7DF;
}

.vc_tta.vc_general .vc_tta-panel-body h4 {
    margin: 18px 0 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1F1F21;
}

.vc_tta.vc_general .vc_tta-panel-body ul {
    margin: 0 0 14px;
    padding-left: 18px;
}

.vc_tta.vc_general .vc_tta-panel-body li {
    margin: 6px 0;
    color: #4b4b4d;
    line-height: 1.7;
}

/* Button */
.vc_tta.vc_general .vc_tta-panel-body .btn,
.vc_tta.vc_general .vc_tta-panel-body a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.vc_tta.vc_general .vc_tta-panel-body .btn.btn-primary,
.vc_tta.vc_general .vc_tta-panel-body a.btn.btn-primary {
    background: #35A7DF;
    color: #ffffff;
    box-shadow: none;
}

.vc_tta.vc_general .vc_tta-panel-body .btn.btn-primary:hover,
.vc_tta.vc_general .vc_tta-panel-body a.btn.btn-primary:hover {
    background: #1a6b94;
    transform: none;
    box-shadow: none;
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
    .vc_tta.vc_general .vc_tta-tab > a {
        padding: 9px 12px;
        font-size: 13px;
    }

    .vc_tta.vc_general .vc_tta-panel .vc_tta-panel-body {
        padding: 20px 16px;
    }

    .vc_tta.vc_general .vc_tta-panel-body {
        overflow: visible;
    }

    .vc_tta.vc_general .vc_tta-panel-body > .vc_row {
        flex-direction: column;
        min-height: 0;
        overflow: visible;
        width: 100%;
    }

    .vc_tta.vc_general .vc_tta-panel-body > .vc_row > .wpb_column {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto;
    }

    /* Картинка в табе — сохраняем пропорции, не растягиваем */
    .vc_tta.vc_general .vc_tta-panel-body > .vc_row .wpb_single_image {
        width: 100%;
    }

    .vc_tta.vc_general .vc_tta-panel-body > .vc_row .wpb_single_image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .vc_tta.vc_general .vc_tta-panel-body > .vc_row .wpb_text_column {
        padding: 24px 20px;
        width: 100%;
        box-sizing: border-box;
        border-left: none;
    }

    .vc_tta.vc_general .vc_tta-panel-body h3 {
        font-size: 22px;
    }

    .vc_tta.vc_general .vc_tta-panel-body h4 {
        font-size: 13px;
    }

    .vc_tta.vc_general .vc_tta-panel-body ul,
    .vc_tta.vc_general .vc_tta-panel-body ol {
        padding-left: 20px;
    }
    
    /* vc_tta — контент панели на полную ширину, без лишних отступов */
    .vc_tta .vc_tta-panel-body > .vc_row {
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* базовые отступы контента на мобильных */
    .swetch-wpbakery-template .vc_row:not(.swetch-hero-slider):not(.swetch-fullpage-slider) {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .swetch-wpbakery-template .vc_row {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Отступы колонок — оставляем для контента (Career, табы, формы) */
    .swetch-wpbakery-template .vc_column_container > .vc_column-inner {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Специально для grid контактов - центрирование на мобильных */
    .swetch-wpbakery-template .swetch-contacts-grid,
    .swetch-wpbakery-template .vc_row .swetch-contacts-grid {
        justify-items: center !important;
        grid-template-columns: 1fr !important; /* Одна колонка на мобильных */
        justify-content: center !important;
        display: grid !important;
    }
    
    .swetch-wpbakery-template .swetch-contacts-grid .swetch-contact-card,
    .swetch-wpbakery-template .vc_row .swetch-contacts-grid .swetch-contact-card,
    .swetch-wpbakery-template .swetch-contact-card {
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
    
    /* Контактная форма — полная ширина */
    .swetch-wpbakery-template .swetch-contact-form,
    .swetch-wpbakery-template .wpcf7 {
        text-align: left !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
    }
    
    .swetch-wpbakery-template .wpcf7-form-control-wrap,
    .swetch-wpbakery-template .wpcf7 input[type="email"],
    .swetch-wpbakery-template .wpcf7 input[type="text"],
    .swetch-wpbakery-template .wpcf7 input[type="tel"],
    .swetch-wpbakery-template .wpcf7 input[type="file"],
    .swetch-wpbakery-template .wpcf7 textarea {
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .swetch-wpbakery-template .wpcf7 input[type="submit"],
    .swetch-wpbakery-template .wpcf7 input[type="button"],
    .swetch-wpbakery-template input[type="submit"],
    .swetch-wpbakery-template .wpcf7-submit {
        display: inline-flex !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none;
        width: 100%;
    }
    
    /* Списки — обычное отображение, без сжатия */
    .swetch-wpbakery-template .vc_tta-panel-body ul,
    .swetch-wpbakery-template .vc_tta-panel-body ol {
        text-align: left;
        display: block;
        width: 100%;
    }
}

/* ============================================
   Tablet (769px – 1024px)
   ============================================ */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Отступы для строк (кроме слайдера) */
    .swetch-wpbakery-template .vc_row:not(.swetch-hero-slider):not(.swetch-fullpage-slider) {
        padding-left: 24px;
        padding-right: 24px;
    }

    .swetch-wpbakery-template .vc_row {
        margin-left: 0;
        margin-right: 0;
    }

    .swetch-wpbakery-template .vc_column_container > .vc_column-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Слайдер на планшете — 450px как на десктопе */
    .swetch-hero-slider .metaslider {
        min-height: 450px !important;
        max-height: 450px !important;
        height: 450px !important;
    }

    .swetch-hero-slider .metaslider img {
        height: 450px !important;
        max-height: 450px !important;
    }

    .metaslider .caption-wrap {
        padding: 1.25rem;
    }

    .metaslider .caption-wrap h3 {
        font-size: 1.35rem;
    }

    /* Табы — читаемый размер */
    .vc_tta.vc_general .vc_tta-tab > a {
        padding: 10px 14px;
        font-size: 13px;
    }

    .vc_tta.vc_general .vc_tta-panel .vc_tta-panel-body {
        padding: 24px 20px;
    }

    .vc_tta.vc_general .vc_tta-panel-body > .vc_row {
        flex-direction: column;
        min-height: 0;
    }

    .vc_tta.vc_general .vc_tta-panel-body > .vc_row .wpb_single_image img {
        height: auto;
        object-fit: contain;
    }

    .vc_tta.vc_general .vc_tta-panel-body > .vc_row .wpb_text_column {
        padding: 24px 20px;
        border-left: none;
    }

    .vc_tta.vc_general .vc_tta-panel-body h3 {
        font-size: 24px;
    }

    /* Сетки — автоматические колонки на планшете с центрированием */
    .swetch-wpbakery-template .swetch-contacts-grid,
    .swetch-wpbakery-template .vc_row .swetch-contacts-grid,
    .swetch-wpbakery-template .vc_column_container .swetch-contacts-grid,
    .swetch-wpbakery-template .vc_column-inner .swetch-contacts-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 320px)) !important;
        justify-items: center !important;
        justify-content: center !important;
        gap: 1.5rem;
        margin-left: auto !important;
        margin-right: auto !important;
        width: fit-content !important;
        max-width: 100% !important;
    }

    .swetch-wpbakery-template .swetch-contacts-grid .swetch-contact-card,
    .swetch-wpbakery-template .vc_row .swetch-contacts-grid .swetch-contact-card {
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    

    .vc_row .swetch-values-grid,
    .swetch-wpbakery-template .swetch-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .vc_row .swetch-projects-grid,
    .swetch-wpbakery-template .swetch-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .vc_row .swetch-facts-grid,
    .swetch-wpbakery-template .swetch-facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    /* Контактная форма — полная ширина */
    .swetch-wpbakery-template .swetch-contact-form,
    .swetch-wpbakery-template .wpcf7 {
        text-align: left !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
    }

    .swetch-wpbakery-template .wpcf7 input[type="submit"],
    .swetch-wpbakery-template .wpcf7 input[type="button"],
    .swetch-wpbakery-template input[type="submit"],
    .swetch-wpbakery-template .wpcf7-submit {
        display: inline-flex !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none;
        width: 100%;
    }
}

/* Contacts map — Leaflet with office locations */
.swetch-contacts-map {
    width: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef7ff;
}
.swetch-contacts-map.leaflet-container {
    font-family: var(--swetch-font-primary, 'Open Sans', Arial, sans-serif);
}
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.leaflet-popup-content {
    margin: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
}
.swetch-map-marker {
    background: none !important;
    border: none !important;
}
.swetch-map-marker i {
    font-size: 28px;
    color: #35A7DF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
