/* =========================================================
   Acurate – Gallery Section (Home + Gallery Page)
   ========================================================= */

.acurate-gallery {
    --g-green: #89c73e;
    --g-green-deep: #6f9641;
    --g-ink: #1a1a1a;
    --g-muted: #5c5c5c;

    position: relative;
    padding: 95px 0 90px;
    background: #ffffff;
    overflow: hidden;
}

.acurate-gallery--page {
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #f8faf5 0%, #ffffff 40%, #f8faf5 100%);
}

.acurate-gallery__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    color: rgba(137, 199, 62, 0.14);
}

.acurate-gallery__svg {
    position: absolute;
}

.acurate-gallery__svg--cam {
    width: 110px;
    height: 90px;
    left: 3%;
    top: 50px;
    opacity: 0.55;
}

.acurate-gallery__svg--dots {
    width: 120px;
    height: 80px;
    right: 4%;
    top: 40px;
    opacity: 0.5;
}

.acurate-gallery__svg--frame {
    width: 140px;
    height: 110px;
    right: 6%;
    bottom: 40px;
    opacity: 0.4;
}

.acurate-gallery__blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(137, 199, 62, 0.08);
}

.acurate-gallery__blob--1 {
    width: 240px;
    height: 240px;
    left: -80px;
    bottom: -60px;
}

.acurate-gallery__blob--2 {
    width: 180px;
    height: 180px;
    right: -50px;
    top: -40px;
}

.acurate-gallery .container {
    position: relative;
    z-index: 1;
}

.acurate-gallery__header {
    text-align: center;
    margin-bottom: 48px;
}

.acurate-gallery__eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-family: "Kumbh Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--g-green-deep);
}

.acurate-gallery__eyebrow::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--g-green);
    border-radius: 2px;
}

.acurate-gallery__title {
    margin: 0 0 10px;
    font-family: "Krona One", sans-serif;
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    color: var(--g-ink);
    font-weight: 400;
    line-height: 1.25;
}

.acurate-gallery__subtitle {
    margin: 0 auto;
    max-width: 560px;
    font-family: "Kumbh Sans", sans-serif;
    font-size: 1.05rem;
    color: var(--g-muted);
    line-height: 1.6;
}

.acurate-gallery__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.acurate-gallery__filter {
    border: 1.5px solid rgba(137, 199, 62, 0.45);
    background: #fff;
    color: var(--g-green-deep);
    font-family: "Kumbh Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.acurate-gallery__filter:hover,
.acurate-gallery__filter.is-active {
    background: var(--g-green);
    border-color: var(--g-green);
    color: #fff;
}

.acurate-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.acurate-gallery__item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(40, 70, 20, 0.1);
    background: #eef3e8;
    aspect-ratio: 4 / 3;
}

.acurate-gallery__item.is-hidden {
    display: none;
}

.acurate-gallery__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.acurate-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.acurate-gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(40, 70, 20, 0.78) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 18px 16px;
}

.acurate-gallery__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--g-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.acurate-gallery__caption {
    color: #fff;
    font-family: "Kumbh Sans", sans-serif;
}

.acurate-gallery__caption strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.acurate-gallery__caption span {
    font-size: 0.82rem;
    opacity: 0.85;
}

.acurate-gallery__item:hover .acurate-gallery__img {
    transform: scale(1.08);
}

.acurate-gallery__item:hover .acurate-gallery__overlay {
    opacity: 1;
}

.acurate-gallery__item:hover .acurate-gallery__zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.acurate-gallery__cta {
    text-align: center;
    margin-top: 42px;
}

.acurate-gallery__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--g-green);
    color: #fff !important;
    font-family: "Kumbh Sans", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(111, 150, 65, 0.3);
    transition: background 0.25s ease, transform 0.25s ease;
}

.acurate-gallery__btn:hover {
    background: var(--g-green-deep);
    transform: translateY(-2px);
    color: #fff !important;
}

@media (max-width: 991px) {
    .acurate-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 575px) {
    .acurate-gallery {
        padding: 65px 0 60px;
    }

    .acurate-gallery__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .acurate-gallery__svg--cam,
    .acurate-gallery__svg--frame {
        display: none;
    }
}
