:root {
    --primary: #d9230f;
    --primary-hover: #b81c0b;
    --primary-light: #fff5f4;
    --dark: #121820;
    --dark-light: #1e2632;
    --dark-surface: #263140;
    --text-main: #333d47;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --warning: #f59e0b;
    --success: #10b981;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-bar-contact, .top-bar-social {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.top-bar a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.top-bar a:hover {
    color: var(--white);
}

/* --- MAIN HEADER --- */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
}
.site-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}
.nav-item {
    position: relative;
}
.nav-link {
    display: block;
    padding: 0.6rem 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    border-radius: var(--radius-sm);
}
.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
    background-color: var(--primary-light);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}
.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}
.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: 1.4rem;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    padding: 0.25rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: var(--transition);
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-dark {
    background-color: var(--dark);
    color: var(--white);
}
.btn-dark:hover {
    background-color: var(--dark-light);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}
.btn-whatsapp:hover {
    background-color: #1ebd58;
    color: var(--white);
}

/* --- HERO SLIDER (.ckr-hero) --- */
.ckr-hero {
    position: relative;
    width: 100%;
    background-color: var(--dark);
    color: var(--white);
    overflow: hidden;
}
.ckr-hero-track {
    width: 100%;
}
.ckr-hero-slide {
    position: relative;
    width: 100%;
    height: clamp(560px, 60vh, 620px);
    min-height: 560px;
    max-height: 640px;
    display: none;
    align-items: center;
}
.ckr-hero-slide.is-active {
    display: flex;
}
.ckr-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: var(--dark);
}
.ckr-hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}
.ckr-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--ckr-desktop-focus, 18% 64%);
    display: block;
}
.ckr-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.ckr-hero-slide[data-align="right"] .ckr-hero-overlay {
    background: linear-gradient(
        270deg,
        rgba(14, 20, 28, 0.95) 0%,
        rgba(14, 20, 28, 0.86) 28%,
        rgba(14, 20, 28, 0.32) 45%,
        rgba(14, 20, 28, 0) 58%
    );
}
.ckr-hero-slide[data-align="left"] .ckr-hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(14, 20, 28, 0.95) 0%,
        rgba(14, 20, 28, 0.86) 28%,
        rgba(14, 20, 28, 0.32) 45%,
        rgba(14, 20, 28, 0) 58%
    );
}
.ckr-hero-content-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
}
.ckr-hero-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
}
.ckr-hero-slide[data-align="right"] .ckr-hero-container {
    justify-content: flex-end;
}
.ckr-hero-slide[data-align="left"] .ckr-hero-container {
    justify-content: flex-start;
}
.ckr-hero-content {
    width: 100%;
    max-width: 430px;
    text-align: left;
}
.ckr-hero-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    border-left: 3px solid var(--primary);
    padding-left: 0.65rem;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}
.ckr-hero-title {
    font-size: clamp(2rem, 2.7vw, 2.6rem);
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}
.ckr-hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0 0 1.75rem 0;
    font-weight: 400;
}
.ckr-hero-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.ckr-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.65rem;
    font-size: 0.96rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.ckr-hero-btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border: 1.5px solid var(--primary);
}
.ckr-hero-btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}
.ckr-hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.82);
}
.ckr-hero-btn-secondary:hover {
    background-color: #ffffff;
    color: var(--dark);
    border-color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .ckr-hero-content {
        max-width: 400px;
    }
    .ckr-hero-title {
        font-size: 1.95rem;
    }
}

@media (max-width: 768px) {
    .ckr-hero-slide {
        height: auto;
        min-height: 0;
        max-height: none;
        flex-direction: column;
        align-items: stretch;
    }
    .ckr-hero-media {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 16 / 10;
        min-height: 220px;
        max-height: 320px;
    }
    .ckr-hero-img {
        object-position: var(--ckr-mobile-focus, center center);
    }
    .ckr-hero-overlay {
        display: none;
    }
    .ckr-hero-content-wrap {
        background-color: var(--dark);
        border-top: 3px solid var(--primary);
        padding: 1.5rem 0 1.75rem 0;
    }
    .ckr-hero-container {
        padding: 0 1.25rem;
        justify-content: flex-start !important;
    }
    .ckr-hero-content {
        max-width: 100%;
    }
    .ckr-hero-kicker {
        font-size: 0.78rem;
        margin-bottom: 0.6rem;
    }
    .ckr-hero-title {
        font-size: 1.65rem;
        line-height: 1.22;
        margin-bottom: 0.75rem;
        overflow-wrap: break-word;
    }
    .ckr-hero-desc {
        font-size: 0.96rem;
        line-height: 1.55;
        margin-bottom: 1.35rem;
        color: #cbd5e1;
    }
    .ckr-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        width: 100%;
    }
    .ckr-hero-btn {
        width: 100%;
        min-height: 48px;
        padding: 0.75rem 0.75rem;
        font-size: 0.95rem;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .ckr-hero-actions {
        grid-template-columns: 1fr;
    }
}

/* --- HIGHLIGHT BAR --- */
.highlight-bar {
    background-color: var(--dark-light);
    color: var(--white);
    padding: 1.75rem 0;
    border-bottom: 3px solid var(--primary);
}
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.highlight-icon {
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}
.highlight-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--white);
}
.highlight-desc {
    font-size: 0.88rem;
    color: #94a3b8;
}

/* --- SECTION COMMON --- */
.section {
    padding: 4.5rem 0;
}
.section-light {
    background-color: var(--bg-light);
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}
.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
}

/* --- CARDS & GRIDS --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}
.card-img-wrap {
    position: relative;
    height: 220px;
    background-color: #e2e8f0;
    overflow: hidden;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transition: transform 0.4s ease;
}
.card:hover .card-img-wrap img {
    transform: scale(1.05);
}
.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}
.card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: auto;
}

/* --- PAGE BANNER --- */
.page-banner {
    position: relative;
    background-color: var(--dark);
    color: var(--white);
    padding: 3.5rem 0;
    overflow: hidden;
}
.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}
.page-banner .container {
    position: relative;
    z-index: 2;
}
.page-banner h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}
.breadcrumbs a {
    color: #cbd5e1;
}
.breadcrumbs a:hover {
    color: var(--white);
}

/* --- CONTENT AREA & SIDEBAR --- */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}
.content-body {
    font-size: 1.05rem;
    line-height: 1.8;
}
.content-body h2 { font-size: 1.7rem; margin: 1.75rem 0 0.75rem; font-weight: 700; color: var(--dark); }
.content-body h3 { font-size: 1.4rem; margin: 1.5rem 0 0.5rem; font-weight: 700; color: var(--dark); }
.content-body h4 { font-size: 1.15rem; margin: 1.25rem 0 0.5rem; font-weight: 700; color: var(--dark); }
.content-body p { margin-bottom: 1.25rem; }
.content-body ul, .content-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.content-body li { margin-bottom: 0.4rem; }
.content-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.content-body figure { margin: 1.5rem 0; }
.content-body img { border-radius: var(--radius-md); }

/* --- SIDEBAR --- */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}
.widget-list {
    list-style: none;
}
.widget-list li {
    border-bottom: 1px solid #f1f5f9;
}
.widget-list a {
    display: block;
    padding: 0.65rem 0;
    font-weight: 500;
    color: var(--text-main);
}
.widget-list a:hover {
    color: var(--primary);
    padding-left: 0.4rem;
}

/* --- FORMS --- */
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 35, 15, 0.15);
    outline: none;
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* --- FOOTER --- */
.site-footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding-top: 4.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.footer-col p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.6rem;
}
.footer-links a {
    color: #94a3b8;
    font-size: 0.92rem;
}
.footer-links a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}
.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
}
.footer-bottom {
    background-color: #0b0f14;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
    text-align: center;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
    .highlight-grid { grid-template-columns: 1fr; }
    .content-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .mobile-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out;
        z-index: 999;
    }
    .main-nav.open {
        max-height: 500px;
        overflow-y: auto;
    }
    .nav-list {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    .nav-item { width: 100%; }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .nav-item.open-mobile .dropdown-menu {
        display: block;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
}

/* --- MODERN PHOTO GALLERY & LIGHTBOX --- */
.gallery-section {
    padding: 3rem 0 5rem 0;
}
.gallery-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Category Filter Tabs */
.gallery-filter-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}
.gallery-filter-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gallery-filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--primary);
}
.gallery-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25);
}

/* 4:3 Responsive CSS Grid: Desktop 4, Tablet 3, Mobile 2, Extra Narrow 1 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 420px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Service Detail layout with sidebar */
.content-layout .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 767px) {
    .content-layout .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 420px) {
    .content-layout .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Gallery Card: 4:3 ratio, 12px rounded, subtle shadow, clean hover */
.gallery-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
}
.gallery-card:hover, .gallery-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}
.gallery-card:focus-visible {
    box-shadow: 0 0 0 3px var(--primary), 0 10px 24px rgba(0, 0, 0, 0.14);
}
.gallery-card picture {
    display: block;
    width: 100%;
    height: 100%;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.35s ease;
}
.gallery-card:hover img {
    transform: scale(1.05);
}

/* Center Magnifier Icon on Hover - No text underneath */
.gallery-card-hover {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.gallery-card:hover .gallery-card-hover,
.gallery-card:focus-visible .gallery-card-hover {
    opacity: 1;
}
.gallery-card-icon {
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transform: scale(0.85);
    transition: transform 0.25s ease;
}
.gallery-card:hover .gallery-card-icon {
    transform: scale(1);
}
.gallery-card-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Load More Button Area */
.gallery-load-more-wrap {
    text-align: center;
    margin-top: 3rem;
}
.gallery-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.25rem;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
    transition: all 0.25s ease;
}
.gallery-load-more-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}
.gallery-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 22, 0.96);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 1rem;
    user-select: none;
}
.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 1000001;
}
.lightbox-close:hover, .lightbox-close:focus {
    background: var(--primary);
    transform: scale(1.08);
    outline: none;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 1000001;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover,
.lightbox-prev:focus, .lightbox-next:focus {
    background: var(--primary);
    transform: translateY(-50%) scale(1.08);
    outline: none;
}
@media (max-width: 768px) {
    .lightbox-prev { left: 0.5rem; width: 40px; height: 40px; font-size: 1.2rem; }
    .lightbox-next { right: 0.5rem; width: 40px; height: 40px; font-size: 1.2rem; }
    .lightbox-close { top: 0.75rem; right: 0.75rem; width: 38px; height: 38px; font-size: 1.4rem; }
}
.lightbox-stage {
    position: relative;
    max-width: 92vw;
    max-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-stage img {
    max-width: 92vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.lightbox-stage img.loading {
    opacity: 0.4;
    transform: scale(0.98);
}
.lightbox-footer {
    margin-top: 1rem;
    text-align: center;
    max-width: 800px;
    width: 90%;
    color: #e2e8f0;
}
.lightbox-caption {
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.35rem;
}
.lightbox-counter {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}


