.factory-section{background:#122d40;padding:75px 5.5%;color:#edf2f2}.factory-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:35px}.factory-heading em{color:#d4ed89}.factory-heading>p{max-width:330px;color:#c1cdd3;font-size:13px;line-height:1.9}.factory-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;grid-template-rows:240px 240px;gap:13px}.factory-photo{border:0;padding:0;position:relative;overflow:hidden;background:#233e50;text-align:left;min-width:0}.factory-photo:first-child{grid-row:1/3}.factory-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.factory-photo:hover img{transform:scale(1.04)}.factory-photo>span{position:absolute;left:0;right:0;bottom:0;padding:28px 13px 12px;background:linear-gradient(transparent,#04121ddd);color:white;font-size:9px;line-height:1.5}.factory-photo:last-child{display:none}.factory-hint{margin:20px 0 0;font-size:10px;color:#bbccd4;display:flex;justify-content:space-between}.factory-dialog{max-width:95vw;max-height:95vh;width:min(900px,95vw);background:#0a1c2c;color:white;border:1px solid #5f7587;border-radius:5px;padding:18px}.factory-dialog::backdrop{background:#06111be8}.factory-dialog>img{display:block;max-height:73vh;max-width:100%;margin:auto;object-fit:contain}.gallery-close{display:block;margin:0 0 15px auto;background:none;color:white;border:1px solid #657e90;padding:8px 13px;font-size:12px}.gallery-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:15px}.gallery-toolbar p{font-size:11px;line-height:1.5;color:#b9cbd6;text-align:center}.gallery-toolbar button{white-space:nowrap;background:none;color:white;border:1px solid #4b6579;padding:8px 12px;font-size:11px}
@media(max-width:900px){.factory-grid{grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:220px 220px 220px}.factory-photo:first-child{grid-row:1/3}.factory-photo:last-child{display:block}}@media(max-width:640px){.factory-section{padding:50px 6%}.factory-heading{display:block}.factory-heading>p{margin-top:20px}.factory-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:310px 190px 190px 190px 190px;gap:10px}.factory-photo:first-child{grid-column:1/3;grid-row:auto}.factory-photo:last-child{grid-column:1/3}.gallery-toolbar{gap:8px}.gallery-toolbar button{padding:7px;font-size:10px}.gallery-toolbar p{font-size:10px}.factory-dialog{padding:10px}.hero h1 em{display:inline;overflow-wrap:normal}.hero h1{font-size:clamp(43px,12.5vw,59px)}}
