/* ================================================
   Global Styles
   ================================================ */

html {
    scroll-behavior: smooth;
}

/* ================================================
   Fixed Header with Hide/Show on Scroll
   ================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Header hidden state (scroll down) */
.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Header scrolled state (with blur background) */
.site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header.header-scrolled .header-top-bar,
.site-header.header-scrolled .header-nav-bar {
    background: transparent;
}

.site-header.header-scrolled .header-nav-bar {
    border-top-color: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* Mobile header scrolled state */
.site-header.header-scrolled #ast-mobile-header .ast-primary-header-bar {
    background: transparent;
}

/* Spacer to prevent content jump */
.header-spacer {
    display: block;
}

/* Body padding for fixed header - will be set via JS */
body.has-fixed-header {
    padding-top: var(--header-height, 140px);
}

@media (max-width: 921px) {
    body.has-fixed-header {
        padding-top: var(--header-height-mobile, 70px);
    }
}

/* ================================================
   Spectra Block Overrides
   ================================================ */

.wp-block-uagb-container.uagb-block-c194462d {
    z-index: -1;
}

/* Feature Icons (Наша уникальность) */
.uagb-block-7a9a21bc,
.uagb-block-74b4daee,
.uagb-block-0b3a2e2c {
    display: flex !important;
    align-items: flex-start;
    gap: 16px;
}

.uagb-block-7a9a21bc::before,
.uagb-block-74b4daee::before,
.uagb-block-0b3a2e2c::before {
    content: '';
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Clock icon */
.uagb-block-7a9a21bc::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' stroke-dasharray='4 2'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

/* Truck icon */
.uagb-block-74b4daee::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E");
}

/* Star icon */
.uagb-block-0b3a2e2c::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}

/* ================================================
   Price Button & Modal
   ================================================ */

.price-btn-wrapper {
    text-align: center;
    padding: 40px 20px;
}

.price-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff1da8;
    color: #fff;
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.price-modal-btn:hover {
    background: #e0008f;
    transform: translateY(-2px);
}

/* Modal Overlay */
.price-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.price-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box */
.price-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.price-modal-overlay.active .price-modal {
    transform: translateY(0);
}

/* Close Button */
.price-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #666;
    transition: color 0.3s ease;
}

.price-modal-close:hover {
    color: #fff;
}

/* Modal Form Styles */
.price-modal .contact-form-wrapper {
    padding: 0;
}

.price-modal .contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.price-modal .contact-form-wrapper .subtitle {
    color: #666;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .price-modal {
        padding: 30px 20px;
    }
}

/* Service Order Button */
.uagb-button__wrapper button.service-order-btn,
button.service-order-btn.uagb-buttons-repeater {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ff1da8 !important;
    color: #fff !important;
    padding: 16px 36px !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-family: inherit;
    transition: background 0.3s ease, transform 0.3s ease;
}

.uagb-button__wrapper button.service-order-btn:hover,
button.service-order-btn.uagb-buttons-repeater:hover {
    background: #e0008f !important;
    transform: translateY(-2px);
}

button.service-order-btn .uagb-button__link {
    color: #fff !important;
    padding: 0 !important;
    background: transparent !important;
}

/* ================================================
   Lightbox (Projects Gallery)
   ================================================ */

.project-image {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-image:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 10001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
    }

    .lightbox-prev svg,
    .lightbox-next svg {
        width: 24px;
        height: 24px;
    }
}

/* ================================================
   Scroll Reveal Animations
   ================================================ */

/* Base state - hidden */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Revealed state */
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children animation */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.6s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.7s; }

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ================================================
   New Header Styles (Two-row layout)
   ================================================ */

/* Top Info Bar */
.header-top-bar {
    background: #fff;
    padding: 16px 0;
}

.header-top-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo Block */
.header-logo-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 48px;
    width: auto;
}

.header-slogan {
    font-size: 14px;
    color: #666;
    line-height: 1.3;
    border-left: 1px solid #e0e0e0;
    padding-left: 16px;
    white-space: nowrap;
}

/* Contact Info */
.header-contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.header-info-item svg {
    color: #333;
    flex-shrink: 0;
}

.header-address span {
    max-width: 200px;
    line-height: 1.3;
}

.header-phones .phones-list {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-size: 14px;
}

.header-phones .phone-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-phones .phone-link:hover {
    color: #ff1da8;
}

a.header-address {
    text-decoration: none;
    transition: color 0.3s ease;
}

a.header-address:hover {
    color: #ff1da8;
}

a.header-address:hover svg {
    color: #ff1da8;
}

.header-instagram {
    transition: color 0.3s ease;
}

.header-instagram:hover {
    color: #E1306C;
}

.header-instagram:hover svg {
    color: #E1306C;
}

/* CTA Button */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff1da8;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.header-cta-btn:hover {
    background: #e0008f;
    color: #fff;
    transform: translateY(-1px);
}

/* Bottom Navigation Bar */
.header-nav-bar {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.header-nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-main-nav {
    display: flex;
    justify-content: center;
}

/* Header Menu */
.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
}

.header-menu > .menu-item {
    flex: 1;
    text-align: center;
}

.header-menu > .menu-item > .menu-link {
    display: block;
    padding: 18px 15px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease, background 0.3s ease;
}

.header-menu > .menu-item > .menu-link:hover,
.header-menu > .menu-item.current-menu-item > .menu-link {
    color: #ff1da8;
}

/* Header Submenu */
.header-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    list-style: none;
    margin: 0;
    z-index: 100;
}

.header-menu > .menu-item {
    position: relative;
}

.header-menu > .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.header-menu .sub-menu .menu-item {
    text-align: left;
}

.header-menu .sub-menu .menu-link {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, background 0.3s ease;
}

.header-menu .sub-menu .menu-link:hover {
    color: #ff1da8;
    background: #f9f9f9;
}

/* Hide default dropdown toggle button */
.header-menu .dropdown-menu-toggle {
    display: none;
}

/* Arrow indicator for menu items with dropdown */
.header-menu > .menu-item.menu-item-has-children > .menu-link::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

/* Rotate arrow on hover */
.header-menu > .menu-item.menu-item-has-children:hover > .menu-link::after {
    transform: rotate(-135deg);
}

/* Header Responsive (desktop only adjustments) */
@media (max-width: 1200px) {
    .header-contact-info {
        gap: 20px;
    }

    .header-info-item {
        font-size: 13px;
    }

    .header-address span {
        max-width: 160px;
    }
}

@media (max-width: 1024px) {
    .header-top-container {
        gap: 20px;
    }

    .header-address {
        display: none;
    }

    .header-slogan {
        display: none;
    }

    .header-cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ================================================
   Mobile Menu / Burger Menu Styles
   ================================================ */

/* Show mobile header only on mobile */
#ast-desktop-header {
    display: block;
}

#ast-mobile-header {
    display: none;
}

@media (max-width: 921px) {
    #ast-desktop-header {
        display: none !important;
    }

    #ast-mobile-header {
        display: block !important;
    }

    /* Mobile header container */
    #ast-mobile-header .ast-primary-header-bar {
        padding: 10px 20px;
    }

    /* Burger button styling */
    .menu-toggle.main-header-menu-toggle {
        background: transparent;
        border: 2px solid #ff1da8;
        border-radius: 8px;
        padding: 8px 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-toggle.main-header-menu-toggle svg {
        width: 24px;
        height: 24px;
        fill: #ff1da8;
    }

    .menu-toggle.main-header-menu-toggle .ast-close-svg {
        display: none;
    }

    .menu-toggle.main-header-menu-toggle.toggled .ast-menu-svg {
        display: none;
    }

    .menu-toggle.main-header-menu-toggle.toggled .ast-close-svg {
        display: block;
    }

    /* Mobile menu content */
    .ast-mobile-header-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* Main header menu background */
    .ast-header-break-point .main-header-menu {
        background: #fff !important;
    }

    .ast-mobile-header-content.toggle-on {
        display: block !important;
    }

    /* Mobile navigation styles */
    #ast-mobile-header .site-navigation {
        width: 100%;
    }

    #ast-mobile-header .main-navigation {
        width: 100%;
    }

    #ast-mobile-header .main-header-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #ast-mobile-header .main-header-menu .menu-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        width: 100%;
    }

    #ast-mobile-header .main-header-menu .menu-item:last-child {
        border-bottom: none;
    }

    #ast-mobile-header .main-header-menu .menu-link {
        display: block;
        padding: 16px 0;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: color 0.3s, background 0.3s;
        width: 100%;
    }

    #ast-mobile-header .main-header-menu .menu-link:hover {
        color: #ff1da8;
    }

    /* Submenu on mobile */
    #ast-mobile-header .sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
        border-radius: 0 0 12px 12px;
        overflow: hidden;
        width: 100%;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
        display: block !important;
    }

    #ast-mobile-header .menu-item-has-children.ast-submenu-expanded > .sub-menu {
        max-height: 500px;
        opacity: 1;
        margin-bottom: 10px;
    }

    #ast-mobile-header .sub-menu .menu-item {
        border-bottom: 1px solid rgba(255, 29, 168, 0.1);
        width: 100%;
    }

    #ast-mobile-header .sub-menu .menu-item:last-child {
        border-bottom: none;
    }

    #ast-mobile-header .sub-menu .menu-link {
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 400;
        color: #555;
        display: block;
        width: 100%;
        transition: background 0.3s, color 0.3s, padding-left 0.3s;
    }

    #ast-mobile-header .sub-menu .menu-link:hover {
        color: #ff1da8;
        background: rgba(255, 29, 168, 0.08);
        padding-left: 25px;
    }

    /* Submenu toggle button */
    #ast-mobile-header button.ast-menu-toggle {
        background: transparent;
        border: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    #ast-mobile-header button.ast-menu-toggle .ast-icon.icon-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    #ast-mobile-header button.ast-menu-toggle svg {
        width: 14px;
        height: 14px;
        fill: #ff1da8;
        transition: transform 0.3s;
        display: block;
        margin-left: 0 !important;
    }

    .ast-icon.icon-arrow svg,
    .ast-header-break-point .ast-icon.icon-arrow svg {
        margin-left: 0 !important;
    }

    #ast-mobile-header .ast-submenu-expanded > button.ast-menu-toggle svg {
        transform: rotate(180deg);
    }

    /* Hide screen reader text but keep accessible */
    #ast-mobile-header button.ast-menu-toggle .screen-reader-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    /* Menu item with children - relative for toggle positioning */
    #ast-mobile-header .menu-item-has-children {
        position: relative;
    }

    #ast-mobile-header .menu-item-has-children > .menu-link {
        padding-right: 50px;
    }

    /* Hide arrows in submenu items */
    #ast-mobile-header .sub-menu .ast-icon.icon-arrow {
        display: none;
    }

    /* Hide dropdown toggle arrows in mobile menu links */
    #ast-mobile-header .dropdown-menu-toggle {
        display: none;
    }

    /* Mobile Menu Contact Info */
    .mobile-menu-contact {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-contact-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.4;
    }

    .mobile-contact-item svg {
        flex-shrink: 0;
        stroke: #ff1da8;
    }

    .mobile-contact-item a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s;
    }

    .mobile-contact-item a:hover {
        color: #ff1da8;
    }

    .mobile-phones-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .mobile-phones-list a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

    .mobile-phones-list a:hover {
        color: #ff1da8;
    }

    .mobile-instagram {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
        color: #fff !important;
        padding: 12px 20px;
        border-radius: 50px;
        font-weight: 500;
        transition: transform 0.3s, box-shadow 0.3s;
        width: fit-content;
    }

    .mobile-instagram svg {
        stroke: #fff;
    }

    .mobile-instagram span {
        color: #fff;
    }

    .mobile-instagram:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
    }
}

/* === Global Container 1440px === */

/* Mobile header */
#ast-mobile-header .ast-primary-header-bar {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* Main content wrapper */
.site-content > .ast-container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Spectra/UAGB root containers - override CSS variable */
.uagb-is-root-container > .uagb-container-inner-blocks-wrap {
    --inner-content-custom-width: min(100%, 1440px) !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    box-sizing: border-box;
}

/* All Spectra containers inner wrap */
.wp-block-uagb-container > .uagb-container-inner-blocks-wrap {
    --inner-content-custom-width: min(100%, 1440px) !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
}

/* === CTA Section before footer === */
.cta-before-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.cta-before-footer.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-before-footer.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.cta-before-footer.has-bg-image .cta-container {
    position: relative;
    z-index: 2;
}

.cta-before-footer .cta-container {
    max-width: 1440px;
    margin: 0 auto;
}

.cta-before-footer h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.cta-before-footer p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-before-footer .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff1da8, #cf0080);
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-before-footer .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 29, 168, 0.3);
}

@media (max-width: 768px) {
    .cta-before-footer {
        padding: 60px 20px;
    }

    .cta-before-footer h2 {
        font-size: 1.8rem;
    }

    .cta-before-footer p {
        font-size: 1rem;
    }
}

/* === SureForms & Contact Page Responsive === */

/* Contact page grid layout */
.uagb-block-c36058f2 > .uagb-container-inner-blocks-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Form section full width */
.uagb-block-be531635 {
    grid-column: 1 / -1;
    margin-top: 40px;
}

/* SureForms container */
.srfm-form-container {
    border-radius: 16px;
    overflow: hidden;
}

/* SureForms form flex layout */
.srfm-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Form fields width */
.srfm-block-width-50 {
    width: calc(50% - 8px) !important;
    flex: 0 0 calc(50% - 8px) !important;
}

.srfm-block-width-100 {
    width: 100% !important;
    flex: 0 0 100% !important;
}

/* Form inputs styling */
.srfm-form .srfm-input-common,
.srfm-form .srfm-textarea-common {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.srfm-form .srfm-input-common::placeholder,
.srfm-form .srfm-textarea-common::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.srfm-form .srfm-input-common:focus,
.srfm-form .srfm-textarea-common:focus {
    outline: none;
    border-color: #ff1da8;
    box-shadow: 0 0 0 3px rgba(255, 29, 168, 0.2);
}

/* Submit button */
.srfm-form .srfm-submit-button {
    width: 100%;
    background: linear-gradient(135deg, #ff1da8, #cf0080) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 8px;
}

.srfm-form .srfm-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 29, 168, 0.4);
}

/* Contact info blocks */
.uagb-block-43d3b1e8,
.uagb-block-95bdb153,
.uagb-block-6ea0520a,
.uagb-block-7c79bd17 {
    padding: 20px;
}

.uagb-block-43d3b1e8 .uagb-desc-text,
.uagb-block-95bdb153 .uagb-desc-text,
.uagb-block-6ea0520a .uagb-desc-text,
.uagb-block-7c79bd17 .uagb-desc-text {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.uagb-block-43d3b1e8 .uagb-heading-text,
.uagb-block-95bdb153 .uagb-heading-text,
.uagb-block-6ea0520a .uagb-heading-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

/* Tablet */
@media (max-width: 992px) {
    .uagb-block-c36058f2 > .uagb-container-inner-blocks-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .uagb-block-c36058f2 > .uagb-container-inner-blocks-wrap {
        grid-template-columns: 1fr;
    }

    /* Form fields full width on mobile */
    .srfm-block-width-50 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .srfm-form {
        gap: 12px;
    }

    /* Contact page hero section */
    .uagb-block-6fd14ecf > .uagb-container-inner-blocks-wrap {
        flex-direction: column !important;
    }

    .uagb-block-6fd14ecf .wp-block-uagb-info-box,
    .uagb-block-6fd14ecf .wp-block-uagb-image {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .srfm-form .srfm-input-common,
    .srfm-form .srfm-textarea-common {
        padding: 12px 14px;
        font-size: 14px;
    }

    .srfm-form .srfm-submit-button {
        padding: 14px 24px !important;
        font-size: 15px !important;
    }

    .uagb-block-43d3b1e8,
    .uagb-block-95bdb153,
    .uagb-block-6ea0520a,
    .uagb-block-7c79bd17 {
        padding: 16px 0;
    }
}

/* === Custom: Clients marquee slider like guneshprint.uz === */
.clients-section {
  overflow: hidden !important;
  padding: 5rem 0 !important;
  width: 100% !important;
}

.clients-title {
  text-align: center;
  margin-bottom: 2rem;
}

.clients-slider {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: calc(250px * 12 + 50px * 11) !important; /* 12 images + gaps */
}

.clients-track {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  animation: clients-scroll 30s linear infinite !important;
}

.clients-track img {
  width: 250px !important;
  height: 100px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  margin: 0 25px !important;
}

@keyframes clients-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6 - 50px * 6)); /* Half of total width */
  }
}

/* === Form Section Layout === */
.wp-container-core-group-is-layout-8889f314 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 40px;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box;
}
.wp-container-core-group-is-layout-8889f314 .wp-block-uagb-image {
    order: 1 !important;
    flex: 1;
    min-width: 0;
    max-width: 680px;
}
.wp-container-core-group-is-layout-8889f314 .wp-block-uagb-image figure {
    width: 100%;
    height: 100%;
    margin: 0;
}
.wp-container-core-group-is-layout-8889f314 .wp-block-uagb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.wp-container-core-group-is-layout-8889f314 .contact-form-wrapper {
    order: 2 !important;
    flex: 1;
    min-width: 0;
    max-width: 550px;
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Form section responsive */
@media (max-width: 992px) {
    .wp-container-core-group-is-layout-8889f314 {
        flex-direction: column !important;
        gap: 30px;
        padding: 0 20px !important;
    }

    .wp-container-core-group-is-layout-8889f314 .wp-block-uagb-image {
        order: 1 !important;
        max-width: 100%;
        width: 100%;
    }

    .wp-container-core-group-is-layout-8889f314 .wp-block-uagb-image img {
        max-height: 400px;
        width: 100%;
    }

    .wp-container-core-group-is-layout-8889f314 .contact-form-wrapper {
        order: 2 !important;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .wp-container-core-group-is-layout-8889f314 {
        gap: 24px;
    }

    .wp-container-core-group-is-layout-8889f314 .wp-block-uagb-image img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .wp-container-core-group-is-layout-8889f314 {
        gap: 20px;
        padding: 0 16px !important;
    }

    .wp-container-core-group-is-layout-8889f314 .wp-block-uagb-image img {
        max-height: 250px;
        border-radius: 12px;
    }
}

/* === Remove margins from post/page === */
.post,
.page {
    margin: 0 !important;
}

/* === Contact Form Styles === */
.form-section {
    margin-bottom: 40px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 40px !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
}

.form-section > .wp-block-uagb-image {
    flex: 1 !important;
    max-width: 50% !important;
}

.form-section > .wp-block-uagb-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
}

.form-section > .contact-form-wrapper {
    flex: 1 !important;
    max-width: 50% !important;
}


.contact-form-wrapper {
    background: #fff !important;
    padding: 35px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}
.contact-form-wrapper h3 {
    font-size: 1.75rem;
    margin: 0 0 8px 0;
    color: #000;
}
.contact-form-wrapper .subtitle {
    font-size: 1rem;
    color: #ff1da8;
    margin: 0 0 24px 0;
    font-weight: 500;
}
.contact-form-wrapper .form-group {
    margin-bottom: 16px;
}
.contact-form-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}
.contact-form-wrapper label .required {
    color: #ff1da8;
}
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background: #fff;
}
.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: #ff1da8;
    box-shadow: 0 0 0 3px rgba(255, 29, 168, 0.1);
}
.contact-form-wrapper textarea {
    resize: vertical;
    min-height: 80px;
}

/* === Contact Page Social Icons === */
.wp-block-uagb-icon-list.uagb-block-57e630e0 .uagb-icon-list__wrap {
    gap: 10px;
}

/* === Dark Form Style (Contact Page) === */
.contact-form-wrapper.contact-form-dark {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.contact-form-wrapper.contact-form-dark label {
    color: #000;
}
.contact-form-wrapper.contact-form-dark input[type="text"],
.contact-form-wrapper.contact-form-dark input[type="tel"],
.contact-form-wrapper.contact-form-dark input[type="email"],
.contact-form-wrapper.contact-form-dark textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #000;
}
.contact-form-wrapper.contact-form-dark input::placeholder,
.contact-form-wrapper.contact-form-dark textarea::placeholder {
    color: #000;
}
.contact-form-wrapper.contact-form-dark input:focus,
.contact-form-wrapper.contact-form-dark textarea:focus {
    border-color: #ff1da8;
    box-shadow: 0 0 0 3px rgba(255, 29, 168, 0.2);
    background: rgba(255, 255, 255, 0.12);
}
.contact-form-wrapper .file-upload {
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-form-wrapper .file-upload-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    white-space: nowrap;
}
.contact-form-wrapper .file-upload-btn:hover {
    background: #eee;
}
.contact-form-wrapper .file-name {
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.contact-form-wrapper .file-input {
    display: none;
}
.contact-form-wrapper .submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff1da8, #cf0080);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 8px;
}
.contact-form-wrapper .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 29, 168, 0.4);
}
.contact-form-wrapper .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.hp-field {
    position: absolute;
    left: -9999px;
}

/* === Success Modal === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-content .success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff1da8, #cf0080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.modal-content .success-icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}
.modal-content h4 {
    font-size: 1.5rem;
    margin: 0 0 12px 0;
}
.modal-content p {
    color: #666;
    margin: 0 0 24px 0;
}
.modal-content .close-btn {
    background: linear-gradient(135deg, #ff1da8, #cf0080);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

/* === Footer Styles (guneshprint.uz style) === */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 0;
}

.footer .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer .f-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer .f-block-1 {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    flex: 1;
}

.footer .f-cont-1,
.footer .f-cont-2,
.footer .f-cont-3 {
    min-width: 180px;
}

.footer .f-cont-1 {
    max-width: 320px;
}

.footer .f-cont-1 h3,
.footer .f-cont-2 h3,
.footer .f-cont-3 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #fff;
}

.footer .f-cont-1 a h3 {
    color: #ff1da8;
    text-decoration: none;
}

.footer .f-cont-1 > p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.footer .f-cont-1 ul,
.footer .f-cont-2 ul,
.footer .f-cont-3 ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer .f-cont-1 ul li {
    margin-bottom: 8px;
}

.footer .f-cont-1 ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.footer .f-cont-1 ul li a:hover {
    color: #ff1da8;
}

.footer .f-cont-2 ul li,
.footer .f-cont-3 ul li {
    margin-bottom: 12px;
}

.footer .f-cont-2 ul li a,
.footer .f-cont-3 ul li a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer .f-cont-2 ul li a:hover,
.footer .f-cont-3 ul li a:hover {
    color: #ff1da8;
}

.footer .f-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer .f-icons a {
    color: #a0a0a0;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .f-icons a:hover {
    color: #ff1da8;
    transform: translateY(-2px);
}

.footer .f-icons svg {
    width: 24px;
    height: 24px;
}

.footer .f-block-2 {
    flex: 0 0 400px;
    max-width: 100%;
}

.footer .f-block-2 iframe {
    border-radius: 12px;
    width: 100%;
}

.footer .f-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0 24px;
}

.footer .f-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
}

.footer .rights-1 p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.footer .rights-1 p a {
    color: #ff1da8;
    text-decoration: none;
}

.footer .rights-2 {
    display: flex;
    gap: 24px;
}

.footer .rights-2 a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer .rights-2 a:hover {
    color: #ff1da8;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer .f-content {
        flex-direction: column;
    }

    .footer .f-block-2 {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }

    .footer .f-block-1 {
        gap: 40px;
    }

    .footer .f-cont-1,
    .footer .f-cont-2,
    .footer .f-cont-3 {
        min-width: 100%;
    }

    .footer .f-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer .rights-2 {
        justify-content: center;
    }
}

/* ================================================
   Form Section Responsive (Image + Form layout)
   ================================================ */

/* Target the form section with image and form wrapper */
.wp-container-core-group-is-layout-8889f314,
.form-section {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .wp-container-core-group-is-layout-8889f314,
    .form-section.is-horizontal {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 30px !important;
        padding: 0 20px !important;
    }

    .wp-container-core-group-is-layout-8889f314 > .wp-block-uagb-image,
    .form-section > .wp-block-uagb-image {
        order: 1 !important;
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .wp-container-core-group-is-layout-8889f314 > .wp-block-uagb-image img,
    .form-section > .wp-block-uagb-image img {
        max-height: 400px;
        width: 100% !important;
        max-width: 100% !important;
        object-fit: cover;
        border-radius: 16px;
    }

    .wp-container-core-group-is-layout-8889f314 > .wp-block-uagb-image figure,
    .form-section > .wp-block-uagb-image figure {
        width: 100% !important;
        max-width: 100% !important;
    }

    .wp-container-core-group-is-layout-8889f314 > .contact-form-wrapper,
    .form-section > .contact-form-wrapper {
        order: 2 !important;
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

@media (max-width: 768px) {
    .wp-container-core-group-is-layout-8889f314,
    .form-section.is-horizontal {
        gap: 24px !important;
    }

    .wp-container-core-group-is-layout-8889f314 > .wp-block-uagb-image img,
    .form-section > .wp-block-uagb-image img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .wp-container-core-group-is-layout-8889f314,
    .form-section.is-horizontal {
        gap: 20px !important;
        padding: 0 16px !important;
    }

    .wp-container-core-group-is-layout-8889f314 > .wp-block-uagb-image img,
    .form-section > .wp-block-uagb-image img {
        max-height: 250px;
        border-radius: 12px;
    }
}

/* === About Page FAQ Section Background === */
.wp-block-uagb-container.uagb-block-b7e83894 {
    background-image: url(../images/customer-care.jpg) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: -1;
}

/* === Projects Gallery Section === */
.uagb-block-100655f9 {
    gap: 10px !important;
    grid-template-columns: 1fr 1fr 1fr !important;
}

.uagb-block-100655f9 > .wp-block-uagb-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
}

/* First big image */
.uagb-block-100655f9 .uagb-block-51779539 {
    height: 500px;
}

.uagb-block-100655f9 .uagb-block-51779539 img {
    height: 500px !important;
}

/* Last big image */
.uagb-block-100655f9 .uagb-block-5a03d8fb {
    height: 500px;
}

.uagb-block-100655f9 .uagb-block-5a03d8fb img {
    height: 500px !important;
}

/* Middle container with 4 images */
.uagb-block-f497f9d5 {
    gap: 10px !important;
}

.uagb-block-f497f9d5 .wp-block-uagb-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

/* Projects gallery responsive */
@media (max-width: 992px) {
    .uagb-block-100655f9 {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .uagb-block-100655f9 .uagb-block-51779539,
    .uagb-block-100655f9 .uagb-block-5a03d8fb {
        height: 300px;
    }

    .uagb-block-100655f9 .uagb-block-51779539 img,
    .uagb-block-100655f9 .uagb-block-5a03d8fb img {
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    .uagb-block-100655f9 {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .uagb-block-100655f9 .uagb-block-51779539,
    .uagb-block-100655f9 .uagb-block-5a03d8fb {
        height: 250px;
    }

    .uagb-block-100655f9 .uagb-block-51779539 img,
    .uagb-block-100655f9 .uagb-block-5a03d8fb img {
        height: 250px !important;
    }

    .uagb-block-f497f9d5 {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ================================================
   Blog / Archive Page Styles
   ================================================ */

/* Archive banner - full width outside container */
.ast-archive-entry-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 100px 20px;
    text-align: center;
    width: 100%;
}

/* Blog content wrapper */
.blog #content.site-content,
.archive #content.site-content,
.search #content.site-content {
    padding-top: 60px;
    padding-bottom: 60px;
}

.blog #content .ast-container,
.archive #content .ast-container,
.search #content .ast-container {
    display: block !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ast-archive-entry-banner h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.ast-archive-entry-banner .archive-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog grid container */
#primary.ast-blog-layout-4-grid {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

#primary.ast-blog-layout-4-grid .ast-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog article cards */
.ast-article-post {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.ast-article-post .blog-layout-4 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ast-article-post .post-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 0 25px;
}

/* Post thumbnail */
.ast-article-post .post-thumb-img-content {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.ast-article-post .post-thumb-img-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ast-article-post:hover .post-thumb-img-content img {
    transform: scale(1.05);
}

/* Category badge */
.ast-article-post .cat-links {
    display: inline-block;
    padding: 20px 25px 0;
}

.ast-article-post .cat-links a {
    background: linear-gradient(135deg, #ff1da8 0%, #cf0080 100%);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ast-article-post .cat-links a:hover {
    background: linear-gradient(135deg, #cf0080 0%, #ff1da8 100%);
}

/* Post title */
.ast-article-post .entry-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    padding: 15px 25px 0;
    margin: 0;
}

.ast-article-post .entry-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ast-article-post .entry-title a:hover {
    color: #ff1da8;
}

/* Entry meta */
.ast-article-post .entry-header {
    padding: 10px 25px 0;
}

.ast-article-post .entry-meta {
    font-size: 13px;
    color: #888;
}

.ast-article-post .entry-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ast-article-post .entry-meta a:hover {
    color: #ff1da8;
}

/* Excerpt */
.ast-article-post .ast-excerpt-container {
    padding: 15px 25px 0;
    flex: 1;
}

.ast-article-post .ast-excerpt-container p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Read more link */
.ast-article-post .ast-read-more-container {
    padding: 20px 25px 0;
    margin: 0;
}

.ast-article-post .ast-read-more-container a {
    display: inline-flex;
    align-items: center;
    color: #ff1da8;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ast-article-post .ast-read-more-container a::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.ast-article-post .ast-read-more-container a:hover {
    color: #cf0080;
}

.ast-article-post .ast-read-more-container a:hover::after {
    transform: translateX(5px);
}

/* Hide empty entry content */
.ast-article-post .entry-content:empty {
    display: none;
}

/* Pagination */
.navigation.pagination {
    margin-top: 50px;
    padding: 0 20px;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #fff;
    color: #1a1a2e;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
    background: linear-gradient(135deg, #ff1da8 0%, #cf0080 100%);
    color: #fff;
    border-color: #ff1da8;
}

/* No results */
.no-results.not-found {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results .page-title {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.no-results .page-content p {
    color: #666;
    font-size: 16px;
}

/* Blog page responsive */
@media (max-width: 992px) {
    .ast-archive-entry-banner h1 {
        font-size: 36px;
    }

    #primary.ast-blog-layout-4-grid .ast-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .ast-archive-entry-banner {
        padding: 60px 20px;
        margin-bottom: 40px;
    }

    .ast-archive-entry-banner h1 {
        font-size: 28px;
    }

    #primary.ast-blog-layout-4-grid .ast-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ast-article-post .entry-title {
        font-size: 18px;
    }
}

/* ================================================
   Single Post Styles
   ================================================ */

/* Body pink background for single posts */
body.single,
body.page-template-template-single-news {
    background: #fce4ec !important;
}

/* Page wrapper - pink background */
.single-post-page {
    background: #fce4ec !important;
    padding: 40px 20px;
    min-height: 100vh;
}

/* Override Astra layout - force single column */
.single .site-content,
.single #content,
.single #primary,
.single .ast-container,
.page-template-template-single-news .site-content,
.page-template-template-single-news #content,
.page-template-template-single-news #primary,
.page-template-template-single-news .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Article section - white card centered */
.single-post-article {
    background: #fff;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: 12px;
}

.single-post-article.post,
.single-post-article.hentry,
.single-post-article.type-post {
    display: block !important;
    width: 100% !important;
    max-width: 900px !important;
}

.single-post-article .ast-container {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force single column layout */
.single-post-page .single-post-header,
.single-post-page .single-post-image,
.single-post-page .single-post-content,
.single-post-page .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
}

/* Post header */
.single-post-header {
    margin-bottom: 30px;
}

.single-post-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a2e;
    margin: 0 0 20px;
    text-transform: uppercase;
}

/* Post meta - inline with avatar */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #666;
}

.single-post-meta img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.single-post-meta .meta-text a {
    color: #ff1da8;
    text-decoration: none;
    font-weight: 500;
}

.single-post-meta .meta-text a:hover {
    color: #cf0080;
}

/* Featured Image */
.single-post-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

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

/* Post Content */
.single-post-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.single-post-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 50px 0 20px;
    color: #1a1a2e;
    text-transform: uppercase;
}

.single-post-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 15px;
    color: #1a1a2e;
    text-transform: uppercase;
}

.single-post-content p {
    margin-bottom: 20px;
}

/* Post Navigation */
.post-nav-section {
    background: #fff;
    padding: 30px 40px;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: 12px;
}

.post-nav-section .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.post-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.post-nav-prev,
.post-nav-next {
    max-width: 45%;
}

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

.nav-direction {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.nav-post-title {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    display: block;
}

.nav-post-title:hover {
    color: #ff1da8;
}

/* Related Posts */
.related-posts-section {
    background: #fff;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: 12px;
}

.related-posts-section .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.related-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 30px;
    text-transform: uppercase;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.related-post-item {
    background: #fff;
}

.related-post-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.related-post-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-post-item:hover .related-post-thumb img {
    transform: scale(1.05);
}

.related-post-item .related-post-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
    line-height: 1.4;
}

.related-post-item .related-post-title a {
    color: #1a1a2e;
    text-decoration: none;
}

.related-post-item .related-post-title a:hover {
    color: #ff1da8;
}

.related-post-item .related-post-meta {
    font-size: 14px;
}

.related-post-item .post-date {
    color: #ff1da8;
}

.related-post-item .meta-sep {
    color: #ccc;
    margin: 0 5px;
}

.related-post-item .post-cat {
    color: #ff1da8;
    text-decoration: none;
}

/* Comments Section */
.comments-section {
    background: #fff;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: 12px;
}

.comments-section .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.comments-section .comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.comments-section .logged-in-as {
    margin-bottom: 20px;
    font-size: 15px;
    color: #666;
}

.comments-section .logged-in-as a {
    color: #ff1da8;
    text-decoration: none;
}

.comments-section .comment-form-comment label {
    display: none;
}

.comments-section .comment-form textarea {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    background: #fff;
}

.comments-section .comment-form textarea::placeholder {
    color: #999;
}

.comments-section .comment-form textarea:focus {
    border-color: #ff1da8;
    outline: none;
}

.comments-section .form-submit {
    margin-top: 20px;
}

.comments-section .form-submit .submit {
    background: linear-gradient(135deg, #ff1da8 0%, #cf0080 100%);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comments-section .form-submit .submit:hover {
    background: linear-gradient(135deg, #cf0080 0%, #ff1da8 100%);
    transform: translateY(-2px);
}

/* Single Post Responsive */
@media (max-width: 992px) {
    .single-post-title {
        font-size: 30px;
    }

    .single-post-article {
        padding: 40px 25px;
    }

    .related-posts-section {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .single-post-title {
        font-size: 24px;
    }

    .single-post-article {
        padding: 30px 20px;
    }

    .post-nav-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .post-nav-prev,
    .post-nav-next {
        max-width: 100%;
        text-align: left;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .comments-section {
        padding: 40px 25px;
    }
}

/* === FAQ Section === */
.faq-section {
    padding: 80px var(--wp--style--root--padding-right, 100px);
    max-width: var(--wp--style--global--content-size, 1200px);
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
}

.faq-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    transition: border-radius 0.3s ease;
}

.faq-item.active {
    border-radius: 24px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #fafafa;
    color: #333;
}

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    color: #000;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.faq-question-text {
    flex: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
        gap: 12px;
    }

    .faq-answer p {
        padding: 0 20px 16px 48px;
        font-size: 14px;
    }

    .faq-item {
        border-radius: 30px;
    }

    .faq-item.active {
        border-radius: 20px;
    }
}

/* === Videos Section === */
.videos-section {
    padding: 80px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.videos-slider-wrapper {
    overflow: hidden;
    padding-left: var(--wp--style--root--padding-right, 100px);
}

.videos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 var(--wp--style--root--padding-right, 100px);
}

.videos-titles {
    flex: 1;
}

.videos-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.videos-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.videos-instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E1306C;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.videos-instagram-btn:hover {
    background: #c02060;
    color: #fff;
    transform: translateY(-2px);
}

.videos-instagram-btn svg {
    flex-shrink: 0;
}

.videos-slider {
    overflow: visible;
}

.videos-slider .swiper-wrapper {
    align-items: stretch;
}

.videos-slider .swiper-slide {
    width: 280px;
    height: auto;
}

.video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-card.playing .video-poster {
    opacity: 0;
    pointer-events: none;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card.playing .video-player {
    opacity: 1;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
    outline: none;
}

.video-play-btn:hover,
.video-play-btn:focus {
    transform: translate(-50%, -50%) scale(1.1);
    background: none;
}

.video-play-btn:hover svg circle,
.video-play-btn:focus svg circle {
    fill: rgba(255,255,255,0.95);
}

.video-play-btn:hover svg path,
.video-play-btn:focus svg path {
    fill: #333;
}

.video-card.playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}

.videos-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    padding: 0 var(--wp--style--root--padding-right, 100px);
}

.videos-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.videos-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #e0e0e0;
    border-radius: 50%;
    opacity: 1;
    transition: background 0.3s ease, transform 0.3s ease;
}

.videos-pagination .swiper-pagination-bullet-active {
    background: #E1306C;
    transform: scale(1.2);
}

.videos-navigation {
    display: flex;
    gap: 10px;
}

.videos-btn-prev,
.videos-btn-next {
    min-width: 50px;
    min-height: 50px;
    width: auto;
    height: auto;
    padding: 15px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, background 0.3s ease;
    color: #333;
}

.videos-btn-prev svg,
.videos-btn-next svg {
    width: 20px;
    height: 20px;
    stroke: #333;
}

.videos-btn-prev:hover,
.videos-btn-next:hover {
    border-color: #333;
    background: #fff;
}

.videos-btn-prev.swiper-button-disabled,
.videos-btn-next.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.videos-btn-prev.swiper-button-disabled:hover,
.videos-btn-next.swiper-button-disabled:hover {
    border-color: #e0e0e0;
}

@media (max-width: 768px) {
    .videos-section {
        padding: 60px 0;
    }

    .videos-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    .videos-slider-wrapper {
        padding-left: 20px;
    }

    .videos-controls {
        padding: 0 20px;
        gap: 20px;
    }

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

    .videos-slider .swiper-slide {
        width: 220px;
    }

    .video-card {
        border-radius: 16px;
    }

    .videos-btn-prev,
    .videos-btn-next {
        width: 40px;
        height: 40px;
    }
}

/* ================================================
   Service Page Template Styles
   ================================================ */

/* Service Hero Section */
.service-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a2e;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-hero-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
}

/* Service Gallery Section */
.service-gallery-section {
    padding: 80px 20px;
    background: #fff;
}

.service-gallery-container {
    max-width: 1440px;
    margin: 0 auto;
}

.service-gallery-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 50px;
    color: #1a1a2e;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-gallery-item:hover img {
    transform: scale(1.08);
}

.service-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.service-gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* Hidden gallery items */
.service-gallery-item.gallery-item-hidden {
    display: none;
}

.service-gallery-grid.show-all .service-gallery-item.gallery-item-hidden {
    display: block;
}

/* Show more button */
.service-gallery-more {
    text-align: center;
    margin-top: 40px;
}

.service-gallery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #1a1a2e;
    padding: 16px 40px;
    border: 2px solid #1a1a2e;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-gallery-btn:hover {
    background: #1a1a2e;
    color: #fff;
}

.service-gallery-btn .btn-text-hide {
    display: none;
}

.service-gallery-btn.active .btn-text-show {
    display: none;
}

.service-gallery-btn.active .btn-text-hide {
    display: inline;
}

/* Service Form Section */
.service-form-section {
    padding: 80px 20px;
    background: #f8f8f8;
}

.service-form-section .form-section {
    margin-bottom: 0 !important;
}

/* Service Page Responsive */
@media (max-width: 1200px) {
    .service-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .service-hero-title {
        font-size: 36px;
    }

    .service-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .service-gallery-section {
        padding: 60px 20px;
    }

    .service-form-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 300px;
    }

    .service-hero-content {
        padding: 60px 20px;
    }

    .service-hero-title {
        font-size: 28px;
    }

    .service-hero-subtitle {
        font-size: 16px;
    }

    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-gallery-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .service-gallery-item {
        border-radius: 8px;
    }

    .service-gallery-btn {
        padding: 14px 32px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 24px;
    }

    .service-gallery-grid {
        gap: 8px;
    }

    .service-gallery-section {
        padding: 50px 16px;
    }

    .service-form-section {
        padding: 50px 16px;
    }
}

/* Fix: z-index -1 sections should always be visible (no reveal animation) */
.uagb-block-b7e83894.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* =============================================
   About Page - Image Overlap Effect (CORRECT)
   Как на главной: margin-bottom + z-index
   ============================================= */

/* Родительская секция с изображением - отрицательный margin для overlap */
.uagb-block-b6c01382 {
    margin-bottom: -200px !important;
    position: relative;
    z-index: 2;
}

/* Тёмная секция - уже имеет z-index: -1, добавляем padding для контента */
.uagb-block-b7e83894 {
    padding-top: 280px !important; /* Увеличиваем чтобы контент не перекрывался */
}

/* Fix margin for block 7c79bd17 */
.wp-block-uagb-container.uagb-block-7c79bd17 {
    margin-bottom: 0 !important;
}
