.project-list { padding:0 0 90px; }
.project-list__cards { display:grid; gap:44px; }
.project-card {
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
    gap:42px;
    padding:20px;
    border:1px solid rgba(199,139,72,.46);
    border-radius:28px;
    background:linear-gradient(135deg,rgba(255,255,255,.025),transparent 50%),rgba(10,17,26,.94);
    box-shadow:inset 0 1px 0 rgba(255,220,164,.07),0 18px 50px rgba(0,0,0,.26);
    color:#f4f0e9;
}
.project-card__gallery,.project-card__content { min-width:0; }
.project-card__stage { position:relative; border-radius:20px; overflow:hidden; background:#111b26; touch-action:pan-y; }
.project-card__slide { position:relative; margin:0; aspect-ratio:2 / 1; }
.project-card__slide img { width:100%; height:100%; object-fit:cover; }
.project-card__stage { --project-slide-duration:450ms; }
.project-card__slide.is-entering,.project-viewer__frame.is-entering { position:absolute; inset:0; width:100%; height:100%; z-index:1; }
.project-card__stage > button,.project-card__status,.project-card__counter { z-index:2; }
.project-card__placeholder { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; width:100%; height:100%; color:#d7bf9e; background:radial-gradient(ellipse at 50% 30%,rgba(199,139,72,.09),transparent 65%),#111b26; }
.project-card__placeholder-number { font-size:64px; line-height:1; font-weight:800; color:#a7783f; }
.project-card__placeholder small { font-size:12px; color:#a0a7b0; }
.project-card__status { position:absolute; top:16px; left:16px; max-width:calc(100% - 32px); padding:7px 12px; border:1px solid rgba(123,176,116,.6); border-radius:9px; background:rgba(43,75,43,.87); font-size:12px; font-weight:700; color:#f0f5e8; }
.project-card__status::before { content:'✓'; display:inline-flex; align-items:center; justify-content:center; width:14px; height:14px; margin-right:7px; border-radius:50%; background:#63d67a; color:#174c24; font-size:11px; }
.project-card__counter { position:absolute; bottom:14px; right:14px; padding:4px 9px; border-radius:20px; background:rgba(8,15,22,.8); color:#eac593; font-size:12px; }
.project-card__arrow { position:absolute; top:50%; transform:translateY(-50%); display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid rgba(199,139,72,.5); border-radius:50%; background:rgba(8,15,22,.8); color:#edc080; font-size:32px; line-height:1; }
.project-card__arrow--prev { left:12px; }
.project-card__arrow--next { right:12px; }
.project-card__arrow:hover { background:#3b2b1a; }
.project-card__thumbs { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin-top:12px; }
.project-card__thumb { min-width:0; width:100%; min-height:44px; aspect-ratio:1.6; padding:2px; border:1px solid rgba(199,139,72,.18); border-radius:9px; background:#101a26; overflow:hidden; }
.project-card__thumb img { width:100%; height:100%; object-fit:cover; border-radius:6px; }
.project-card__thumb.is-active { border-color:#dea95f; box-shadow:0 0 0 1px #dea95f,0 0 12px rgba(199,139,72,.16); }
.project-card__thumb-placeholder { display:flex; height:100%; align-items:center; justify-content:center; flex-direction:column; gap:3px; color:#c69c65; font-size:17px; }
.project-card__thumb-placeholder small { font-size:8px; color:#a2a5a9; }
.project-card__content { display:flex; flex-direction:column; padding:12px 12px 8px 0; }
.project-card__title { color:#f8f1e5; font-size:30px; line-height:1.25; }
.project-card__description { margin:18px 0 22px; color:#bfc3ca; font-size:15px; line-height:1.8; }
.project-card__details { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:20px; margin:0 0 24px; }
.project-card__facts { display:grid; align-content:start; gap:13px; padding:0; margin:0; }
.project-card__facts dt { color:#9aa2ad; font-size:11px; margin-bottom:3px; }
.project-card__facts dd { display:flex; align-items:center; gap:12px; margin:0; color:#ece5d9; font-size:14px; line-height:1.5; }
.project-card__facts svg { width:21px; height:21px; flex-shrink:0; fill:none; stroke:#d69945; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.project-card__facts .project-card__price { color:#ece5d9; font-size:17px; }
.project-card__work { border-left:1px solid rgba(199,139,72,.25); padding-left:20px; }
.project-card__activities { display:grid; gap:12px; padding:0; margin:0; list-style:none; }
.project-card__activities li { display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.6; color:#c9cbd0; }
.project-card__activities svg { flex-shrink:0; margin-top:2px; stroke:#cfa15f; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.project-card__bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; margin-top:auto; border-top:1px solid rgba(199,139,72,.2); padding-top:18px; }
.project-card__rating { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font-size:12px; color:#b3b5bb; }
.project-card__stars { color:#dfaa55; font-size:19px; letter-spacing:2px; }
.project-card__link { display:inline-flex; align-items:center; gap:12px; color:#e5b46d; font-size:14px; font-weight:700; }
.project-card__link span { font-size:25px; transition:transform .2s; }
.project-card__link:hover span { transform:translateX(4px); }
.project-card [hidden] { display:none; }
.project-card__gallery:focus-visible,.project-card button:focus-visible,.project-card a:focus-visible,.project-viewer button:focus-visible { outline:2px solid #d7a35c; outline-offset:4px; }
.project-card__sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.project-viewer { width:min(960px,calc(100% - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:22px; border:1px solid #a77538; border-radius:20px; background:#0b131e; color:#f0e7d8; overflow:auto; }
.project-viewer::backdrop { background:rgba(0,0,0,.88); }
.project-viewer__header,.project-viewer__controls { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.project-viewer__header { margin-bottom:16px; }
.project-viewer__title { font-size:19px; color:#f0e7d8; }
.project-viewer button { padding:10px 16px; border:1px solid rgba(199,139,72,.45); border-radius:10px; background:#15202c; color:#e6b671; }
.project-viewer__media { position:relative; overflow:hidden; height:min(60dvh,600px); min-height:160px; background:#111b26; }
.project-viewer__frame { width:100%; height:100%; }
.project-viewer__media img { width:100%; height:100%; object-fit:contain; }
.project-viewer__controls { margin-top:12px; }
