/* ==============================================
   BSL PRO - Unified Service Pages Styles
   assets/css/services-common.css
   ============================================== */

/* ==============================================
   SERVICE CONTENT SECTION
   ============================================== */
.service-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.service-overview {
    margin-bottom: 3rem;
}

/* ==============================================
   CLEAN GRID SYSTEM (replacing Tilda)
   ============================================== */
.row {
    display: flex;
    margin: 0;
    align-items: flex-start;
}

.col {
    padding: 0 15px;
    flex: 1;
}

.col-6 {
    max-width: 50%;
    flex: 0 0 50%;
}

.col-4 {
    max-width: 33.333%;
    flex: 0 0 33.333%;
}

.col-3 {
    max-width: 25%;
    flex: 0 0 25%;
}

/* Legacy Tilda grid (keep for compatibility) */
.t-row { display: flex; margin: 0; align-items: flex-start; }
.t-col { padding: 0 15px; flex: 1; }
.t-col_6 { max-width: 50%; flex: 0 0 50%; }
.t-col_4 { max-width: 33.333%; flex: 0 0 33.333%; }
.t-col_3 { max-width: 25%; flex: 0 0 25%; }

.service-description-content {
    padding-right: 2rem;
}

.service-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
    font-family: var(--font-primary);
}

.service-description {
    font-size: var(--font-size-lg);
    color: #666;
    line-height: var(--line-height-relaxed);
    margin-bottom: 2.5rem;
}

.service-features h3 {
    font-size: 23px!important
    font-weight: var(--font-weight-semibold);
    color: #1a4870;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    color: #666;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #34465a;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
}

.service-main-image {
    text-align: center;
}

.service-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.service-img:hover {
    transform: scale(1.02);
}

/* ==============================================
   SERVICE DETAILS
   ============================================== */


.detail-block {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.detail-block:hover {
    transform: translateY(-5px);
}

.detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(241,196,15,0.1), rgba(241,196,15,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.detail-block:hover .detail-icon {
    background: linear-gradient(135deg, rgba(241,196,15,0.2), rgba(241,196,15,0.1));
    transform: scale(1.1);
}

.detail-block h4 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    color: #304658;
    margin-bottom: 1rem;
}

.detail-block p {
    color: #666;
    line-height: 1.6;
}

/* ==============================================
   INSTALLATION EXPERTISE SECTION
   ============================================== */
.installation-expertise {
        margin-bottom: 100px!important;
    border-radius: 20px;
}

.expertise-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-header h3 {
    font-size: 25px!important;
    font-weight: var(--font-weight-bold);
    color: #304658;
    margin-bottom: 1rem;
    line-height: var(--line-height-tight);
}

.expertise-header p {
    font-size: var(--font-size-lg);
    color: #666;
    line-height: var(--line-height-relaxed);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: rgba(241,196,15,0.3);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(241,196,15,0.1), rgba(241,196,15,0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    background: linear-gradient(135deg, rgba(241,196,15,0.25), rgba(241,196,15,0.15));
    transform: scale(1.1) rotate(5deg);
}

.expertise-card h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    color: #304658;
    margin-bottom: 0.75rem;
    line-height: var(--line-height-tight);
}

.expertise-card p {
    font-size: var(--font-size-base);
    color: #666;
    line-height: var(--line-height-normal);
    margin: 0;
}

/* Responsive adjustments for expertise grid */
@media (max-width: 980px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .installation-expertise {
        padding: 2rem 0;
        margin: 3rem 0;
    }
}

@media (max-width: 640px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-header h3 {
        font-size: var(--font-size-h3);
    }

    .expertise-card {
        padding: 1.5rem 1rem;
    }
}

/* ==============================================
   GALLERY SECTION
   ============================================== */
.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    color: #1a4870;
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-tight);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .projects-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-gallery {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}


.overlay-content {
    text-align: center;
}

.zoom-icon {
    width: 60px;
    height: 60px;
    background: rgba(241, 196, 15, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover .zoom-icon {
    transform: scale(1.1) rotate(90deg);
}

/* ==============================================
   PROCESS SECTION
   ============================================== */
.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-steps {
    position: relative;
    max-width: 100%;
    overflow: visible;
}

.process-steps .row {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Clean process columns */
.col-4-step {
    max-width: 25%;
    flex: 0 0 25%;
    padding: 0 20px;
}

.col-3-step {
    max-width: 33.333%;
    flex: 0 0 33.333%;
    padding: 0 15px;
}

/* Legacy Tilda support */
.process-steps .t-row {
    position: relative;
    display: flex;
    justify-content: center;
}

.t-col_4-step {
    max-width: 25%;
    flex: 0 0 25%;
    padding: 0 20px;
}

.t-col_3-step {
    max-width: 33.333%;
    flex: 0 0 33.333%;
    padding: 0 15px;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #34465a 0%, #4a6477 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.5);
}

.process-step h4 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    color: #304658;
    margin-bottom: 1.25rem;
    line-height: var(--line-height-normal);
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step p {
    color: #666;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
    margin: 0;
}

/* Connection line between steps - FULL WIDTH */
.process-steps .row::before,
.process-steps .t-row::before {
    content: '';
    position: absolute;
    top: 69px;
    left: 0.5%;
    right: 0.5%;
    height: 3px;
    background: linear-gradient(135deg, #34465a 0%, #4a6477 100%);
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.3);
}

/* Optional: Add connecting dots */s
.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 12px;
    height: 12px;
    background: #f1c40f;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(241, 196, 15, 0.4);
}

.process-step:last-child::after {
    display: none;
}

/* ==============================================
   RESPONSIVE - TABLET
   ============================================== */
@media (max-width: 1024px) {
    .process-step {
        padding: 2rem 1rem;
        min-height: 280px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: var(--font-size-h2);
        margin-bottom: 1.5rem;
    }

    .process-step h4 {
        font-size: var(--font-size-h4);
        min-height: 50px;
    }

    .process-step p {
        font-size: var(--font-size-base);
    }
    
    .process-steps .row::before,
    .process-steps .t-row::before {
        left: 16.666%;
        right: 16.666%;
    }
}

/* TABLET & MOBILE - 2 columns grid for 4 steps */
@media (max-width: 1024px) {
    .process-steps .row,
    .process-steps .t-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .col-4-step,
    .col-3-step,
    .t-col_4-step,
    .t-col_3-step {
        max-width: 100%;
        flex: none;
        padding: 0;
    }

    /* Hide horizontal line */
    .process-steps .row::before,
    .process-steps .t-row::before {
        display: none;
    }

    .process-step::after {
        display: none;
    }

    .process-step {
        min-height: 260px;
    }
}

/* ==============================================
   RESPONSIVE - SMALL MOBILE (2 column grid)
   ============================================== */
@media (max-width: 600px) {
    .process-steps .t-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1.5rem !important;
        position: relative !important;
        flex-direction: row !important;
    }

    /* Remove old lines */
    .process-steps .t-row::after {
        display: none !important;
    }

    .process-steps .t-row::before {
        display: none !important;
    }

    .t-col_4-step,
    .t-col_3-step {
        max-width: 100% !important;
        padding: 0 !important;
        flex: none !important;
        margin-bottom: 0 !important;
        position: relative !important;
    }

    /* Horizontal lines between 1-2 and 3-4 */
    .t-col_4-step:nth-child(1)::after,
    .t-col_3-step:nth-child(1)::after,
    .t-col_4-step:nth-child(3)::after,
    .t-col_3-step:nth-child(3)::after {
               content: '' !important;
        position: absolute !important;
        top: 55px !important;
        right: -52px !important;
        width: 5rem !important;
        height: 3px !important;
        background: linear-gradient(90deg, #f1c40f 0%, #e1b000 50%, #f1c40f 100%) !important;
        box-shadow: 0 0 8px rgba(241, 196, 15, 0.3) !important;
        z-index: 10 !important;
        border-radius: 3px !important;
        display: block !important;
    }

    .process-step {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1.5rem 0.75rem !important;
        min-height: auto !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .step-number {
        width: 60px !important;
        height: 60px !important;
        font-size: var(--font-size-h3) !important;
        margin-bottom: 1.25rem !important;
        position: relative !important;
        z-index: 3 !important;
    }

    .process-step h4 {
        font-size: var(--font-size-h4) !important;
        min-height: auto !important;
    }

    .process-step p {
        font-size: var(--font-size-sm) !important;
    }
}

/* ==============================================
   RESPONSIVE - SMALL MOBILE
   ============================================== */
@media (max-width: 480px) {
    .process-step {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-h3);
        margin-bottom: 1.25rem;
    }

    .process-step h4 {
        font-size: var(--font-size-h4);
    }

    .process-step p {
        font-size: var(--font-size-base);
        line-height: 1.6;
    }
}

/* ==============================================
   ANIMATIONS
   ============================================== */
.process-step {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.t-col_4-step:nth-child(1) .process-step { animation-delay: 0.1s; }
.t-col_4-step:nth-child(2) .process-step { animation-delay: 0.2s; }
.t-col_4-step:nth-child(3) .process-step { animation-delay: 0.3s; }
.t-col_4-step:nth-child(4) .process-step { animation-delay: 0.4s; }

/* Legacy 3-step animation */
.t-col_3-step:nth-child(1) .process-step { animation-delay: 0.1s; }
.t-col_3-step:nth-child(2) .process-step { animation-delay: 0.2s; }
.t-col_3-step:nth-child(3) .process-step { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced hover effect with shadow */
.process-step {
    border-radius: 15px;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



/* ==============================================
   CTA SECTION
   ============================================== */
.cta-content {
    text-align: center;
    color: white;
}

.cta-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    color: #ffffff!important;
    letter-spacing: -0.5px;
}

.cta-description {
    font-size: var(--font-size-lg);
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #f1c40f, #e1b000);
    color:  #ffffff!important;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 1024px) {
    .service-description-content {
        padding-right: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Process adjustments for tablets */
    .process-step {
        padding: 1.5rem 0.75rem;
        min-height: 260px;
    }
    
    .process-step h4 {
        font-size: var(--font-size-h4);
        min-height: 45px;
    }

    .process-step p {
        font-size: var(--font-size-sm);
    }
    
    .process-steps .t-row::before {
        left: 10%;
        right: 10%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .t-col_3 {
        max-width: 50%;
        flex: 0 0 50%;
    }
    
    .process-steps .t-row {
        flex-wrap: wrap;
    }
    
    .process-step:nth-child(1),
    .process-step:nth-child(2) {
        margin-bottom: 2rem;
    }
    
    /* Hide line on 2-column layout */
    .process-steps .t-row::before {
        display: none;
    }
    
    /* Add vertical line between columns */
    .process-steps .t-row::after {
        content: '';
        position: absolute;
        top: 10%;
        left: 50%;
        bottom: 10%;
        width: 2px;
        background: linear-gradient(180deg, #f1c40f, #e1b000);
        transform: translateX(-50%);
        z-index: 1;
    }
}

@media (max-width: 768px) {
    /* Make overview and details sections stack vertically on mobile */
    .service-overview .row,
    .service-overview .t-row {
        flex-direction: column;
    }

    .service-overview .col-6,
    .service-overview .t-col_6 {
        max-width: 100%;
        flex: none;
        margin-bottom: 2rem;
    }

    /* Keep detail blocks horizontal (3 columns to 1 column) */
    .service-details .row,
    .service-details .t-row {
        flex-direction: column;
    }

    .service-details .col-4,
    .service-details .t-col_4 {
        max-width: 100%;
        flex: none;
        margin-bottom: 2rem;
    }

    .service-title {
        font-size: var(--font-size-h2);
        text-align: center;
    }

    .section-title {
        font-size: var(--font-size-h2);
    }

    .service-description-content {
        padding-right: 0;
        text-align: center;
    }

    .service-features h3 {
        text-align: center;
    }

    .features-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Process steps - keep 2 column grid on mobile */
    .process-steps .row,
    .process-steps .t-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1.5rem !important;
        position: relative !important;
        flex-direction: row !important;
    }

    /* Hide old lines and dots */
    .process-steps .row::before,
    .process-steps .t-row::before {
        display: none !important;
    }

    .process-steps .t-row::after,
    .process-step::after {
        display: none !important;
    }

    .col-4-step,
    .col-3-step,
    .t-col_4-step,
    .t-col_3-step {
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 0 !important;
        position: relative !important;
    }

    /* Horizontal lines between 1-2 and 3-4 (for both new and legacy classes) */
    .col-4-step:nth-child(1)::after,
    .col-3-step:nth-child(1)::after,
    .col-4-step:nth-child(3)::after,
    .col-3-step:nth-child(3)::after,
    .t-col_4-step:nth-child(1)::after,
    .t-col_3-step:nth-child(1)::after,
    .t-col_4-step:nth-child(3)::after,
    .t-col_3-step:nth-child(3)::after {
        content: '' !important;
        position: absolute !important;
        top: 51px !important;
        right: -22% !important;
        width: 30% !important;
        height: 3px !important;
        background: linear-gradient(90deg, #f1c40f 0%, #e1b000 50%, #f1c40f 100%) !important;
        box-shadow: 0 0 8px rgba(241, 196, 15, 0.3) !important;
        z-index: 10 !important;
        border-radius: 3px !important;
        display: block !important;
    }

    .process-step {
        max-width: 100% !important;
        padding: 1.5rem 0.75rem !important;
        min-height: auto !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .step-number {
        width: 60px !important;
        height: 60px !important;
        font-size: var(--font-size-h3) !important;
        margin-bottom: 1rem !important;
        position: relative !important;
        z-index: 3 !important;
    }

    .process-step h4 {
        font-size: var(--font-size-h4) !important;
        min-height: auto !important;
    }

    .process-step p {
        font-size: var(--font-size-sm) !important;
    }

    .cta-title {
        font-size: var(--font-size-h2);
    }

    .cta-description {
        font-size: var(--font-size-lg);
    }
}

/* =======================================
   MOBILE GALLERY CAROUSEL
   Карусель с свайпом влево-вправо
   ======================================= */
@media (max-width: 768px) {
    /* Скрыть галерею по умолчанию, показать только обертку */
    .projects-gallery {
        display: block !important;
        position: relative;
        overflow: hidden;
        margin: 0 -20px;
        padding: 0 !important;
    }

    /* Контейнер для карусели */
    .gallery-carousel-wrapper {
        display: flex !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 20px;
        padding: 0 20px 20px 20px;
    }

    /* Скрыть скроллбар */
    .gallery-carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Элементы галереи в карусели */
    .projects-gallery .gallery-item {
        flex: 0 0 90%;
        max-width: 90%;
        scroll-snap-align: center;
        margin: 0 !important;
        transform: scale(0.98);
        transition: transform 0.3s ease;
    }

    /* Активный элемент */
    .projects-gallery .gallery-item.active {
        transform: scale(1);
    }

    .gallery-image-wrapper {
        height: 300px !important;
        border-radius: 15px;
        overflow: hidden;
    }

    /* Индикаторы карусели */
    .gallery-indicators {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 30px;
        padding: 0 20px;
    }

    .gallery-indicator {
        width: 35px;
        height: 4px;
        background: rgba(48, 70, 88, 0.2);
        border-radius: 3px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        position: relative;
    }

    .gallery-indicator:hover {
        background: rgba(241, 196, 15, 0.5);
    }

    .gallery-indicator.active {
        background: #f1c40f;
        width: 50px;
        height: 4px;
        box-shadow: 0 2px 8px rgba(241, 196, 15, 0.4);
    }
}

@media (max-width: 480px) {
    .projects-gallery {
        margin: 0 -15px;
    }

    .gallery-carousel-wrapper {
        gap: 15px;
        padding: 0 15px 15px 15px;
    }

    .projects-gallery .gallery-item {
        flex: 0 0 85%;
        max-width: 85%;
    }

    .gallery-image-wrapper {
        height: 250px !important;
    }

    .gallery-indicators {
        gap: 8px;
        margin-top: 20px;
    }

    .gallery-indicator {
        width: 30px;
        height: 3px;
    }

    .gallery-indicator.active {
        width: 45px;
    }

    .service-title {
        font-size: var(--font-size-h2);
    }

    .section-title {
        font-size: var(--font-size-h2);
    }

    .cta-title {
        font-size: var(--font-size-h2);
    }

  

    .detail-block {
        padding: 0rem 0.5rem;
    }

    .service-description {
        font-size: var(--font-size-base);
    }

    .process-step h4 {
        font-size: var(--font-size-h4);
    }

    .process-step p {
        font-size: var(--font-size-base);
    }
}

/* ==============================================
   SECTION CLASSES (replacing Tilda classes)
   Synchronized with homepage spacing (60px, 90px)
   ============================================== */
.service-content-section {
    padding: 90px 0 60px 0;
    background-color: #ffffff;
}

.gallery-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.process-section {
    padding: 90px 0 60px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Responsive padding for sections - matches homepage */
@media (max-width: 1024px) {
    .service-content-section {
        padding: 80px 0 50px 0;
    }

    .gallery-section {
        padding: 60px 0;
    }

    .process-section {
        padding: 80px 0 50px 0;
    }
}

@media (max-width: 768px) {
    .service-content-section {
        padding: 60px 0 40px 0;
    }

    .gallery-section {
        padding: 50px 0;
    }

    .process-section {
        padding: 60px 0 40px 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .service-content-section {
        padding: 40px 0 30px 0;
    }

    .gallery-section {
        padding: 40px 0;
    }

    .process-section {
        padding: 40px 0 30px 0;
    }
}

/* ==============================================
   PRINT STYLES
   ============================================== */
@media print {
    .gallery-overlay,
    .cta-button::before {
        display: none;
    }

    .service-img,
    .gallery-image {
        break-inside: avoid;
    }
}