/* ============================================ */
/* AZENCO OUTDOOR - CUSTOM STYLES               */
/* ============================================ */

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    max-width: 100%;
    overflow-x: clip;
}

.page-wrapper {
    width: 100%;
}

:root {
    --gutter-header-hero: 20px;
    --gutter-content: 20px;
}

@media (min-width: 1024px) {
    :root {
        --gutter-content: 48px;
    }
}

.gutter-header-hero {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter-header-hero);
    padding-right: var(--gutter-header-hero);
    box-sizing: border-box;
}

.gutter-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter-content);
    padding-right: var(--gutter-content);
    box-sizing: border-box;
}

#main-header {
    background: transparent;
    position: sticky !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-bar {
    transition: box-shadow 0.3s ease;
}

#main-header.scrolled .header-bar {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.hero-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #1f2937;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
    top: calc(50% - 7px);
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-line:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.hamburger-line:nth-child(3) {
    top: calc(50% + 7px);
    left: 50%;
    transform: translateX(-50%);
}

#mobile-menu-btn.active .hamburger-line:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

#mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .hamburger-line:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

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

.mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 120;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-panel.active {
    transform: translateX(0);
}

.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
}

.mobile-nav {
    padding: 0.75rem 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.mobile-nav-trigger:hover {
    color: #000000;
}

.mobile-arrow {
    transition: transform 0.3s ease;
}

.mobile-nav-item.open .mobile-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #f9fafb;
}

.mobile-nav-item.open .mobile-submenu {
    max-height: 450px;
}

.mobile-submenu-link {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-submenu-link:hover {
    color: #000000;
}

.mobile-cta {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.mobile-btn-outline {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #000000;
    border: 1.5px solid #000000;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-btn-outline:hover {
    background: #000000;
    color: white;
}

.mobile-btn-filled {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background: #000000;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-btn-filled:hover {
    background: #333333;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 1;
}

.hero-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem 1.5rem;
    pointer-events: none;
}

@media (min-width: 640px) {
    .hero-slide-content {
        padding-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-slide-content {
        padding: 4rem 3rem;
    }
}

.hero-slide-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    max-width: 48rem;
    margin-bottom: 1.5rem;
}

.hero-slide-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .hero-slide-btns {
        gap: 1rem;
    }
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    background: #000000;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.25s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.hero-btn-primary:hover {
    background: #2d3a63;
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    border: 1.5px solid #ffffff;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.hero-btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: none;
    cursor: pointer;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-arrow-prev {
    left: 24px;
}

.hero-arrow-next {
    right: 24px;
}

@media (min-width: 1024px) {
    .hero-arrow {
        display: flex;
    }
}

.hero-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (min-width: 1024px) {
    .hero-dots {
        bottom: 80px;
    }
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.active {
    width: 30px;
    background: #ffffff;
}

.product-card {
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.product-card:hover::before {
    border-color: rgba(255, 255, 255, 0.3);
}

.parallax-video-section {
    position: relative;
}

.parallax-video {
    will-change: transform;
}

.testimonial-swiper {
    overflow: hidden;
}

.testimonial-swiper .swiper-slide {
    box-sizing: border-box;
    width: 100%;
    height: auto;
}

.swiper-slide .review-card,
.testimonial-swiper .review-card {
    opacity: 1 !important;
    transform: none !important;
}

.testimonial-swiper .swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
}

.review-card {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #f3f4f6;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-text {
    flex-grow: 1;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.review-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
}

.review-time {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.25;
}

.review-google-icon {
    flex-shrink: 0;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #4b5563;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

@media (max-width: 400px) {
    .review-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .review-google-icon {
        margin-left: auto;
    }
}

.testimonial-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 1.25rem;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: #000000;
    width: 30px;
    border-radius: 5px;
}

.trustindex-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
}

.reinventing-card {
    background: #000000;
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    position: relative;
}

.reinventing-content {
    text-align: center;
    flex: 1;
}

.reinventing-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex: 1;
}

.reinventing-laptop {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.solutions-masonry {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
}

.solution-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    min-height: 220px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.solution-card:hover .solution-bg-img {
    transform: scale(1.05);
}

.solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 100%);
}

.solution-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.solution-title {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.solution-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.solution-homeowners {
    grid-column: 1;
    grid-row: 1;
    min-height: 220px;
}

.solution-commercial {
    grid-column: 1;
    grid-row: 2;
    min-height: 220px;
}

.solution-architects {
    grid-column: 1;
    grid-row: 3;
    min-height: 280px;
}

.solution-contractors {
    grid-column: 1;
    grid-row: 4;
    min-height: 220px;
}

.case-filter-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1.5px solid #d1d5db;
    color: #6b7280;
    background: white;
    cursor: pointer;
    transition: all 0.25s ease;
}

.case-filter-btn:hover {
    border-color: #000000;
    color: #000000;
}

.case-filter-btn.active {
    background: #000000;
    border-color: #000000;
    color: white;
}

.case-study-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-study-card.hidden-card {
    display: none;
}

.faq-item {
    transition: box-shadow 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-trigger {
    transition: background 0.3s ease;
}

.faq-item.active .faq-trigger {
    background: #f9fafb;
}

.faq-content {
    animation: fadeSlideDown 0.3s ease;
}

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

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    font-variant-numeric: tabular-nums;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    max-width: 100%;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    pointer-events: none;
}

.group:hover .dropdown-menu {
    pointer-events: auto;
}

@media (min-width: 768px) {
    .reinventing-card {
        flex-direction: row;
        padding: 3rem;
        gap: 3rem;
    }

    .reinventing-content {
        text-align: left;
    }

    .reinventing-laptop {
        max-width: 420px;
    }

    .solutions-masonry {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .solution-homeowners {
        grid-column: 1;
        grid-row: 1;
        min-height: 260px;
    }

    .solution-commercial {
        grid-column: 2;
        grid-row: 1;
        min-height: 260px;
    }

    .solution-architects {
        grid-column: 1 / 3;
        grid-row: 2;
        min-height: 240px;
    }

    .solution-contractors {
        grid-column: 1 / 3;
        grid-row: 3;
        min-height: 240px;
    }

    .solution-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .reinventing-card {
        padding: 3.5rem 4rem;
        gap: 4rem;
    }

    .reinventing-laptop {
        max-width: 480px;
    }

    .solutions-masonry {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 280px 280px;
        gap: 1rem;
    }

    .solution-homeowners {
        grid-column: 1;
        grid-row: 1;
        min-height: auto;
    }

    .solution-commercial {
        grid-column: 2;
        grid-row: 1;
        min-height: auto;
    }

    .solution-architects {
        grid-column: 3;
        grid-row: 1 / 3;
        min-height: auto;
    }

    .solution-contractors {
        grid-column: 1 / 3;
        grid-row: 2;
        min-height: auto;
    }

    .solution-title {
        font-size: 1.75rem;
    }

    .solution-content {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-card {
        min-height: 500px;
        max-height: 700px;
    }

    .parallax-video-section {
        height: 350px;
    }

    .reinventing-card {
        margin: 0 -0.5rem;
        border-radius: 1rem;
    }

    .reinventing-content h2 br {
        display: none;
    }
}

section,
.gutter-content,
.gutter-header-hero {
    max-width: 100%;
    box-sizing: border-box;
}

.solutions-masonry>*,
.feature-item,
.product-card,
.case-study-card,
.stat-number,
.faq-item {
    min-width: 0;
    box-sizing: border-box;
}

.swiper {
    max-width: 100%;
}

/* ============================================ */
/* STICKY OVERLAP SECTION (PERGOLAS PAGE)       */
/* ============================================ */
.sticky-overlap-wrapper {
    position: relative;
    padding-bottom: 2rem;
}

.sticky-card {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* No mobile o efeito de sobreposição sai, vira rolagem normal (um card embaixo do outro) */
@media (max-width: 767px) {
    .sticky-card {
        position: relative;
        top: auto;
        z-index: auto !important;
        margin-bottom: 1.25rem;
    }
}

/* ============================================ */
/* LIGHTBOX                                      */
/* ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 0.75rem;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 210;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 210;
}

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

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    z-index: 210;
}

/* ============================================ */
/* PROJECT CARDS                                 */
/* ============================================ */
.project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-card img {
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    transition: background 0.3s ease;
}

.project-card:hover .project-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 100%);
}

.project-card-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.project-card:hover .project-card-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ============================================ */
/* GALLERY MASONRY                               */
/* ============================================ */
.gallery-grid {
    columns: 2;
    column-gap: 1rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        columns: 3;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        columns: 4;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.gallery-item-zoom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-item-zoom {
    opacity: 1;
    transform: scale(1);
}

/* Gallery filter buttons */
.gallery-filter-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1.5px solid #d1d5db;
    color: #6b7280;
    background: white;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-filter-btn:hover {
    border-color: #000000;
    color: #000000;
}

.gallery-filter-btn.active {
    background: #000000;
    border-color: #000000;
    color: white;
}

/* ============================================ */
/* BLOG CARDS & LAYOUT                          */
/* ============================================ */
.blog-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog-card .blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-2px);
}

.blog-category {
    display: inline-block;
}

/* Blog filter buttons */
.blog-filter-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1.5px solid #d1d5db;
    color: #6b7280;
    background: white;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

.blog-filter-btn:hover {
    border-color: #000000;
    color: #000000;
}

.blog-filter-btn.active {
    background: #000000;
    border-color: #000000;
    color: white;
}

/* Scrollbar hide for filter row */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* ============================================ */
/* BLOG ARTICLE DETAIL                          */
/* ============================================ */
.blog-article-content h2 {
    font-size: 1.375rem;
    margin-top: 0;
    margin-bottom: 0;
}

.blog-article-content p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-article-content p:first-child {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1f2937;
}

.blog-article-image {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-article-image:hover {
    transform: scale(1.005);
}

.blog-article-image img {
    border-radius: 0.75rem;
    width: 100%;
    transition: transform 0.4s ease;
}

.blog-article-image:hover img {
    transform: scale(1.02);
}

.blog-highlight-box {
    margin: 2rem 0;
}

.blog-article-content .line-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .blog-article-content h2 {
        font-size: 1.375rem;
    }

    .blog-article-content p {
        font-size: 0.9375rem;
    }

    .product-explore-nav {
        display: none;
    }
}

/* ============================================ */
/* PRODUCT EXPLORE SWIPER NAV                    */
/* ============================================ */
.product-explore-swiper {
    position: relative;
    padding: 0 0 4px 0;
}

.product-explore-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-explore-nav:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.product-explore-prev {
    left: -4px;
}

.product-explore-next {
    right: -4px;
}

.product-explore-swiper .product-card {
    min-width: 0;
    box-sizing: border-box;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.gallery-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.5rem;
    transition: background 0.2s ease;
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.75rem;
    transition: background 0.2s ease;
}

.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-prev {
    left: 1.5rem;
}

.gallery-lightbox-next {
    right: 1.5rem;
}

@media (max-width: 640px) {
    .gallery-lightbox-nav {
        padding: 0.5rem;
    }
}

.gallery-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-modal-overlay.active {
    opacity: 1;
}

.gallery-modal-content {
    max-width: 1100px;
    width: 92%;
    margin: 40px auto;
}

.gallery-modal-title {
    color: #fff;
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.gallery-swiper {
    width: 100%;
    height: 70vh;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    z-index: 10000;
}

/* ============================================ */
/* WHATSAPP FLOATING BUTTON - NOTIFICATION       */
/* ============================================ */
.whatsapp-float-btn {
    position: fixed;
}

.whatsapp-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #25D366;
    opacity: 0.6;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: 0;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 20;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    background: #FF3B30;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    border-radius: 9999px;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    animation: whatsapp-badge-bounce 2.4s ease-in-out infinite;
}

@keyframes whatsapp-badge-bounce {
    0%, 80%, 100% {
        transform: scale(1);
    }

    85% {
        transform: scale(1.25);
    }

    90% {
        transform: scale(0.95);
    }

    95% {
        transform: scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {

    .whatsapp-pulse-ring,
    .whatsapp-badge {
        animation: none;
    }
}