.masonry {
    column-count: 3;
    column-gap: 1.2rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.2rem;
    transition: opacity .3s ease, transform .3s ease;
}

.masonry-item img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.masonry-item img {
    transition: transform .3s ease, box-shadow .3s ease;
}

.masonry-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 14px;
    transform: scale(.9);
    transition: transform .3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    padding: 0 15px;
    opacity: .6;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
    color: #333;
}

.filter-btn:hover {
    background: #f5f5f5;
}

.filter-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    transition: all .35s ease;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

.service-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /*object-position: center top;*/
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,.7);
    color: #fff;
    padding: 4px 10px;
    font-size: .75rem;
    border-radius: 20px;
}

.service-body {
    padding: 2rem 2.2rem 2.2rem;
    border-top: 1px solid rgba(0,0,0,.04);
}

.service-body h5 {
    font-weight: 600;
    margin-bottom: .4rem;
}

.service-link {
    display: inline-block;
    margin-top: .75rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--accent-color);
}

.service-link:hover {
    text-decoration: underline;
}

.service-link:focus {
    outline: none;
    text-decoration: underline;
}

.service-subtitle {
    font-size: .85rem;
    font-weight: 500;
    color: #888;
    margin-bottom: .6rem;
}

.services-cta {
    margin-top: 5rem;
}

.service-badge-inline {
    display: inline-block;
    margin-bottom: .35rem;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: 20px;
    background: rgba(0,0,0,.06);
    color: #444;
}

.service-ribbon {
    position: absolute;
    top: 16px;
    left: -36px;

    padding: 6px 48px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #fff;
    background: rgba(0, 0, 0, .75);

    transform: rotate(-45deg);
    z-index: 5;

    pointer-events: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.service-badge-pill {
    display: inline-block;
    margin-bottom: .5rem;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: .04em;
}


.cta-box {
    background: linear-gradient(
        135deg,
        rgba(0,0,0,.02),
        rgba(0,0,0,.06)
    );
    border-radius: 28px;
    padding: 3rem 2rem;
    max-width: 720px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.cta-eyebrow {
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: .5rem;
    font-weight: 600;
}

.cta-title {
    font-weight: 600;
    margin-bottom: .75rem;
}

.cta-text {
    color: #666;
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

.cta-box .btn {
    border-radius: 999px;
    padding: .85rem 2.5rem;
}

.cta-box:hover {
    transform: translateY(-4px);
    transition: .3s ease;
}

.cta-btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .3px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
/* responsive */
@media (max-width: 992px) {
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry {
        column-count: 1;
    }
}

.how-it-works-section {
    background: #fff;
}

.hiw-card {
    padding: 30px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.hiw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.hiw-number {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 15px;
}

.hiw-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #111827;
}

.hiw-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.hiw-text {
    font-size: 0.95rem;
    color: #6b7280;
}


.social-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Instagram gradient oficial */
.social-circle.instagram {
    background: radial-gradient(circle at 30% 107%, 
        #fdf497 0%, 
        #fdf497 5%, 
        #fd5949 45%, 
        #d6249f 60%, 
        #285AEB 90%);
}

/* Facebook */
.social-circle.facebook {
    background: #1877F2;
}

/* TikTok */
.social-circle.tiktok {
    background: #000000;
}

/* YouTube */
.social-circle.youtube {
    background: #FF0000;
}

/* LinkedIn */
.social-circle.linkedin {
    background: #0A66C2;
}

/* WhatsApp */
.social-circle.whatsapp {
    background: #25D366;
}

/* Default */
.social-circle.default {
    background: #6c757d;
}

.social-glass {
    width: 70px;
    height: 70px;
    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.3);

    box-shadow: 0 8px 32px rgba(0,0,0,0.15);

    transition: all 0.3s ease;
}

.social-glass:hover {
    transform: translateY(-6px) scale(1.05);
}

.socials-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.socials-section .section-title {
    margin-bottom: -25px;
}

