html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* KURUMSAL RENKLER (logo laciverti + krem + bronz) */
:root {
    --bg-dark: #0f172a;
    --bg-light: #f6f5f1;
    --bg-card: #ffffff;
    --text-dark: #111827;
    --text-light: #ffffff;
    --text-gray: #5b6472;
    --navy: #374d63;
    --accent: #c9a063;
    --accent-strong: #a67c3d;
    --border-color: #e3e1da;
    --nav-bg: rgba(246, 245, 241, 0.94);
    --bg-about-modal: rgba(246, 245, 241, 0.82);
    --transition-speed: 0.8s;
}
html.dark-theme {
    --bg-light: #060d19;
    --bg-card: #0b1526;
    --text-dark: #f1f5f9;
    --text-gray: #94a3b8;
    --border-color: #16243a;
    --nav-bg: rgba(6, 13, 25, 0.94);
    --bg-about-modal: rgba(6, 13, 25, 0.86);
    --accent-strong: #c9a063;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* AÇILIŞ VİDEOSU — oturum başına bir kez, atlanabilir */
#intro-screen {
    position: fixed; inset: 0; background-color: #ffffff; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#intro-video { width: 100%; height: 100%; object-fit: contain; pointer-events: none; padding: 20px; }
#intro-skip {
    position: absolute; bottom: 30px; right: 30px; background: none; border: 1px solid #c7ccd4;
    color: #374d63; padding: 8px 18px; font: 500 11px 'Inter', sans-serif; letter-spacing: 3px;
    text-transform: uppercase; cursor: pointer; border-radius: 2px;
}
#intro-skip:hover { border-color: var(--accent); color: var(--accent-strong); }
.fade-out { opacity: 0; visibility: hidden; }
html.intro-seen #intro-screen { display: none; }

/* ARKA PLAN AĞ ANİMASYONU */
#mesh-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }

/* MENÜ */
nav {
    position: fixed; top: 0; width: 100%; padding: 18px 50px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; background: var(--nav-bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 5px rgba(0,0,0,0.05); transition: background 0.5s ease;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 40px; width: 40px; animation: logoDigitalGlow 6s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes logoDigitalGlow {
    0%, 50%, 100% { filter: drop-shadow(0 0 0 transparent); }
    52%, 94% { filter: drop-shadow(0 0 8px #0ea5e9); }
    55%, 90% { filter: drop-shadow(0 0 10px rgba(201, 160, 99, 0.6)); }
}
.brand-text-wrapper { display: flex; align-items: center; font-size: 20px; letter-spacing: 2px; font-weight: 600; color: var(--text-dark); overflow: hidden; }
.b-letter, .user-letters { animation: textDigitalGlow 6s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }
.im-letters {
    display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
    animation: textDigitalGlow 6s infinite, counterTick 6s infinite steps(3, end);
}
@keyframes textDigitalGlow {
    0%, 50%, 100% { color: var(--text-dark); text-shadow: none; }
    52%, 94% { color: #0ea5e9; text-shadow: 0 0 12px #0ea5e9; }
    55%, 90% { color: var(--accent); text-shadow: 0 0 15px rgba(201, 160, 99, 0.5); }
}
@keyframes counterTick {
    0%, 50%, 100% { max-width: 0; opacity: 0; }
    52% { opacity: 1; }
    55%, 90% { max-width: 40px; opacity: 1; }
    94% { max-width: 0; opacity: 1; }
}

.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { color: var(--text-dark); text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: 3px; font-weight: 500; transition: color 0.3s ease; cursor: pointer; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--accent); padding: 8px 18px; }
.nav-cta:hover { background: var(--accent); color: #0f172a !important; }

.icon-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-dark); transition: transform 0.3s ease, color 0.3s ease; }
.icon-btn:hover { color: var(--accent); }
.theme-switch:hover { transform: scale(1.1) rotate(10deg); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-sun { display: none; }
html.dark-theme .icon-sun { display: block; }
html.dark-theme .icon-moon { display: none; }
.menu-btn { display: none; }

/* BÖLÜMLER */
section { width: 100%; }
.container { max-width: 1400px; margin: 0 auto; padding: 120px 5vw; }
.light-section { position: relative; z-index: 2; background-color: var(--bg-light); transition: background-color 0.5s ease; }
.dark-section { position: relative; z-index: 0; background-color: transparent; color: var(--text-light); }
.dark-section .container, .dark-section .hero-content { position: relative; z-index: 2; }

.eyebrow { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 6px; color: var(--accent-strong); margin-bottom: 14px; font-weight: 500; }
.dark-section .eyebrow { color: var(--accent); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; border-bottom: 1px solid var(--border-color); padding-bottom: 24px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; line-height: 1.2; color: var(--text-dark); }
.section-lead { max-width: 520px; color: var(--text-gray); font-weight: 300; }

/* HERO */
.hero {
    position: relative; width: 100%; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center; z-index: 0; padding: 120px 20px 60px;
    background: linear-gradient(rgba(10, 12, 18, 0.82), rgba(10, 12, 18, 0.94)), url('../images/hero-arkaplan.jpg') center/cover no-repeat;
}
.hero .eyebrow { letter-spacing: 7px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 300; letter-spacing: -2px; line-height: 1.1; margin-bottom: 26px; color: var(--text-light); }
.hero h1 em { font-family: 'Playfair Display', serif; font-style: italic; color: var(--accent); font-weight: 400; }
.hero-sub { max-width: 640px; margin: 0 auto 46px; font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.78); }
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; border: 1px solid var(--accent); padding: 15px 36px; color: var(--text-light); text-decoration: none; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; transition: all 0.3s ease; cursor: pointer; background: none; font-family: inherit; }
.btn:hover, .btn-solid { background-color: var(--accent); color: #0f172a; }
.btn-solid:hover { background: transparent; color: var(--text-light); }
.hero-pillars { display: flex; gap: 12px 34px; justify-content: center; flex-wrap: wrap; margin-top: 70px; font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.hero-pillars span::before { content: '—'; color: var(--accent); margin-right: 10px; }

/* HİZMETLER */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border-color); border: 1px solid var(--border-color); }
.service-item { background: var(--bg-light); padding: 44px 36px; transition: background-color 0.4s ease; position: relative; }
.service-item:hover { background: var(--bg-card); }
.service-icon { width: 42px; height: 42px; color: var(--accent-strong); margin-bottom: 26px; }
.service-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1.5px; }
.service-item p { color: var(--text-gray); font-weight: 300; font-size: 0.97rem; }
.service-item ul { list-style: none; margin-top: 16px; }
.service-item li { font-size: 0.85rem; color: var(--text-gray); padding: 5px 0; border-top: 1px dashed var(--border-color); }
.service-item li::before { content: '+ '; color: var(--accent-strong); }
.tag { position: absolute; top: 20px; right: 20px; font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-strong); border: 1px solid var(--accent); padding: 2px 8px; }

/* SÜREÇ */
.process-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; counter-reset: step; }
.process-list li { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 26px; position: relative; }
.process-list li::before { counter-increment: step; content: '0' counter(step); display: block; font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.process-list li::after { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.process-list h3 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.process-list p { font-size: 0.9rem; color: rgba(255,255,255,0.66); font-weight: 300; }
.dark-section .section-head { border-color: rgba(255,255,255,0.15); }
.dark-section .section-title { color: var(--text-light); }
.dark-section .section-lead { color: rgba(255,255,255,0.66); }

/* PROJELER */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn { background: none; border: 1px solid var(--border-color); color: var(--text-gray); padding: 8px 16px; font: 500 11px 'Inter', sans-serif; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; }
.filter-btn:hover { border-color: var(--accent); color: var(--text-dark); }
.filter-btn.active { background: var(--text-dark); border-color: var(--text-dark); color: var(--bg-light); }
.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 44px 40px; }
.project-card { cursor: pointer; position: relative; background: none; border: none; text-align: left; font: inherit; color: inherit; }
.project-card[hidden] { display: none; }
.project-img-wrapper { overflow: hidden; aspect-ratio: 16/9; background-color: var(--border-color); margin-bottom: 18px; }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.project-card:hover .project-img, .project-card:focus-visible .project-img { transform: scale(1.05); }
.project-info h3 { font-size: 1.4rem; font-weight: 500; color: var(--text-dark); transition: color 0.3s ease; }
.project-card:hover .project-info h3 { color: var(--accent-strong); }
.project-info p { color: var(--text-gray); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-top: 4px; }

/* VİZYON */
.about-content { text-align: center; max-width: 960px !important; }
.about-text { font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 300; line-height: 1.6; }
.about-text strong { color: var(--accent); font-weight: 400; }

/* NEDEN BUSER */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 50px; }
.why-item h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 1.35rem; margin-bottom: 12px; }
.why-item p { color: var(--text-gray); font-weight: 300; font-size: 0.97rem; }
.why-item .num { display: block; width: 36px; height: 1px; background: var(--accent); margin-bottom: 22px; }

/* İLETİŞİM / TEKLİF */
footer { background-color: transparent; border-top: 1px solid rgba(255, 255, 255, 0.1); position: relative; z-index: 0; }
footer .container { position: relative; z-index: 2; color: var(--text-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.contact-grid h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 24px; }
.contact-grid .lead { color: rgba(255,255,255,0.7); font-weight: 300; margin-bottom: 36px; }
.contact-lines { list-style: none; }
.contact-lines li { margin-bottom: 16px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; color: var(--text-light); text-decoration: none; letter-spacing: 1px; opacity: 0.85; transition: all 0.3s ease; }
.contact-lines a:hover { color: var(--accent); opacity: 1; }
.contact-lines svg { width: 20px; height: 20px; flex-shrink: 0; }

.quote-form { background: rgba(8, 14, 26, 0.72); border: 1px solid rgba(201, 160, 99, 0.25); padding: 40px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.7rem; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.field input, .field select, .field textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.25);
    color: var(--text-light); padding: 10px 0; font: 300 1rem 'Inter', sans-serif; transition: border-color 0.3s ease;
}
.field select option { color: #111827; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 14px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 80px; padding-top: 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255, 255, 255, 0.5); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; }

/* BAŞA DÖN */
#scrollTopBtn {
    position: fixed; bottom: 40px; right: 40px; width: 50px; height: 50px;
    background-color: var(--accent); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 99; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); border: none;
}
#scrollTopBtn.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTopBtn:hover { background-color: var(--navy); transform: translateY(-5px); }
#scrollTopBtn svg { width: 24px; height: 24px; }

/* MODALLAR */
.modal-overlay { display: none; position: fixed; inset: 0; background-color: rgba(10, 10, 12, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1000; overflow-y: auto; padding: 40px 20px; opacity: 0; transition: opacity 0.4s ease; }
.modal-overlay.open { display: block; }
.modal-overlay.active { opacity: 1; }
.modal-close-btn { position: absolute; top: 14px; right: 18px; font-size: 40px; font-weight: 300; color: #ffffff; cursor: pointer; z-index: 10; line-height: 1; background: none; border: none; text-shadow: 0 2px 4px rgba(0,0,0,0.6); transition: color 0.3s ease; }
.modal-close-btn:hover { color: var(--accent); }
.modal-content { background-color: var(--bg-light); max-width: 1000px; margin: 0 auto; position: relative; border-radius: 4px; overflow: hidden; transform: translateY(50px); transition: transform 0.4s ease, background-color 0.5s ease; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header-img { width: 100%; height: 55vh; object-fit: cover; background: #0f172a; }
.modal-body { padding: 50px; }
.modal-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 400; font-family: 'Playfair Display', serif; color: var(--text-dark); margin-bottom: 8px; }
.modal-category { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; color: var(--accent-strong); margin-bottom: 26px; }
.modal-desc { font-size: 1.05rem; color: var(--text-gray); line-height: 1.8; margin-bottom: 36px; }
.modal-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.modal-gallery button { border: 2px solid transparent; padding: 0; cursor: pointer; background: none; transition: border-color 0.3s ease; }
.modal-gallery button.current { border-color: var(--accent); }
.modal-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

#aboutMeModal.modal-overlay { background-color: rgba(10, 10, 12, 0.45); backdrop-filter: none; -webkit-backdrop-filter: none; }
#aboutMeModal .modal-content { background-color: var(--bg-about-modal); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(201, 160, 99, 0.3); box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.about-me-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; padding: 50px; }
.about-me-img-wrapper { width: 100%; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; }
.about-me-img { width: 100%; height: 100%; object-fit: cover; }
.cv-section-title { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-top: 28px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 2px; }
.cv-list { list-style: none; color: var(--text-gray); line-height: 1.8; font-weight: 300; }
.cv-list li { margin-bottom: 4px; }
.cv-list li::before { content: '• '; color: var(--accent-strong); }

/* KAYDIRMA ANİMASYONLARI (JS yoksa içerik görünür kalır) */
.js .hidden-anim { opacity: 0; transform: translateY(40px); transition: opacity var(--transition-speed) ease-out, transform var(--transition-speed) ease-out; }
.js .hidden-anim.show-anim { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .js .hidden-anim { opacity: 1; transform: none; }
    #mesh-canvas { display: none; }
}

@media screen and (max-width: 1100px) {
    .process-list { grid-template-columns: repeat(2, 1fr); }
        .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    nav { padding: 16px 30px; }
    .nav-links { gap: 22px; }
}
@media screen and (max-width: 900px) {
    nav { padding: 14px 20px; }
    .menu-btn { display: flex; }
    .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background-color: var(--bg-light); box-shadow: 0 12px 24px rgba(0,0,0,0.15); text-align: center; padding: 30px 0; gap: 24px; transform: translateX(-100%); visibility: hidden; transition: transform 0.4s ease, visibility 0.4s; }
    .nav-links.active { transform: translateX(0); visibility: visible; }
    .nav-cta { display: inline-block; }
    .nav-right { gap: 20px; }
}
@media screen and (max-width: 768px) {
    .container { padding: 90px 20px; }
    .process-list { grid-template-columns: 1fr; }
        .form-row { grid-template-columns: 1fr; gap: 0; }
    .quote-form { padding: 28px 20px; }
    .about-me-grid { grid-template-columns: 1fr; padding: 30px 20px; }
    .about-me-img-wrapper { aspect-ratio: 1/1; }
    .modal-body { padding: 30px 20px; }
    .modal-header-img { height: 38vh; }
    #scrollTopBtn { bottom: 20px; right: 20px; width: 42px; height: 42px; }
    .service-item { padding: 36px 24px; }
    .brand-text-wrapper { font-size: 17px; }
}

/* ================= EK BİLEŞENLER ================= */

/* Proje kartı artık bir bağlantı */
a.project-card { display: block; text-decoration: none; }
.project-more { display: inline-block; margin-top: 10px; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-strong); opacity: 0; transform: translateX(-6px); transition: all 0.3s ease; }
.project-card:hover .project-more, .project-card:focus-visible .project-more { opacity: 1; transform: none; }

/* ÇİZGİDEN GERÇEĞE KAYDIRICI */
.compare-wrap { display: grid; grid-template-columns: 1fr 2.2fr; gap: 60px; align-items: center; }
.compare-text p { color: var(--text-gray); font-weight: 300; margin-bottom: 26px; }
.compare-text .hint { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-strong); display: flex; align-items: center; gap: 10px; }
.compare {
    --pos: 50%;
    position: relative; aspect-ratio: 16 / 9; overflow: hidden; user-select: none; -webkit-user-select: none;
    background: #0c1626; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.45); touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .compare-top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; box-shadow: 0 0 12px rgba(201, 160, 99, 0.6); }
.compare-knob {
    position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
    background: var(--accent); color: #0f172a; display: flex; align-items: center; justify-content: center; pointer-events: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35); transition: transform 0.2s ease;
}
.compare-knob svg { width: 26px; height: 26px; }
.compare:hover .compare-knob { transform: scale(1.08); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.compare-range:focus-visible ~ .compare-knob { outline: 3px solid #fff; outline-offset: 3px; }
.compare-label { position: absolute; top: 18px; padding: 6px 14px; font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; background: rgba(12, 22, 38, 0.72); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; }
.compare-label.left { left: 18px; color: #7dd3fc; }
.compare-label.right { right: 18px; }

/* WHATSAPP */
.wa-float {
    position: fixed; right: 40px; bottom: 40px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center; z-index: 98; box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}
.wa-float:hover { transform: translateY(-4px); }
.wa-float svg { width: 30px; height: 30px; }
.has-wa #scrollTopBtn { bottom: 108px; }
[data-phone][hidden] { display: none !important; }

/* PROJE DETAY SAYFASI */
.page-hero {
    position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--text-light); z-index: 0;
    background-size: cover; background-position: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,18,0.35) 0%, rgba(10,12,18,0.15) 40%, rgba(10,12,18,0.88) 100%); }
.page-hero .container { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 70px; width: 100%; }
.crumbs { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 22px; color: rgba(255,255,255,0.7); }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 14px; }
.page-hero .cat { font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }

.project-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; align-items: start; }
.project-desc p { font-size: 1.12rem; font-weight: 300; color: var(--text-gray); line-height: 1.9; }
.project-desc p + p { margin-top: 18px; }
.facts { border-top: 2px solid var(--accent); background: var(--bg-card); padding: 34px 32px; }
.facts h2 { font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase; color: var(--text-gray); font-weight: 500; margin-bottom: 18px; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; }
.facts dt { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-gray); padding-top: 3px; }
.facts dd { font-size: 0.97rem; color: var(--text-dark); }
.facts .facts-cta { margin-top: 28px; display: block; text-align: center; color: var(--text-dark); }
.facts .facts-cta:hover { color: #0f172a; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery a { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--border-color); }
.gallery a:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery a:hover img { transform: scale(1.04); }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border-color); }
.pager a { padding: 44px 5vw; text-decoration: none; color: var(--text-dark); transition: background-color 0.3s ease; }
.pager a:hover { background: var(--bg-card); }
.pager a + a { text-align: right; border-left: 1px solid var(--border-color); }
.pager small { display: block; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 8px; }
.pager span { font-family: 'Playfair Display', serif; font-size: clamp(1.1rem, 2.4vw, 1.6rem); }

.cta-band { text-align: center; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.7); font-weight: 300; margin: 0 auto 36px; max-width: 560px; }
.simple-footer { text-align: center; padding: 34px 20px; color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 2; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 10, 18, 0.95); display: none; align-items: center; justify-content: center; padding: 60px 70px 96px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb-btn { position: absolute; background: none; border: none; color: #fff; cursor: pointer; font-size: 44px; line-height: 1; padding: 10px 16px; opacity: 0.8; transition: all 0.3s ease; }
.lb-btn:hover { opacity: 1; color: var(--accent); }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.6); font-size: 0.8rem; letter-spacing: 3px; }

@media screen and (max-width: 1100px) {
    .compare-wrap { grid-template-columns: 1fr; gap: 36px; }
    .project-layout { grid-template-columns: 1fr; gap: 50px; }
}
@media screen and (max-width: 768px) {
    .wa-float { right: 20px; bottom: 20px; width: 50px; height: 50px; }
    .has-wa #scrollTopBtn { bottom: 84px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery a:first-child { aspect-ratio: 16 / 10; }
    .pager a { padding: 30px 20px; }
    .page-hero { min-height: 62vh; }
    .page-hero .container { padding-top: 120px; padding-bottom: 44px; }
    .facts { padding: 28px 22px; }
    .lightbox { padding: 50px 10px 100px; }
    .compare-knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
}

/* ÖNE ÇIKAN HİZMETLER + EKİP */
.service-item { grid-column: span 2; }
.service-item.featured { grid-column: span 3; background: #0f172a; color: #f1f5f9; padding: 56px 48px; }
.service-item.featured:hover { background: #111c33; }
html.dark-theme .service-item.featured { background: #0d1a2e; }
.service-item.featured .service-icon { color: var(--accent); width: 52px; height: 52px; }
.service-item.featured h3 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: none; letter-spacing: 0; font-weight: 400; margin-bottom: 16px; }
.service-item.featured p { color: rgba(241, 245, 249, 0.72); font-size: 1.02rem; max-width: 520px; }
.service-item.featured ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; margin-top: 24px; }
.service-item.featured li { color: rgba(241, 245, 249, 0.8); border-top-color: rgba(255, 255, 255, 0.12); font-size: 0.9rem; }
.service-item.featured li::before { color: var(--accent); }
.svc-no { position: absolute; top: 34px; right: 40px; font-family: 'Playfair Display', serif; font-size: 3.4rem; line-height: 1; color: rgba(201, 160, 99, 0.35); }
.svc-cta { display: inline-flex; gap: 10px; margin-top: 30px; color: var(--accent); text-decoration: none; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; border-bottom: 1px solid rgba(201, 160, 99, 0.4); padding-bottom: 6px; transition: gap 0.3s ease, border-color 0.3s ease; }
.svc-cta:hover { gap: 16px; border-color: var(--accent); }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.person { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 32px; align-items: start; }
.person-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--border-color); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); }
.person-photo.placeholder { display: flex; align-items: center; justify-content: center; background: #0f172a; }
.person-photo.placeholder img { width: 38%; height: auto; opacity: 0.5; }
.person-body h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.person-role { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-strong); margin: 6px 0 16px; }
.person-body > p:not(.person-role) { color: var(--text-gray); font-weight: 300; }
.person details { margin-top: 20px; border-top: 1px solid var(--border-color); padding-top: 14px; }
.person summary { cursor: pointer; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dark); list-style: none; display: flex; align-items: center; gap: 10px; }
.person summary::-webkit-details-marker { display: none; }
.person summary::before { content: '+'; color: var(--accent-strong); font-size: 1.1rem; transition: transform 0.3s ease; }
.person details[open] summary::before { transform: rotate(45deg); }
.person h4 { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin: 18px 0 6px; color: var(--text-dark); font-weight: 600; }
.person .cv-list { font-size: 0.92rem; }

@media screen and (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-item, .service-item.featured { grid-column: span 1; }
    .service-item:last-child { grid-column: span 2; }
    .team-grid { grid-template-columns: 1fr; }
    .service-item.featured ul { grid-template-columns: 1fr; }
}
@media screen and (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-item:last-child { grid-column: span 1; }
    .service-item.featured { padding: 44px 24px; }
    .service-item.featured ul { grid-template-columns: 1fr; }
    .svc-no { top: 26px; right: 24px; font-size: 2.6rem; }
    .person { grid-template-columns: 1fr; gap: 22px; }
    .person-photo { max-width: 260px; }
}

/* ================= SİZİ ARAYALIM ASİSTANI ================= */
.chat-launcher {
    position: fixed; right: 40px; bottom: 40px; z-index: 98; height: 56px; padding: 0 22px 0 8px; border-radius: 28px;
    display: flex; align-items: center; gap: 12px; border: none; cursor: pointer; background: #0f172a; color: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35); font: 500 12px 'Inter', sans-serif; letter-spacing: 2px; text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.chat-launcher:hover { transform: translateY(-3px); }
.chat-launcher-icon { width: 40px; height: 40px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; }
.chat-launcher-icon svg { width: 20px; height: 20px; }
.chat-launcher.active { background: #1c2a3f; }
html.dark-theme .chat-launcher { background: #c9a063; color: #0f172a; }
.chat-panel {
    position: fixed; right: 40px; bottom: 110px; z-index: 1001; width: 370px; height: min(600px, calc(100vh - 150px));
    display: flex; flex-direction: column; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.45); opacity: 0; transform: translateY(16px); transition: opacity 0.25s ease, transform 0.25s ease;
}
.chat-panel[hidden] { display: none; }
.chat-panel.open { opacity: 1; transform: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #0f172a; color: #fff; }
.chat-head img { width: 36px; height: 36px; }
.chat-head div { flex: 1; line-height: 1.3; }
.chat-head strong { display: block; font-weight: 600; font-size: 0.95rem; }
.chat-head span { font-size: 0.75rem; color: #a9b4c4; }
.chat-close { background: none; border: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; opacity: 0.8; }
.chat-close:hover { opacity: 1; color: var(--accent); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; animation: msgIn 0.25s ease; }
.msg.bot { align-self: flex-start; background: var(--bg-card); color: var(--text-dark); border: 1px solid var(--border-color); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: #0f172a; color: #fff; border-bottom-right-radius: 4px; }
html.dark-theme .msg.user { background: #c9a063; color: #0f172a; }
.msg .muted { color: var(--text-gray); font-size: 0.82rem; }
.msg em { color: #b45309; font-style: normal; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.msg.typing { display: flex; gap: 4px; padding: 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-gray); animation: dot 1s infinite ease-in-out; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; } .msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip { border: 1px solid var(--accent); background: transparent; color: var(--text-dark); padding: 8px 14px; border-radius: 18px; font: 500 0.82rem 'Inter', sans-serif; cursor: pointer; text-decoration: none; transition: all 0.2s ease; }
.chip:hover:not(:disabled) { background: var(--accent); color: #0f172a; }
.chip.solid { background: var(--accent); color: #0f172a; }
.chip.solid:disabled { opacity: 0.45; cursor: not-allowed; }
.chip.ghost { border-color: var(--border-color); color: var(--text-gray); }
.summary { display: grid; gap: 6px; font-size: 0.85rem; }
.summary span { display: inline-block; min-width: 64px; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-strong); }
.consent { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; font-size: 0.78rem; color: var(--text-gray); line-height: 1.5; }
.consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input[type=checkbox] { margin-top: 3px; accent-color: #a67c3d; width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--accent-strong); }
.consent .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent .ts:not(:empty) { margin-top: 10px; }
.consent-actions { display: flex; justify-content: space-between; margin-top: 12px; gap: 8px; }
.chat-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border-color); background: var(--bg-card); }
.chat-input input { flex: 1; border: 1px solid var(--border-color); background: var(--bg-light); color: var(--text-dark); border-radius: 20px; padding: 10px 14px; font: 400 0.9rem 'Inter', sans-serif; min-width: 0; }
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input input:disabled { opacity: 0.5; }
.chat-input button { width: 40px; height: 40px; border-radius: 50%; border: none; background: #0f172a; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-input button:disabled { opacity: 0.35; cursor: default; }
.chat-input button svg { width: 18px; height: 18px; }
@media screen and (max-width: 768px) {
    .chat-launcher { right: 16px; bottom: 16px; height: 52px; padding: 0 16px 0 6px; font-size: 11px; }
    .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 88vh; height: 88dvh; border-radius: 16px 16px 0 0; }
    .has-wa #scrollTopBtn { bottom: 80px; }
}

/* ================= İLETİŞİM (yeniden) ================= */
.call-card {
    width: 100%; display: flex; align-items: center; gap: 18px; text-align: left; cursor: pointer; margin: 6px 0 36px;
    padding: 20px 22px; border-radius: 14px; border: 1px solid rgba(201, 160, 99, 0.45); background: rgba(201, 160, 99, 0.08);
    color: var(--text-light); font-family: inherit; transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.call-card:hover { background: rgba(201, 160, 99, 0.16); border-color: var(--accent); transform: translateY(-2px); }
.call-icon { width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.call-icon svg { width: 22px; height: 22px; }
.call-text { flex: 1; }
.call-text strong { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.5px; }
.call-text small { display: block; color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-top: 2px; }
.call-arrow { font-size: 1.4rem; color: var(--accent); transition: transform 0.3s ease; }
.call-card:hover .call-arrow { transform: translateX(4px); }

.quote-form { border-radius: 14px; }
.qf-head h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 1.6rem; margin-bottom: 4px; }
.qf-head p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 26px; }
.quote-form fieldset { border: none; padding: 0; margin: 0 0 22px; }
.quote-form legend { display: block; font-size: 0.7rem; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.svc-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-pick label { cursor: pointer; }
.svc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.svc-pick span { display: inline-block; padding: 9px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.22); font-size: 0.85rem; color: rgba(255,255,255,0.85); transition: all 0.2s ease; }
.svc-pick label:hover span { border-color: var(--accent); }
.svc-pick input:checked + span { background: var(--accent); border-color: var(--accent); color: #0f172a; font-weight: 500; }
.svc-pick input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.field .opt { text-transform: none; letter-spacing: 0; opacity: 0.7; }
.field select { cursor: pointer; }
.quote-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.78rem; line-height: 1.5; color: rgba(255,255,255,0.6); margin: 4px 0 22px; cursor: pointer; }
.qf-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: #c9a063; flex-shrink: 0; }
.qf-consent a { color: var(--accent); }
.qf-submit { width: 100%; border-radius: 30px; font-weight: 600; }
.qf-submit:disabled { opacity: 0.6; cursor: wait; }
.form-note.err { color: #fca5a5; }
.form-note a { color: var(--accent); }
.qf-done { text-align: center; padding: 40px 10px; }
.qf-check { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: #25d366; color: #fff; font-size: 30px; align-items: center; justify-content: center; margin-bottom: 18px; }
.qf-done h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 1.7rem; margin-bottom: 10px; }
.qf-done p { color: rgba(255,255,255,0.75); }
.svc-pick label { display: inline-block; margin: 0; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
#contact { z-index: 2; background-color: #0f172a; }

/* UYGULAMALAR (şantiye) */
.btn-outline { color: var(--text-dark); }
.btn-outline:hover { color: #0f172a; }
.works-teaser { border-top: 1px solid var(--border-color); }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--border-color); color: #fff; text-decoration: none; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.work-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,18,0) 35%, rgba(10,12,18,0.88) 100%); transition: background 0.4s ease; }
.work-card:hover img { transform: scale(1.05); }
.work-card:hover::after { background: linear-gradient(180deg, rgba(10,12,18,0.1) 20%, rgba(10,12,18,0.92) 100%); }
.work-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.work-no { font-family: 'Playfair Display', serif; color: var(--accent); font-size: 1.5rem; line-height: 1; margin-bottom: 6px; }
.work-card strong { font-weight: 500; font-size: 1rem; line-height: 1.3; }
.work-card small { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.works-more { text-align: center; margin-top: 50px; }

.stage-nav { position: sticky; top: 76px; z-index: 5; background: var(--nav-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.stage-nav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 5vw; scrollbar-width: none; max-width: 1400px; margin: 0 auto; }
.stage-nav-inner::-webkit-scrollbar { display: none; }
.stage-nav a { flex: 0 0 auto; display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border: 1px solid var(--border-color); color: var(--text-gray); text-decoration: none; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; transition: all 0.3s ease; white-space: nowrap; }
.stage-nav a span { color: var(--accent-strong); font-weight: 600; }
.stage-nav a:hover, .stage-nav a.active { border-color: var(--accent); color: var(--text-dark); background: var(--bg-card); }
.stage { scroll-margin-top: 130px; }
.stage.alt-tone { background-color: var(--bg-card); }
.stage-head { display: grid; grid-template-columns: auto 1.4fr 1fr; gap: 40px; align-items: start; margin-bottom: 44px; }
.stage-no { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 0.9; color: var(--accent); }
.stage-text h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; margin-bottom: 16px; color: var(--text-dark); }
.stage-text p { color: var(--text-gray); font-weight: 300; }
.stage-list { list-style: none; border-top: 2px solid var(--accent); padding-top: 10px; }
.stage-list li { font-size: 0.9rem; color: var(--text-dark); padding: 10px 0; border-bottom: 1px dashed var(--border-color); }
.stage-list li::before { content: '+ '; color: var(--accent-strong); }
.work-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.work-gallery a { position: relative; display: block; overflow: hidden; background: var(--border-color); flex-grow: var(--r, 1); flex-basis: calc(var(--r, 1) * 300px); height: 300px; }
.work-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.work-gallery a:hover img { transform: scale(1.04); }
.work-gallery a::after { content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 0.78rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(10,12,18,0.85)); opacity: 0; transform: translateY(6px); transition: all 0.35s ease; }
.work-gallery a:hover::after, .work-gallery a:focus-visible::after { opacity: 1; transform: none; }
.lb-count span { display: block; letter-spacing: 0.5px; font-size: 0.9rem; color: rgba(255,255,255,0.88); margin-top: 6px; }
@media (max-width: 1100px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .stage-head { grid-template-columns: auto 1fr; }
    .stage-list { grid-column: 1 / -1; }
    .work-gallery a { flex-basis: calc(var(--r, 1) * 240px); height: 240px; }
}
@media (max-width: 700px) {
    .works-grid { gap: 10px; }
    .work-card-body { padding: 14px 12px; }
    .work-card strong { font-size: 0.88rem; }
    .stage-nav { top: 68px; }
    .stage-head { grid-template-columns: 1fr; gap: 14px; }
    .work-gallery { gap: 8px; }
    .work-gallery a { flex-basis: calc(var(--r, 1) * 150px); height: 150px; }
    .work-gallery a::after { display: none; }
}
