.cta {
    height: calc(100dvh);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta > img.image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.4);
    pointer-events: none;
}

.cta > .info {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
    max-width: 90dvw;
}

.cta > .info > h1 {
    font-size: 72px;
    line-height: 1.0;
    margin: 0;
}

.cta > .info > p {
    font-size: 20px;
    line-height: 1.1;
    margin: 0;
}

.cta > .info > a {
    color: var(--prim);
    background: var(--bg);
}

.cta > .info > * {
    color: var(--prim-inv);
    filter: none;
}

.cta > .scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: bounce 2.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-12px);
    }
}

.cta > .scroll-indicator > svg {
    stroke-width: 2px;
    stroke-linecap: round;
    stroke: var(--prim-inv);
    width: 24px;
    height: 24px;
    display: block;
}

.cta-sec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 700px;
    padding: 0 4rem;
}

.cta-sec > .left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--prim);
}

.cta-sec > .left > h1 {
    font-size: 72px;
    line-height: 1.0;
    margin: 0;
}

.cta-sec > .left > .desc { 
    font-size: 18px;
    font-weight: 400;
}

.cta-sec > .image > img {
    max-height: 800px;
    margin: 3rem;
    border-radius: 12px;
}

.cta-sec > .image {
    height: inherit;
    display: flex;
    justify-content: center;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 5rem 5rem;
    background: var(--bg-sec);
    box-sizing: border-box;
}

.services > h1.title {
    width: 100%;
    max-width: 1200px;
    margin: 0 0 0.5rem 0;
    padding: 0 0.5rem;
    font-weight: 400;
    text-align: center;
    font-size: 60px;
}

.services > .cards {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.services > .cards > .gallery-image {
    display: block;
    background: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.services > .cards > .gallery-image > h3.title {
    font-weight: 400;
    margin-top: 1.5rem;
}

.services > .cards > .gallery-image > .desc {
    font-weight: 300;
}

.services > .cards > .gallery-image:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 1;
    transform: none;
}

.services > .cards > .gallery-image > .media {
    overflow: hidden;
    width: 100%;
    height: 200px;
}

.services > .cards > .gallery-image > .media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    display: block;
}

.services > .cards > .gallery-image:hover > .media > img {
    transform: scale(1.08);
}

.services > .cards > .gallery-image > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.services > .cards > .gallery-image > .title {
    font-size: 20px;
    margin: 1rem 1rem 0.25rem 1rem;
}

.services > .cards > .gallery-image > .desc {
    margin: 0 1rem 1rem 1rem;
    font-size: 14px;
    color: var(--sec);
}

.services > .cards > .gallery-image > .bonus {
    margin: 0 1rem 1rem 1rem;
    padding-left: 1.15rem;
}

@media (max-width: 990px) {
    .services > .cards {
    grid-template-columns: 1fr;
    width: calc(100% - 1rem);
    max-width: none !important;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    }
    .services > .cards > .gallery-image {
        min-width: 0;
    }
    .services > h1.title {
        text-align: center;
    }
}

.gallery-image > .bonus {
    list-style: none;
}

.gallery-image > .bonus > li::before {
    content: '';
    display: inline-block;
    width: 1.05em;
    height: 1.05em;
    margin: 0 0.5em 0em -1.05em;
    vertical-align: middle;
    -webkit-mask: url('/img/checkmark.svg') no-repeat center / contain;
    mask: url('/img/checkmark.svg') no-repeat center / contain;
    background-color: var(--prim);
}

.gallery-image > .bonus > li {
    font-size: 12px;
    line-height: 1.9;
    color: var(--sec);
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 5rem 5rem;
    box-sizing: border-box;
    background: var(--bg-sec);
}

.testimonials > h1.title {
    width: 100%;
    max-width: 1200px;
    margin: 0 0 0.5rem 0;
    padding: 0 0.5rem;
    font-weight: 400;
    text-align: center;
    font-size: 60px;
}

.testimonials > .cards {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.testimonial {
    background: var(--bg);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: space-between;
    border: 1px solid var(--border);
    
}

.testimonial > .stars {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.testimonial > .stars > .star {
    width: 18px;
    height: 18px;
    fill: gold;
    stroke: rgba(0,0,0,0.05);
    stroke-width: 0.5;
}

.testimonial > .quote {
    color: var(--sec);
    margin: 0;
}

.testimonial > .quote {
    color: var(--sec);
    margin: 0 0 1rem 0;
    flex: 1 1 auto;
    line-height: 1.8;
}

.testimonial .name {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.testimonial .from {
    margin: 0;
    color: var(--ter);
    font-size: 12px;
}

.testimonial > .addressed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (max-width: 990px) {
    .testimonials > .cards {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: none;
    }
}

.sec-cta {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    background: transparent;
    padding: 3rem 5rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sec-cta .content {
    max-width: 900px;
    color: var(--prim-inv);
}

.sec-cta .subtitle {
    margin: 0 0 0.5rem 0;
    font-size: 28px;
    color: var(--prim-inv);
}

.sec-cta .description {
    margin: 0 0 1rem 0;
    color: var(--prim-inv);
    line-height: 1.6;
}

.sec-cta a {
    display: inline-block;
    background: var(--bg);
    color: var(--prim);
    padding: 7px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.sec-cta img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}


.sec-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/soc2.JPG');
    background-size: cover;
    background-position: center center;
    z-index: 0; /* behind overlay but below content */
    filter: blur(3px) brightness(0.55) saturate(0.9);
    will-change: filter;
    transform: scale(1.1);
}

.sec-cta > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 990px) {
    .sec-cta {
        display: block;
    }

    .cta-sec {
        gap: 2rem;
        grid-template-rows: 1fr 400px;
        height: fit-content;
        align-items: top;
        gap: 1rem;
        grid-template-columns: none;
        margin: 2rem 0;
    }
    .cta-sec > .image > img {
        width: 100%;
        height: 400px;
        margin: 0;
        object-fit: cover;
    }
}

.creations {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 5rem 5rem;
    padding-top: 3rem;
    box-sizing: border-box;
}

.creations > h1 {
    width: 100%;
    max-width: 1200px;
    margin: 0 0 0.5rem 0;
    padding: 0 0.5rem;
    font-weight: 400;
    text-align: center;
    font-size: 60px;
}

/* Gallery grid (homepage) */
.gallery {
    width: 100%;
    max-width: 1200px;
    height: 900px;
    box-sizing: border-box;
    display: grid;
    grid-template:
        "a a b" calc(300px - 1rem)
        "a a c" calc(300px - 1rem)
        "d e f" 300px;
    gap: 1rem;
    align-items: stretch;
}

.gallery .gallery-image {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 990px) {
    .gallery {
        grid-template:
            "a a b" calc(180px - 1rem)
            "a a c" calc(180px - 1rem)
            "d e f" 180px !important;
        height: 540px !important;
    }

    .cta-sec, .services, .creations, .testimonials, .sec-cta {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 360px) {
    .cta-sec > .image {
        height: 100%;
        width: calc(100dvw - 3rem);
    }

    h1, h2 {
        font-size: 30px !important;
    }

    p {
        font-size: 12px !important;
    }

    .header > .menu-toggle {
        height: 43px !important;
    }
    .header {
        height: fit-content !important;
    }
}