/* =====================================================================
   Grafoto — Design System (Barlow + Premium Black/Green)
   =====================================================================
   Font: Barlow 300, 400, 500, 600, 700
   Primary:  #2ECC71  (zielony — main brand)
   Accent:   #f1c40f  (żółty — akcent)
   Mobile-first
   ===================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary:        #2ECC71;
    --primary-dark:   #27AE60;
    --primary-light:  #58D68D;
    --primary-soft:   rgba(46, 204, 113, 0.08);
    --accent:         #f1c40f;
    --accent-dark:    #d4ac0d;

    --text:           #1a1d23;
    --text-soft:      #4a5160;
    --text-muted:     #8a93a6;
    --text-invert:    #ffffff;

    --bg:             #ffffff;
    --bg-soft:        #f8f9fa;
    --bg-muted:       #f1f3f5;
    --bg-dark:        #0a0d12;
    --bg-dark-soft:   #161a22;

    --border:         #e9ecef;
    --border-strong:  #ced4da;

    --shadow-sm:      0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow:         0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg:      0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl:      0 24px 60px rgba(0, 0, 0, 0.12);

    --radius-sm:      6px;
    --radius:         12px;
    --radius-lg:      20px;
    --radius-xl:      28px;

    --transition:     200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:400ms cubic-bezier(0.4, 0, 0.2, 1);

    --container:      1240px;
    --container-narrow: 880px;

    --font-sans:      'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    --header-h:       72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    padding-top: var(--header-h);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--text-soft); }
strong, b { font-weight: 700; }
small { font-size: 0.875rem; color: var(--text-muted); }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--text-soft); }
.eyebrow {
    display: inline-block; font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 1rem;
}
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }

/* ---------- Layout ---------- */
.container       { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow{ width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.25rem; }
.section         { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm      { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-dark    { background: var(--bg-dark); color: var(--text-invert); }
.section-dark p  { color: rgba(255,255,255,0.78); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-invert); }
.section-soft    { background: var(--bg-soft); }

/* ---------- Grid ---------- */
.grid           { display: grid; gap: 1.5rem; }
.grid-2         { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3         { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4         { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 768px) {
    .grid { gap: 2rem; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer; white-space: nowrap;
    border: 2px solid transparent;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46,204,113,0.45); color: #fff; }
.btn-accent { background: var(--accent); color: var(--text); box-shadow: 0 4px 14px rgba(241,196,15,0.35); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); color: var(--text); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--text); }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--text); }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--bg-soft); color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 1.25rem; color: var(--text); }
.brand-mark { width: 36px; height: 36px; }
.brand:hover { color: var(--primary); }

.nav-main { display: flex; align-items: center; gap: 0.25rem; }
.nav-main > li { position: relative; }
.nav-main a {
    display: inline-flex; align-items: center; padding: 0.625rem 0.9rem;
    font-weight: 500; font-size: 0.95rem; color: var(--text-soft);
    border-radius: var(--radius-sm);
}
.nav-main a.active, .nav-main a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-main .has-submenu > a::after {
    content: ''; width: 6px; height: 6px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); margin-left: 0.4rem; margin-top: -2px;
    transition: transform var(--transition);
}
.nav-main .has-submenu:hover > a::after { transform: rotate(-135deg); margin-top: 2px; }
.submenu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 0.5rem;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--transition);
}
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 0.625rem 0.875rem; border-radius: var(--radius-sm); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-switcher { position: relative; }
.lang-switcher__btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
    font-size: 0.85rem; font-weight: 600; color: var(--text-soft);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.lang-switcher__btn:hover { background: var(--bg-muted); color: var(--primary); }
.lang-switcher__dropdown {
    position: absolute; top: 100%; right: 0; min-width: 160px; margin-top: 0.25rem;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--transition);
}
.lang-switcher.open .lang-switcher__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switcher__dropdown a {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
    font-size: 0.9rem;
}
.lang-switcher__dropdown a.active, .lang-switcher__dropdown a:hover { background: var(--primary-soft); color: var(--primary); }

/* Mobile nav */
.nav-toggle {
    display: none; width: 44px; height: 44px;
    border-radius: var(--radius-sm); align-items: center; justify-content: center;
    color: var(--text);
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: currentColor;
    position: relative; transition: all var(--transition);
}
.nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
    transition: all var(--transition);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .nav-main {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        flex-direction: column; gap: 0; align-items: stretch;
        background: #fff; padding: 1.5rem 1.25rem;
        transform: translateX(100%); transition: transform var(--transition);
        overflow-y: auto;
    }
    .nav-main.open { transform: translateX(0); }
    .nav-main a { padding: 1rem 0.875rem; font-size: 1.05rem; }
    .nav-main .has-submenu > a::after { margin-left: auto; }
    .submenu {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        background: var(--bg-soft); padding: 0.25rem 1rem; margin: 0.25rem 0 0.5rem; max-height: 0; overflow: hidden;
        transition: max-height var(--transition); padding-top: 0; padding-bottom: 0;
    }
    .has-submenu.open .submenu { max-height: 500px; padding: 0.5rem 1rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(ellipse at top right, rgba(46, 204, 113, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(241, 196, 15, 0.06), transparent 60%),
        var(--bg);
    overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.hero__title { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.05; margin-bottom: 1.5rem; }
.hero__title em { font-style: normal; color: var(--primary); position: relative; display: inline-block; }
.hero__title em::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
    background: rgba(46, 204, 113, 0.18); z-index: -1; border-radius: 4px;
}
.hero__lead { font-size: 1.2rem; line-height: 1.6; color: var(--text-soft); margin-bottom: 2rem; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 460px; }
.hero__stat-value { font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.hero__stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.hero__visual {
    position: relative; aspect-ratio: 4/5; border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #1a1d23, #0a0d12);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
    position: absolute; top: 1.5rem; left: 1.5rem; z-index: 2;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
    padding: 0.5rem 1rem; border-radius: 100px;
    font-size: 0.8rem; font-weight: 600; color: var(--text);
    display: inline-flex; align-items: center; gap: 0.4rem;
}
.hero__badge::before {
    content: ''; width: 8px; height: 8px; background: var(--primary); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
    50%      { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
}

/* ---------- Card ---------- */
.card {
    background: #fff; border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-muted); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.25rem 1.5rem 1.5rem; }
.card__category {
    display: inline-block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--primary); margin-bottom: 0.5rem;
}
.card__title { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--primary); }
.card__excerpt { font-size: 0.9rem; color: var(--text-soft); line-height: 1.55; }
.card__meta { display: flex; gap: 0.75rem; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; }

/* Feature card */
.feature {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.75rem;
    transition: all var(--transition);
}
.feature:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon {
    width: 52px; height: 52px; border-radius: var(--radius);
    background: var(--primary-soft); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__title { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature__text { font-size: 0.92rem; color: var(--text-soft); line-height: 1.55; }

/* Testimonial */
.testimonial {
    background: #fff; border-radius: var(--radius-lg); padding: 2rem;
    border: 1px solid var(--border); position: relative;
}
.testimonial::before {
    content: '"'; position: absolute; top: -8px; left: 1.5rem;
    font-size: 6rem; line-height: 1; color: var(--primary); font-family: Georgia, serif;
    font-weight: 700;
}
.testimonial__rating { color: var(--accent); margin-bottom: 0.75rem; }
.testimonial__content { font-size: 1rem; line-height: 1.6; color: var(--text-soft); margin-bottom: 1.5rem; padding-top: 1.5rem; }
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-muted); }
.testimonial__name { font-weight: 600; font-size: 0.95rem; }
.testimonial__position { font-size: 0.82rem; color: var(--text-muted); }

/* Clients grid */
.clients-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: center;
}
@media (min-width: 640px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .clients-grid { grid-template-columns: repeat(6, 1fr); } }
.clients-grid__item {
    aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
    padding: 1rem; opacity: 0.55; filter: grayscale(100%);
    transition: all var(--transition);
}
.clients-grid__item:hover { opacity: 1; filter: grayscale(0); }
.clients-grid__item img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-control {
    width: 100%; padding: 0.875rem 1rem;
    background: #fff;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 0.95rem; color: var(--text);
    transition: all var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(46,204,113,0.12); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 140px; resize: vertical; font-family: inherit; }
.form-check { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.88rem; color: var(--text-soft); }
.form-check input { margin-top: 0.25rem; accent-color: var(--primary); }
.form-error { color: #dc3545; font-size: 0.82rem; margin-top: 0.25rem; }
.form-success { background: rgba(46,204,113,0.1); color: var(--primary-dark); padding: 1rem; border-radius: var(--radius-sm); }
.form-fail    { background: rgba(220,53,69,0.1); color: #b91c1c; padding: 1rem; border-radius: var(--radius-sm); }

/* ---------- Filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem; border-radius: 100px;
    background: var(--bg-soft); color: var(--text-soft);
    font-size: 0.88rem; font-weight: 500;
    cursor: pointer; transition: all var(--transition);
    border: 1.5px solid transparent;
}
.chip:hover { background: var(--primary-soft); color: var(--primary); }
.chip.active { background: var(--primary); color: #fff; }
.chip__count { opacity: 0.65; font-size: 0.78rem; }

/* ---------- FAQ accordion ---------- */
.faq-item {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 0.75rem; overflow: hidden;
    transition: all var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1rem;
    cursor: pointer; width: 100%; text-align: left; color: var(--text);
}
.faq-q::after {
    content: ''; width: 11px; height: 11px; flex-shrink: 0;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform var(--transition);
    color: var(--text-muted); margin-left: 1rem;
}
.faq-item.open .faq-q::after { transform: rotate(-135deg); color: var(--primary); }
.faq-a {
    max-height: 0; overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height var(--transition), padding var(--transition);
}
.faq-item.open .faq-a { max-height: 1000px; padding: 0 1.5rem 1.5rem; }
.faq-a p { color: var(--text-soft); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem;
}
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span:not(:last-child)::after { content: '/'; margin-left: 0.5rem; opacity: 0.5; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-dark); color: rgba(255,255,255,0.7);
    padding: 4rem 0 1.5rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-links a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    font-size: 0.85rem;
}

/* ---------- Lightbox / Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.gallery__item {
    aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden;
    cursor: pointer; background: var(--bg-muted);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery__item:hover img { transform: scale(1.05); }

.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.95);
    display: none; align-items: center; justify-content: center;
    padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox__close, .lightbox__prev, .lightbox__next {
    position: absolute; width: 48px; height: 48px;
    background: rgba(255,255,255,0.1); border-radius: 50%;
    color: #fff; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev  { left: 1.5rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.2); }

/* ---------- Utilities ---------- */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mt-4 { margin-top: 2rem !important; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p  { color: var(--text-soft); font-size: 1.05rem; }

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-muted) 0%, var(--bg-soft) 50%, var(--bg-muted) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.4s ease-in-out infinite;
}
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Lazy fade-in */
.lazy-image { opacity: 0; transition: opacity var(--transition-slow); }
.lazy-image.loaded { opacity: 1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: all var(--transition-slow); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Print */
@media print {
    .site-header, .site-footer, .nav-toggle, .lang-switcher { display: none !important; }
    body { padding-top: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}
