/*!
Theme Name: rivolty
*/

:root {
    --color-primary: #ceee73;
    --color-dark: #18211d;
    --color-light: #fefffe;
    --color-bg-light: #f3f3ec;
    --color-text-muted: rgba(24, 33, 29, 0.5);
    --border-color: rgba(24, 33, 29, 0.2);

    /* Additional variables from service.css */
    --color-text: #18211d;
    --color-text-light: rgba(24, 33, 29, 0.5);
    --color-background: #fefffe;
    --color-background-alt: #f3f3ec;
    --font-primary: 'Poppins', sans-serif;

    /* Adaptive Typography Variables */
    --font-size-xs: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);          /* 14px - 16px */
    --font-size-sm: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);             /* 16px - 20px */
    --font-size-base: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);        /* 18px - 24px */
    --font-size-lg: clamp(1.375rem, 1.25rem + 0.625vw, 1.75rem);      /* 22px - 28px */
    --font-size-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);         /* 24px - 36px */
    --font-size-2xl: clamp(2rem, 1rem + 2vw, 1rem);                /* 32px - 48px */
    --font-size-3xl: clamp(2.625rem, 1.1rem + 2vw, 2.25rem);        /* 42px - 68px */        
    --font-size-4xl: clamp(3rem, 1.5rem + 2.5vw, 5.75rem);            /* 48px - 92px */          

    /* Adaptive Spacing Variables */
    --spacing-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);             /* 8px - 12px */
    --spacing-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1rem);              /* 12px - 16px */
    --spacing-base: clamp(1rem, 0.75rem + 1.25vw, 1.5rem);            /* 16px - 24px */
    --spacing-lg: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);                /* 24px - 40px */
    --spacing-xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);                  /* 32px - 48px */
    --spacing-2xl: clamp(2.5rem, 2rem + 2.5vw, 3.75rem);              /* 40px - 60px */
    --spacing-3xl: clamp(3rem, 2rem + 5vw, 5rem);                     /* 48px - 80px */
    --spacing-4xl: clamp(4rem, 2.5rem + 7.5vw, 7.5rem);               /* 64px - 120px */
    --spacing-5xl: clamp(7.5rem, 5rem + 12.5vw, 15rem);               /* 120px - 240px */

    /* Adaptive Container Padding */
    --container-padding: clamp(1.25rem, 2vw, 5rem);                    /* 20px - 80px */
}

body {
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--color-light);
    color: var(--color-dark);
    font-weight: 300;
    font-size: var(--font-size-base);
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index: 0;
    position: relative;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: 2560px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 0.75rem + 1.25vw, 1.25rem) clamp(1.5rem, 1rem + 2.5vw, 2rem);
    border-radius: clamp(2rem, 1.5rem + 2.5vw, 3.125rem);
    font-size: var(--font-size-base);
    line-height: 1.35;
    font-weight: 300;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: var(--spacing-sm);
}

.btn-dark {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.btn-dark:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn-light {
    background-color: transparent;
    color: var(--color-text-muted);
    border-color: var(--border-color);
}

.btn-light:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(24, 33, 29, 0.2);
    color: var(--color-text-light);
}

/* HEADER STYLES */
.header-banner {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: clamp(0.75rem, 0.5rem + 1.25vw, 0.75rem) 0;
    overflow: hidden;
    white-space: nowrap;
}

.header-banner-track {
    display: flex;
    gap: var(--spacing-base);
    animation: scroll 20s linear infinite;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.menu-mobile-burger {
    display: none;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.header-banner-track:hover {
    animation-play-state: paused;
}

.main-header {
    padding-top: 0;
    padding-bottom: var(--spacing-xs);
}

.header-nav-container {
    background-color: rgba(254, 255, 254, 0.15);
    border: 1px solid var(--color-bg-light);
    border-radius: 100px;
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    height: clamp(5rem, 4rem + 5vw, 7.625rem);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    margin-left: 3rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: var(--font-size-base);
    color: var(--color-dark);
    border-radius: 100px;
	box-sizing: border-box;
    transition: all 0.3s ease-out;
}

.nav-item.active,
.nav-item:hover {
    background-color: var(--color-background-alt);
	box-shadow: 0 0 0 16px var(--color-background-alt);
}

.nav-item.services-menu:hover{
	box-shadow: unset;
}

.nav-item.active {
    padding-right: var(--spacing-base);
}

.nav-item.menu-services {
	padding: 0;
}

.services-menu {
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    padding-right: var(--spacing-base);
    gap: var(--spacing-base);
    border-radius: 67px;
}

.service-icon-wrapper,
.nav-icon-wrapper {
    position: relative;
    width: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 4rem);
}

.service-icon-bg, .service-icon-fg,
.nav-icon-bg, .nav-icon-fg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-left: auto;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    background-color: var(--color-bg-light);
    padding-left: var(--spacing-base);
    border-radius: 80px;
    color: var(--color-dark);
    font-size: var(--font-size-base);
}
/* 
.phone-btn svg {
	width: 64px;
	height: 64px;
} */

/* HOMEPAGE HERO SECTION */
.hero-section {
    background-color: var(--color-light);
    padding-top: clamp(10rem, 8rem + 10vw, 15.75rem);
    padding-bottom: var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 1180px;
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: var(--font-size-4xl);
    line-height: 1.1;
    color: var(--color-dark);
    margin: 0;
}

.animated-text-wrapper {
    display: block;
    height: clamp(4rem, 3rem + 5vw, 6.25rem);
    overflow: hidden;
}

.animated-text {
    display: block;
}

.hero-subtitle {
    font-size: var(--font-size-base);
    line-height: 1.35;
    color: var(--color-text-muted);
    max-width: 977px;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    position: relative;
    flex-wrap: wrap;
}

.cursor-icon {
    position: absolute;
    left: clamp(5rem, 4rem + 5vw, 8.75rem);
    top: clamp(2rem, 1.5rem + 2.5vw, 2.8125rem);
    width: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    height: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    transform: rotate(-38.12deg);
    pointer-events: none;
}

.hero-image-wrapper {
    flex: 1;
    max-width: 1180px;
    position: relative;
    top: -256px;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: clamp(2rem, 1.5rem + 2.5vw, 3.3125rem);
    display: block;
}

/* SERVICE PAGE HERO SECTION */
#section-hero {
    padding-top: var(--spacing-4xl);
    padding-bottom: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: relative;
    z-index: -1;
}
.page-id-952 section.hero-section.section-hero-v2 .hero-container  {
    flex-direction: row-reverse !important;
}
.page-id-952  .header-actions .btn-primary {
    background-color: var(--color-dark) !important;
    color: var(--color-light    ) !important;
}

section.hero-section.section-hero-v2 .hero-content {
    align-items: flex-start !important;
}

#section-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 999;
}
#image-gallery .image-gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0 auto 80px auto;
    text-align: center;
    position: relative;
    z-index: 999;
}
#section-hero .hero-content h1, #image-gallery h1 {
    font-size: var(--font-size-4xl);
    font-weight: 300;
    line-height: 1.1;
    text-align: left;
}

#section-hero .hero-content p, #image-gallery p {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--color-text-light);

    text-align: center;
}

.product-tabs {
    display: flex;
    gap: var(--spacing-base);
    flex-wrap: wrap;
    justify-content: center;
}
.product-tab-content {
    display: none;
}
.product-tab-content.active {
    display: block;
}

.tab-item {
    font-size: var(--font-size-base);
    font-weight: 300;
    padding-bottom: 4px;
    color: var(--color-text-light);
    border-bottom: 1px solid transparent;
}

.tab-item.active {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-text-light);
}

.photo-slider {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.main-photo {
    height: clamp(20rem, 15rem + 25vw, 47.3125rem);
    overflow: hidden;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--spacing-lg);
    display: block;
}

.thumbnail-slider {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
}

.thumbnails-wrapper {
    display: flex;
    gap: var(--spacing-sm);
    flex-grow: 1;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail-item {
    flex-shrink: 0;
    width: clamp(6rem, 5rem + 5vw, 11.25rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 5.5rem);
    border-radius: var(--spacing-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-item.active {
    border-color: var(--color-primary);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-gradient {
    position: absolute;
    right: clamp(5rem, 4rem + 5vw, 9.4375rem);
    top: 0;
    bottom: 0;
    width: clamp(15rem, 12rem + 15vw, 22.9375rem);
    background: linear-gradient(270deg, #fefffe 51.93%, rgba(254, 255, 254, 0.1) 93.19%);
    pointer-events: none;
}

.slider-navigation {
    display: flex;
    gap: var(--spacing-xs);
}

/* ABOUT SECTION - HOMEPAGE */
.about-section {
    padding: var(--spacing-5xl) 0 0;
    background-color: var(--color-light);
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.about-title {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
    max-width: 1584px;
    position: relative;
}

.about-title:first-of-type {
    margin-bottom: 0;
}

.about-title:last-of-type {
    margin-top: 0;
    margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.375rem);
}

.about-title:last-of-type::before {
    content: '';
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 8px;
    background-color: #CEEE73;
    opacity: 0.6;
}

.about-title:last-of-type::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 8px;
    background-color: #CEEE73;
    opacity: 0.6;
    width: -webkit-fill-available;
}

/* IMAGE GALLERY SECTION - Service Cards */
.image-gallery-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-light);
}

.gallery-cards {
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: stretch;
}

.gallery-card {
    background: #fefffe;
    border-radius: 24px;
    box-shadow: 2px 2px 19px 10px rgba(24, 33, 29, 0.15);
    overflow: hidden;
    display: flex;
    gap: 40px;
    height: 474px;
    align-items: stretch;
}

.card-image {
    background: linear-gradient(to right, #f4f4f4, #ffffff);
    border-radius: 0 0 24px 24px;
    width: 772px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.gallery-cards .card-description {
    display: flex;
    gap: clamp(1.5rem, 1rem + 2.5vw, 4.75rem);
    height: 100%;
}
.gallery-cards .card-description ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-right: 1px solid rgba(24, 33, 29, 0.2);
    pointer-events: none;
}

.card-content {
    flex: 1;
    padding: 64px 64px 64px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
    align-items: stretch;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.25;
    color: #18211d;
    margin: 0;
}

.card-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.35;
    color: #18211d;
}

.card-description ul {
    list-style: disc;
    margin: 0;
    padding-left: 36px;
}

.card-description li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-card {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }

    .card-image {
        width: 100%;
        height: 300px;
        border-radius: 24px 24px 0 0;
    }

    .card-content {
        padding: 40px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .gallery-cards {
        gap: 40px;
    }

    .gallery-card {
        border-radius: 16px;
        gap: 20px;
    }

    .card-image {
        height: 250px;
        border-radius: 16px 16px 0 0;
    }

    .card-content {
        padding: 30px;
        gap: 20px;
    }

    .card-title {
        font-size: 28px;
    }

    .card-description {
        font-size: 20px;
    }
}

/* ABOUT SLIDER - специфичные стили */
.about-slider {
    position: relative;
    padding-top: var(--spacing-3xl);
    overflow-x: hidden;
}

.about-slider .slider-track {
    display: flex;
    gap: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-slider .slide-item {
    flex: 0 0 clamp(18rem, 15rem + 15vw, 82.5rem);
    border: 1px solid var(--color-text-muted);
    border-radius: var(--spacing-lg);
    padding: var(--spacing-base);
    text-align: center;
    transition: all 0.3s ease;
    transform: scale(0.85);
    opacity: 0.7;
}

.about-slider .slide-item.active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

.about-slider .slide-item:not(.active) {
    transform: scale(0.85);
    opacity: 0.7;
}

/* Дополнительные стили для center-stage эффекта */
.about-slider .slide-item:first-child {
    margin-right: calc(-1 * clamp(9rem, 7.5rem + 7.5vw, 41.25rem));
}

.about-slider .slide-item:last-child {
    margin-left: calc(-1 * clamp(9rem, 7.5rem + 7.5vw, 41.25rem));
}

/* Hover эффекты */
.about-slider .slide-item:hover {
    transform: scale(0.9);
    opacity: 0.8;
}

.about-slider .slide-item.active:hover {
    transform: scale(1.02);
}

.slide-item.wide {
    flex: 0 0 clamp(20rem, 18rem + 10vw, 99.125rem);
}

.slide-item img {
    width: 100%;
    height: auto;
    border-radius: var(--spacing-lg);
    margin-bottom: var(--spacing-base);
}

.slide-item p {
    font-size: var(--font-size-xl);
    font-weight: 300;
    margin: 0;
}

.about-slider .slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 var(--spacing-xl);
}

.arrow-btn {
    background: none;
    border: none;
    border-radius: 50%;
    width: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
}

/* SERVICE PAGE SECTIONS */
.product-info {
    padding-top: var(--spacing-5xl);
    padding-bottom: var(--spacing-5xl);
}

.info-container {
    display: flex;
    gap: var(--spacing-2xl);
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

.info-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.info-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
}

.info-text .price {
    font-size: var(--font-size-base);
    font-weight: 300;
    line-height: 1.35;
}

.info-description {
    flex: 1;
    min-width: 300px;
}

.info-description p {
    font-size: var(--font-size-base);
    font-weight: 300;
    line-height: 1.35;
}

.info-image {
    width: 100%;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: var(--spacing-xl);
    border: 1px solid rgba(24, 33, 29, 0.2);
}

/* Responsive design for product-info */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-2xl);
    }

    .info-text,
    .info-description {
        min-width: auto;
    }
}

.section-specs {
    padding-bottom: var(--spacing-5xl);
}

.specs-container {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    flex-wrap: wrap;
}

.specs-details {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.specs-details h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.spec-item h3 {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text-light);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(24, 33, 29, 0.2);
    margin-bottom: var(--spacing-base);
}

.spec-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.spec-item li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: 300;
    line-height: 1.35;
}

.specs-image {
    flex: 1;
    min-width: 300px;
}

.specs-image img {
    width: 100%;
    height: auto;
}

/* Responsive design for specs-grid */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-base);
    }

    .specs-image {
        min-width: auto;
        order: -1;
    }
}

/* SERVICES SECTION */
.services-section {
    padding: var(--spacing-5xl) 0 var(--spacing-4xl);
    background-color: var(--color-light);
}

.services-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-2xl);
    position: relative;
}

.services-title {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    text-align: center;
    max-width: 2400px;
    margin: 0;
}

.services-tabs {
    display: flex;
    gap: var(--spacing-sm);
    border: 1.33px solid var(--border-color);
    border-radius: 133px;
    padding: var(--spacing-xs);
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: var(--spacing-xs) var(--spacing-base);
    border-radius: 100px;
    border: 1px solid transparent;
    background-color: transparent;
    font-size: var(--font-size-lg);
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

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

.tab-btn:not(.active) {
    border-color: var(--color-bg-light);
    color: var(--color-dark);
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    width: 100%;
}

.service-card {
    background-color: var(--color-light);
    border: 1.33px solid var(--border-color);
    border-radius: var(--spacing-xl);
    box-shadow: 2.67px 5.33px 26.67px 9.33px rgba(24, 33, 29, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image-wrapper {
    background-color: var(--color-bg-light);
}

.card-image-wrapper img {
    width: 100%;
    height: clamp(12rem, 10rem + 10vw, 27.5rem);
    object-fit: cover;
}

.card-info {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.card-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 300;
    margin: 0;
}

.card-info p {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    margin: 0;
    margin-bottom: var(--spacing-sm);
}

.card-info .btn {
    width: 100%;
}

.cursor-icon-services {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-180px, 10px) rotate(-38.12deg);
    width: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    height: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    pointer-events: none;
}

/* Service page services section */
#section-services {
    background-color: var(--color-background-alt);
    padding-top: var(--spacing-5xl);
    padding-bottom: var(--spacing-3xl);
    border-radius: var(--spacing-3xl) var(--spacing-3xl) 0 0;
}

#section-services .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.services-content {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.services-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.services-info h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
}

.services-info p {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.35;
}

.services-points {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.service-column {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
}

.service-dropdown {
    background-color: var(--color-background);
    border: none;
    border-radius: var(--spacing-base);
    padding: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text);
}

.services-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
    max-width: 570px;
}

.services-cta p {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.35;
}

/* SERVICE PAGE OUTDOOR SPACE SECTION */
#section-outdoor-space {
    background-color: var(--color-background-alt);
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.outdoor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
}

.outdoor-header h2 {
    flex: 1;
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
}

.outdoor-header p {
    flex: 1;
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.35;
}

.outdoor-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: var(--spacing-xl);
}

.gallery-item p {
    font-size: var(--font-size-base);
    font-weight: 300;
}

.cta-banner {
    background: url('images/build.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: auto;
    padding: var(--spacing-2xl) 0;
    min-height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 0;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.cta-banner-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    color: var(--color-light);
    line-height: 1.15;
}

/* SERVICE PAGE MATERIALS & FEATURES SECTION */
#section-materials-features {
    background-color: var(--color-background-alt);
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-4xl);
}

#section-materials-features .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-5xl);
}

.materials-header,
.heating-section h2,
.skylight-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
}

.materials-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.materials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.materials-header p {
    flex-basis: min(50%, 400px);
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    line-height: 1.35;
}

.materials-options {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.options-column {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-text-light);
    padding-bottom: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 300;
}
.heating-section h2, .skylight-section h2 {
    margin-bottom: 80px;
}

.heating-section {
    background: #f3f3ec;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
    padding-bottom: 120px;
}
.skylight-section {
    padding-top: 120px;
    padding-bottom: 120px;
    background: #f3f3ec;
}
.heating-content {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.heating-item {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.heating-item img {
    width: 100%;
    border-radius: var(--spacing-xl);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: 300;
}

.feature-list li img {
    width: 100%;
    max-width: 32px;
    height: 32px;
}

/* Responsive design for feature-list */
@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
        gap: var(--spacing-base);
    }
}

.merged-icon {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.merged-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.skylight-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.skylight-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* STEPS SECTION - HOMEPAGE */
.steps-section {
    padding: var(--spacing-4xl) 0 var(--spacing-5xl);
    background-color: var(--color-light);
    border-top: 1px solid var(--border-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.steps-title-wrapper {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.steps-title {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.step-icon-wrapper {
    width: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-dark);
}

.step-icon-wrapper.light {
    background-color: var(--color-bg-light);
}

.step-number-dark {
    color: var(--color-light);
    font-size: var(--font-size-sm);
}

.step-number-light {
    color: var(--color-dark);
    font-size: var(--font-size-sm);
}

.step-text h3 {
    font-size: var(--font-size-2xl);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 var(--spacing-base) 0;
}

.step-text p {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.35;
    margin: 0;
}

/* CONTACT SECTION - HOMEPAGE */
.contact-section {
    background-image: url('images/f3a31a5857ec368716691c72b16a6eb41042ff94.png');
    background-size: cover;
    background-position: center;
    padding: var(--spacing-4xl) 0;
}

.contact-form-wrapper {
    max-width: 1996px;
    margin: 0 auto;
    background-color: var(--color-light);
    border-radius: var(--spacing-lg);
    padding: var(--spacing-3xl);
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.contact-info-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.contact-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0 0 var(--spacing-xl) 0;
}

.contact-text p {
    font-size: var(--font-size-base);
    color: var(--color-dark);
    line-height: 1.35;
    margin: 0;
    max-width: 695px;
}

.manager-block {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.manager-photo {
    width: clamp(6rem, 5rem + 5vw, 9.375rem);
    height: clamp(6rem, 5rem + 5vw, 9.375rem);
    border-radius: 50%;
    object-fit: cover;
}

.manager-name {
    display: flex;
    align-items: center;
    gap: var(--spacing-base);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.manager-name h3 {
    font-size: var(--font-size-xl);
    font-weight: 300;
    margin: 0;
}

.manager-name span {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
}

.manager-info p {
    font-size: var(--font-size-base);
    color: var(--color-dark);
    line-height: 1.35;
    margin: 0;
}

.contact-form-col {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
}

.form-row {
    display: flex;
    gap: var(--spacing-base);
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
    background-color: var(--color-bg-light);
    border-radius: var(--spacing-sm);
    padding: var(--spacing-base);
    position: relative;
}

.form-group.full-width {
    flex-basis: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--color-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
}

.form-group.error input {
    color: #ff5d5d;
}

.form-group textarea {
    height: clamp(5rem, 4rem + 5vw, 7.5rem);
    resize: none;
}

.char-counter {
    position: absolute;
    bottom: var(--spacing-base);
    right: var(--spacing-base);
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
}

.file-upload-area {
    border: 2.67px dashed var(--color-text-muted);
    border-radius: var(--spacing-sm);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-base);
    text-align: center;
    cursor: pointer;
}

.file-upload-area span {
    font-size: var(--font-size-xl);
    font-weight: 300;
    color: var(--color-text-muted);
}

.file-upload-area p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.form-actions p {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin: 0;
}

.form-actions p a {
    text-decoration: underline;
}

/* SERVICE PAGE CONTACT SECTION */
#section-contact {
    background-color: var(--color-background-alt);
    padding: var(--spacing-3xl) 0 0;
}

#section-contact .container {
    background-color: var(--color-background);
    border-radius: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) clamp(2rem, 1.5rem + 2.5vw, 3.5rem) 0 0;
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-4xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4xl);
}

.contact-cta-box {
    background-color: var(--color-background-alt);
    border-radius: var(--spacing-xl);
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
}

.contact-cta-text {
    flex: 1;
    min-width: 300px;
    padding: var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-lg);
}

.contact-cta-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
}

.contact-cta-text p {
    font-size: var(--font-size-base);
    font-weight: 300;
    line-height: 1.35;
}

.contact-cta-image {
    flex: 1;
    min-width: 300px;
}

.contact-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ADVANTAGES SECTION - HOMEPAGE */
.advantages-section {
    background-color: var(--color-bg-light);
    padding: var(--spacing-4xl) 0;
}

.advantages-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.advantages-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
    max-width: 1180px;
}

.advantages-header p {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.35;
    margin: 0;
    max-width: 773px;
    text-align: right;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

/* Маленькие карточки — 3 в ряд */
.advantage-card.small {
    width: calc(33.333% - var(--spacing-lg) * 2 / 3);
}

/* Большие карточки — 2 в ряд */
.advantage-card.large {
    width: calc(50% - var(--spacing-lg) / 2);
    padding-bottom: 0;
}

.advantage-card.large .card-desc, .advantage-card.large .card-tag, .advantage-card.large img {
    max-width: 777px;
}
.advantage-card.large a.btn {
    width: 100%;
    max-width: 356px;
}
@media (max-width: 768px) {
    .advantage-card.small,
    .advantage-card.large {
        width: 100%;
    }
}

.advantage-card {
    background-color: var(--color-light);
    border-radius: var(--spacing-xl);
    padding: var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
    position: relative;
}

.advantage-card.small:last-of-type {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    flex-wrap: wrap;
}

.card-tag {
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: var(--font-size-base);
    color: var(--color-dark);
    white-space: nowrap;
}

.card-desc {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.35;
    margin: 0;
}

.advantage-card img {
    width: 100%;
    border-radius: var(--spacing-base);
    object-fit: cover;
}

.advantage-card.small:last-of-type .card-desc {
    max-width: 766px;
}

.cursor-icon-advantages {
    position: absolute;
    right: 20%;
    bottom: 30%;
    transform: rotate(-38.12deg);
    width: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    height: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
}

/* PORTFOLIO SECTION - HOMEPAGE */
.portfolio-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-light);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-3xl);
    position: relative;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.portfolio-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
    max-width: 1180px;
}

.cursor-icon-portfolio {
    position: absolute;
    right: clamp(3rem, 2.5rem + 2.5vw, 6.25rem);
    top: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
    transform: rotate(-38.12deg);
    width: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    height: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
}

.portfolio-slider {
    overflow: hidden;
    scrollbar-width: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

.portfolio-track {
    display: flex;
    gap: var(--spacing-lg);
    width: max-content;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
}

.portfolio-card img {
    border: 1px solid var(--border-color);
    border-radius: var(--spacing-xl);
    height: clamp(20rem, 15rem + 25vw, 43.125rem);
    object-fit: cover;
}

.portfolio-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 300;
    margin: 0;
}

.portfolio-card.wide img {
    width: clamp(25rem, 20rem + 25vw, 73.75rem);
}

.portfolio-card:not(.wide) img {
    width: clamp(18rem, 15rem + 15vw, 48.3125rem);
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
}

.slider-progress-bar {
    flex-grow: 1;
    height: 4px;
    background-color: rgba(24, 33, 29, 0.1);
    position: relative;
    border-radius: 10px;
}

.slider-progress {
    position: absolute;
    height: 100%;
    width: 14%;
    background-color: var(--color-dark);
    border-radius: 10px;
}

.slider-nav-arrows {
    display: flex;
    gap: var(--spacing-base);
}

.arrow-btn-slider {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.arrow-btn-slider:first-child {
    transform: rotate(180deg);
}

.arrow-btn-slider svg {
    width: 64px;
    height: 64px;
    transition: all 0.3s ease;
}

.arrow-btn-slider:hover svg {
    transform: scale(1.1);
}

.arrow-btn-slider:active svg {
    transform: scale(0.95);
}

/* TESTIMONIALS SECTION - FROM HOMEPAGE (unified for both pages) */
.testimonials-section {
    background-color: var(--color-bg-light);
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.testimonials-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
    max-width: 1180px;
}

.testimonials-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: flex-start;
    max-width: 772px;
}

.testimonials-actions p {
    font-size: var(--font-size-base);
    color: var(--color-dark);
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: var(--spacing-sm);
    position: relative;
    flex-wrap: wrap;
}

.cursor-icon-testimonials {
    position: absolute;
    left: clamp(8rem, 6rem + 10vw, 10.625rem);
    top: -10px;
    transform: rotate(-38.12deg);
    width: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    height: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-lg);
    padding-bottom: 20px;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 clamp(18rem, 15rem + 15vw, 35.625rem);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
}

.testimonial-card.active-slide {
    opacity: 1 !important;
}

.testimonial-card p {
    font-size: var(--font-size-base);
    color: var(--color-dark);
    margin: 0;
}

.video-thumbnail {
    position: relative;
    border-radius: var(--spacing-xl);
    overflow: hidden;
    height: clamp(25rem, 20rem + 25vw, 50rem);
}

.video-thumbnail > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    top: 35%;
}

.video-top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-base);
    color: var(--color-light);
    font-size: var(--font-size-base);
}

.channel-avatar {
    width: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    border-radius: 50%;
}

.options-btn {
    background: rgba(254, 255, 254, 0.15);
    backdrop-filter: blur(3px);
    border: none;
    border-radius: 50%;
    width: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    cursor: pointer;
}

.play-btn {
    cursor: pointer;
    align-self: center;
}

.watch-on-youtube {
    background: rgba(254, 255, 254, 0.15);
    backdrop-filter: blur(2px);
    border-radius: 100px;
    padding: var(--spacing-sm) var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-base);
    color: var(--color-light);
    font-size: var(--font-size-base);
    align-self: center;
}

/* Service page testimonials styles */
.slider-wrapper {
    overflow: hidden;
    scrollbar-width: none;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.video-card {
    flex: 0 0 clamp(18rem, 15rem + 15vw, 35.625rem);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
}

.video-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.social-icon,
.play-button,
.watch-button {
    background: rgba(254, 255, 254, 0.15);
    backdrop-filter: blur(2px);
    border: none;
    cursor: pointer;
}

.social-icon {
    width: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    border-radius: 50%;
}

.play-button {
    border-radius: 50%;
    align-self: center;
    background: transparent;
}

.watch-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-base);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: 100px;
    align-self: center;
    color: var(--color-light);
    font-size: var(--font-size-base);
}

.video-caption {
    font-size: var(--font-size-base);
    font-weight: 300;
    line-height: 1.35;
}

.slider-arrows {
    display: flex;
    gap: var(--spacing-base);
}

.slider-arrows .arrow-btn {
    width: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    height: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    background: none;
}
.slider-arrows .arrow-btn svg {
    width: 64px;
    height: 64px;
    max-width: 64px;
    min-height: 64px;
}
/* PARTNERS SECTION - FROM HOMEPAGE (unified for both pages) */
.partners-section {
    background-color: var(--color-bg-light);
    padding: var(--spacing-4xl) 0;
}

.partners-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3xl);
}

.partners-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
}

.partners-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
    max-width: 1180px;
}

.partners-header p {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.35;
    margin: 0;
    max-width: 1180px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    width: 100%;
}

.partner-card {
    background-color: var(--color-light);
    border-radius: var(--spacing-xl);
    padding: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    min-height: 300px;
}

.partner-card:hover {
    box-shadow: 2px 2px 19px 10px rgba(24, 33, 29, 0.15);
    position: relative;
}

.partner-card.highlighted {
    box-shadow: 2px 2px 19px 10px rgba(24, 33, 29, 0.15);
    gap: var(--spacing-base);
}

.partner-card img {
    height: clamp(4rem, 3rem + 5vw, 6.25rem);
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.partner-card p {
    font-size: var(--font-size-base);
    color: var(--color-dark);
    line-height: 1.35;
    margin: 0;
}

.partner-logo-merged {
    position: relative;
    width: clamp(15rem, 12rem + 15vw, 23.25rem);
    height: clamp(4rem, 3rem + 5vw, 6.25rem);
}

.cursor-icon-partners {
    position: absolute;
    width: clamp(3.5rem, 3rem + 2.5vw, 5.1875rem);
    height: clamp(3.5rem, 3rem + 2.5vw, 5.1875rem);
    right: var(--spacing-2xl);
    bottom: var(--spacing-2xl);
    transform: rotate(-38.12deg);
}

/* Service page partner styles */
.partner-logo {
    height: clamp(4rem, 3rem + 5vw, 6.25rem);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.timbertech-logo {
    width: clamp(15rem, 12rem + 15vw, 23.25rem);
    height: clamp(2.5rem, 2rem + 2.5vw, 3.3125rem);
}

.timbertech-logo img {
    position: absolute;
}

.hand-cursor {
    position: absolute;
    right: 0;
    top: -10px;
    transform: rotate(-38.12deg);
}

/* FAQ SECTION - HOMEPAGE */
.faq-section {
    background-color: var(--color-bg-light);
    padding: 0 var(--container-padding);
}

.faq-wrapper {
    background-color: var(--color-light);
    border-radius: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) clamp(2rem, 1.5rem + 2.5vw, 3.5rem) 0 0;
    padding: var(--spacing-4xl) var(--spacing-3xl);
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.faq-intro {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.faq-intro h2 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
    max-width: 976px;
}

.faq-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.faq-actions p {
    font-size: var(--font-size-base);
    color: var(--color-dark);
    margin: 0;
    max-width: 972px;
}

.faq-buttons {
    display: flex;
    gap: var(--spacing-base);
    position: relative;
    flex-wrap: wrap;
}

.cursor-icon-faq {
    position: absolute;
    left: clamp(7rem, 5rem + 10vw, 9.375rem);
    top: -10px;
    transform: rotate(-38.12deg);
    width: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    height: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
}

.faq-accordion {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.faq-item {
    background-color: var(--color-bg-light);
    border-radius: var(--spacing-base);
    padding: var(--spacing-xl);
}

.faq-item summary {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: 1.35;
    margin-top: var(--spacing-base);
}

.faq-item[open] .toggle-icon {
    transform: rotate(45deg);
}

.toggle-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* FOOTER SECTIONS - UNIFIED */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.footer-card {
    border-radius: var(--spacing-xl);
    padding: var(--spacing-lg);
    height: clamp(18rem, 15rem + 15vw, 26.25rem);
    display: flex;
    flex-direction: column;
}

.footer-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 var(--spacing-sm) 0;
}

.contacts-card {
    background-color: var(--color-primary);
    justify-content: space-between;
}

.contact-details a,
.contact-details address {
    font-size: var(--font-size-xl);
    font-style: normal;
    display: block;
}

.contact-details address {
    margin-top: var(--spacing-xl);
}

.social-card {
    background-color: var(--color-bg-light);
    justify-content: space-between;
}

.social-details a {
    font-size: var(--font-size-xl);
}

.social-icons {
    display: flex;
    gap: clamp(0.5rem, 0.3rem + 1vw, 0.6875rem);
    flex-wrap: wrap;
}

.social-icons a {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-card {
    border: 1.33px solid var(--border-color);
    padding: 0;
    overflow: hidden;
}

.map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service page contact details grid (same as footer top) */
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.contact-card {
    border-radius: var(--spacing-xl);
    padding: var(--spacing-lg);
    min-height: clamp(15rem, 12rem + 15vw, 20rem);
}

.contact-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
}

.contact-card.contacts {
    background-color: var(--color-primary);
}

.contact-card.social {
    background-color: var(--color-background-alt);
    border: 1px solid rgba(24, 33, 29, 0.2);
}

.contact-card.map {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(24, 33, 29, 0.2);
}

.contact-card.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info-items,
.social-info-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    font-size: var(--font-size-xl);
    font-weight: 300;
}

.social-info-items {
    justify-content: space-between;
    height: 100%;
}

.social-icons a {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer bottom from service.html (main footer) */
.site-footer {
    background-color: var(--color-light);
    padding: 0 var(--container-padding);
}

#main-footer {
    background-color: var(--color-background);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

#main-footer .container {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-radius: var(--spacing-lg);
    padding: clamp(2rem, 1.5rem + 2.5vw, 3.75rem) var(--spacing-3xl);
}

.footer-bottom {
    background-color: var(--color-dark);
    border-radius: var(--spacing-lg);
    padding: var(--spacing-lg);
    color: var(--color-light);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    width: 100%;
}

.footer-logo {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    width: 100%;
    max-width: 60%;
    margin-left: 5%;
}

.links-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.links-column h4 {
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 1.8125rem);
    font-weight: 400;
    color: rgba(254, 255, 254, 0.7);
    margin: 0 0 var(--spacing-xs) 0;
}

.links-column a {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-light);
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    width: 100%;
    max-width: 540px;
}

.link-column h4 {
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 1.8125rem);
    font-weight: 400;
    color: rgba(254, 255, 254, 0.7);
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.link-column:last-child ul {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.link-column a {
    font-size: var(--font-size-base);
    font-weight: 300;
    color: var(--color-light);
    transition: color 0.3s ease;
}

.link-column a:hover {
    color: rgba(254, 255, 254, 0.9);
}

.back-to-top {
    position: absolute;
    right: 0;
    top: 0;
}

.scroll-top-btn {
    display: block;
}
@media (max-width: 1940px) {
    .nav-item {
        font-size: 18px;
    }
    .phone-btn {
        font-size: 18px;
    }
    .btn {
        font-size: 18px;
    }
    a.header-logo img {
        max-width: 110px;
    }

}

@media (max-width: 1595px) {
    .nav-item {
        font-size: 16px;
		padding: 0;
    }
	
	.nav-item:hover,
	.nav-item.active{
			box-shadow: 0 0 0 8px var(--color-background-alt);
	}

    .phone-btn {
        font-size: 16px;
    }
    .btn {
        font-size: 16px;
    }
    a.header-logo img {
        max-width: 110px;
    }


}
/* RESPONSIVE OVERRIDES */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cursor-icon,
    .cursor-icon-services,
    .cursor-icon-advantages,
    .cursor-icon-portfolio,
    .cursor-icon-testimonials,
    .cursor-icon-faq,
    .cursor-icon-partners {
        display: none;
    }

    .header-nav {
        display: none;
    }

    .header-actions {
        gap: var(--spacing-base);
    }

    .phone-btn span {
        display: none;
    }

    .slider-gradient {
        display: none;
    }

    .thumbnails-wrapper {
        justify-content: center;
        flex-wrap: wrap;
    }

    .advantages-header p {
        text-align: left;
    }

    .advantage-card.small:last-of-type {
        flex-direction: column;
        text-align: center;
    }

    .manager-block {
        flex-direction: column;
        text-align: center;
    }

    .manager-name {
        justify-content: center;
    }

    .form-row,
    .form-actions {
        flex-direction: column;
    }

    .form-group {
        min-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .back-to-top {
        position: static;
        align-self: center;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
    }

    .link-column ul {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .header-nav {
        display: none;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-title-wrapper {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1201px) {
    .steps-container {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .steps-title-wrapper {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        text-align: left;
        margin-bottom: 0;
    }
}

/* DISCOUNT BANNER STYLES */
.discount-banner {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: var(--spacing-xs) 0;
    overflow: hidden;
    white-space: nowrap;
}

.discount-marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.discount-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-xs);
    font-size: var(--font-size-lg);
    font-weight: 300;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* HEADER STICKY VERSION */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-background);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    background-color: rgba(254, 255, 254, 0.15);
    border: 1px solid #f3f3ec;
    border-radius: 100px;
    backdrop-filter: blur(2px);
    padding: var(--spacing-xs) 0;
}

.header-left,
.header-right,
.main-nav {
    display: flex;
    align-items: center;
}

.header-left {
    gap: var(--spacing-3xl);
    padding-left: var(--spacing-lg);
}

.header-right {
    gap: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.main-nav {
    gap: var(--spacing-xl);
}

/* ANIMATIONS */
@keyframes progressGrow {
    0%, 100% {
        width: 14%;
    }
    50% {
        width: 25%;
    }
}



/* animations-extra.css - Дополнительные анимации и эффекты */

/* Анимации для hover эффектов */
.service-card,
.advantage-card,
.partner-card,
.portfolio-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover,
.advantage-card:hover,
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(24, 33, 29, 0.15);
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

/* Анимация для кнопок */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Анимация появления декоративных линий */
.decorative-line-1,
.decorative-line-2 {
    width: 0;
    animation: lineGrow 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 1.5s;
}

.decorative-line-2 {
    animation-delay: 2s;
}

@keyframes lineGrow {
    to {
        width: var(--line-width, 1585px);
    }
}

.decorative-line-2 {
    --line-width: 1050px;
}

/* Анимация для tabs */
.tab-btn,
.tab-item {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.tab-btn::after,
.tab-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.tab-btn.active::after,
.tab-item.active::after {
    width: 80%;
}

/* Анимация для form элементов */
.form-group {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-group:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 33, 29, 0.1);
}

/* Анимация для video thumbnails */
.video-thumbnail {
    overflow: hidden;
}

.video-thumbnail img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

/* Пульсирующая анимация для play кнопки */
.play-btn,
.play-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Анимация для cursor icons */
.cursor-icon,
.cursor-icon-services,
.cursor-icon-advantages,
.cursor-icon-portfolio,
.cursor-icon-testimonials,
.cursor-icon-faq,
.cursor-icon-partners {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-38.12deg);
    }
    50% {
        transform: translateY(-10px) rotate(-38.12deg);
    }
}

/* Анимация для социальных иконок */
.social-icons a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(24, 33, 29, 0.3);
}



@keyframes progressGrow {
    0%, 100% {
        width: 14%;
    }
    50% {
        width: 25%;
    }
}

/* Анимация для FAQ accordion */
.faq-item[open] {
    animation: accordionOpen 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes accordionOpen {
    from {
        opacity: 0.7;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация для header при скролле */
.header-wrapper.scrolled,
.header-sticky.scrolled {
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(24, 33, 29, 0.1);
}

/* Анимация для step icons */
.step-icon-wrapper {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-item.is-visible .step-icon-wrapper {
    animation: stepIconBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

@keyframes stepIconBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Анимация загрузки */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f3f3ec 25%, #e8e8e8 50%, #f3f3ec 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* Responsive анимации */
@media (max-width: 768px) {
    /* Уменьшаем интенсивность анимаций на мобильных */
    .animate-fade-up,
    .animate-fade-left,
    .animate-fade-right {
        transform: translateY(30px) translateX(0);
    }

    .animate-fade-left {
        transform: translateY(30px) translateX(-30px);
    }

    .animate-fade-right {
        transform: translateY(30px) translateX(30px);
    }

    /* Отключаем float анимацию для курсоров на мобильных */
    .cursor-icon,
    .cursor-icon-services,
    .cursor-icon-advantages,
    .cursor-icon-portfolio,
    .cursor-icon-testimonials,
    .cursor-icon-faq,
    .cursor-icon-partners {
        animation: none;
    }
}

/* Анимация для скролла до якоря */
html {
    scroll-behavior: smooth;
}

/* Специальная анимация для contact формы */
.contact-form.is-visible .form-group {
    animation: formSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(var(--index, 0) * 0.1s);
    opacity: 0;
    transform: translateX(-30px);
}

@keyframes formSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Анимация для manager блока */
.manager-block.is-visible .manager-photo {
    animation: managerPhotoScale 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.manager-block.is-visible .manager-info {
    animation: managerInfoSlide 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

@keyframes managerPhotoScale {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes managerInfoSlide {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* BLOG STYLES - Updated for Figma Design */
.blog-hero-section {
    background-color: #ffffff;
    padding: 80px 0 60px;
    text-align: center;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    color: #333333;
}

.blog-content-section {
    padding: 0 0 var(--spacing-5xl);

}

/* Category Filters */
.blog-filters {
    margin-bottom: 48px;
    text-align: center;
}

.blog-filters .filter-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-filters .filter-btn {
    background: transparent;
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.blog-filters .filter-btn:hover,
.blog-filters .filter-btn.active {
    background: var(--color-dark);
    color: white;
}

/* Blog Grid */
.blog-main {
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: var(--spacing-3xl);
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.blog-card {
    border-radius: 16px;
    overflow: hidden;

    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;

    opacity: 1;
}

.blog-card:hover {

}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 24px;
}

.blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

/* Category Tag Overlay */
.blog-category-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.blog-category-tag {
    background: rgba(255, 255, 255, 0.95);
    color: #333333;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    transition: opacity 0.3s ease;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: #333333;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #007bff;
}

.blog-card-date {
    color: #666666;
    font-size: 16px;
    font-weight: 400;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.pagination-nav {
    display: inline-flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.pagination-nav .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #007bff;
    color: #007bff;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-nav .page-numbers:hover,
.pagination-nav .page-numbers.current {
    background: #007bff;
    color: white;
}

.pagination-nav .prev,
.pagination-nav .next {
    width: auto;
    padding: 0 var(--spacing-base);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: var(--spacing-4xl) 0;
}

.no-posts h2 {
    color: var(--color-dark);
    margin-bottom: var(--spacing-lg);
}

.no-posts p {
    color: var(--color-text-muted);
    font-size: var(--font-size-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .filter-buttons {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .filter-btn {
        width: 200px;
    }

    .blog-hero-title {
        font-size: 36px;
    }

    .blog-content-section {
        padding: 0 0 48px;
    }
}

@media (max-width: 480px) {
    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 16px;
    }

    .filter-btn {
        width: 100%;
        max-width: 250px;
    }

    .blog-hero-title {
        font-size: 32px;
    }

    .blog-hero-section {
        padding: 60px 0 40px;
    }
}

/* FAQ ARCHIVE PAGE STYLES - SEPARATE FROM faq-section */
.faq-hero {
    background-color: var(--color-light);
    padding: var(--spacing-4xl) 0 var(--spacing-2xl);
    text-align: center;
}

.faq-hero h1 {
    font-size: var(--font-size-3xl);
    font-weight: 300;
    line-height: 1.15;
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--color-dark);
}

.faq-hero p {
    font-size: var(--font-size-base);
    font-weight: 300;
    line-height: 1.35;
    color: var(--color-text-light);
    margin: 0 0 var(--spacing-2xl) 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-base);
    flex-wrap: wrap;
    margin-top: var(--spacing-2xl);
}

.faq-tab {
    padding: var(--spacing-sm) var(--spacing-xl);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background-color: var(--color-light);
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.faq-tab.active,
.faq-tab:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
}

.faq-content {

    padding: var(--spacing-2xl) 0 var(--spacing-5xl);
}

.faq-category-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
    width: 884px;
    margin: 0 auto;
}

.faq-category-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.faq-category-title {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 24px 0;
    width: 100%;
    margin-bottom: 24px;
    position: relative;
}

.faq-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(24, 33, 29, 0.2);
}

.faq-category-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-category-icon svg {
    width: 100%;
    height: 100%;
}

.faq-category-title h2 {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1.2;
    color: #18211d;
    margin: 0;
    flex: 1;
}

.faq-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
}



.faq-item {
    background-color: #f3f3ec;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;

}

.faq-question {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-question-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-question-icon {
    transform: rotate(45deg);
}

.faq-question-icon svg {
    width: 100%;
    height: 100%;
}

.faq-question-text {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
    color: #18211d;
    flex: 1;
    margin: 0;
}



.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-text {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0;
}

.faq-answer p {
    font-size: 14px;
    margin: 0 0 16px 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive FAQ Styles */
@media (max-width: 1200px) {
    .faq-category-content {
        width: 100%;
        max-width: 800px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .faq-tabs {
        gap: var(--spacing-sm);
    }

    .faq-tab {
        padding: var(--spacing-xs) var(--spacing-base);
        font-size: var(--font-size-xs);
    }

    .faq-category-content {
        padding: 0 16px;
    }

    .faq-category-title h2 {
        font-size: 0px;
    }

    .faq-item {
        padding: 20px 24px;
        border-radius: 12px;
    }

    .faq-question-text {
        font-size: 0px;
    }

    .faq-answer-text {
        font-size: 0px;
    }
}

@media (max-width: 480px) {
    .faq-tabs {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xs);
    }

    .faq-tab {
        width: 200px;
    }

    .faq-hero {
        padding: var(--spacing-3xl) 0 var(--spacing-base);
    }
}

/* PORTFOLIO SECTION */
#portfolio-archive {
    background: #fefffe;
    padding: 48px 64px 100px 64px;
    min-height: 100vh;
}

#portfolio-archive .portfolio-header {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 64px;
}

#portfolio-archive .portfolio-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 72px;
    line-height: 1.1;
    color: #18211d;
    text-align: center;
    margin: 0;
}

/* Portfolio Filters */
#portfolio-archive .portfolio-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#portfolio-archive .filter-btn {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(24, 33, 29, 0.2);
    background: transparent;
    color: rgba(24, 33, 29, 0.5);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.35;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

#portfolio-archive .filter-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

#portfolio-archive .filter-btn:hover {
    background: rgba(24, 33, 29, 0.05);
}

#portfolio-archive .filter-btn.active {
    background: #18211d;
    color: #fefffe;
    border-color: #18211d;
}

#portfolio-archive .filter-btn.filter-clear {
    background: #18211d;
    color: #fefffe;
    border-color: #18211d;
}

/* Portfolio Grid */
#portfolio-archive .portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 64px;
}

#portfolio-archive .portfolio-card {
    height: 490px;
    width: 430px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#portfolio-archive .portfolio-card:hover {
    transform: translateY(-5px);
}

#portfolio-archive .portfolio-card-inner {
    height: 100%;
    width: 100%;
    position: relative;
}

#portfolio-archive .portfolio-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

#portfolio-archive .portfolio-year {
    position: absolute;
    top: 24px;
    left: 24px;
    background: #fefffe;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(24, 33, 29, 0.2);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1;
    color: #18211d;
}

#portfolio-archive .portfolio-info {
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fefffe;
}

#portfolio-archive .portfolio-info .portfolio-title {
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 8px 0;
    text-align: left;
    color: #fefffe;
}

#portfolio-archive .portfolio-category {
    font-size: 16px;
    line-height: 1.35;
    opacity: 0.9;
}

/* Portfolio Modal */
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.portfolio-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fefffe;
    border-radius: 24px;
    max-width: 95vw;
    max-height: 95vh;
    overflow: hidden;
    width: 1200px;
    height: 701px;
    box-shadow: 2px 2px 19px 10px rgba(24, 33, 29, 0.15);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #fefffe;
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    transition: background 0.3s ease;
}

.modal-close svg {
    width: 24px;
    height: 24px;
    color: #18211d;
}

.modal-close:hover {
    background: rgba(24, 33, 29, 0.1);
}

.modal-body {
    display: flex;
    height: 100%;
    gap: 24px;
}

.modal-left {
    width: 663px;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.modal-gallery {
    height: 100%;
    position: relative;
}

.main-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px 0 0 0;
    position: relative;
}

.gallery-navigation.main-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 24px;
}

.nav-btn {
    background: rgba(254, 255, 254, 0.15);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    color: #18211d;
}

.nav-btn:hover {
    background: rgba(254, 255, 254, 0.25);
}

.modal-right {
    flex: 1;
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 1.2;
    color: #18211d;
    margin: 0;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.35;
    color: #18211d;
    display: flex;
    gap: 8px;
}

.detail-label {
    font-weight: 400;
    white-space: nowrap;
}

.detail-value {
    color: #18211d;
}

.modal-thumbnails-section {
    position: relative;
    margin-top: auto;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.thumbnail {
    width: 100%;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid #18211d;
}

.thumbnail:hover {
    opacity: 1;
}

/* Single Portfolio */
.single-portfolio {
    background: #fefffe;
    padding: 80px 0;
}

.portfolio-single .portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-single .portfolio-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.portfolio-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.portfolio-meta .portfolio-year,
.portfolio-meta .portfolio-category {
    background: #f4f4f4;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #18211d;
}

.portfolio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.portfolio-gallery {
    position: relative;
}

.main-gallery {
    position: relative;
}

.main-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.portfolio-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 16px;
}

.portfolio-description {
    grid-column: 1 / -1;
    font-size: 18px;
    line-height: 1.6;
    color: #18211d;
}

.portfolio-navigation {
    border-top: 1px solid #e9ecef;
    padding-top: 40px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 18px;
    color: #18211d;
    font-weight: 500;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 1200px) {
    #portfolio-archive {
        padding: 40px 32px 80px 32px;
    }

    #portfolio-archive .portfolio-grid {
        justify-content: center;
    }

    #portfolio-archive .portfolio-card {
        width: 100%;
        max-width: 400px;
    }

    .modal-content {
        width: 95vw;
        height: 90vh;
    }

    .modal-body {
        flex-direction: column;
        height: auto;
    }

    .modal-left {
        height: 300px;
    }
}

@media (max-width: 768px) {
    #portfolio-archive {
        padding: 32px 16px 60px 16px;
    }

    #portfolio-archive .portfolio-title {
        font-size: 48px;
    }

    #portfolio-archive .portfolio-filters {
        gap: 6px;
    }

    #portfolio-archive .filter-btn {
        height: 48px;
        padding: 6px 20px;
        font-size: 16px;
    }

    #portfolio-archive .portfolio-grid {
        gap: 16px;
    }

    #portfolio-archive .portfolio-card {
        height: 400px;
    }

    .modal-content {
        width: 95vw;
        height: 95vh;
        border-radius: 16px;
    }

    .modal-right {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 28px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .thumbnail {
        height: 40px;
    }
}

/* ========================================
   TEXT PAGE STYLES
   ======================================== */

/* Text Page Styles */
#text-page-styles {
    background: #fefffe;
    color: #18211d;
    padding: 72px 0 120px 0;
}

/* Text Hero Section */
#text-page-styles .text-hero {
    padding: 0 690px;
    margin-bottom: 64px;
}

#text-page-styles .text-title {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 92px;
    font-weight: 300;
    line-height: 1.1;
    color: #18211d;
    margin: 0;
    width: 100%;
}

/* Text Content Section */
#text-page-styles .text-content {
    padding: 0 690px;
}


/* Content Blocks */
#text-page-styles .text-content-wrapper > * {
    margin: 0;
}

#text-page-styles .content-block {
    margin-bottom: 40px;
}

#text-page-styles .content-block:last-child {
    margin-bottom: 0;
}

/* Headings (H2, H3, etc.) */
#text-page-styles .text-content-wrapper h2,
#text-page-styles .text-content-wrapper h3,
#text-page-styles .text-content-wrapper h4,
#text-page-styles .text-content-wrapper h5,
#text-page-styles .text-content-wrapper h6 {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.25;
    color: #18211d;
    margin: 0 0 32px 0;
}

/* Paragraphs */
#text-page-styles .text-content-wrapper p {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0 0 32px 0;
}

/* Lists */
#text-page-styles .text-content-wrapper ul,
#text-page-styles .text-content-wrapper ol {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0 0 32px 0;
    padding-left: 24px;
}

#text-page-styles .text-content-wrapper li {
    margin-bottom: 16px;
}

/* Links */
#text-page-styles .text-content-wrapper a {
    color: #18211d;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

#text-page-styles .text-content-wrapper a:hover {
    opacity: 0.7;
}

/* Blockquotes */
#text-page-styles .text-content-wrapper blockquote {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0 0 32px 0;
    padding-left: 24px;
    border-left: 3px solid rgba(24, 33, 29, 0.2);
}

/* Tables */
#text-page-styles .text-content-wrapper table {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0 0 32px 0;
    width: 100%;
    border-collapse: collapse;
}

#text-page-styles .text-content-wrapper th,
#text-page-styles .text-content-wrapper td {
    padding: 16px;
    border: 1px solid rgba(24, 33, 29, 0.2);
    text-align: left;
}

#text-page-styles .text-content-wrapper th {
    background-color: rgba(24, 33, 29, 0.05);
    color: #18211d;
    font-weight: 300;
}

/* Code blocks */
#text-page-styles .text-content-wrapper pre,
#text-page-styles .text-content-wrapper code {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    background-color: rgba(24, 33, 29, 0.05);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

#text-page-styles .text-content-wrapper code {
    padding: 4px 8px;
    border-radius: 4px;
}

/* Responsive Styles for Text Page */
@media (max-width: 1440px) {
    #text-page-styles .text-hero,
    #text-page-styles .text-content {
        padding: 0 400px;
    }

    #text-page-styles .text-title {
        font-size: 72px;
    }

    #text-page-styles .text-content-wrapper h2,
    #text-page-styles .text-content-wrapper h3,
    #text-page-styles .text-content-wrapper h4,
    #text-page-styles .text-content-wrapper h5,
    #text-page-styles .text-content-wrapper h6 {
        font-size: 32px;
    }

    #text-page-styles .text-content-wrapper p,
    #text-page-styles .text-content-wrapper ul,
    #text-page-styles .text-content-wrapper ol,
    #text-page-styles .text-content-wrapper blockquote,
    #text-page-styles .text-content-wrapper table {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    #text-page-styles .text-hero,
    #text-page-styles .text-content {
        padding: 0 200px;
    }

    #text-page-styles .text-title {
        font-size: 60px;
    }

    #text-page-styles .text-content-wrapper h2,
    #text-page-styles .text-content-wrapper h3,
    #text-page-styles .text-content-wrapper h4,
    #text-page-styles .text-content-wrapper h5,
    #text-page-styles .text-content-wrapper h6 {
        font-size: 28px;
    }

    #text-page-styles .text-content-wrapper p,
    #text-page-styles .text-content-wrapper ul,
    #text-page-styles .text-content-wrapper ol,
    #text-page-styles .text-content-wrapper blockquote,
    #text-page-styles .text-content-wrapper table {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    #text-page-styles {
        padding: 60px 0 80px 0;
    }

    #text-page-styles .text-hero,
    #text-page-styles .text-content {
        padding: 0 40px;
    }

    #text-page-styles .text-title {
        font-size: 48px;
    }

    #text-page-styles .text-content-wrapper h2,
    #text-page-styles .text-content-wrapper h3,
    #text-page-styles .text-content-wrapper h4,
    #text-page-styles .text-content-wrapper h5,
    #text-page-styles .text-content-wrapper h6 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    #text-page-styles .text-content-wrapper p,
    #text-page-styles .text-content-wrapper ul,
    #text-page-styles .text-content-wrapper ol,
    #text-page-styles .text-content-wrapper blockquote,
    #text-page-styles .text-content-wrapper table {
        font-size: 18px;
        margin-bottom: 24px;
    }

    #text-page-styles .text-content-wrapper {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    #text-page-styles {
        padding: 40px 0 60px 0;
    }

    #text-page-styles .text-hero,
    #text-page-styles .text-content {
        padding: 0 20px;
    }

    #text-page-styles .text-title {
        font-size: 36px;
    }

    #text-page-styles .text-content-wrapper h2,
    #text-page-styles .text-content-wrapper h3,
    #text-page-styles .text-content-wrapper h4,
    #text-page-styles .text-content-wrapper h5,
    #text-page-styles .text-content-wrapper h6 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    #text-page-styles .text-content-wrapper p,
    #text-page-styles .text-content-wrapper ul,
    #text-page-styles .text-content-wrapper ol,
    #text-page-styles .text-content-wrapper blockquote,
    #text-page-styles .text-content-wrapper table {
        font-size: 16px;
        margin-bottom: 20px;
    }

    #text-page-styles .text-content-wrapper {
        gap: 24px;
    }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Contact Page Styles */
#contact-page-styles {
    background: #fefffe;
    color: #18211d;
}

/* Contact Hero Section */
#contact-page-styles .contact-hero {
    padding: 72px 80px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact-page-styles .contact-title {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 92px;
    font-weight: 300;
    line-height: 1.1;
    color: #18211d;
    text-align: center;
    margin: 0;
}

/* Contact Info Section */
#contact-page-styles .contact-info {
    padding: 80px 80px 40px 80px;
}

#contact-page-styles .contact-info-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 2400px;
}

/* Schedule */
#contact-page-styles .contact-schedule {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 977px;
}

#contact-page-styles .info-title {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    color: #18211d;
    margin: 0;
}

#contact-page-styles .schedule-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

#contact-page-styles .schedule-days {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0;
}

#contact-page-styles .schedule-hours {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: #18211d;
    margin: 0;
}

/* Address */
#contact-page-styles .contact-address {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 773px;
}

#contact-page-styles .address-text {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: #18211d;
    margin: 0;
    width: 365px;
}

/* Contact Details */
#contact-page-styles .contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
    justify-content: flex-start;
    flex: 1;
}

#contact-page-styles .contact-phone,
#contact-page-styles .contact-email {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.25;
    color: #18211d;
    text-align: right;
    margin: 0;
    white-space: nowrap;
}

/* Social Icons */
#contact-page-styles .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
}

#contact-page-styles .social-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

#contact-page-styles .social-yelp {
    background-color: #18211d;
}

#contact-page-styles .social-pinterest {
    background-color: transparent;
    border: 1px solid rgba(24, 33, 29, 0.2);
}

#contact-page-styles .social-whatsapp,
#contact-page-styles .social-youtube,
#contact-page-styles .social-instagram,
#contact-page-styles .social-facebook {
    background-color: #18211d;
}

#contact-page-styles .social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

#contact-page-styles .social-icon svg {
    width: 32px;
    height: 32px;
}

/* Map Section */
#contact-page-styles .contact-map {
    padding: 40px 0px 80px 0px;
}

#contact-page-styles .map-container {
    width: 100%;
    max-width: 2400px;
    height: 880px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(24, 33, 29, 0.2);
    position: relative;
}

#contact-page-styles .map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Styles for Contact Page */
@media (max-width: 1440px) {
    #contact-page-styles .contact-hero {
        padding: 60px 40px 0 40px;
    }

    #contact-page-styles .contact-title {
        font-size: 72px;
    }

    #contact-page-styles .contact-info {
        padding: 60px 40px 30px 40px;
    }

    #contact-page-styles .contact-info-grid {
        gap: 30px;
    }

    #contact-page-styles .contact-schedule {
        width: auto;
        flex: 1;
    }

    #contact-page-styles .contact-address {
        width: auto;
        flex: 1;
    }

    #contact-page-styles .contact-map {
        padding: 30px 40px 60px 40px;
    }

    #contact-page-styles .map-container {
        height: 600px;
    }
}

@media (max-width: 1024px) {
    #contact-page-styles .contact-info-grid {
        flex-direction: column;
        gap: 40px;
    }

    #contact-page-styles .contact-schedule,
    #contact-page-styles .contact-address {
        width: 100%;
    }

    #contact-page-styles .contact-details {
        align-items: flex-start;
    }

    #contact-page-styles .contact-phone,
    #contact-page-styles .contact-email {
        text-align: left;
    }

    #contact-page-styles .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    #contact-page-styles .contact-hero {
        padding: 40px 20px 0 20px;
    }

    #contact-page-styles .contact-title {
        font-size: 52px;
    }

    #contact-page-styles .contact-info {
        padding: 40px 20px 20px 20px;
    }

    #contact-page-styles .info-title {
        font-size: 36px;
    }

    #contact-page-styles .schedule-days {
        font-size: 18px;
    }

    #contact-page-styles .schedule-hours {
        font-size: 20px;
    }

    #contact-page-styles .address-text {
        font-size: 20px;
        width: 100%;
    }

    #contact-page-styles .contact-phone,
    #contact-page-styles .contact-email {
        font-size: 28px;
    }

    #contact-page-styles .social-icon {
        width: 56px;
        height: 56px;
    }

    #contact-page-styles .social-icon svg {
        width: 28px;
        height: 28px;
    }

    #contact-page-styles .contact-map {
        padding: 20px 20px 40px 20px;
    }

    #contact-page-styles .map-container {
        height: 400px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    #contact-page-styles .contact-title {
        font-size: 42px;
    }

    #contact-page-styles .info-title {
        font-size: 28px;
    }

    #contact-page-styles .schedule-days {
        font-size: 16px;
    }

    #contact-page-styles .schedule-hours {
        font-size: 18px;
    }

    #contact-page-styles .address-text {
        font-size: 18px;
    }

    #contact-page-styles .contact-phone,
    #contact-page-styles .contact-email {
        font-size: 22px;
    }

    #contact-page-styles .social-icon {
        width: 48px;
        height: 48px;
    }

    #contact-page-styles .social-icon svg {
        width: 24px;
        height: 24px;
    }

    #contact-page-styles .map-container {
        height: 300px;
    }
}

/* ========================================
   ABOUT US PAGE STYLES
   ======================================== */

#about-us-page-styles {
    background: #fefffe;
    color: #18211d;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* Hero Section with Breadcrumbs and Photo */
#about-us-page-styles .about-hero {
    background: #fefffe;
    color: #18211d;
    padding: 72px 80px 0 80px;
    margin-bottom: 60px;
}

#about-us-page-styles .hero-content {
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 64px;
    max-width: 100% !important
}

#about-us-page-styles .hero-title {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 92px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    color: #18211d;
    text-align: center;
    width: 100%;
}

#about-us-page-styles .hero-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    width: 1180px;
}

#about-us-page-styles .description-title {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    text-align: center;
}

#about-us-page-styles .description-text {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.25;
    color: #18211d;
    text-align: center;
    width: 1180px;
}

#about-us-page-styles .hero-image {
    width: 100%;
    height: 1120px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

#about-us-page-styles .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 18px;
    font-weight: 300;
}

/* Description Section */
#about-us-page-styles .about-description {
    padding: 120px 80px;
    background: #fefffe;
    color: #18211d;
}

#about-us-page-styles .description-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 100%;
}

#about-us-page-styles .description-text-block {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins:Light', sans-serif;
    gap: 32px;
    align-items: flex-start;
    justify-content: center;
    line-height: 0;
    font-size: 36px;
    font-weight: 300;
    color: #18211d;
    width: 100%;
    max-width: 64%;

}

#about-us-page-styles .description-text-block p {
    line-height: 1.25;
    margin: 0;
}

#about-us-page-styles .description-cta {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    justify-content: flex-start;

}

#about-us-page-styles .cta-text {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: #18211d;
    margin: 0;
    min-width: 100%;
}

#about-us-page-styles .cta-button {
    background: #18211d;
    color: #fefffe;
    padding: 20px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    display: inline-block;
    width: 363px;
    text-align: center;
    transition: all 0.3s ease;
}

#about-us-page-styles .cta-button:hover {
    background: #2a3a35;
    transform: translateY(-2px);
}

/* Values Section */
#about-us-page-styles .about-values {
    background: #fefffe;
    padding: 120px 80px;
    color: #18211d;
}

#about-us-page-styles .values-header {
    display: flex;
    font-family: 'Poppins:Light', sans-serif;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 0;
    margin-bottom: 80px;
}

#about-us-page-styles .values-title {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 68px;
    font-weight: 300;
    line-height: 1.15;
    color: #18211d;
    margin: 0;
    flex: 1;
}

#about-us-page-styles .values-subtitle {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0;
    flex: 1;
}

#about-us-page-styles .values-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

#about-us-page-styles .value-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
}

#about-us-page-styles .value-number {
    background: #f3f3ec;
    width: 64px;
    height: 64px;
    border-radius: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins:Light', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.35;
    color: #18211d;
    text-align: center;
}

#about-us-page-styles .value-title {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.25;
    color: #18211d;
    margin: 0;
    min-width: 100%;
}

#about-us-page-styles .value-description {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0;
    min-width: 100%;
}

/* Team Section */
#about-us-page-styles .about-team {
    background: #fefffe;
    padding: 120px 80px;
    color: #18211d;
}

#about-us-page-styles .team-title {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 68px;
    font-weight: 300;
    line-height: 1.15;
    color: #18211d;
    margin: 0 0 80px 0;
    max-width: 1586px;
}

#about-us-page-styles .team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

#about-us-page-styles .team-member {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    width: 32%;
}

#about-us-page-styles .member-photo {
    background: rgba(24, 33, 29, 0.1);
    width: 100%;
    height: 680px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

#about-us-page-styles .member-photo .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 16px;
    font-weight: 300;
}

#about-us-page-styles .member-info {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins:Light', sans-serif;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 0;
    width: 100%;
}

#about-us-page-styles .member-name {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.25;
    color: #18211d;
    margin: 0;
    width: 100%;
}

#about-us-page-styles .member-position {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0;
    width: 100%;
}



/* Responsive Design */
@media (max-width: 1200px) {
    #about-us-page-styles .about-hero,
    #about-us-page-styles .about-description,
    #about-us-page-styles .about-team,
    #about-us-page-styles .about-values {
        padding: 80px 40px;
    }

    #about-us-page-styles .hero-title {
        font-size: 72px;
    }

    #about-us-page-styles .description-text {
        width: 100%;
        max-width: 800px;
    }

    #about-us-page-styles .description-content {
        flex-direction: column;
        gap: 60px;
    }

    #about-us-page-styles .team-title {
        font-size: 56px;
    }

    #about-us-page-styles .team-member {
        width: 100%;
        max-width: 500px;
    }

    #about-us-page-styles .values-header {
        flex-direction: column;
        gap: 32px;
    }

    #about-us-page-styles .values-grid {
        flex-direction: column;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    #about-us-page-styles .about-hero,
    #about-us-page-styles .about-description,
    #about-us-page-styles .about-team,
    #about-us-page-styles .about-values {
        padding: 60px 20px;
    }

    #about-us-page-styles .hero-title {
        font-size: 56px;
    }

    #about-us-page-styles .description-text {
        font-size: 28px;
    }

    #about-us-page-styles .team-title {
        font-size: 48px;
    }

    #about-us-page-styles .values-title {
        font-size: 56px;
    }

    #about-us-page-styles .value-title {
        font-size: 28px;
    }

    #about-us-page-styles .value-description {
        font-size: 20px;
    }

    #about-us-page-styles .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Portfolio Modal Trigger */
#portfolio-archive .portfolio-modal-trigger {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}
.error-404  {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 120px 0;
}
.error-404 .page-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.error-404 .page-content p {
    font-family: 'Poppins:Light', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.35;
    color: rgba(24, 33, 29, 0.5);
    margin: 0;
    width: 100%;
    text-align: center;
}

/* Responsive стили для about-slider */
@media (max-width: 1024px) {
    .about-slider .slider-container {
        max-width: 900px;
    }

    .slide-item img {
        max-width: 500px;
    }

    .slide-item p {
        font-size: var(--font-size-lg);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .about-slider .slider-container {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }

    .slide-item {
        padding: var(--spacing-md);
    }

    .slide-item img {
        max-width: 100%;
    }

    .slide-item p {
        font-size: var(--font-size-base);
        max-width: 100%;
    }

    .about-slider .arrow-btn {
        width: 48px;
        height: 48px;
    }

    .about-slider .slider-arrows {
        padding: 0 var(--spacing-md);
    }

    .about-slider .slider-indicators {
        margin-top: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .about-slider {
        padding-top: var(--spacing-xl);
    }

    .slide-item {
        padding: var(--spacing-sm);
    }

    .slide-item p {
        font-size: var(--font-size-sm);
    }

    .about-slider .arrow-btn {
        width: 40px;
        height: 40px;
    }

    .about-slider .indicator {
        width: 10px;
        height: 10px;
    }
}

/* ========================================
   ABOUT SLIDER NEW - современный carousel
   ИСПРАВЛЕННАЯ ВЕРСИЯ
   ======================================== */

   #about-slider-new,
   #about-slider-new-2 {
       position: relative;
       padding: 40px 0;
       overflow: hidden;
   }

   #about-slider-new .slider-wrapper,
   #about-slider-new-2 .slider-wrapper {
       position: relative;
       margin: 0 auto;
       padding: 0 20px;
       max-width: 1200px;
   }

   #about-slider-new .slider-container,
   #about-slider-new-2 .slider-container {
       position: relative;
       overflow: hidden;
       border-radius: 16px;
       padding: 30px 0;
       min-height: 620px;
       width: 100%;
   }

   /* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ ТРЕКА */
   #about-slider-new .slider-track,
   #about-slider-new-2 .slider-track {
       display: flex;
       transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
       gap: 0;
       height: 100%;
       width: 100%; /* Будет установлено через JS */
       align-items: stretch;
   }

   /* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ СЛАЙДОВ */
   #about-slider-new .slide-item,
   #about-slider-new-2 .slide-item {
       flex: none; /* Важно! Убираем flex-grow и flex-shrink */
       width: 100%; /* Будет переопределено через JS */
       min-width: 100%; /* Будет переопределено через JS */
       padding: 20px;
       text-align: center;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       border-radius: 12px;
       box-sizing: border-box;
   }

   /* Убираем стили для wide слайдов, так как показываем по одному */
   #about-slider-new .slide-item.wide,
   #about-slider-new-2 .slide-item.wide {
       /* Никаких особых стилей */
   }

   #about-slider-new .slide-image,
   #about-slider-new-2 .slide-image {
       margin-bottom: 20px;
       flex-shrink: 0;
   }

   #about-slider-new .slide-image img,
   #about-slider-new-2 .slide-image img {
       width: auto;
       height: auto;
       border-radius: 8px;
       max-width: 100%;
       margin: 0 auto;
       display: block;
       box-shadow: 0 2px 8px rgba(24, 33, 29, 0.06);
   }

   #about-slider-new .slide-content,
   #about-slider-new-2 .slide-content {
       flex-grow: 1;
       display: flex;
       align-items: center;
       justify-content: center;
   }

   #about-slider-new .slide-content p,
   #about-slider-new-2 .slide-content p {
       font-family: 'Poppins', sans-serif;
       font-size: 36px;
       font-weight: 300;
       line-height: 1.4;
       color: rgba(24, 33, 29, 0.9);
       margin: 0;
       text-align: center;
   }

   /* Навигация */
   #about-slider-new .slider-navigation,
   #about-slider-new-2 .slider-navigation {
       position: absolute;
       top: 50%;
       left: 0;
       right: 0;
       transform: translateY(-50%);
       display: flex;
       justify-content: space-between;
       pointer-events: none;
       padding: 0 20px;
       z-index: 10;
   }

   #about-slider-new .nav-btn,
   #about-slider-new-2 .nav-btn {
       background: none;
       border: none;
       cursor: pointer;
       pointer-events: all;
       transition: all 0.3s ease;
       width: 48px;
       height: 48px;
       display: flex;
       justify-content: center;
       align-items: center;
       border-radius: 50%;
       box-shadow: 0 2px 8px rgba(24, 33, 29, 0.1);
       outline: none;
   }

   #about-slider-new .nav-btn:hover,
   #about-slider-new-2 .nav-btn:hover {
       transform: scale(1.1);
       box-shadow: 0 6px 24px rgba(24, 33, 29, 0.15);
   }

   #about-slider-new .nav-btn:active,
   #about-slider-new-2 .nav-btn:active {
       transform: scale(0.95);
   }

   #about-slider-new .nav-btn:focus,
   #about-slider-new-2 .nav-btn:focus {
       box-shadow: 0 0 0 3px rgba(24, 33, 29, 0.2);
   }

   #about-slider-new .nav-btn svg,
   #about-slider-new-2 .nav-btn svg {
       width: 100%;
       height: 100%;
       transition: all 0.3s ease;
   }

   #about-slider-new .nav-btn svg circle,
   #about-slider-new-2 .nav-btn svg circle {
       transition: fill 0.3s ease;
   }

   #about-slider-new .nav-btn:hover svg circle,
   #about-slider-new-2 .nav-btn:hover svg circle {
       fill: #f0f0f0;
   }

   /* Индикаторы */
   #about-slider-new .slider-indicators,
   #about-slider-new-2 .slider-indicators {
       display: flex;
       justify-content: center;
       gap: 8px;
       margin-top: 24px;
       z-index: 10;
   }

   #about-slider-new .indicator,
   #about-slider-new-2 .indicator {
       width: 8px;
       height: 8px;
       border-radius: 50%;
       background: rgba(24, 33, 29, 0.2);
       border: none;
       cursor: pointer;
       transition: all 0.3s ease;
       padding: 0;
       outline: none;
   }

   #about-slider-new .indicator:hover,
   #about-slider-new-2 .indicator:hover {
       background: rgba(24, 33, 29, 0.4);
       transform: scale(1.2);
   }

   #about-slider-new .indicator:focus,
   #about-slider-new-2 .indicator:focus {
       box-shadow: 0 0 0 2px rgba(24, 33, 29, 0.3);
   }

   #about-slider-new .indicator.active,
   #about-slider-new-2 .indicator.active {
       background: #18211d;
       transform: scale(1.3);
   }

   /* Responsive стили */
   @media (max-width: 1024px) {
       #about-slider-new .slider-wrapper,
       #about-slider-new-2 .slider-wrapper {
           max-width: 900px;
       }

       #about-slider-new .slide-item,
       #about-slider-new-2 .slide-item {
           padding: 15px;
           min-height: 500px;
       }

       #about-slider-new .slide-image img,
       #about-slider-new-2 .slide-image img {
           max-height: 300px;
       }

       #about-slider-new .slide-content p,
       #about-slider-new-2 .slide-content p {
           font-size: 13px;
       }
   }

   @media (max-width: 768px) {
       #about-slider-new,
       #about-slider-new-2 {
           padding: 20px 0;
       }

       #about-slider-new .slider-wrapper,
       #about-slider-new-2 .slider-wrapper {
           padding: 0 15px;
       }

       #about-slider-new .slider-container,
       #about-slider-new-2 .slider-container {
           padding: 15px 0;
           min-height: 400px;
       }

       #about-slider-new .slide-item,
       #about-slider-new-2 .slide-item {
           padding: 20px;
           min-height: 350px;
       }

       #about-slider-new .slide-image img,
       #about-slider-new-2 .slide-image img {
           max-width: 100%;
           max-height: 250px;
       }

       #about-slider-new .slide-content p,
       #about-slider-new-2 .slide-content p {
           font-size: 14px;
           max-width: 100%;
       }

       #about-slider-new .nav-btn,
       #about-slider-new-2 .nav-btn {
           width: 36px;
           height: 36px;
       }

       #about-slider-new .slider-navigation,
       #about-slider-new-2 .slider-navigation {
           padding: 0 15px;
       }

       #about-slider-new .slider-indicators,
       #about-slider-new-2 .slider-indicators {
           margin-top: 15px;
       }
   }

   @media (max-width: 480px) {
       #about-slider-new,
       #about-slider-new-2 {
           padding: 15px 0;
       }

       #about-slider-new .slider-container,
       #about-slider-new-2 .slider-container {
           padding: 10px 0;
           min-height: 300px;
       }

       #about-slider-new .slide-item,
       #about-slider-new-2 .slide-item {
           padding: 15px;
           min-height: 250px;
       }

       #about-slider-new .slide-image img,
       #about-slider-new-2 .slide-image img {
           max-width: 100%;
           max-height: 200px;
       }

       #about-slider-new .slide-content p,
       #about-slider-new-2 .slide-content p {
           font-size: 12px;
       }

       #about-slider-new .nav-btn,
       #about-slider-new-2 .nav-btn {
           width: 32px;
           height: 32px;
       }

       #about-slider-new .indicator,
       #about-slider-new-2 .indicator {
           width: 6px;
           height: 6px;
       }
   }

   /* Дополнительные стили для улучшения работы */
   #about-slider-new .slider-container,
   #about-slider-new-2 .slider-container {
       /* Принудительно скрываем горизонтальную прокрутку */
       overflow-x: hidden;
   }

   /* Стили для фокуса на слайдере */
   #about-slider-new:focus,
   #about-slider-new-2:focus {
       outline: 2px solid rgba(24, 33, 29, 0.3);
       outline-offset: 2px;
   }

   /* Анимации появления */
   @keyframes slideIn {
       from {
           opacity: 0;
           transform: translateY(20px);
       }
       to {
           opacity: 1;
           transform: translateY(0);
       }
   }

   #about-slider-new .slide-item.active,
   #about-slider-new-2 .slide-item.active {
       animation: slideIn 0.3s ease-out 0.3s both;
   }

section#services .tab-btn::after,
section#services .tab-item::after {
    display: none;
}

/* ========================================
   Responsive polish: mobile / tablet / laptop
   ======================================== */

/* Laptops/tablets: нормализуем hero и баннер */
@media (max-width: 1200px) {
    .hero-section {
        min-height: auto;
    }
    .hero-image-wrapper {
        top: 0;
        z-index: 0;
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .cta-banner {
        min-height: 600px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
    }
    .hero-image-wrapper {
        order: 2;
        top: 0;
        z-index: 0;
        margin-top: var(--spacing-lg);
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Hero */
    .hero-section {
        padding-top: var(--spacing-3xl);
        min-height: auto;
    }
    .hero-image {
        border-radius: var(--spacing-xl);
    }

    /* Убираем декоративные линии, конфликтующие с мобильной версткой */
    .about-title:last-of-type::before,
    .about-title:last-of-type::after {
        display: none;
        content: none;
    }

    /* CTA баннер — адекватная высота */
    .cta-banner {
        min-height: 420px;
        padding: var(--spacing-xl) 0;
    }

    /* FAQ — возвращаем читаемые размеры шрифтов */
    .faq-category-title h2 {
        font-size: 22px;
        line-height: 1.2;
    }
    .faq-question-text {
        font-size: 16px;
        line-height: 1.35;
    }
    .faq-answer-text {
        font-size: 14px;
        line-height: 1.35;
    }

    /* Партнеры — одна колонка без горизонтального скролла */
    .partners-grid {
        grid-template-columns: 1fr;
    }

    /* Видео превью — не смещаем оверлей слишком низко */
    .video-overlay {
        top: 0;
        padding: var(--spacing-base);
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .header-nav-container {
        height: 64px;
        padding-left: var(--spacing-base);
        padding-right: var(--spacing-base);
    }
    .phone-btn {
        gap: var(--spacing-sm);
    }
}



@media (max-width: 1600px) {
    .btn {
        padding: 11px 24px;
    }
    .phone-btn {
        gap: 12px;
    }
    .phone-btn img {
        width: 36px;
        height: 36px;
    }

    img.service-icon-bg, .service-icon-wrapper {
        width: 36px;
        height: 36px;
    }
    img.service-icon-fg {
        width: 11px;
        height: 11px;
    }
    a.nav-item.services-menu {
        gap: 10px;
        padding: 0 10px 0 0;
    }

    #section-hero {
        min-height: auto
    }
    .about-section {
        padding: 0;
    }

}



@media (max-width: 1390px) {
    .header-nav-container {
        height: auto;
        min-height: 68px;
        padding: 0 24px;
    }
    header.main-header.container {
        margin-top: 12px;
    }
    .header-nav {
        gap: 16px;
    }
    .advantage-card {
        padding: 24px;
    }
}


@media (max-width: 1024px) {
    .phone-btn {
        padding: 0;
    }
    .phone-btn span {
        display: none;
    }
    .header-actions a.btn {
        display: none;
    }
    .menu-mobile-burger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .menu-mobile-burger svg circle {
        width: 36px;
    }

    .menu-mobile-burger svg {
        width: 36px;
    }
    .header-actions {
        gap: 15px;
    }

    .phone-btn svg  {
        fill: #F3F3EC;
    }

    #section-hero .hero-content {
        order: 2;
    }
    .hero-image-wrapper {
        order: 1;
    }
    #section-hero {
        padding-top: 0;
    }
    .hero-buttons.hero-buttons-animate {
        justify-content: center;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .about-section {
        padding: var(--spacing-5xl) 0 0;
    }
    header.main-header.container {
        padding: 0;
    }
    .header-nav-container {
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid var(--color-bg-light);
        border-radius: 0;
    }
    #about-us-page-styles .hero-image {
        height: auto;
    }
    #about-us-page-styles .member-photo {
        height: auto;
    }
    #about-us-page-styles .description-text {
        max-width: 100%;
        font-size: 24px;
    }
    #about-us-page-styles .hero-description {
        width: 100%;
    }
    #about-us-page-styles .team-title {
        font-size: 34px;
    }

}



@media (max-width: 768px) { }
    .header-actions {
        gap: 12px;
    }


@media (max-width:428px) { 
    #section-hero .hero-content h1, #image-gallery h1 {
        font-size: 30px;
        text-align: center;
    }
    #section-hero .hero-content p, #image-gallery p {
        font-size: 16px;
        text-align: center;
    }
    #section-hero .hero-content {
        align-items: center !important;
        gap: 16px;
    }
    .about-title {
        font-size: 26px;
    }

    .about-title:last-of-type::after {
        display: block;
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 8px;
        background-color: #CEEE73;
        opacity: 0.6;
        width: -webkit-fill-available;
    }

    .about-title:last-of-type::before {
        display: block;
        content: '';
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 8px;
        background-color: #CEEE73;
        opacity: 0.6;
    }
    .services-section {
        padding-top: 112px;
    }
    .services-title {
        font-size: 26px;
    }
    .tab-btn {
        font-size: 14px;
    }
    .card-info h3 {
        font-size: 20px;
    }
    .card-info p {
        font-size: 16px;
    }
    .steps-title {
        font-size: 26px;
    }
    .step-text h3 {
        font-size: 16px;
    }
    .step-text p {
        font-size: 14px;
    }

    form.contact-form .form-row, form.contact-form .file-upload-area, form.contact-form .form-group {
        display: none;
    }
    .advantages-header h2, .partners-header h2, .testimonials-header h2, .faq-intro h2, .footer-card h3 {
        font-size: 26px;
    }
    .contact-details address, .social-details a {
        font-size: 20px;
    }
    h2 {
        font-size: 26px;
    }
    .faq-wrapper {
        padding: 56px 16px;
    }
    .faq-buttons {
        display: none;
    }
    .social-icons a {
        width: 36px;
    }
    img.footer-logo {
        width: 100%;
        max-width: 100%;
        position: absolute;
        bottom: 14px;
        left: 0;
    }
    .footer-content {
        align-items: center;
    }
    .link-column h4 {
        font-size: 14px;
        text-align: center;
    }
    .link-column a {
        font-size: 16px;
    }
    .footer-links {
        margin-left: 0;
    }
    #main-footer .container {
        padding-left: 0;
        padding-right: 0;
    }
    .link-column ul {
        justify-content: center;
    }
    img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    main {
        position: relative;
        z-index: -1;
    }
    #about-us-page-styles .description-text-block {
        font-size: 24px;
        max-width: 100%;
    }
    #about-us-page-styles .hero-image {
        height: auto;
    }


}

/* MOBILE MENU STYLES */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-sizing: border-box;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(24, 33, 29, 0.1);
}

.mobile-menu-logo img {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: var(--color-bg-light);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.mobile-menu-close:hover {
    background: var(--color-dark);
    color: var(--color-light);
    transform: scale(1.1);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover svg {
    stroke: var(--color-light);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    flex: 1;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: var(--color-light);
    border: 1px solid rgba(24, 33, 29, 0.1);
    border-radius: 16px;
    font-size: 20px;
    font-weight: 300;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(206, 238, 115, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-item:hover::before {
    left: 100%;
}

.mobile-nav-item:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 33, 29, 0.1);
}

.mobile-nav-item.services-menu {
    background: var(--color-bg-light);
    gap: 16px;
}

.mobile-service-icon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.mobile-service-icon-bg,
.mobile-service-icon-fg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(24, 33, 29, 0.1);
}

.mobile-phone-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--color-bg-light);
    border-radius: 16px;
    color: var(--color-dark);
    font-size: 18px;
    font-weight: 300;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-phone-btn:hover {
    background: var(--color-dark);
    color: var(--color-light);
    transform: translateY(-2px);
}

.mobile-phone-btn svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.mobile-phone-btn:hover svg {
    fill: var(--color-light);
}

.mobile-phone-btn:hover svg circle {
    fill: var(--color-light);
    stroke: var(--color-light);
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 300;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-cta-btn:hover {
    background: var(--color-dark);
    color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 33, 29, 0.2);
}

/* Анимация появления элементов меню */
.mobile-menu.active .mobile-menu-header {
    animation: slideInDown 0.6s ease-out 0.1s both;
}

.mobile-menu.active .mobile-nav-item {
    animation: slideInLeft 0.6s ease-out both;
}

.mobile-menu.active .mobile-nav-item:nth-child(1) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-nav-item:nth-child(2) { animation-delay: 0.3s; }
.mobile-menu.active .mobile-nav-item:nth-child(3) { animation-delay: 0.4s; }
.mobile-menu.active .mobile-nav-item:nth-child(4) { animation-delay: 0.5s; }
.mobile-menu.active .mobile-nav-item:nth-child(5) { animation-delay: 0.6s; }
.mobile-menu.active .mobile-nav-item:nth-child(6) { animation-delay: 0.7s; }

.mobile-menu.active .mobile-menu-actions {
    animation: slideInUp 0.6s ease-out 0.8s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация для кнопки бургера */
.menu-mobile-burger {
    transition: all 0.3s ease;
}

.menu-mobile-burger.active {
    transform: rotate(90deg);
}

.menu-mobile-burger.active svg path {
    animation: burgerAnimation 0.3s ease forwards;
}

@keyframes burgerAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive стили для мобильного меню */
@media (max-width: 480px) {
    .mobile-menu {
        padding: 20px;
    }
    
    .mobile-menu-header {
        margin-bottom: 32px;
        padding-bottom: 20px;
    }
    
    .mobile-menu-logo img {
        height: 32px;
    }
    
    .mobile-menu-close {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
    }
    
    .mobile-nav-item {
        padding: 16px 20px;
        font-size: 18px;
    }
    
    .mobile-service-icon-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .mobile-phone-btn,
    .mobile-cta-btn {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .mobile-phone-btn svg {
        width: 28px;
        height: 28px;
    }
}

/* Дополнительные улучшения для мобильного меню */
.mobile-menu {
    /* Белый фон */
    background: #ffffff;
}

/* Улучшенные hover эффекты для мобильных элементов */
.mobile-nav-item:hover {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, rgba(206, 238, 115, 0.1) 100%);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(24, 33, 29, 0.15);
}

/* Анимация для иконок в мобильном меню */
.mobile-service-icon-wrapper img {
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .mobile-service-icon-wrapper img {
    transform: scale(1.1) translate(-50%, -50%);
}

/* Улучшенная анимация для кнопки закрытия */
.mobile-menu-close {
    position: relative;
    overflow: hidden;
}

.mobile-menu-close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.mobile-menu-close:hover::before {
    width: 100%;
    height: 100%;
}

/* Улучшенные тени для мобильного меню */
.mobile-menu.active {
    box-shadow: 0 0 50px rgba(24, 33, 29, 0.2);
}

/* Анимация для логотипа в мобильном меню */
.mobile-menu-logo img {
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-menu-logo img {
    animation: logoBounce 0.6s ease-out 0.2s both;
}

@keyframes logoBounce {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Улучшенная анимация для элементов навигации */
.mobile-nav-item {
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.active .mobile-nav-item {
    transform: translateX(0);
    opacity: 1;
}

/* Плавная анимация для кнопки бургера */
.menu-mobile-burger svg {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-mobile-burger.active svg {
    transform: rotate(180deg);
}

/* Улучшенные стили для очень маленьких экранов */
@media (max-width: 360px) {
    .mobile-menu {
        padding: 16px;
    }
    
    .mobile-nav-item {
        padding: 14px 18px;
        font-size: 16px;
    }
    
    .mobile-menu-header {
        margin-bottom: 24px;
    }
    
    .mobile-menu-nav {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .mobile-menu-actions {
        gap: 12px;
    }
}

/* Анимация появления для мобильного меню на разных устройствах */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu *,
    .menu-mobile-burger {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Предотвращение прокрутки страницы когда мобильное меню открыто */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Улучшенная анимация для мобильного меню */
.mobile-menu {
    will-change: transform, opacity, visibility;
}

/* Плавная анимация для всех элементов мобильного меню */
.mobile-menu * {
    will-change: transform, opacity;
}

/* Улучшенная доступность для мобильного меню */
.mobile-menu:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.mobile-nav-item:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
.mobile-service-icon-wrapper img.mobile-service-icon-bg {
    width: 36px;
}
.mobile-service-icon-wrapper img.mobile-service-icon-fg {
    width: 14px;
}
/* Fixed switch */
#rv-fixed-switch{
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  gap: 12px;
  padding: 8px;
  border: 2px solid rgba(0,0,0,.1);
  border-radius: 50px;
  overflow: hidden;         
}

/* полупрозрачная подложка */
#rv-fixed-switch .rv-pill-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: .3;
  pointer-events: none;            /* чтобы не перехватывала клики */
  z-index: 0;
}

/* кнопки */
#rv-fixed-switch .rv-pill{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.1;
  background: #f1f1ea;
  color: #777c78;
  transition: transform .06s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

#rv-fixed-switch .rv-pill.is-active{
  background: #171d1b;
  color: #fff;
}

#rv-fixed-switch .rv-pill:not(.is-active):hover{
  background: #ceee73;         
  color: #0f1412;
}

@media (max-width: 640px){
  #rv-fixed-switch{ bottom: 22px; gap: 8px; padding: 6px; }
  #rv-fixed-switch .rv-pill{ min-width: auto; padding: 6px 12px; font-size: 12px; }
}

