/* C43 photo presentation, scoped to the service gallery. */
.seo-section.c43-gallery {
    padding: 64px 0;
    background: #f7f7f7;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}
.c43-gallery > .container { max-width: 1056px; }
.c43-gallery-heading { margin-bottom: 28px; }
.c43-gallery-heading h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.35;
}
.c43-gallery-rule {
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 16px;
    background: var(--primary-color);
}
.c43-photo {
    margin: 0;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .055);
}
.c43-photo-trigger {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #171717;
    cursor: zoom-in;
}
.c43-photo-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 68%;
    transition: transform .3s ease;
}
.c43-photo-trigger:hover img { transform: scale(1.025); }
.c43-photo-trigger:focus-visible { outline: 3px solid var(--primary-color); outline-offset: -4px; }
.c43-photo-expand {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    background: rgba(15, 15, 15, .82);
    color: #fff;
    font: 500 14px/1.4 var(--font-body);
}
.c43-photo-expand svg { width: 18px; height: 18px; }
.c43-photo figcaption { padding: 24px 28px; }
.c43-photo-model { display: block; color: #1a1a1a; font-size: 24px; font-weight: 600; line-height: 1.35; }
.c43-photo-caption { display: block; margin-top: 6px; color: #666; font-size: 16px; line-height: 1.7; }
body.c43-photo-open { overflow: hidden; }
.c43-lightbox {
    position: fixed;
    width: min(1100px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: #111;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}
.c43-lightbox::backdrop { background: rgba(0, 0, 0, .86); }
.c43-lightbox img { width: 100%; height: auto; max-height: calc(100dvh - 132px); object-fit: contain; }
.c43-lightbox p { margin: 0; padding: 16px 64px 18px 20px; color: #eee; font: 400 14px/1.6 var(--font-body); }
.c43-photo-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    cursor: pointer;
}
.c43-photo-close svg { width: 22px; height: 22px; }
.c43-photo-close:hover { background: #cc0000; }
.c43-photo-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) {
    .seo-section.c43-gallery { padding: 40px 0; }
    .c43-gallery > .container { padding-left: 16px; padding-right: 16px; }
    .c43-gallery-heading { margin-bottom: 24px; }
    .c43-photo { border-radius: 12px; }
    .c43-photo-trigger { aspect-ratio: 1; }
    .c43-photo-expand { right: 12px; bottom: 12px; padding: 8px 10px; font-size: 13px; }
    .c43-photo figcaption { padding: 20px; }
    .c43-photo-model { font-size: 22px; }
    .c43-photo-caption { font-size: 15px; }
    .c43-lightbox { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .c43-photo-trigger img { transition: none; }
    .c43-photo-trigger:hover img { transform: none; }
}
