
/* VOICUMUTARI — GALERIE (imagini responsive, fără librării externe) */
.desktop-nav{gap:0}.desktop-nav .nav-item{padding-inline:9px}
.work-gallery-section{background:linear-gradient(180deg,#f4f8fd 0%,#fff 95%)}
.work-gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.work-gallery-heading h2{margin:8px 0 9px;font-size:clamp(1.75rem,3vw,2.6rem);line-height:1.18}
.work-gallery-heading p{color:#53657b;max-width:640px;margin:0}
.work-gallery-cta{white-space:nowrap;align-self:end}
.work-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.work-photo-grid-home{grid-template-columns:repeat(3,minmax(0,1fr))}
.work-photo-card{display:block;min-width:0;background:white;border:1px solid #e3e9f1;border-radius:19px;overflow:hidden;box-shadow:0 12px 28px rgba(3,32,66,.06);transition:transform .25s,box-shadow .25s}
.work-photo-card:hover{transform:translateY(-5px);box-shadow:0 21px 38px rgba(3,32,66,.12)}
.work-photo-img{height:210px;display:block;overflow:hidden;background:#d9e7f2}
.work-photo-grid-home .work-photo-img{height:245px}
.work-photo-card img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s}
.work-photo-card:hover img{transform:scale(1.055)}
.work-photo-title{display:block;padding:13px 16px 16px;color:#17304d;font-weight:700;font-size:.89rem;line-height:1.45;min-height:63px}
.gallery-page{overflow:clip}
.gallery-hero{background:radial-gradient(circle at 10% 20%,#1b4978 0,transparent 52%),linear-gradient(120deg,#08192f,#072b51);color:#fff;padding:25px 0 77px;overflow:hidden}
.gallery-hero .breadcrumb{margin-bottom:25px}
.gallery-hero-grid{display:grid;grid-template-columns:1fr 1.04fr;gap:45px;align-items:center}
.gallery-hero-copy h1{font-size:clamp(2.8rem,4.5vw,5rem);line-height:1.08;letter-spacing:-.04em;max-width:700px;margin:13px 0 22px;color:#fff}
.gallery-hero-copy h1 em{font-style:normal;color:#ffcc39}
.gallery-hero-copy>p{color:#d5e4f6;font-size:1.07rem;line-height:1.85;max-width:620px}
.gallery-hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:27px}
.gallery-hero-stats{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.gallery-hero-stats span{border:1px solid rgba(255,255,255,.18);border-radius:99px;padding:7px 13px;color:#dae9f6;font-size:.83rem;background:rgba(255,255,255,.06)}
.gallery-hero-stats strong{color:#fff}
.gallery-hero-visual{height:440px;position:relative}
.gallery-hero-main{width:83%;height:100%;object-fit:cover;border-radius:28px;box-shadow:0 26px 50px rgba(0,0,0,.3);transform:rotate(-2deg)}
.gallery-hero-inset{position:absolute;right:0;bottom:-24px;width:37%;height:245px;object-fit:cover;border:6px solid #fff;border-radius:20px;box-shadow:0 20px 48px rgba(0,0,0,.35);transform:rotate(4deg)}
.gallery-hero-note{position:absolute;top:20px;right:0;transform:rotate(6deg);background:#ffcd37;color:#071d39;padding:10px 15px;border-radius:11px;font-weight:900;font-size:.83rem;box-shadow:0 9px 25px rgba(0,0,0,.2)}
.gallery-section{background:#fafcff}
.gallery-section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}
.gallery-section-heading h2{font-size:clamp(1.9rem,3.3vw,2.8rem);margin:8px 0 9px}
.gallery-section-heading p{max-width:700px;color:#53657b;margin:0}
.gallery-result{color:#1a4164!important;white-space:nowrap;font-weight:750;font-size:.89rem}
.gallery-filters{display:flex;gap:10px;flex-wrap:wrap;margin:30px 0 26px}
.gallery-filter{border:1px solid #d7e3ee;border-radius:99px;background:#fff;color:#193755;padding:11px 16px;display:inline-flex;align-items:center;gap:8px;font-weight:750;font-size:.88rem;font-family:inherit;cursor:pointer;transition:background .2s,color .2s,transform .2s,border-color .2s}
.gallery-filter:hover{transform:translateY(-2px);border-color:#80add4}
.gallery-filter.is-active{background:#0c315d;color:#fff;border-color:#0c315d}
.gallery-filter span{font-size:.74rem;background:#e9f0f8;color:#234461;border-radius:99px;padding:1px 7px}
.gallery-filter.is-active span{background:#ffce3b;color:#17283e}
.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:186px;grid-auto-flow:dense;gap:15px}
.gallery-card{position:relative;display:block;min-width:0;height:100%;border-radius:16px;overflow:hidden;background:#dce7f0;isolation:isolate;box-shadow:0 12px 25px rgba(5,35,66,.09);border:1px solid rgba(10,31,57,.06);transition:transform .22s ease,box-shadow .22s ease}
.gallery-card:nth-child(7n+1){grid-row:span 2}
.gallery-card:nth-child(13n+5){grid-column:span 2}
.gallery-card[hidden]{display:none!important}
.gallery-card:hover,.gallery-card:focus-visible{transform:translateY(-3px);box-shadow:0 20px 37px rgba(5,35,66,.19);outline-offset:3px}
.gallery-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s;z-index:-1}
.gallery-card:hover img{transform:scale(1.065)}
.gallery-card-shade{position:absolute;inset:0;padding:15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:end;gap:6px;background:linear-gradient(to top,rgba(2,20,40,.91) 0%,rgba(2,20,40,.24) 45%,transparent 75%);color:white}
.gallery-card-tag{font-size:.68rem;font-weight:850;letter-spacing:.035em;background:rgba(255,207,59,.96);color:#071d39;padding:5px 9px;border-radius:50px}
.gallery-card-title{font-weight:800;line-height:1.32;font-size:.9rem;max-width:100%;text-wrap:balance}
.gallery-card-zoom{position:absolute;right:11px;top:11px;background:rgba(255,255,255,.93);color:#102c4d;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-size:1.3rem;box-shadow:0 5px 15px rgba(0,0,0,.1)}
.gallery-note{margin:28px 0 0;font-size:.85rem;color:#64748b}
.gallery-process{background:#fff}
.gallery-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.gallery-info-grid article{background:#f5f9fc;border:1px solid #dbe6f0;border-radius:18px;padding:26px;min-width:0}
.gallery-info-index{font-weight:900;font-size:1.65rem;color:#f3b917}
.gallery-info-grid h3{font-size:1.22rem;margin:10px 0 9px;color:#102e53}
.gallery-info-grid p{font-size:.95rem;color:#50637a;line-height:1.68}
.gallery-info-grid a{font-weight:850;color:#0b4e85}
.gallery-viewer{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;padding:20px;color:#fff;background:transparent;overflow:hidden}
.gallery-viewer::backdrop{background:rgba(2,11,23,.95);backdrop-filter:blur(8px)}
.gallery-viewer-frame{height:100%;max-width:1300px;margin:auto;display:flex;flex-direction:column}
.gallery-viewer-top{display:flex;justify-content:space-between;align-items:center;gap:16px;font-weight:700;color:#d7e3f3;min-height:48px}
.gallery-viewer-close,.gallery-viewer-prev,.gallery-viewer-next{border:1px solid rgba(255,255,255,.28);background:rgba(21,44,70,.72);color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .2s}
.gallery-viewer-close:hover,.gallery-viewer-prev:hover,.gallery-viewer-next:hover{background:#285784}
.gallery-viewer-close{width:45px;height:45px;border-radius:50%;font-size:1.8rem}
.gallery-viewer-stage{flex:1;min-height:0;display:grid;grid-template-columns:52px minmax(0,1fr) 52px;gap:12px;align-items:center}
.gallery-viewer-stage img{display:block;max-width:100%;max-height:calc(100dvh - 155px);width:auto;height:auto;object-fit:contain;margin:auto;border-radius:7px;box-shadow:0 12px 40px rgba(0,0,0,.35)}
.gallery-viewer-prev,.gallery-viewer-next{width:48px;height:48px;border-radius:50%;font-size:2rem}
.gallery-viewer-caption{text-align:center;padding:12px 0 5px;color:#d9e5f2;font-weight:650;font-size:.93rem}
.gallery-noscript{padding:16px;background:#eff6ff;border-radius:12px}
@media(max-width:1180px){.desktop-nav .nav-item{padding-inline:7px;font-size:.8rem}.work-photo-img{height:175px}}
@media(max-width:960px){.gallery-hero-grid{gap:22px}.gallery-hero-visual{height:340px}.gallery-hero-inset{height:175px}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:180px}.gallery-section-heading{align-items:start}.gallery-result{white-space:normal}}
@media(max-width:880px){.gallery-hero{padding-bottom:55px}.gallery-hero-grid{grid-template-columns:1fr}.gallery-hero-visual{height:350px;max-width:700px;width:100%;margin:10px auto 0}.gallery-hero-main{width:84%}.gallery-hero-inset{height:215px}.work-gallery-heading{align-items:flex-start;flex-direction:column}.work-photo-grid-home{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.gallery-section-heading{flex-direction:column;gap:10px}.gallery-filters{gap:7px;margin:23px 0}.gallery-filter{padding:9px 11px;font-size:.78rem}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:172px;gap:10px}.gallery-card:nth-child(13n+5){grid-column:auto}.gallery-card:nth-child(7n+1){grid-row:span 2}.gallery-card-shade{padding:10px}.gallery-card-title{font-size:.75rem}.gallery-card-tag{font-size:.62rem;padding:3px 7px}.gallery-card-zoom{width:25px;height:25px;font-size:1.04rem}.gallery-hero-copy h1{font-size:2.55rem}.gallery-hero-visual{height:290px}.gallery-hero-inset{height:165px}.work-photo-grid,.work-photo-grid-home{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.work-photo-img,.work-photo-grid-home .work-photo-img{height:158px}.work-photo-title{font-size:.77rem;padding:10px 11px;min-height:68px}.work-gallery-cta{white-space:normal}.gallery-info-grid{grid-template-columns:1fr}.gallery-viewer{padding:8px}.gallery-viewer-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:3px}.gallery-viewer-prev,.gallery-viewer-next{width:33px;height:40px;border-radius:12px;font-size:1.7rem}.gallery-viewer-stage img{max-height:calc(100dvh - 150px)}.gallery-viewer-caption{font-size:.81rem}}
@media(max-width:400px){.gallery-hero-visual{height:235px}.gallery-hero-inset{height:135px}.gallery-grid{grid-auto-rows:145px}.gallery-card-title{font-size:.7rem}.gallery-hero-stats span{font-size:.75rem}.work-photo-grid,.work-photo-grid-home{grid-template-columns:1fr}.work-photo-img,.work-photo-grid-home .work-photo-img{height:210px}.work-photo-title{min-height:0}}
@media(prefers-reduced-motion:reduce){.gallery-card,.gallery-card img,.work-photo-card,.work-photo-card img{transition:none!important}.gallery-card:hover img,.work-photo-card:hover img{transform:none}}
@media print{.gallery-hero,.gallery-filters,.gallery-viewer,.gallery-hero-actions{display:none!important}.gallery-grid{grid-template-columns:repeat(3,1fr)}.gallery-card{break-inside:avoid}}
